diff options
author | Hugues Hiegel <root@paranoid> | 2015-04-21 12:49:44 +0200 |
---|---|---|
committer | Hugues Hiegel <root@paranoid> | 2015-04-21 12:49:44 +0200 |
commit | 733f8e8d0ce6217d906d06dc4fb08e36d48ed794 (patch) | |
tree | cff28366ff63ea6596f8026e1698090bd0b9405c /plugins | |
parent | ef2e7b3f9d264ec146d4dae257b1e295ab3b462a (diff) | |
parent | a4ba3df54834ee90fb2c9930669f1229dc80261a (diff) |
Conflicts:
composer.json-dist
config/defaults.inc.php
plugins
plugins/acl/acl.js
plugins/acl/acl.php
plugins/acl/skins/classic/templates/table.html
plugins/acl/skins/larry/templates/table.html
plugins/enigma/README
plugins/enigma/config.inc.php.dist
plugins/enigma/enigma.js
plugins/enigma/enigma.php
plugins/enigma/lib/enigma_driver.php
plugins/enigma/lib/enigma_driver_gnupg.php
plugins/enigma/lib/enigma_driver_phpssl.php
plugins/enigma/lib/enigma_engine.php
plugins/enigma/lib/enigma_error.php
plugins/enigma/lib/enigma_key.php
plugins/enigma/lib/enigma_signature.php
plugins/enigma/lib/enigma_subkey.php
plugins/enigma/lib/enigma_ui.php
plugins/enigma/lib/enigma_userid.php
plugins/enigma/localization/en_US.inc
plugins/enigma/localization/ja_JP.inc
plugins/enigma/localization/ru_RU.inc
plugins/enigma/skins/classic/enigma.css
plugins/enigma/skins/classic/templates/keys.html
plugins/help/config.inc.php.dist
plugins/help/help.php
plugins/help/localization/en_US.inc
plugins/jqueryui/jqueryui.php
plugins/managesieve/Changelog
plugins/managesieve/composer.json
plugins/managesieve/config.inc.php.dist
plugins/managesieve/lib/Roundcube/rcube_sieve.php
plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php
plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php
plugins/managesieve/localization/en_US.inc
plugins/managesieve/managesieve.js
plugins/managesieve/skins/classic/managesieve.css
plugins/managesieve/skins/larry/managesieve.css
plugins/password/README
plugins/password/config.inc.php.dist
plugins/password/drivers/ldap.php
plugins/password/drivers/poppassd.php
plugins/password/drivers/vpopmaild.php
plugins/vcard_attachments/vcardattach.js
plugins/zipdownload/zipdownload.php
Diffstat (limited to 'plugins')
1301 files changed, 72117 insertions, 0 deletions
diff --git a/plugins b/plugins deleted file mode 160000 -Subproject 679cb7875a8f5aecfd583cab09d1b9ae4e0167d diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js new file mode 100644 index 000000000..f1e9922fb --- /dev/null +++ b/plugins/acl/acl.js @@ -0,0 +1,392 @@ +/** + * ACL plugin script + * + * @version @package_version@ + * @author Aleksander Machniak <alec@alec.pl> + */ + +if (window.rcmail) { + rcmail.addEventListener('init', function() { + if (rcmail.gui_objects.acltable) { + rcmail.acl_list_init(); + // enable autocomplete on user input + if (rcmail.env.acl_users_source) { + var inst = rcmail.is_framed() ? parent.rcmail : rcmail; + inst.init_address_input_events($('#acluser'), {action:'settings/plugin.acl-autocomplete'}); + + // pass config settings and localized texts to autocomplete context + inst.set_env({ autocomplete_max:rcmail.env.autocomplete_max, autocomplete_min_length:rcmail.env.autocomplete_min_length }); + inst.add_label('autocompletechars', rcmail.labels.autocompletechars); + inst.add_label('autocompletemore', rcmail.labels.autocompletemore); + + // fix inserted value + inst.addEventListener('autocomplete_insert', function(e) { + if (e.field.id != 'acluser') + return; + + e.field.value = e.insert.replace(/[ ,;]+$/, ''); + }); + } + } + + rcmail.enable_command('acl-create', 'acl-save', 'acl-cancel', 'acl-mode-switch', true); + rcmail.enable_command('acl-delete', 'acl-edit', false); + + if (rcmail.env.acl_advanced) + $('#acl-switch').addClass('selected'); + }); +} + +// Display new-entry form +rcube_webmail.prototype.acl_create = function() +{ + this.acl_init_form(); +} + +// Display ACL edit form +rcube_webmail.prototype.acl_edit = function() +{ + // @TODO: multi-row edition + var id = this.acl_list.get_single_selection(); + if (id) + this.acl_init_form(id); +} + +// ACL entry delete +rcube_webmail.prototype.acl_delete = function() +{ + var users = this.acl_get_usernames(); + + if (users && users.length && confirm(this.get_label('acl.deleteconfirm'))) { + this.http_post('settings/plugin.acl', { + _act: 'delete', + _user: users.join(','), + _mbox: this.env.mailbox + }, + this.set_busy(true, 'acl.deleting')); + } +} + +// Save ACL data +rcube_webmail.prototype.acl_save = function() +{ + var data, type, rights = '', user = $('#acluser', this.acl_form).val(); + + $((this.env.acl_advanced ? '#advancedrights :checkbox' : '#simplerights :checkbox'), this.acl_form).map(function() { + if (this.checked) + rights += this.value; + }); + + if (type = $('input:checked[name=usertype]', this.acl_form).val()) { + if (type != 'user') + user = type; + } + + if (!user) { + alert(this.get_label('acl.nouser')); + return; + } + if (!rights) { + alert(this.get_label('acl.norights')); + return; + } + + data = { + _act: 'save', + _user: user, + _acl: rights, + _mbox: this.env.mailbox + } + + if (this.acl_id) { + data._old = this.acl_id; + } + + this.http_post('settings/plugin.acl', data, this.set_busy(true, 'acl.saving')); +} + +// Cancel/Hide form +rcube_webmail.prototype.acl_cancel = function() +{ + this.ksearch_blur(); + this.acl_popup.dialog('close'); +} + +// Update data after save (and hide form) +rcube_webmail.prototype.acl_update = function(o) +{ + // delete old row + if (o.old) + this.acl_remove_row(o.old); + // make sure the same ID doesn't exist + else if (this.env.acl[o.id]) + this.acl_remove_row(o.id); + + // add new row + this.acl_add_row(o, true); + // hide autocomplete popup + this.ksearch_blur(); + // hide form + this.acl_popup.dialog('close'); +} + +// Switch table display mode +rcube_webmail.prototype.acl_mode_switch = function(elem) +{ + this.env.acl_advanced = !this.env.acl_advanced; + this.enable_command('acl-delete', 'acl-edit', false); + this.http_request('settings/plugin.acl', '_act=list' + + '&_mode='+(this.env.acl_advanced ? 'advanced' : 'simple') + + '&_mbox='+urlencode(this.env.mailbox), + this.set_busy(true, 'loading')); +} + +// ACL table initialization +rcube_webmail.prototype.acl_list_init = function() +{ + var method = this.env.acl_advanced ? 'addClass' : 'removeClass'; + + $('#acl-switch')[method]('selected'); + $(this.gui_objects.acltable)[method]('advanced'); + + this.acl_list = new rcube_list_widget(this.gui_objects.acltable, + {multiselect: true, draggable: false, keyboard: true}); + this.acl_list.addEventListener('select', function(o) { rcmail.acl_list_select(o); }) + .addEventListener('dblclick', function(o) { rcmail.acl_list_dblclick(o); }) + .addEventListener('keypress', function(o) { rcmail.acl_list_keypress(o); }) + .init(); +} + +// ACL table row selection handler +rcube_webmail.prototype.acl_list_select = function(list) +{ + rcmail.enable_command('acl-delete', list.selection.length > 0); + rcmail.enable_command('acl-edit', list.selection.length == 1); + list.focus(); +} + +// ACL table double-click handler +rcube_webmail.prototype.acl_list_dblclick = function(list) +{ + this.acl_edit(); +} + +// ACL table keypress handler +rcube_webmail.prototype.acl_list_keypress = function(list) +{ + if (list.key_pressed == list.ENTER_KEY) + this.command('acl-edit'); + else if (list.key_pressed == list.DELETE_KEY || list.key_pressed == list.BACKSPACE_KEY) + if (!this.acl_form || !this.acl_form.is(':visible')) + this.command('acl-delete'); +} + +// Reloads ACL table +rcube_webmail.prototype.acl_list_update = function(html) +{ + $(this.gui_objects.acltable).html(html); + this.acl_list_init(); +} + +// Returns names of users in selected rows +rcube_webmail.prototype.acl_get_usernames = function() +{ + var users = [], n, len, cell, row, + list = this.acl_list, + selection = list.get_selection(); + + for (n=0, len=selection.length; n<len; n++) { + if (this.env.acl_specials.length && $.inArray(selection[n], this.env.acl_specials) >= 0) { + users.push(selection[n]); + } + else if (row = list.rows[selection[n]]) { + cell = $('td.user', row.obj); + if (cell.length == 1) + users.push(cell.text()); + } + } + + return users; +} + +// Removes ACL table row +rcube_webmail.prototype.acl_remove_row = function(id) +{ + var list = this.acl_list; + + list.remove_row(id); + list.clear_selection(); + + // we don't need it anymore (remove id conflict) + $('#rcmrow'+id).remove(); + this.env.acl[id] = null; + + this.enable_command('acl-delete', list.selection.length > 0); + this.enable_command('acl-edit', list.selection.length == 1); +} + +// Adds ACL table row +rcube_webmail.prototype.acl_add_row = function(o, sel) +{ + var n, len, ids = [], spec = [], id = o.id, list = this.acl_list, + items = this.env.acl_advanced ? [] : this.env.acl_items, + table = this.gui_objects.acltable, + row = $('thead > tr', table).clone(); + + // Update new row + $('th', row).map(function() { + var td = $('<td>'), + title = $(this).attr('title'), + cl = this.className.replace(/^acl/, ''); + + if (title) + td.attr('title', title); + + if (items && items[cl]) + cl = items[cl]; + + if (cl == 'user') + td.addClass(cl).append($('<a>').text(o.username)); + else + td.addClass(this.className + ' ' + rcmail.acl_class(o.acl, cl)).text(''); + + $(this).replaceWith(td); + }); + + row.attr('id', 'rcmrow'+id); + row = row.get(0); + + this.env.acl[id] = o.acl; + + // sorting... (create an array of user identifiers, then sort it) + for (n in this.env.acl) { + if (this.env.acl[n]) { + if (this.env.acl_specials.length && $.inArray(n, this.env.acl_specials) >= 0) + spec.push(n); + else + ids.push(n); + } + } + ids.sort(); + // specials on the top + ids = spec.concat(ids); + + // find current id + for (n=0, len=ids.length; n<len; n++) + if (ids[n] == id) + break; + + // add row + if (n && n < len) { + $('#rcmrow'+ids[n-1]).after(row); + list.init_row(row); + list.rowcount++; + } + else + list.insert_row(row); + + if (sel) + list.select_row(o.id); +} + +// Initializes and shows ACL create/edit form +rcube_webmail.prototype.acl_init_form = function(id) +{ + var ul, row, td, val = '', type = 'user', li_elements, body = $('body'), + adv_ul = $('#advancedrights'), sim_ul = $('#simplerights'), + name_input = $('#acluser'), type_list = $('#usertype'); + + if (!this.acl_form) { + var fn = function () { $('input[value="user"]').prop('checked', true); }; + name_input.click(fn).keypress(fn); + } + + this.acl_form = $('#aclform'); + + // Hide unused items + if (this.env.acl_advanced) { + adv_ul.show(); + sim_ul.hide(); + ul = adv_ul; + } + else { + sim_ul.show(); + adv_ul.hide(); + ul = sim_ul; + } + + // initialize form fields + li_elements = $(':checkbox', ul); + li_elements.attr('checked', false); + + if (id && (row = this.acl_list.rows[id])) { + row = row.obj; + li_elements.map(function() { + td = $('td.'+this.id, row); + if (td.length && td.hasClass('enabled')) + this.checked = true; + }); + + if (!this.env.acl_specials.length || $.inArray(id, this.env.acl_specials) < 0) + val = $('td.user', row).text(); + else + type = id; + } + // mark read (lrs) rights by default + else { + li_elements.filter(function() { return this.id.match(/^acl([lrs]|read)$/); }).prop('checked', true); + } + + name_input.val(val); + $('input[value='+type+']').prop('checked', true); + + this.acl_id = id; + + var buttons = {}, me = this, body = document.body; + + buttons[this.gettext('save')] = function(e) { me.command('acl-save'); }; + buttons[this.gettext('cancel')] = function(e) { me.command('acl-cancel'); }; + + // display it as popup + this.acl_popup = this.show_popup_dialog( + this.acl_form.show(), + id ? this.gettext('acl.editperms') : this.gettext('acl.newuser'), + buttons, + { + button_classes: ['mainaction'], + modal: true, + closeOnEscape: true, + close: function(e, ui) { + (me.is_framed() ? parent.rcmail : me).ksearch_hide(); + me.acl_form.appendTo(body).hide(); + $(this).remove(); + window.focus(); // focus iframe + } + } + ); + + if (type == 'user') + name_input.focus(); + else + $('input:checked', type_list).focus(); +} + +// Returns class name according to ACL comparision result +rcube_webmail.prototype.acl_class = function(acl1, acl2) +{ + var i, len, found = 0; + + acl1 = String(acl1); + acl2 = String(acl2); + + for (i=0, len=acl2.length; i<len; i++) + if (acl1.indexOf(acl2[i]) > -1) + found++; + + if (found == len) + return 'enabled'; + else if (found) + return 'partial'; + + return 'disabled'; +} diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php new file mode 100644 index 000000000..0393a3d68 --- /dev/null +++ b/plugins/acl/acl.php @@ -0,0 +1,779 @@ +<?php + +/** + * Folders Access Control Lists Management (RFC4314, RFC2086) + * + * @version @package_version@ + * @author Aleksander Machniak <alec@alec.pl> + * + * + * Copyright (C) 2011-2012, Kolab Systems AG + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class acl extends rcube_plugin +{ + public $task = 'settings|addressbook|calendar'; + + private $rc; + private $supported = null; + private $mbox; + private $ldap; + private $specials = array('anyone', 'anonymous'); + + /** + * Plugin initialization + */ + function init() + { + $this->rc = rcmail::get_instance(); + + // Register hooks + $this->add_hook('folder_form', array($this, 'folder_form')); + // kolab_addressbook plugin + $this->add_hook('addressbook_form', array($this, 'folder_form')); + $this->add_hook('calendar_form_kolab', array($this, 'folder_form')); + // Plugin actions + $this->register_action('plugin.acl', array($this, 'acl_actions')); + $this->register_action('plugin.acl-autocomplete', array($this, 'acl_autocomplete')); + } + + /** + * Handler for plugin actions (AJAX) + */ + function acl_actions() + { + $action = trim(rcube_utils::get_input_value('_act', rcube_utils::INPUT_GPC)); + + // Connect to IMAP + $this->rc->storage_init(); + + // Load localization and configuration + $this->add_texts('localization/'); + $this->load_config(); + + if ($action == 'save') { + $this->action_save(); + } + else if ($action == 'delete') { + $this->action_delete(); + } + else if ($action == 'list') { + $this->action_list(); + } + + // Only AJAX actions + $this->rc->output->send(); + } + + /** + * Handler for user login autocomplete request + */ + function acl_autocomplete() + { + $this->load_config(); + + $search = rcube_utils::get_input_value('_search', rcube_utils::INPUT_GPC, true); + $reqid = rcube_utils::get_input_value('_reqid', rcube_utils::INPUT_GPC); + $users = array(); + $keys = array(); + + if ($this->init_ldap()) { + $max = (int) $this->rc->config->get('autocomplete_max', 15); + $mode = (int) $this->rc->config->get('addressbook_search_mode'); + + $this->ldap->set_pagesize($max); + $result = $this->ldap->search('*', $search, $mode); + + foreach ($result->records as $record) { + $user = $record['uid']; + + if (is_array($user)) { + $user = array_filter($user); + $user = $user[0]; + } + + if ($user) { + $display = rcube_addressbook::compose_search_name($record); + $user = array('name' => $user, 'display' => $display); + $users[] = $user; + $keys[] = $display ?: $user['name']; + } + } + + if ($this->rc->config->get('acl_groups')) { + $prefix = $this->rc->config->get('acl_group_prefix'); + $group_field = $this->rc->config->get('acl_group_field', 'name'); + $result = $this->ldap->list_groups($search, $mode); + + foreach ($result as $record) { + $group = $record['name']; + $group_id = is_array($record[$group_field]) ? $record[$group_field][0] : $record[$group_field]; + + if ($group) { + $users[] = array('name' => ($prefix ? $prefix : '') . $group_id, 'display' => $group, 'type' => 'group'); + $keys[] = $group; + } + } + } + } + + if (count($users)) { + // sort users index + asort($keys, SORT_LOCALE_STRING); + // re-sort users according to index + foreach ($keys as $idx => $val) { + $keys[$idx] = $users[$idx]; + } + $users = array_values($keys); + } + + $this->rc->output->command('ksearch_query_results', $users, $search, $reqid); + $this->rc->output->send(); + } + + /** + * Handler for 'folder_form' hook + * + * @param array $args Hook arguments array (form data) + * + * @return array Hook arguments array + */ + function folder_form($args) + { + $mbox_imap = $args['options']['name']; + $myrights = $args['options']['rights']; + + // Edited folder name (empty in create-folder mode) + if (!strlen($mbox_imap)) { + return $args; + } +/* + // Do nothing on protected folders (?) + if ($args['options']['protected']) { + return $args; + } +*/ + // Get MYRIGHTS + if (empty($myrights)) { + return $args; + } + + // Load localization and include scripts + $this->load_config(); + $this->specials = $this->rc->config->get('acl_specials', $this->specials); + $this->add_texts('localization/', array('deleteconfirm', 'norights', + 'nouser', 'deleting', 'saving', 'newuser', 'editperms')); + $this->rc->output->add_label('save', 'cancel'); + $this->include_script('acl.js'); + $this->rc->output->include_script('list.js'); + $this->include_stylesheet($this->local_skin_path().'/acl.css'); + + // add Info fieldset if it doesn't exist + if (!isset($args['form']['props']['fieldsets']['info'])) + $args['form']['props']['fieldsets']['info'] = array( + 'name' => $this->rc->gettext('info'), + 'content' => array()); + + // Display folder rights to 'Info' fieldset + $args['form']['props']['fieldsets']['info']['content']['myrights'] = array( + 'label' => rcube::Q($this->gettext('myrights')), + 'value' => $this->acl2text($myrights) + ); + + // Return if not folder admin + if (!in_array('a', $myrights)) { + return $args; + } + + // The 'Sharing' tab + $this->mbox = $mbox_imap; + $this->rc->output->set_env('acl_users_source', (bool) $this->rc->config->get('acl_users_source')); + $this->rc->output->set_env('mailbox', $mbox_imap); + $this->rc->output->add_handlers(array( + 'acltable' => array($this, 'templ_table'), + 'acluser' => array($this, 'templ_user'), + 'aclrights' => array($this, 'templ_rights'), + )); + + $this->rc->output->set_env('autocomplete_max', (int)$this->rc->config->get('autocomplete_max', 15)); + $this->rc->output->set_env('autocomplete_min_length', $this->rc->config->get('autocomplete_min_length')); + $this->rc->output->add_label('autocompletechars', 'autocompletemore'); + + $args['form']['sharing'] = array( + 'name' => rcube::Q($this->gettext('sharing')), + 'content' => $this->rc->output->parse('acl.table', false, false), + ); + + return $args; + } + + /** + * Creates ACL rights table + * + * @param array $attrib Template object attributes + * + * @return string HTML Content + */ + function templ_table($attrib) + { + if (empty($attrib['id'])) + $attrib['id'] = 'acl-table'; + + $out = $this->list_rights($attrib); + + $this->rc->output->add_gui_object('acltable', $attrib['id']); + + return $out; + } + + /** + * Creates ACL rights form (rights list part) + * + * @param array $attrib Template object attributes + * + * @return string HTML Content + */ + function templ_rights($attrib) + { + // Get supported rights + $supported = $this->rights_supported(); + + // give plugins the opportunity to adjust this list + $data = $this->rc->plugins->exec_hook('acl_rights_supported', + array('rights' => $supported, 'folder' => $this->mbox, 'labels' => array())); + $supported = $data['rights']; + + // depending on server capability either use 'te' or 'd' for deleting msgs + $deleteright = implode(array_intersect(str_split('ted'), $supported)); + + $out = ''; + $ul = ''; + $input = new html_checkbox(); + + // Advanced rights + $attrib['id'] = 'advancedrights'; + foreach ($supported as $key => $val) { + $id = "acl$val"; + $ul .= html::tag('li', null, + $input->show('', array( + 'name' => "acl[$val]", 'value' => $val, 'id' => $id)) + . html::label(array('for' => $id, 'title' => $this->gettext('longacl'.$val)), + $this->gettext('acl'.$val))); + } + + $out = html::tag('ul', $attrib, $ul, html::$common_attrib); + + // Simple rights + $ul = ''; + $attrib['id'] = 'simplerights'; + $items = array( + 'read' => 'lrs', + 'write' => 'wi', + 'delete' => $deleteright, + 'other' => preg_replace('/[lrswi'.$deleteright.']/', '', implode($supported)), + ); + + // give plugins the opportunity to adjust this list + $data = $this->rc->plugins->exec_hook('acl_rights_simple', + array('rights' => $items, 'folder' => $this->mbox, 'labels' => array(), 'titles' => array())); + + foreach ($data['rights'] as $key => $val) { + $id = "acl$key"; + $ul .= html::tag('li', null, + $input->show('', array( + 'name' => "acl[$val]", 'value' => $val, 'id' => $id)) + . html::label(array('for' => $id, 'title' => $data['titles'][$key] ?: $this->gettext('longacl'.$key)), + $data['labels'][$key] ?: $this->gettext('acl'.$key))); + } + + $out .= "\n" . html::tag('ul', $attrib, $ul, html::$common_attrib); + + $this->rc->output->set_env('acl_items', $data['rights']); + + return $out; + } + + /** + * Creates ACL rights form (user part) + * + * @param array $attrib Template object attributes + * + * @return string HTML Content + */ + function templ_user($attrib) + { + // Create username input + $attrib['name'] = 'acluser'; + + $textfield = new html_inputfield($attrib); + + $fields['user'] = html::label(array('for' => $attrib['id']), $this->gettext('username')) + . ' ' . $textfield->show(); + + // Add special entries + if (!empty($this->specials)) { + foreach ($this->specials as $key) { + $fields[$key] = html::label(array('for' => 'id'.$key), $this->gettext($key)); + } + } + + $this->rc->output->set_env('acl_specials', $this->specials); + + // Create list with radio buttons + if (count($fields) > 1) { + $ul = ''; + $radio = new html_radiobutton(array('name' => 'usertype')); + foreach ($fields as $key => $val) { + $ul .= html::tag('li', null, $radio->show($key == 'user' ? 'user' : '', + array('value' => $key, 'id' => 'id'.$key)) + . $val); + } + + $out = html::tag('ul', array('id' => 'usertype', 'class' => $attrib['class']), $ul, html::$common_attrib); + } + // Display text input alone + else { + $out = $fields['user']; + } + + return $out; + } + + /** + * Creates ACL rights table + * + * @param array $attrib Template object attributes + * + * @return string HTML Content + */ + private function list_rights($attrib=array()) + { + // Get ACL for the folder + $acl = $this->rc->storage->get_acl($this->mbox); + + if (!is_array($acl)) { + $acl = array(); + } + + // Keep special entries (anyone/anonymous) on top of the list + if (!empty($this->specials) && !empty($acl)) { + foreach ($this->specials as $key) { + if (isset($acl[$key])) { + $acl_special[$key] = $acl[$key]; + unset($acl[$key]); + } + } + } + + // Sort the list by username + uksort($acl, 'strnatcasecmp'); + + if (!empty($acl_special)) { + $acl = array_merge($acl_special, $acl); + } + + // Get supported rights and build column names + $supported = $this->rights_supported(); + + // give plugins the opportunity to adjust this list + $data = $this->rc->plugins->exec_hook('acl_rights_supported', + array('rights' => $supported, 'folder' => $this->mbox, 'labels' => array())); + $supported = $data['rights']; + + // depending on server capability either use 'te' or 'd' for deleting msgs + $deleteright = implode(array_intersect(str_split('ted'), $supported)); + + // Use advanced or simple (grouped) rights + $advanced = $this->rc->config->get('acl_advanced_mode'); + + if ($advanced) { + $items = array(); + foreach ($supported as $sup) { + $items[$sup] = $sup; + } + } + else { + $items = array( + 'read' => 'lrs', + 'write' => 'wi', + 'delete' => $deleteright, + 'other' => preg_replace('/[lrswi'.$deleteright.']/', '', implode($supported)), + ); + + // give plugins the opportunity to adjust this list + $data = $this->rc->plugins->exec_hook('acl_rights_simple', + array('rights' => $items, 'folder' => $this->mbox, 'labels' => array())); + $items = $data['rights']; + } + + // Create the table + $attrib['noheader'] = true; + $table = new html_table($attrib); + + // Create table header + $table->add_header('user', $this->gettext('identifier')); + foreach (array_keys($items) as $key) { + $label = $data['labels'][$key] ?: $this->gettext('shortacl'.$key); + $table->add_header(array('class' => 'acl'.$key, 'title' => $label), $label); + } + + $js_table = array(); + foreach ($acl as $user => $rights) { + if ($this->rc->storage->conn->user == $user) { + continue; + } + + // filter out virtual rights (c or d) the server may return + $userrights = array_intersect($rights, $supported); + $userid = rcube_utils::html_identifier($user); + + if (!empty($this->specials) && in_array($user, $this->specials)) { + $user = $this->gettext($user); + } + + $table->add_row(array('id' => 'rcmrow'.$userid)); + $table->add('user', html::a(array('id' => 'rcmlinkrow'.$userid), rcube::Q($user))); + + foreach ($items as $key => $right) { + $in = $this->acl_compare($userrights, $right); + switch ($in) { + case 2: $class = 'enabled'; break; + case 1: $class = 'partial'; break; + default: $class = 'disabled'; break; + } + $table->add('acl' . $key . ' ' . $class, ''); + } + + $js_table[$userid] = implode($userrights); + } + + $this->rc->output->set_env('acl', $js_table); + $this->rc->output->set_env('acl_advanced', $advanced); + + $out = $table->show(); + + return $out; + } + + /** + * Handler for ACL update/create action + */ + private function action_save() + { + $mbox = trim(rcube_utils::get_input_value('_mbox', rcube_utils::INPUT_POST, true)); // UTF7-IMAP + $user = trim(rcube_utils::get_input_value('_user', rcube_utils::INPUT_POST)); + $acl = trim(rcube_utils::get_input_value('_acl', rcube_utils::INPUT_POST)); + $oldid = trim(rcube_utils::get_input_value('_old', rcube_utils::INPUT_POST)); + + $acl = array_intersect(str_split($acl), $this->rights_supported()); + $users = $oldid ? array($user) : explode(',', $user); + $result = 0; + + foreach ($users as $user) { + $user = trim($user); + $prefix = $this->rc->config->get('acl_groups') ? $this->rc->config->get('acl_group_prefix') : ''; + + if ($prefix && strpos($user, $prefix) === 0) { + $username = $user; + } + else if (!empty($this->specials) && in_array($user, $this->specials)) { + $username = $this->gettext($user); + } + else if (!empty($user)) { + if (!strpos($user, '@') && ($realm = $this->get_realm())) { + $user .= '@' . rcube_utils::idn_to_ascii(preg_replace('/^@/', '', $realm)); + } + $username = $user; + } + + if (!$acl || !$user || !strlen($mbox)) { + continue; + } + + $user = $this->mod_login($user); + $username = $this->mod_login($username); + + if ($user != $_SESSION['username'] && $username != $_SESSION['username']) { + if ($this->rc->storage->set_acl($mbox, $user, $acl)) { + $ret = array('id' => rcube_utils::html_identifier($user), + 'username' => $username, 'acl' => implode($acl), 'old' => $oldid); + $this->rc->output->command('acl_update', $ret); + $result++; + } + } + } + + if ($result) { + $this->rc->output->show_message($oldid ? 'acl.updatesuccess' : 'acl.createsuccess', 'confirmation'); + } + else { + $this->rc->output->show_message($oldid ? 'acl.updateerror' : 'acl.createerror', 'error'); + } + } + + /** + * Handler for ACL delete action + */ + private function action_delete() + { + $mbox = trim(rcube_utils::get_input_value('_mbox', rcube_utils::INPUT_POST, true)); //UTF7-IMAP + $user = trim(rcube_utils::get_input_value('_user', rcube_utils::INPUT_POST)); + + $user = explode(',', $user); + + foreach ($user as $u) { + $u = trim($u); + if ($this->rc->storage->delete_acl($mbox, $u)) { + $this->rc->output->command('acl_remove_row', rcube_utils::html_identifier($u)); + } + else { + $error = true; + } + } + + if (!$error) { + $this->rc->output->show_message('acl.deletesuccess', 'confirmation'); + } + else { + $this->rc->output->show_message('acl.deleteerror', 'error'); + } + } + + /** + * Handler for ACL list update action (with display mode change) + */ + private function action_list() + { + if (in_array('acl_advanced_mode', (array)$this->rc->config->get('dont_override'))) { + return; + } + + $this->mbox = trim(rcube_utils::get_input_value('_mbox', rcube_utils::INPUT_GPC, true)); // UTF7-IMAP + $advanced = trim(rcube_utils::get_input_value('_mode', rcube_utils::INPUT_GPC)); + $advanced = $advanced == 'advanced' ? true : false; + + // Save state in user preferences + $this->rc->user->save_prefs(array('acl_advanced_mode' => $advanced)); + + $out = $this->list_rights(); + + $out = preg_replace(array('/^<table[^>]+>/', '/<\/table>$/'), '', $out); + + $this->rc->output->command('acl_list_update', $out); + } + + /** + * Creates <UL> list with descriptive access rights + * + * @param array $rights MYRIGHTS result + * + * @return string HTML content + */ + function acl2text($rights) + { + if (empty($rights)) { + return ''; + } + + $supported = $this->rights_supported(); + $list = array(); + $attrib = array( + 'name' => 'rcmyrights', + 'style' => 'margin:0; padding:0 15px;', + ); + + foreach ($supported as $right) { + if (in_array($right, $rights)) { + $list[] = html::tag('li', null, rcube::Q($this->gettext('acl' . $right))); + } + } + + if (count($list) == count($supported)) + return rcube::Q($this->gettext('aclfull')); + + return html::tag('ul', $attrib, implode("\n", $list)); + } + + /** + * Compares two ACLs (according to supported rights) + * + * @param array $acl1 ACL rights array (or string) + * @param array $acl2 ACL rights array (or string) + * + * @param int Comparision result, 2 - full match, 1 - partial match, 0 - no match + */ + function acl_compare($acl1, $acl2) + { + if (!is_array($acl1)) $acl1 = str_split($acl1); + if (!is_array($acl2)) $acl2 = str_split($acl2); + + $rights = $this->rights_supported(); + + $acl1 = array_intersect($acl1, $rights); + $acl2 = array_intersect($acl2, $rights); + $res = array_intersect($acl1, $acl2); + + $cnt1 = count($res); + $cnt2 = count($acl2); + + if ($cnt1 == $cnt2) + return 2; + else if ($cnt1) + return 1; + else + return 0; + } + + /** + * Get list of supported access rights (according to RIGHTS capability) + * + * @return array List of supported access rights abbreviations + */ + function rights_supported() + { + if ($this->supported !== null) { + return $this->supported; + } + + $capa = $this->rc->storage->get_capability('RIGHTS'); + + if (is_array($capa)) { + $rights = strtolower($capa[0]); + } + else { + $rights = 'cd'; + } + + return $this->supported = str_split('lrswi' . $rights . 'pa'); + } + + /** + * Username realm detection. + * + * @return string Username realm (domain) + */ + private function get_realm() + { + // When user enters a username without domain part, realm + // allows to add it to the username (and display correct username in the table) + + if (isset($_SESSION['acl_username_realm'])) { + return $_SESSION['acl_username_realm']; + } + + // find realm in username of logged user (?) + list($name, $domain) = explode('@', $_SESSION['username']); + + // Use (always existent) ACL entry on the INBOX for the user to determine + // whether or not the user ID in ACL entries need to be qualified and how + // they would need to be qualified. + if (empty($domain)) { + $acl = $this->rc->storage->get_acl('INBOX'); + if (is_array($acl)) { + $regexp = '/^' . preg_quote($_SESSION['username'], '/') . '@(.*)$/'; + foreach (array_keys($acl) as $name) { + if (preg_match($regexp, $name, $matches)) { + $domain = $matches[1]; + break; + } + } + } + } + + return $_SESSION['acl_username_realm'] = $domain; + } + + /** + * Initializes autocomplete LDAP backend + */ + private function init_ldap() + { + if ($this->ldap) { + return $this->ldap->ready; + } + + // get LDAP config + $config = $this->rc->config->get('acl_users_source'); + + if (empty($config)) { + return false; + } + + // not an array, use configured ldap_public source + if (!is_array($config)) { + $ldap_config = (array) $this->rc->config->get('ldap_public'); + $config = $ldap_config[$config]; + } + + $uid_field = $this->rc->config->get('acl_users_field', 'mail'); + $filter = $this->rc->config->get('acl_users_filter'); + + if (empty($uid_field) || empty($config)) { + return false; + } + + // get name attribute + if (!empty($config['fieldmap'])) { + $name_field = $config['fieldmap']['name']; + } + // ... no fieldmap, use the old method + if (empty($name_field)) { + $name_field = $config['name_field']; + } + + // add UID field to fieldmap, so it will be returned in a record with name + $config['fieldmap']['name'] = $name_field; + $config['fieldmap']['uid'] = $uid_field; + + // search in UID and name fields + $config['search_fields'] = array_values($config['fieldmap']); + $config['required_fields'] = array($uid_field); + + // set search filter + if ($filter) { + $config['filter'] = $filter; + } + + // disable vlv + $config['vlv'] = false; + + // Initialize LDAP connection + $this->ldap = new rcube_ldap($config, + $this->rc->config->get('ldap_debug'), + $this->rc->config->mail_domain($_SESSION['imap_host'])); + + return $this->ldap->ready; + } + + /** + * Modify user login according to 'login_lc' setting + */ + protected function mod_login($user) + { + $login_lc = $this->rc->config->get('login_lc'); + + if ($login_lc === true || $login_lc == 2) { + $user = mb_strtolower($user); + } + // lowercase domain name + else if ($login_lc && strpos($user, '@')) { + list($local, $domain) = explode('@', $user); + $user = $local . '@' . mb_strtolower($domain); + } + + return $user; + } +} diff --git a/plugins/acl/composer.json b/plugins/acl/composer.json new file mode 100644 index 000000000..a08d211dd --- /dev/null +++ b/plugins/acl/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/acl", + "type": "roundcube-plugin", + "description": "IMAP Folders Access Control Lists Management (RFC4314, RFC2086).", + "license": "GPLv3+", + "version": "1.5", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/acl/config.inc.php.dist b/plugins/acl/config.inc.php.dist new file mode 100644 index 000000000..ed7000267 --- /dev/null +++ b/plugins/acl/config.inc.php.dist @@ -0,0 +1,33 @@ +<?php + +// Default look of access rights table +// In advanced mode all access rights are displayed separately +// In simple mode access rights are grouped into four groups: read, write, delete, full +$config['acl_advanced_mode'] = false; + +// LDAP addressbook that would be searched for user names autocomplete. +// That should be an array refering to the $config['ldap_public'] array key +// or complete addressbook configuration array. +$config['acl_users_source'] = ''; + +// The LDAP attribute which will be used as ACL user identifier +$config['acl_users_field'] = 'mail'; + +// The LDAP search filter will be &'d with search queries +$config['acl_users_filter'] = ''; + +// Enable LDAP groups in user autocompletion. +// Note: LDAP addressbook defined in acl_users_source must include groups config +$config['acl_groups'] = false; + +// Prefix added to the group name to build IMAP ACL identifier +$config['acl_group_prefix'] = 'group:'; + +// The LDAP attribute (or field name) which will be used as ACL group identifier +$config['acl_group_field'] = 'name'; + +// Include the following 'special' access control subjects in the ACL dialog; +// Defaults to array('anyone', 'anonymous') (not when set to an empty array) +// Example: array('anyone') to exclude 'anonymous'. +// Set to an empty array to exclude all special aci subjects. +$config['acl_specials'] = array('anyone', 'anonymous'); diff --git a/plugins/acl/localization/ar_SA.inc b/plugins/acl/localization/ar_SA.inc new file mode 100644 index 000000000..ef6cddba6 --- /dev/null +++ b/plugins/acl/localization/ar_SA.inc @@ -0,0 +1,91 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'مشاركة'; +$labels['myrights'] = 'حقوق الوصول'; +$labels['username'] = 'مستخدم:'; +$labels['advanced'] = 'وضع متقدم'; +$labels['newuser'] = 'اضافة مدخل'; +$labels['editperms'] = 'تعديل الصلاحيات'; +$labels['actions'] = 'اجراءات حقوق الوصول...'; +$labels['anyone'] = 'كل المستخدمين(اي شخص)'; +$labels['anonymous'] = 'ضيف (مجهول)'; +$labels['identifier'] = 'معرف'; +$labels['acll'] = 'بحث'; +$labels['aclr'] = 'قراءة الرسائل'; +$labels['acls'] = 'ابقاء حالة الزيارة'; +$labels['aclw'] = 'اكتب رمز'; +$labels['acli'] = 'ادخل (نسخ الى)'; +$labels['aclp'] = 'نشر'; +$labels['aclc'] = 'إنشاء مجلدات فرعية'; +$labels['aclk'] = 'إنشاء مجلدات فرعية'; +$labels['acld'] = 'حذف الرسائل'; +$labels['aclt'] = 'حذف الرسائل'; +$labels['acle'] = 'حُذف'; +$labels['aclx'] = 'حذف المجلد'; +$labels['acla'] = 'ادارة'; +$labels['aclfull'] = 'تحكم كامل'; +$labels['aclother'] = 'اخرى'; +$labels['aclread'] = 'قراءة '; +$labels['aclwrite'] = 'كتابة'; +$labels['acldelete'] = 'حذف'; +$labels['shortacll'] = 'بحث'; +$labels['shortaclr'] = 'قراءة '; +$labels['shortacls'] = 'ابقاء'; +$labels['shortaclw'] = 'قراءة'; +$labels['shortacli'] = 'ادراج'; +$labels['shortaclp'] = 'نشر'; +$labels['shortaclc'] = 'أنشئ'; +$labels['shortaclk'] = 'أنشئ'; +$labels['shortacld'] = 'حذف'; +$labels['shortaclt'] = 'حذف'; +$labels['shortacle'] = 'حُذف'; +$labels['shortaclx'] = 'حذف المجلد'; +$labels['shortacla'] = 'ادارة'; +$labels['shortaclother'] = 'اخرى'; +$labels['shortaclread'] = 'قراءة '; +$labels['shortaclwrite'] = 'كتابة'; +$labels['shortacldelete'] = 'حذف'; +$labels['longacll'] = 'المجلد مرئي في القائمة وبالامكان ايضا الاشتراك'; +$labels['longaclr'] = 'من الممكن فتح المجلد للقراءة'; +$labels['longacls'] = 'وسم الزيارة في الرسائل بالامكان تغييره'; +$labels['longaclw'] = 'وسم والكلمات الرئيسية في الرسائل يمكن تغييره, ماعدا الزيارة والحذف '; +$labels['longacli'] = 'بالامكان كتابة الرسائل ونسخها الى هذا المجلد'; +$labels['longaclp'] = 'بالامكان نشر الرسائل الى هذ المجلد'; +$labels['longaclc'] = 'بالامكان انشاء المجلدات ( او اعادة التسمية ) مباشرة تحت هذا المجلد'; +$labels['longaclk'] = 'بالامكان انشاء المجلدات ( او اعادة التسمية ) مباشرة تحت هذا المجلد'; +$labels['longacld'] = 'حذف وسم الرسائل من الممكن تغييرة'; +$labels['longaclt'] = 'حذف وسم الرسائل من الممكن تغييرة'; +$labels['longacle'] = 'بالامكان شطب الرسائل'; +$labels['longaclx'] = 'هذا المجلد بالامكان حذفة او اعادة تسميته'; +$labels['longacla'] = 'حقوق الوصول لهذا المجلد بالامكان تغييره'; +$labels['longaclfull'] = 'التحكم الكامل يتضمن ادارة المجلدات'; +$labels['longaclread'] = 'من الممكن فتح المجلد للقراءة'; +$labels['longaclwrite'] = 'لا يمكن وضع علامة على الرسائل, كتبت او نسخة الى هذا المجلد'; +$labels['longacldelete'] = 'لا يمكن حذف الرسائل'; +$messages['deleting'] = 'جاري حذف حقوق الوصول...'; +$messages['saving'] = 'جاري حفظ حقوق الوصول...'; +$messages['updatesuccess'] = 'تم تغيير حقوق الوصول بنجاح'; +$messages['deletesuccess'] = 'تم حذف حقوق الوصول بنجاح'; +$messages['createsuccess'] = 'تم اضافة حقوق الوصول بنجاح'; +$messages['updateerror'] = 'لا يمكن تحديث حقوق الوصول'; +$messages['deleteerror'] = 'لا يمكن حذف حقوق الوصول'; +$messages['createerror'] = 'لا يمكن اضافة حقوق الوصول'; +$messages['deleteconfirm'] = 'هل تريد فعلاً حذف حقوق الوصول لـ المستخدمين المحددين ؟'; +$messages['norights'] = 'لم يتم تحديد حقوق وصول!'; +$messages['nouser'] = 'لم يتم تحديد اسم مستخدم!'; +?> diff --git a/plugins/acl/localization/ast.inc b/plugins/acl/localization/ast.inc new file mode 100644 index 000000000..2932d3bd4 --- /dev/null +++ b/plugins/acl/localization/ast.inc @@ -0,0 +1,80 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Compartición'; +$labels['myrights'] = 'Drechos d\'accesu'; +$labels['username'] = 'Usuariu:'; +$labels['advanced'] = 'Mou avanzáu'; +$labels['newuser'] = 'Amestar entrada'; +$labels['editperms'] = 'Editar permisos'; +$labels['actions'] = 'Aición de drechos d\'accesu...'; +$labels['anyone'] = 'Tolos usuarios (toos)'; +$labels['anonymous'] = 'Convidaos (anónimos)'; +$labels['identifier'] = 'Identificador'; +$labels['acll'] = 'Guetar'; +$labels['aclr'] = 'Lleer mensaxes'; +$labels['acls'] = 'Estáu Caltener Vistu'; +$labels['aclw'] = 'Escribir banderes'; +$labels['acli'] = 'Inxertar (copiar a)'; +$labels['aclc'] = 'Crear subcarpetes'; +$labels['aclk'] = 'Crear subcarpetes'; +$labels['acld'] = 'Desaniciar mensaxes'; +$labels['aclt'] = 'Desaniciar mensaxes'; +$labels['acle'] = 'Desanciar'; +$labels['aclx'] = 'Desaniciar carpeta'; +$labels['acla'] = 'Alministrar'; +$labels['aclfull'] = 'Control total'; +$labels['aclother'] = 'Otru'; +$labels['aclread'] = 'Lleer'; +$labels['aclwrite'] = 'Escribir'; +$labels['acldelete'] = 'Desaniciar'; +$labels['shortacll'] = 'Guetar'; +$labels['shortaclr'] = 'Lleer'; +$labels['shortacls'] = 'Caltener'; +$labels['shortaclw'] = 'Escribir'; +$labels['shortacli'] = 'Inxertar'; +$labels['shortaclc'] = 'Crear'; +$labels['shortaclk'] = 'Crear'; +$labels['shortacld'] = 'Desaniciar'; +$labels['shortaclt'] = 'Desaniciar'; +$labels['shortacle'] = 'Desaniciar'; +$labels['shortaclx'] = 'Desaniciu de carpeta'; +$labels['shortacla'] = 'Alministrar'; +$labels['shortaclother'] = 'Otru'; +$labels['shortaclread'] = 'Lleer'; +$labels['shortaclwrite'] = 'Escribir'; +$labels['shortacldelete'] = 'Desaniciar'; +$labels['longacll'] = 'La carpeta ye visible nes llistes y pue soscribise a'; +$labels['longaclr'] = 'La carpeta nun pue abrise pa leer'; +$labels['longaclx'] = 'La carpeta pue desaniciase o renomase'; +$labels['longacla'] = 'Puen camudase los drechos d\'accesu de la carpeta'; +$labels['longaclfull'] = 'Control completu incluyendo l\'alminitración de carpeta'; +$labels['longaclread'] = 'La carpeta pue abrise pa llectura'; +$labels['longaclwrite'] = 'Los mensaxes puen conseñase, escribise o copiase a la carpeta'; +$labels['longacldelete'] = 'Los mensaxes puen desaniciase'; +$labels['longaclother'] = 'Otros drechos d\'accesu'; +$labels['ariasummaryacltable'] = 'Llista de drechos d\'accesu'; +$messages['deleting'] = 'Desaniciando los drechos d\'accesu...'; +$messages['saving'] = 'Guardando los drechos d\'accesu...'; +$messages['updatesuccess'] = 'Camudaos con ésitu los drechos d\'accesu'; +$messages['deletesuccess'] = 'Desaniciaos con ésitu los drechos d\'accesu'; +$messages['createsuccess'] = 'Amestaos con ésitu los drechos d\'accesu'; +$messages['updateerror'] = 'Nun puen anovase los drechos d\'accesu'; +$messages['deleteerror'] = 'Nun puen desaniciase los drechos d\'accesu'; +$messages['createerror'] = 'Nun puen amestase los drechos d\'accesu'; +$messages['deleteconfirm'] = '¿De xuru quies desaniciar los drechos d\'accesu al(a los) usuariu(os) esbilláu(os)?'; +?> diff --git a/plugins/acl/localization/az_AZ.inc b/plugins/acl/localization/az_AZ.inc new file mode 100644 index 000000000..9bf23d4f3 --- /dev/null +++ b/plugins/acl/localization/az_AZ.inc @@ -0,0 +1,91 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Paylaşma'; +$labels['myrights'] = 'Giriş hüququ'; +$labels['username'] = 'İstifadəçi:'; +$labels['advanced'] = 'Ekspert rejimi'; +$labels['newuser'] = 'Sahə əlavə et'; +$labels['editperms'] = 'Cavabları redaktə et'; +$labels['actions'] = 'Giriş hüququ ilə hərəkət...'; +$labels['anyone'] = 'Bütün istifadəçilər (istənilən)'; +$labels['anonymous'] = 'Qonaqlar (anonimlər)'; +$labels['identifier'] = 'İdentifikator'; +$labels['acll'] = 'Baxış'; +$labels['aclr'] = 'Məktubu oxu'; +$labels['acls'] = 'Oxunulan kimi saxla'; +$labels['aclw'] = 'Yazı bayrağı'; +$labels['acli'] = 'Əlavə et (kopyala)'; +$labels['aclp'] = 'Yazı'; +$labels['aclc'] = 'Qovluqaltı yarat'; +$labels['aclk'] = 'Qovluqaltı yarat'; +$labels['acld'] = 'Məktubu sil'; +$labels['aclt'] = 'Məktubu sil'; +$labels['acle'] = 'Poz'; +$labels['aclx'] = 'Qovluğu sil'; +$labels['acla'] = 'İdarə'; +$labels['aclfull'] = 'Tam idarə'; +$labels['aclother'] = 'Digər'; +$labels['aclread'] = 'Oxu'; +$labels['aclwrite'] = 'Yaz'; +$labels['acldelete'] = 'Sil'; +$labels['shortacll'] = 'Baxış'; +$labels['shortaclr'] = 'Oxu'; +$labels['shortacls'] = 'Saxla'; +$labels['shortaclw'] = 'Yaz'; +$labels['shortacli'] = 'Yerləşdir'; +$labels['shortaclp'] = 'Yazı'; +$labels['shortaclc'] = 'Yarat'; +$labels['shortaclk'] = 'Yarat'; +$labels['shortacld'] = 'Sil'; +$labels['shortaclt'] = 'Sil'; +$labels['shortacle'] = 'Poz'; +$labels['shortaclx'] = 'Qovluğun silinməsi'; +$labels['shortacla'] = 'İdarə'; +$labels['shortaclother'] = 'Digər'; +$labels['shortaclread'] = 'Oxu'; +$labels['shortaclwrite'] = 'Yaz'; +$labels['shortacldelete'] = 'Sil'; +$labels['longacll'] = 'Qovluq siyahıda görünür və yazılmağa hazırdır'; +$labels['longaclr'] = 'Bu qovluq oxunmaq üçün açıla bilər'; +$labels['longacls'] = 'Oxunulan flaqı dəyişdirilə bilər'; +$labels['longaclw'] = 'Oxunulan və silinənlərdən başqa flaqlar və açar sözləri dəyişdirilə bilər'; +$labels['longacli'] = 'Məktub qovluğa yazıla və ya saxlanıla bilər'; +$labels['longaclp'] = 'Məktub bu qovluğa göndərilə bilər'; +$labels['longaclc'] = 'Qovluqaltları bu qovluqda yaradıla və ya adı dəyişdirilə bilər'; +$labels['longaclk'] = 'Qovluqaltları bu qovluqda yaradıla və ya adı dəyişdirilə bilər'; +$labels['longacld'] = 'Silinən flaqı dəyişdirilə bilər'; +$labels['longaclt'] = 'Silinən flaqı dəyişdirilə bilər'; +$labels['longacle'] = 'Məktublar pozula bilər'; +$labels['longaclx'] = 'Bu qovluq silinə və ya adı dəyişdirilə bilər'; +$labels['longacla'] = 'Bu qovluğa giriş hüququ dəyişdirilə bilər'; +$labels['longaclfull'] = 'Qovluğun idarəsi ilə birlikdə, tam giriş.'; +$labels['longaclread'] = 'Bu qovluq oxunmaq üçün açıla bilər'; +$labels['longaclwrite'] = 'Məktubu bu qovluğa qeyd etmək, yazmaq və kopyalamaq olar'; +$labels['longacldelete'] = 'Məktubu silmək olar'; +$messages['deleting'] = 'Giriş hüququnun silinməsi...'; +$messages['saving'] = 'Giriş hüququnun saxlanılması...'; +$messages['updatesuccess'] = 'Giriş hüququ dəyişdirildi'; +$messages['deletesuccess'] = 'Giriş hüququ silindi'; +$messages['createsuccess'] = 'Giriş hüququ əlavə edildi'; +$messages['updateerror'] = 'Hüquqları yeniləmək alınmadı'; +$messages['deleteerror'] = 'Giriş hüququnu silmək mümkün deyil'; +$messages['createerror'] = 'Giriş hüququnu əlavə etmək mümkün deyil'; +$messages['deleteconfirm'] = 'Seçilmiş istifadəçilərin giriş hüququnu silməkdə əminsiniz?'; +$messages['norights'] = 'Giriş hüquqları göstərilməyib!'; +$messages['nouser'] = 'İstifadəçi adı təyin olunmayıb!'; +?> diff --git a/plugins/acl/localization/be_BE.inc b/plugins/acl/localization/be_BE.inc new file mode 100644 index 000000000..4aac05b67 --- /dev/null +++ b/plugins/acl/localization/be_BE.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Сумесны доступ'; +$labels['myrights'] = 'Правы доступу'; +$labels['username'] = 'Карыстальнік:'; +$labels['advanced'] = 'Пашыраны рэжым'; +$labels['newuser'] = 'Дадаць запіс'; +$labels['editperms'] = 'Рэдагаваць правы доступу'; +$labels['actions'] = 'Дзеянні з правамі доступу...'; +$labels['anyone'] = 'Усе карыстальнікі (любыя)'; +$labels['anonymous'] = 'Госці (ананімныя)'; +$labels['identifier'] = 'Ідэнтыфікатар'; +$labels['acll'] = 'Пошук'; +$labels['aclr'] = 'Прачытаць паведамленні'; +$labels['acls'] = 'Пакінуць стан Бачанае'; +$labels['aclw'] = 'Флагі запісвання'; +$labels['acli'] = 'Уставіць (капіраваць у)'; +$labels['aclp'] = 'Адправіць'; +$labels['aclc'] = 'Стварыць укладзеныя папкі'; +$labels['aclk'] = 'Стварыць укладзеныя папкі'; +$labels['acld'] = 'Выдаліць паведамленні'; +$labels['aclt'] = 'Выдаліць паведамленні'; +$labels['acle'] = 'Знішчыць паведамленні'; +$labels['aclx'] = 'Выдаліць папку'; +$labels['acla'] = 'Адміністраваць'; +$labels['acln'] = 'Анатаваць паведамленні'; +$labels['aclfull'] = 'Поўны доступ'; +$labels['aclother'] = 'Іншае'; +$labels['aclread'] = 'Чытанне'; +$labels['aclwrite'] = 'Запіс'; +$labels['acldelete'] = 'Выдаленне'; +$labels['shortacll'] = 'Пошук'; +$labels['shortaclr'] = 'Чытанне'; +$labels['shortacls'] = 'Пакінуць'; +$labels['shortaclw'] = 'Запісванне'; +$labels['shortacli'] = 'Даданне'; +$labels['shortaclp'] = 'Адпраўленне'; +$labels['shortaclc'] = 'Стварэнне'; +$labels['shortaclk'] = 'Стварэнне'; +$labels['shortacld'] = 'Выдаленне'; +$labels['shortaclt'] = 'Выдаленне'; +$labels['shortacle'] = 'Знішчэнне'; +$labels['shortaclx'] = 'Выдаленне папкі'; +$labels['shortacla'] = 'Адміністраванне'; +$labels['shortacln'] = 'Анатаваць'; +$labels['shortaclother'] = 'Іншае'; +$labels['shortaclread'] = 'Чытанне'; +$labels['shortaclwrite'] = 'Запіс'; +$labels['shortacldelete'] = 'Выдаленне'; +$labels['longacll'] = 'Папку можна пабачыць у спісах і падпісацца на яе'; +$labels['longaclr'] = 'Папку можна адкрыць для чытання'; +$labels['longacls'] = 'На паведамленнях можна пераключаць флаг Бачанае'; +$labels['longaclw'] = 'На паведамленнях можна мяняць ключавыя словы і пераключаць флагі, апроч Бачанае і Выдаленае'; +$labels['longacli'] = 'Паведамленні могуць быць запісаныя альбо скапіяваныя ў папку'; +$labels['longaclp'] = 'Паведамленні могуць быць адпраўленыя ў гэтую папку'; +$labels['longaclc'] = 'Папкі могуць быць створаны (альбо перайменаваны) наўпрост пад гэтай папкай'; +$labels['longaclk'] = 'Папкі могуць быць створаны (альбо перайменаваны) наўпрост пад гэтай папкай'; +$labels['longacld'] = 'На паведамленнях можна пераключаць флаг Выдаленае'; +$labels['longaclt'] = 'На паведамленнях можна пераключаць флаг Выдаленае'; +$labels['longacle'] = 'Паведамленні могуць быць знішчаны'; +$labels['longaclx'] = 'Папку можна выдаліць альбо перайменаваць'; +$labels['longacla'] = 'Правы доступу на папку можна змяняць'; +$labels['longacln'] = 'Анатацыі паведамленняў (супольныя метаданыя) можна змяняць'; +$labels['longaclfull'] = 'Поўны доступ, уключна з адмінстраваннем папкі'; +$labels['longaclread'] = 'Папку можна адкрыць для чытання'; +$labels['longaclwrite'] = 'Паведамленні могуць быць пазначаныя, запісаныя альбо скапіяваныя ў папку'; +$labels['longacldelete'] = 'Паведамленні можна выдаліць'; +$labels['longaclother'] = 'Іншыя правы доступу'; +$labels['ariasummaryacltable'] = 'Спіс правоў доступу'; +$labels['arialabelaclactions'] = 'Спіс дзеянняў'; +$labels['arialabelaclform'] = 'Форма правоў доступу'; +$messages['deleting'] = 'Правы доступу выдаляюцца...'; +$messages['saving'] = 'Правы доступу захоўваюцца...'; +$messages['updatesuccess'] = 'Правы доступу зменены'; +$messages['deletesuccess'] = 'Правы доступу выдалены'; +$messages['createsuccess'] = 'Правы доступу дададзены'; +$messages['updateerror'] = 'Не ўдалося абнавіць правы доступу'; +$messages['deleteerror'] = 'Не ўдалося выдаліць правы доступу'; +$messages['createerror'] = 'Не ўдалося дадаць правы доступу'; +$messages['deleteconfirm'] = 'Напраўду выдаліць правы доступу для вылучанага карыстальніка(ў)?'; +$messages['norights'] = 'Жадных правоў не зададзена!'; +$messages['nouser'] = 'Жадных імёнаў карыстальнікаў не зададзена!'; +?> diff --git a/plugins/acl/localization/bg_BG.inc b/plugins/acl/localization/bg_BG.inc new file mode 100644 index 000000000..f38cc9e2b --- /dev/null +++ b/plugins/acl/localization/bg_BG.inc @@ -0,0 +1,94 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Споделяне'; +$labels['myrights'] = 'Права за достъп'; +$labels['username'] = 'Потребител:'; +$labels['advanced'] = 'Разширен режим'; +$labels['newuser'] = 'Добавяне на запис'; +$labels['editperms'] = 'Редакция на права'; +$labels['actions'] = 'Действия на права за достъп...'; +$labels['anyone'] = 'Всички потребители (който и да е)'; +$labels['anonymous'] = 'Гости (анонимни)'; +$labels['identifier'] = 'Индентификатор'; +$labels['acll'] = 'Претърсване'; +$labels['aclr'] = 'Четене на писма'; +$labels['acls'] = 'Запазване на Видяно'; +$labels['aclw'] = 'Записване на флагове'; +$labels['acli'] = 'Вмъкване (Копиране в)'; +$labels['aclp'] = 'Изпращане'; +$labels['aclc'] = 'Създаване на подпапки'; +$labels['aclk'] = 'Създаване на подпапки'; +$labels['acld'] = 'Изтриване на писма'; +$labels['aclt'] = 'Изтриване на писмо'; +$labels['acle'] = 'Заличаване'; +$labels['aclx'] = 'Изтриване на папка'; +$labels['acla'] = 'Администриране'; +$labels['acln'] = 'Анотиране на писма'; +$labels['aclfull'] = 'Пълен контрол'; +$labels['aclother'] = 'Други'; +$labels['aclread'] = 'Четене'; +$labels['aclwrite'] = 'Писане'; +$labels['acldelete'] = 'Изтриване'; +$labels['shortacll'] = 'Търсене'; +$labels['shortaclr'] = 'Четене'; +$labels['shortacls'] = 'Запазване'; +$labels['shortaclw'] = 'Писане'; +$labels['shortacli'] = 'Вмъкване'; +$labels['shortaclp'] = 'Изпращане'; +$labels['shortaclc'] = 'Създаване'; +$labels['shortaclk'] = 'Създаване'; +$labels['shortacld'] = 'Изтриване'; +$labels['shortaclt'] = 'Изтриване'; +$labels['shortacle'] = 'Заличаване'; +$labels['shortaclx'] = 'Изтриване на папка'; +$labels['shortacla'] = 'Администриране'; +$labels['shortacln'] = 'Анотирай'; +$labels['shortaclother'] = 'Други'; +$labels['shortaclread'] = 'Четене'; +$labels['shortaclwrite'] = 'Писане'; +$labels['shortacldelete'] = 'Изтриване'; +$labels['longacll'] = 'Папката е видима в списъците и може да се абонирате'; +$labels['longaclr'] = 'Папката може да бъде отворена за четене'; +$labels['longacls'] = 'Флаг Видяно може да бъде променен.'; +$labels['longaclw'] = 'Флаговете и кл. думи за писмата могат да бъдат променяни, без Видяно и Изтрито.'; +$labels['longacli'] = 'Писмата могат да бъдат писани или копирани към папката.'; +$labels['longaclp'] = 'Писмата могат да бъдат писани в папката'; +$labels['longaclc'] = 'Папките могат да бъдат създавани (или преименувани) директно в тази папка'; +$labels['longaclk'] = 'Папките могат да бъдат създавани (или преименувани) в тази основна папка'; +$labels['longacld'] = 'Флагът Изтрито може да бъде променян'; +$labels['longaclt'] = 'Флагът Изтрито може да бъде променян'; +$labels['longacle'] = 'Писмата могат да бъдат заличавани'; +$labels['longaclx'] = 'Папката може да бъде изтривана или преименувана'; +$labels['longacla'] = 'Правата за достъп до папката могат да бъдат променяни'; +$labels['longacln'] = 'Могат да се променят споделените метаданни (антоции) на писмата'; +$labels['longaclfull'] = 'Пълен контрол, включително и администриране на папките'; +$labels['longaclread'] = 'Папката може да бъде отворена за четене'; +$labels['longaclwrite'] = 'Писмата могат да бъдат маркирани, записвани или копирани в папката'; +$labels['longacldelete'] = 'Писмата могат да бъдат изтривани'; +$messages['deleting'] = 'Изтриване на права за достъп...'; +$messages['saving'] = 'Запазване на права за достъп...'; +$messages['updatesuccess'] = 'Правата за достъп са променени успешно'; +$messages['deletesuccess'] = 'Правата за достъп са изтрити успешно'; +$messages['createsuccess'] = 'Правата за достъп са добавени успешно'; +$messages['updateerror'] = 'Невъзможно модифициране на правата за достъп'; +$messages['deleteerror'] = 'Невъзможно изтриване на права за достъп'; +$messages['createerror'] = 'Невъзможно добавяне на права за достъп'; +$messages['deleteconfirm'] = 'Сигурни ли сте, че желаете да премахнате правата за достъп от избраните потребители?'; +$messages['norights'] = 'Няма указани права!'; +$messages['nouser'] = 'Няма указано потребителско име!'; +?> diff --git a/plugins/acl/localization/br.inc b/plugins/acl/localization/br.inc new file mode 100644 index 000000000..b3ae1c79f --- /dev/null +++ b/plugins/acl/localization/br.inc @@ -0,0 +1,48 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Rannañ'; +$labels['myrights'] = 'Aotreoù mont e-barzh'; +$labels['username'] = 'Implijer:'; +$labels['newuser'] = 'Ouzhpenan un enporzh'; +$labels['actions'] = 'Aotreoù mont e-barzh'; +$labels['anyone'] = 'An holl implijerien (neb hini)'; +$labels['anonymous'] = 'pedet (dizanv)'; +$labels['aclr'] = 'Kemennadoù lennet'; +$labels['aclc'] = 'Krouiñ isrenkelloù'; +$labels['aclk'] = 'Krouiñ isrenkelloù'; +$labels['acld'] = 'Dilemel kemennadoù'; +$labels['aclt'] = 'Dilemel kemennadoù'; +$labels['aclx'] = 'Dilemel ar renkell'; +$labels['aclread'] = 'Lennet'; +$labels['aclwrite'] = 'Skrivañ'; +$labels['acldelete'] = 'Dilemel'; +$labels['shortaclr'] = 'Lenn'; +$labels['shortacls'] = 'Gwarezin'; +$labels['shortaclw'] = 'Skrivañ'; +$labels['shortacli'] = 'Enlakaat'; +$labels['shortaclc'] = 'Krouiñ'; +$labels['shortaclk'] = 'Krouiñ'; +$labels['shortacld'] = 'Dilemel'; +$labels['shortaclt'] = 'Dilemel'; +$labels['shortacle'] = 'Dilemel pep tra'; +$labels['shortaclx'] = 'Dilemel ar renkell'; +$labels['shortaclother'] = 'traoù all'; +$labels['shortaclread'] = 'Lenn'; +$labels['shortaclwrite'] = 'Skrivañ'; +$labels['shortacldelete'] = 'Dilemel'; +?> diff --git a/plugins/acl/localization/bs_BA.inc b/plugins/acl/localization/bs_BA.inc new file mode 100644 index 000000000..371dd17af --- /dev/null +++ b/plugins/acl/localization/bs_BA.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Razmjena'; +$labels['myrights'] = 'Prava pristupa'; +$labels['username'] = 'Korisnik:'; +$labels['advanced'] = 'Napredni mod'; +$labels['newuser'] = 'Dodaj unos'; +$labels['editperms'] = 'Uredi dozvole'; +$labels['actions'] = 'Akcije za prava pristupa...'; +$labels['anyone'] = 'Svi korisnici (bilo ko)'; +$labels['anonymous'] = 'Gosti (anonimno)'; +$labels['identifier'] = 'Identifikator'; +$labels['acll'] = 'Pronađi'; +$labels['aclr'] = 'Pročitaj poruke'; +$labels['acls'] = 'Zadrži stanje pregleda'; +$labels['aclw'] = 'Oznake za pisanje'; +$labels['acli'] = 'Umetni (Kopiraj u)'; +$labels['aclp'] = 'Objavi'; +$labels['aclc'] = 'Napravi podfoldere'; +$labels['aclk'] = 'Napravi podfoldere'; +$labels['acld'] = 'Obriši poruke'; +$labels['aclt'] = 'Obriši poruke'; +$labels['acle'] = 'Izbriši'; +$labels['aclx'] = 'Obriši folder'; +$labels['acla'] = 'Administracija'; +$labels['acln'] = 'Obilježi poruke'; +$labels['aclfull'] = 'Puna kontrola'; +$labels['aclother'] = 'Ostalo'; +$labels['aclread'] = 'Pročitano'; +$labels['aclwrite'] = 'Piši'; +$labels['acldelete'] = 'Obriši'; +$labels['shortacll'] = 'Pronađi'; +$labels['shortaclr'] = 'Pročitano'; +$labels['shortacls'] = 'Zadrži'; +$labels['shortaclw'] = 'Piši'; +$labels['shortacli'] = 'Umetni'; +$labels['shortaclp'] = 'Objavi'; +$labels['shortaclc'] = 'Kreiraj'; +$labels['shortaclk'] = 'Kreiraj'; +$labels['shortacld'] = 'Obriši'; +$labels['shortaclt'] = 'Obriši'; +$labels['shortacle'] = 'Izbriši'; +$labels['shortaclx'] = 'Brisanje foldera'; +$labels['shortacla'] = 'Administracija'; +$labels['shortacln'] = 'Obilježli'; +$labels['shortaclother'] = 'Ostalo'; +$labels['shortaclread'] = 'Pročitano'; +$labels['shortaclwrite'] = 'Piši'; +$labels['shortacldelete'] = 'Obriši'; +$labels['longacll'] = 'Ovaj folder je vidljiv u listama i moguće je izvršiti pretplatu na njega'; +$labels['longaclr'] = 'Folder je moguće otvoriti radi čitanja'; +$labels['longacls'] = 'Oznaka čitanja za poruke se može promijeniti'; +$labels['longaclw'] = 'Oznake za poruke i ključne riječi je moguće promijeniti, osim za pregledano i obrisano'; +$labels['longacli'] = 'Moguće je kopirati i zapisivati poruke u folder'; +$labels['longaclp'] = 'Moguće je objavljivati poruke u ovaj folder'; +$labels['longaclc'] = 'Moguće je kreirati (ili preimenovati) foldere diretno ispod ovog foldera'; +$labels['longaclk'] = 'Moguće je kreirati (ili preimenovati) foldere diretno ispod ovog foldera'; +$labels['longacld'] = 'Oznaka za obrisane poruke se može mijenjati'; +$labels['longaclt'] = 'Oznaka za obrisane poruke se može mijenjati'; +$labels['longacle'] = 'Poruke je moguće obrisati'; +$labels['longaclx'] = 'Folder je moguće obrisati ili preimenovati'; +$labels['longacla'] = 'Pristupna prava foldera je moguće promijeniti'; +$labels['longacln'] = 'Dijeljeni podaci (obilježavanja) poruka mogu se mijenjati'; +$labels['longaclfull'] = 'Puna kontrola uključujući i administraciju foldera'; +$labels['longaclread'] = 'Folder je moguće otvoriti radi čitanja'; +$labels['longaclwrite'] = 'Moguće je označavati, zapisivati i kopirati poruke u folder'; +$labels['longacldelete'] = 'Moguće je obrisati poruke'; +$labels['longaclother'] = 'Ostala prava pristupa'; +$labels['ariasummaryacltable'] = 'Lista prava pristupa'; +$labels['arialabelaclactions'] = 'Lista akcija'; +$labels['arialabelaclform'] = 'Obrazac za prava pristupa'; +$messages['deleting'] = 'Brišem prava pristupa...'; +$messages['saving'] = 'Snimam prava pristupa...'; +$messages['updatesuccess'] = 'Prava pristupa su uspješno promijenjena'; +$messages['deletesuccess'] = 'Prava pristupa su uspješno obrisana'; +$messages['createsuccess'] = 'Prava pristupa su uspješno dodana'; +$messages['updateerror'] = 'Nije moguće ažurirati prava pristupa'; +$messages['deleteerror'] = 'Nije moguće obrisati prava pristupa'; +$messages['createerror'] = 'Nije moguće dodati prava pristupa'; +$messages['deleteconfirm'] = 'Jeste li sigurni da želite ukloniti prava pristupa za odabrane korisnike?'; +$messages['norights'] = 'Niste odabrali prava pristupa!'; +$messages['nouser'] = 'Niste odabrali korisničko ime!'; +?> diff --git a/plugins/acl/localization/ca_ES.inc b/plugins/acl/localization/ca_ES.inc new file mode 100644 index 000000000..b9df1209a --- /dev/null +++ b/plugins/acl/localization/ca_ES.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Comparteix'; +$labels['myrights'] = 'Permisos d\'accés'; +$labels['username'] = 'Usuari:'; +$labels['advanced'] = 'Mode Avançat'; +$labels['newuser'] = 'Afegeix una entrada'; +$labels['editperms'] = 'Editar Permisos'; +$labels['actions'] = 'Accions dels permisos d\'accés...'; +$labels['anyone'] = 'Tots els usuaris (qualsevol)'; +$labels['anonymous'] = 'Convidats (anònim)'; +$labels['identifier'] = 'Identificador'; +$labels['acll'] = 'Cerca'; +$labels['aclr'] = 'Llegeix missatges'; +$labels['acls'] = 'Conserva\'l com a llegit'; +$labels['aclw'] = 'Marques d\'escriptura'; +$labels['acli'] = 'Insereix (Copia dins)'; +$labels['aclp'] = 'Envia l\'entrada'; +$labels['aclc'] = 'Crea subcarpetes'; +$labels['aclk'] = 'Crea subcarpetes'; +$labels['acld'] = 'Suprimeix missatges'; +$labels['aclt'] = 'Suprimeix missatges'; +$labels['acle'] = 'Buida'; +$labels['aclx'] = 'Suprimeix carpeta'; +$labels['acla'] = 'Administra'; +$labels['acln'] = 'Anota missatges'; +$labels['aclfull'] = 'Control total'; +$labels['aclother'] = 'Un altre'; +$labels['aclread'] = 'Lectura'; +$labels['aclwrite'] = 'Escriptura'; +$labels['acldelete'] = 'Suprimeix'; +$labels['shortacll'] = 'Cerca'; +$labels['shortaclr'] = 'Lectura'; +$labels['shortacls'] = 'Conserva'; +$labels['shortaclw'] = 'Escriptura'; +$labels['shortacli'] = 'Insereix'; +$labels['shortaclp'] = 'Envia l\'entrada'; +$labels['shortaclc'] = 'Crea'; +$labels['shortaclk'] = 'Crea'; +$labels['shortacld'] = 'Suprimeix'; +$labels['shortaclt'] = 'Suprimeix'; +$labels['shortacle'] = 'Buida'; +$labels['shortaclx'] = 'Suprimeix carpeta'; +$labels['shortacla'] = 'Administra'; +$labels['shortacln'] = 'Anota'; +$labels['shortaclother'] = 'Un altre'; +$labels['shortaclread'] = 'Lectura'; +$labels['shortaclwrite'] = 'Escriptura'; +$labels['shortacldelete'] = 'Suprimeix'; +$labels['longacll'] = 'La carpeta és visible a les llistes i s\'hi pot subscriure'; +$labels['longaclr'] = 'La carpeta pot ser oberta per llegir'; +$labels['longacls'] = 'Els missatges marcats com a Llegit poden ser canviats'; +$labels['longaclw'] = 'Les marques i les paraules clau dels missatges poden ser canviats, excepte els Llegit i Suprimit'; +$labels['longacli'] = 'Els missatges poden ser escrits i copiats a la carpeta'; +$labels['longaclp'] = 'Els missatges poden ser enviats a aquesta carpeta'; +$labels['longaclc'] = 'Es poden crear (or reanomenar) carpetes directament sota aquesta carpeta'; +$labels['longaclk'] = 'Es poden crear (or reanomenar) carpetes directament sota aquesta carpeta'; +$labels['longacld'] = 'Els missatges amb l\'indicador Suprimit poden ser canviats'; +$labels['longaclt'] = 'Els missatges amb l\'indicador Suprimit poden ser canviats'; +$labels['longacle'] = 'Els missatges poden ser purgats'; +$labels['longaclx'] = 'La carpeta pot ser suprimida o reanomenada'; +$labels['longacla'] = 'Els permisos d\'accés a la carpeta poden ser canviats'; +$labels['longacln'] = 'Les metadades compartides dels missatges (anotacions) poden ser canviades'; +$labels['longaclfull'] = 'Control total fins i tot la gestió de carpetes'; +$labels['longaclread'] = 'La carpeta pot ser oberta per llegir'; +$labels['longaclwrite'] = 'Els missatges poden ser marcats, escrits o copiats a la carpeta'; +$labels['longacldelete'] = 'Els missatges poden ser suprimits'; +$labels['longaclother'] = 'Altres drets d\'accés'; +$labels['ariasummaryacltable'] = 'Llista els drets d\'accés'; +$labels['arialabelaclactions'] = 'Llista les accions'; +$labels['arialabelaclform'] = 'Formulari de drets d\'accés'; +$messages['deleting'] = 'S\'estan suprimint els permisos d\'accés...'; +$messages['saving'] = 'S\'estan desant els permisos d\'accés...'; +$messages['updatesuccess'] = 'Els permisos d\'accés han estat canviats correctament'; +$messages['deletesuccess'] = 'Els permisos d\'accés han estat suprimits correctament'; +$messages['createsuccess'] = 'Els permisos d\'accés han estat afegits correctament'; +$messages['updateerror'] = 'No s\'han pogut actualitzar els permisos d\'accés'; +$messages['deleteerror'] = 'No s\'han pogut suprimir els permisos d\'accés'; +$messages['createerror'] = 'No s\'han pogut afegir els permisos d\'accés'; +$messages['deleteconfirm'] = 'Esteu segurs que voleu suprimir els permisos d\'accés de l\'usuari o usuaris seleccionats?'; +$messages['norights'] = 'No s\'ha especificat cap permís'; +$messages['nouser'] = 'No s\'ha especificat cap nom d\'usuari'; +?> diff --git a/plugins/acl/localization/cs_CZ.inc b/plugins/acl/localization/cs_CZ.inc new file mode 100644 index 000000000..d91795f88 --- /dev/null +++ b/plugins/acl/localization/cs_CZ.inc @@ -0,0 +1,92 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Sdílení'; +$labels['myrights'] = 'Přístupová práva'; +$labels['username'] = 'Uživatel:'; +$labels['advanced'] = 'Pokročilý režim'; +$labels['newuser'] = 'Přidat záznam'; +$labels['editperms'] = 'Upravit oprávnění'; +$labels['actions'] = 'Přístupové právo akce ...'; +$labels['anyone'] = 'Všichni uživatelé (kdokoli)'; +$labels['anonymous'] = 'Hosté (anonymní)'; +$labels['identifier'] = 'Identifikátor'; +$labels['acll'] = 'Vyhledat'; +$labels['aclr'] = 'Číst zprávy'; +$labels['acls'] = 'Ponechat stav Přečteno'; +$labels['aclw'] = 'Zapsat označení'; +$labels['acli'] = 'Vložit (Kopírovat do)'; +$labels['aclp'] = 'Odeslat'; +$labels['aclc'] = 'Vytvořit podsložky'; +$labels['aclk'] = 'Vytvořit podsložky'; +$labels['acld'] = 'Smazat zprávy'; +$labels['aclt'] = 'Smazat zprávy'; +$labels['acle'] = 'Vyprázdnit'; +$labels['aclx'] = 'Smazat složku'; +$labels['acla'] = 'Spravovat'; +$labels['aclfull'] = 'Plný přístup'; +$labels['aclother'] = 'Ostatní'; +$labels['aclread'] = 'Číst'; +$labels['aclwrite'] = 'Zapsat'; +$labels['acldelete'] = 'Smazat'; +$labels['shortacll'] = 'Vyhledat'; +$labels['shortaclr'] = 'Číst'; +$labels['shortacls'] = 'Zachovat'; +$labels['shortaclw'] = 'Zapsat'; +$labels['shortacli'] = 'Vložit'; +$labels['shortaclp'] = 'Odeslat'; +$labels['shortaclc'] = 'Vytvořit'; +$labels['shortaclk'] = 'Vytvořit'; +$labels['shortacld'] = 'Smazat'; +$labels['shortaclt'] = 'Smazat'; +$labels['shortacle'] = 'Vyprázdnit'; +$labels['shortaclx'] = 'Mazat složky'; +$labels['shortacla'] = 'Spravovat'; +$labels['shortaclother'] = 'Ostatní'; +$labels['shortaclread'] = 'Číst'; +$labels['shortaclwrite'] = 'Zapsat'; +$labels['shortacldelete'] = 'Smazat'; +$labels['longacll'] = 'Složka je viditelná v seznamu a může být přihlášena'; +$labels['longaclr'] = 'Složka může být otevřena pro čtení'; +$labels['longacls'] = 'Označená zpráva byla změněna'; +$labels['longaclw'] = 'Značky a klíčová slova u zpráv je možné měnit, kromě příznaku Přečteno a Smazáno'; +$labels['longacli'] = 'Zpráva může být napsána nebo zkopírována do složky'; +$labels['longaclp'] = 'Zpráva může být odeslána do této složky'; +$labels['longaclc'] = 'Složka může být vytvořena (nebo přejmenována) přimo v této složce'; +$labels['longaclk'] = 'Složka může být vytvořena (nebo přejmenována) přimo v této složce'; +$labels['longacld'] = 'Příznak smazané zprávy může být změněn'; +$labels['longaclt'] = 'Příznak smazané zprávy může být změněn'; +$labels['longacle'] = 'Zpráva může být smazána'; +$labels['longaclx'] = 'Složka může být smazána nebo přejmenována'; +$labels['longacla'] = 'Přístupová práva složky mohou být změněna'; +$labels['longaclfull'] = 'Plný přístup včetně správy složky'; +$labels['longaclread'] = 'Složka může být otevřena pro čtení'; +$labels['longaclwrite'] = 'Zpráva může být označena, napsána nebo zkopírována do složky'; +$labels['longacldelete'] = 'Zprávy mohou být smazány'; +$labels['ariasummaryacltable'] = 'Seznam oprávnění'; +$messages['deleting'] = 'Odstraňuji přístupová práva...'; +$messages['saving'] = 'Ukládám přístupová práva...'; +$messages['updatesuccess'] = 'Přístupová práva byla úspěšně změněna'; +$messages['deletesuccess'] = 'Přístupová práva byla úspěšně odstraněna'; +$messages['createsuccess'] = 'Přístupová práva byla úspěšně přidána'; +$messages['updateerror'] = 'Úprava přístupových práv se nezdařila'; +$messages['deleteerror'] = 'Smazání přístupových práv se nezdařilo'; +$messages['createerror'] = 'Přidání přístupových práv se nezdařilo'; +$messages['deleteconfirm'] = 'Opravdu si přejete odstranit přístupová práva pro vybrané(ho) uživatele?'; +$messages['norights'] = 'Nejsou specifikována žádná práva!'; +$messages['nouser'] = 'Není specifikováno uživatelské jméno!'; +?> diff --git a/plugins/acl/localization/cy_GB.inc b/plugins/acl/localization/cy_GB.inc new file mode 100644 index 000000000..816d6335c --- /dev/null +++ b/plugins/acl/localization/cy_GB.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Rhannu'; +$labels['myrights'] = 'Hawliau Mynediad'; +$labels['username'] = 'Defnyddiwr:'; +$labels['advanced'] = 'Modd uwch'; +$labels['newuser'] = 'Ychwanegu cofnod'; +$labels['editperms'] = 'Golygu hawliau'; +$labels['actions'] = 'Gweithredoedd hawl mynediad...'; +$labels['anyone'] = 'Pob defnyddiwr (unrhywun)'; +$labels['anonymous'] = 'Gwestai (anhysbys)'; +$labels['identifier'] = 'Dynodwr'; +$labels['acll'] = 'Chwilio'; +$labels['aclr'] = 'Darllen negeseuon'; +$labels['acls'] = 'Cadw stad Gwelwyd'; +$labels['aclw'] = 'Fflagiau ysgrifennu'; +$labels['acli'] = 'Mewnosod (Copïo fewn i)'; +$labels['aclp'] = 'Postio'; +$labels['aclc'] = 'Creu is-ffolderi'; +$labels['aclk'] = 'Creu is-ffolderi'; +$labels['acld'] = 'Dileu negeseuon'; +$labels['aclt'] = 'Dileu negeseuon'; +$labels['acle'] = 'Dileu'; +$labels['aclx'] = 'Dileu ffolder'; +$labels['acla'] = 'Gweinyddu'; +$labels['acln'] = 'Anodi negeseuon'; +$labels['aclfull'] = 'Rheolaeth lawn'; +$labels['aclother'] = 'Arall'; +$labels['aclread'] = 'Darllen'; +$labels['aclwrite'] = 'Ysgrifennu'; +$labels['acldelete'] = 'Dileu'; +$labels['shortacll'] = 'Chwilio'; +$labels['shortaclr'] = 'Darllen'; +$labels['shortacls'] = 'Cadw'; +$labels['shortaclw'] = 'Ysgrifennu'; +$labels['shortacli'] = 'Mewnosod'; +$labels['shortaclp'] = 'Postio'; +$labels['shortaclc'] = 'Creu'; +$labels['shortaclk'] = 'Creu'; +$labels['shortacld'] = 'Dileu'; +$labels['shortaclt'] = 'Dileu'; +$labels['shortacle'] = 'Dileu'; +$labels['shortaclx'] = 'Dileu ffolder'; +$labels['shortacla'] = 'Gweinyddu'; +$labels['shortacln'] = 'Anodi'; +$labels['shortaclother'] = 'Arall'; +$labels['shortaclread'] = 'Darllen'; +$labels['shortaclwrite'] = 'Ysgrifennu'; +$labels['shortacldelete'] = 'Dileu'; +$labels['longacll'] = 'Mae\'r ffolder hwn i\'w weld ar y rhestrau a mae\'n bosib tanysgrifio iddo'; +$labels['longaclr'] = 'Gellir agor y ffolder hwn i\'w ddarllen'; +$labels['longacls'] = 'Gellir newid y fflag negeseuon Gwelwyd'; +$labels['longaclw'] = 'Gellir newid y fflagiau negeseuon a allweddeiriau, heblaw Gwelwyd a Dilëuwyd'; +$labels['longacli'] = 'Gellir ysgrifennu neu copïo negeseuon i\'r ffolder'; +$labels['longaclp'] = 'Gellir postio negeseuon i\'r ffolder hwn'; +$labels['longaclc'] = 'Gellir creu (neu ail-enwi) ffolderi yn uniongyrchol o dan y ffolder hwn'; +$labels['longaclk'] = 'Gellir creu (neu ail-enwi) ffolderi yn uniongyrchol o dan y ffolder hwn'; +$labels['longacld'] = 'Gellir newid fflag neges Dileu'; +$labels['longaclt'] = 'Gellir newid fflag neges Dileu'; +$labels['longacle'] = 'Gellir gwaredu negeseuon'; +$labels['longaclx'] = 'Gellir dileu neu ail-enwi\'r ffolder'; +$labels['longacla'] = 'Gellir newid hawliau mynediad y ffolder'; +$labels['longacln'] = 'Gellir newid negeseuon metadata (anodiadau) a rannwyd'; +$labels['longaclfull'] = 'Rheolaeth lawn yn cynnwys rheolaeth ffolderi'; +$labels['longaclread'] = 'Gellir agor y ffolder hwn i\'w ddarllen'; +$labels['longaclwrite'] = 'Gellir nodi, ysgrifennu neu copïo negeseuon i\'r ffolder'; +$labels['longacldelete'] = 'Gellir dileu negeseuon'; +$labels['longaclother'] = 'Hawliau mynediad eraill'; +$labels['ariasummaryacltable'] = 'Rhestr o hawliau mynediad'; +$labels['arialabelaclactions'] = 'Rhestru gweithrediadau'; +$labels['arialabelaclform'] = 'Ffurflen hawliau mynediad'; +$messages['deleting'] = 'Yn dileu hawliau mynediad...'; +$messages['saving'] = 'Yn cadw hawliau mynediad...'; +$messages['updatesuccess'] = 'Wedi newid hawliau mynediad yn llwyddiannus'; +$messages['deletesuccess'] = 'Wedi dileu hawliau mynediad yn llwyddiannus'; +$messages['createsuccess'] = 'Wedi ychwanegu hawliau mynediad yn llwyddiannus'; +$messages['updateerror'] = 'Methwyd diweddaru hawliau mynediad'; +$messages['deleteerror'] = 'Methwyd dileu hawliau mynediad'; +$messages['createerror'] = 'Methwyd ychwanegu hawliau mynediad'; +$messages['deleteconfirm'] = 'Ydych chi\'n siwr eich bod am ddileu hawliau mynediad y defnyddiwr/wyr ddewiswyd?'; +$messages['norights'] = 'Nid oes hawliau wedi eu nodi!'; +$messages['nouser'] = 'Nid oes enw defnyddiwr wedi ei nodi!'; +?> diff --git a/plugins/acl/localization/da_DK.inc b/plugins/acl/localization/da_DK.inc new file mode 100644 index 000000000..cbb077064 --- /dev/null +++ b/plugins/acl/localization/da_DK.inc @@ -0,0 +1,93 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Deling'; +$labels['myrights'] = 'Adgangrettigheder'; +$labels['username'] = 'Bruger:'; +$labels['advanced'] = 'Avanceret tilstand'; +$labels['newuser'] = 'Tilføj indgang'; +$labels['editperms'] = 'Rediger tilladelser'; +$labels['actions'] = 'Tilgangsrettigheder...'; +$labels['anyone'] = 'Alle brugere'; +$labels['anonymous'] = 'Gæst (anonym)'; +$labels['identifier'] = 'Identifikator'; +$labels['acll'] = 'Slå op'; +$labels['aclr'] = 'Læs beskeder'; +$labels['acls'] = 'Behold læst-status'; +$labels['aclw'] = 'Skriv flag'; +$labels['acli'] = 'Indsæt (kopier ind i)'; +$labels['aclp'] = 'Send'; +$labels['aclc'] = 'Opret undermapper'; +$labels['aclk'] = 'Opret undermapper'; +$labels['acld'] = 'Slet beskeder'; +$labels['aclt'] = 'Slet beskeder'; +$labels['acle'] = 'Udslet'; +$labels['aclx'] = 'Slet mappe'; +$labels['acla'] = 'Administrer'; +$labels['acln'] = 'Annoter beskeder'; +$labels['aclfull'] = 'Fuld kontrol'; +$labels['aclother'] = 'Andet'; +$labels['aclread'] = 'Læse'; +$labels['aclwrite'] = 'Skrive'; +$labels['acldelete'] = 'Slet'; +$labels['shortacll'] = 'Slå op'; +$labels['shortaclr'] = 'Læse'; +$labels['shortacls'] = 'Behold'; +$labels['shortaclw'] = 'Skrive'; +$labels['shortacli'] = 'Indsæt'; +$labels['shortaclp'] = 'Send'; +$labels['shortaclc'] = 'Opret'; +$labels['shortaclk'] = 'Opret'; +$labels['shortacld'] = 'Slet'; +$labels['shortaclt'] = 'Slet'; +$labels['shortacle'] = 'Udslet'; +$labels['shortaclx'] = 'Slet mappe'; +$labels['shortacla'] = 'Administrer'; +$labels['shortacln'] = 'Annoter'; +$labels['shortaclother'] = 'Andet'; +$labels['shortaclread'] = 'Læse'; +$labels['shortaclwrite'] = 'Skrive'; +$labels['shortacldelete'] = 'Slet'; +$labels['longacll'] = 'Mappen er synlig på listen og kan abonneres på'; +$labels['longaclr'] = 'Mappen kan åbnes for læsning'; +$labels['longacls'] = 'Beskeders Læst-flag kan ændres'; +$labels['longaclw'] = 'Beskeders flag og nøgleord kan ændres med undtagelse af Læst og Slettet'; +$labels['longacli'] = 'Beskeder kan blive skrevet eller kopieret til mappen'; +$labels['longaclp'] = 'Beskeder kan sendes til denne mappe'; +$labels['longaclc'] = 'Mapper kan blive oprettet (eller omdøbt) direkte under denne mappe'; +$labels['longaclk'] = 'Mapper kan blive oprettet (eller omdøbt) direkte under denne mappe'; +$labels['longacld'] = 'Beskeders Slet-flag kan ændres'; +$labels['longaclt'] = 'Beskeders Slet-flag kan ændres'; +$labels['longacle'] = 'Beskeder kan slettes'; +$labels['longaclx'] = 'Mappen kan blive slettet eller omdøbt'; +$labels['longacla'] = 'Mappen adgangsrettigheder kan ændres'; +$labels['longaclfull'] = 'Fuld kontrol inklusiv mappeadministration'; +$labels['longaclread'] = 'Mappen kan åbnes for læsning'; +$labels['longaclwrite'] = 'Beskeder kan blive markeret, skrevet eller kopieret til mappen'; +$labels['longacldelete'] = 'Beskeder kan slettes'; +$messages['deleting'] = 'Slette rettigheder...'; +$messages['saving'] = 'Gemme rettigheder...'; +$messages['updatesuccess'] = 'Tilgangsrettighederne blev ændret'; +$messages['deletesuccess'] = 'Sletterettigheder blev ændret'; +$messages['createsuccess'] = 'Tilgangsrettigheder blev tilføjet'; +$messages['updateerror'] = 'Kunne ikke opdatere adgangsrettigheder'; +$messages['deleteerror'] = 'Kunne ikke slette tilgangsrettigheder'; +$messages['createerror'] = 'Kunne ikke tilføje tilgangsrettigheder'; +$messages['deleteconfirm'] = 'Er du sikker på, at du vil slette tilgangsrettigheder fra de(n) valgte bruger(e)?'; +$messages['norights'] = 'Der er ikke specificeret nogle rettigheder!'; +$messages['nouser'] = 'Der er ikke angiver et brugernavn!'; +?> diff --git a/plugins/acl/localization/de_CH.inc b/plugins/acl/localization/de_CH.inc new file mode 100644 index 000000000..9e4f3b269 --- /dev/null +++ b/plugins/acl/localization/de_CH.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Freigabe'; +$labels['myrights'] = 'Zugriffsrechte'; +$labels['username'] = 'Benutzer:'; +$labels['advanced'] = 'Expertenmodus'; +$labels['newuser'] = 'Eintrag hinzufügen'; +$labels['editperms'] = 'Zugriffsrechte bearbeiten'; +$labels['actions'] = 'Zugriffsrechte Aktionen...'; +$labels['anyone'] = 'Alle Benutzer (anyone)'; +$labels['anonymous'] = 'Gäste (anonymous)'; +$labels['identifier'] = 'Bezeichnung'; +$labels['acll'] = 'Sichtbar'; +$labels['aclr'] = 'Nachrichten lesen'; +$labels['acls'] = 'Lesestatus ändern'; +$labels['aclw'] = 'Flags schreiben'; +$labels['acli'] = 'Nachrichten hinzufügen'; +$labels['aclp'] = 'Senden an'; +$labels['aclc'] = 'Unterordner erstellen'; +$labels['aclk'] = 'Unterordner erstellen'; +$labels['acld'] = 'Nachrichten als gelöscht markieren'; +$labels['aclt'] = 'Nachrichten als gelöscht markieren'; +$labels['acle'] = 'Endgültig löschen'; +$labels['aclx'] = 'Ordner löschen'; +$labels['acla'] = 'Verwalten'; +$labels['acln'] = 'Nachrichten auszeichnen'; +$labels['aclfull'] = 'Vollzugriff'; +$labels['aclother'] = 'Andere'; +$labels['aclread'] = 'Lesen'; +$labels['aclwrite'] = 'Schreiben'; +$labels['acldelete'] = 'Löschen'; +$labels['shortacll'] = 'Sichtbar'; +$labels['shortaclr'] = 'Lesen'; +$labels['shortacls'] = 'Behalte'; +$labels['shortaclw'] = 'Schreiben'; +$labels['shortacli'] = 'Hinzufügen'; +$labels['shortaclp'] = 'Senden an'; +$labels['shortaclc'] = 'Erstellen'; +$labels['shortaclk'] = 'Erstellen'; +$labels['shortacld'] = 'Löschen'; +$labels['shortaclt'] = 'Löschen'; +$labels['shortacle'] = 'Endgültig löschen'; +$labels['shortaclx'] = 'Ordner löschen'; +$labels['shortacla'] = 'Verwalten'; +$labels['shortacln'] = 'Auszeichnen'; +$labels['shortaclother'] = 'Andere'; +$labels['shortaclread'] = 'Lesen'; +$labels['shortaclwrite'] = 'Schreiben'; +$labels['shortacldelete'] = 'Löschen'; +$labels['longacll'] = 'Der Ordner ist sichtbar und kann abonniert werden'; +$labels['longaclr'] = 'Der Ordnerinhalt kann gelesen werden'; +$labels['longacls'] = 'Der Lesestatus von Nachrichten kann geändert werden'; +$labels['longaclw'] = 'Alle Nachrichten-Flags und Schlüsselwörter ausser "Gelesen" und "Gelöscht" können geändert werden'; +$labels['longacli'] = 'Nachrichten können in diesen Ordner kopiert oder verschoben werden'; +$labels['longaclp'] = 'Nachrichten können an diesen Ordner gesendet werden'; +$labels['longaclc'] = 'Unterordner können in diesem Ordner erstellt oder umbenannt werden'; +$labels['longaclk'] = 'Unterordner können in diesem Ordner erstellt oder umbenannt werden'; +$labels['longacld'] = 'Der "gelöscht" Status von Nachrichten kann geändert werden'; +$labels['longaclt'] = 'Der "gelöscht" Status von Nachrichten kann geändert werden'; +$labels['longacle'] = 'Als "gelöscht" markierte Nachrichten können entfernt werden'; +$labels['longaclx'] = 'Der Ordner kann gelöscht oder umbenannt werden'; +$labels['longacla'] = 'Die Zugriffsrechte des Ordners können geändert werden'; +$labels['longacln'] = 'Geteilte Nachrichten-Auszeichnungen (Metadaten) können nicht geändert werden'; +$labels['longaclfull'] = 'Vollzugriff inklusive Ordner-Verwaltung'; +$labels['longaclread'] = 'Der Ordnerinhalt kann gelesen werden'; +$labels['longaclwrite'] = 'Nachrichten können markiert, an den Ordner gesendet und in den Ordner kopiert oder verschoben werden'; +$labels['longacldelete'] = 'Nachrichten können gelöscht werden'; +$labels['longaclother'] = 'Andere Zugriffsrechte '; +$labels['ariasummaryacltable'] = 'Liste der Zugriffsrechte'; +$labels['arialabelaclactions'] = 'Listen-Aktionen'; +$labels['arialabelaclform'] = 'Zugriffsrechte (Formular)'; +$messages['deleting'] = 'Zugriffsrechte werden entzogen...'; +$messages['saving'] = 'Zugriffsrechte werden gespeichert...'; +$messages['updatesuccess'] = 'Zugriffsrechte erfolgreich geändert'; +$messages['deletesuccess'] = 'Zugriffsrechte erfolgreich entzogen'; +$messages['createsuccess'] = 'Zugriffsrechte erfolgreich hinzugefügt'; +$messages['updateerror'] = 'Zugriffsrechte konnten nicht geändert werden'; +$messages['deleteerror'] = 'Zugriffsrechte konnten nicht entzogen werden'; +$messages['createerror'] = 'Zugriffsrechte konnten nicht gewährt werden'; +$messages['deleteconfirm'] = 'Sind Sie sicher, dass Sie die Zugriffsrechte den ausgewählten Benutzern entziehen möchten?'; +$messages['norights'] = 'Es wurden keine Zugriffsrechte ausgewählt!'; +$messages['nouser'] = 'Es wurde kein Benutzer ausgewählt!'; +?> diff --git a/plugins/acl/localization/de_DE.inc b/plugins/acl/localization/de_DE.inc new file mode 100644 index 000000000..01c330076 --- /dev/null +++ b/plugins/acl/localization/de_DE.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Freigabe'; +$labels['myrights'] = 'Zugriffsrechte'; +$labels['username'] = 'Benutzer:'; +$labels['advanced'] = 'Erweiterter Modus'; +$labels['newuser'] = 'Eintrag hinzufügen'; +$labels['editperms'] = 'Zugriffsrechte bearbeiten'; +$labels['actions'] = 'Zugriffsrechte Aktionen...'; +$labels['anyone'] = 'Alle Benutzer (anyone)'; +$labels['anonymous'] = 'Gäste (anonymous)'; +$labels['identifier'] = 'Bezeichnung'; +$labels['acll'] = 'Sichtbar'; +$labels['aclr'] = 'Nachrichten lesen'; +$labels['acls'] = 'Lesestatus ändern'; +$labels['aclw'] = 'Flags schreiben'; +$labels['acli'] = 'Nachrichten hinzufügen'; +$labels['aclp'] = 'Senden an'; +$labels['aclc'] = 'Unterordner erstellen'; +$labels['aclk'] = 'Unterordner erstellen'; +$labels['acld'] = 'Nachrichten als gelöscht markieren'; +$labels['aclt'] = 'Nachrichten als gelöscht markieren'; +$labels['acle'] = 'Endgültig löschen'; +$labels['aclx'] = 'Ordner löschen'; +$labels['acla'] = 'Verwalten'; +$labels['acln'] = 'Nachrichten kommentieren'; +$labels['aclfull'] = 'Vollzugriff'; +$labels['aclother'] = 'Andere'; +$labels['aclread'] = 'Lesen'; +$labels['aclwrite'] = 'Schreiben'; +$labels['acldelete'] = 'Löschen'; +$labels['shortacll'] = 'Sichtbar'; +$labels['shortaclr'] = 'Lesen'; +$labels['shortacls'] = 'Lesestatus'; +$labels['shortaclw'] = 'Schreiben'; +$labels['shortacli'] = 'Hinzufügen'; +$labels['shortaclp'] = 'Senden an'; +$labels['shortaclc'] = 'Erstellen'; +$labels['shortaclk'] = 'Erstellen'; +$labels['shortacld'] = 'Löschen'; +$labels['shortaclt'] = 'Löschen'; +$labels['shortacle'] = 'Endgültig löschen'; +$labels['shortaclx'] = 'Ordner löschen'; +$labels['shortacla'] = 'Verwalten'; +$labels['shortacln'] = 'Kommentieren'; +$labels['shortaclother'] = 'Andere'; +$labels['shortaclread'] = 'Lesen'; +$labels['shortaclwrite'] = 'Schreiben'; +$labels['shortacldelete'] = 'Löschen'; +$labels['longacll'] = 'Der Ordner ist sichtbar und kann abonniert werden'; +$labels['longaclr'] = 'Der Ordnerinhalt kann gelesen werden'; +$labels['longacls'] = 'Der Lesestatus von Nachrichten kann geändert werden'; +$labels['longaclw'] = 'Alle Nachrichten-Flags und Schlüsselwörter außer "Gelesen" und "Gelöscht" können geändert werden'; +$labels['longacli'] = 'Nachrichten können in diesen Ordner kopiert oder verschoben werden'; +$labels['longaclp'] = 'Nachrichten können an diesen Ordner gesendet werden'; +$labels['longaclc'] = 'Unterordner können in diesem Ordner erstellt oder umbenannt werden'; +$labels['longaclk'] = 'Unterordner können in diesem Ordner erstellt oder umbenannt werden'; +$labels['longacld'] = 'Der "gelöscht" Status von Nachrichten kann geändert werden'; +$labels['longaclt'] = 'Der "gelöscht" Status von Nachrichten kann geändert werden'; +$labels['longacle'] = 'Als "gelöscht" markiert Nachrichten können gelöscht werden.'; +$labels['longaclx'] = 'Der Ordner kann gelöscht oder umbenannt werden'; +$labels['longacla'] = 'Die Zugriffsrechte des Ordners können geändert werden'; +$labels['longacln'] = 'Nachrichten Metadaten (Vermerke) können geändert werden'; +$labels['longaclfull'] = 'Vollzugriff inklusive Ordner-Verwaltung'; +$labels['longaclread'] = 'Der Ordnerinhalt kann gelesen werden'; +$labels['longaclwrite'] = 'Nachrichten können markiert, an den Ordner gesendet und in den Ordner kopiert oder verschoben werden'; +$labels['longacldelete'] = 'Nachrichten können gelöscht werden'; +$labels['longaclother'] = 'Andere Zugriffsrechte'; +$labels['ariasummaryacltable'] = 'Liste von Zugriffsrechten'; +$labels['arialabelaclactions'] = 'Aktionen anzeigen'; +$labels['arialabelaclform'] = 'Zugriffsrechteformular'; +$messages['deleting'] = 'Zugriffsrechte werden entzogen...'; +$messages['saving'] = 'Zugriffsrechte werden gewährt...'; +$messages['updatesuccess'] = 'Zugriffsrechte erfolgreich geändert'; +$messages['deletesuccess'] = 'Zugriffsrechte erfolgreich entzogen'; +$messages['createsuccess'] = 'Zugriffsrechte erfolgreich gewährt'; +$messages['updateerror'] = 'Zugriffsrechte konnten nicht geändert werden'; +$messages['deleteerror'] = 'Zugriffsrechte konnten nicht entzogen werden'; +$messages['createerror'] = 'Zugriffsrechte konnten nicht gewährt werden'; +$messages['deleteconfirm'] = 'Sind Sie sicher, daß Sie die Zugriffsrechte den ausgewählten Benutzern entziehen möchten?'; +$messages['norights'] = 'Es wurden keine Zugriffsrechte ausgewählt!'; +$messages['nouser'] = 'Es wurde kein Benutzer ausgewählt!'; +?> diff --git a/plugins/acl/localization/el_GR.inc b/plugins/acl/localization/el_GR.inc new file mode 100644 index 000000000..0ba63463f --- /dev/null +++ b/plugins/acl/localization/el_GR.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Κοινή χρήση'; +$labels['myrights'] = 'Δικαιώματα Πρόσβασης '; +$labels['username'] = 'Χρήστης:'; +$labels['advanced'] = 'Προηγμένη λειτουργία'; +$labels['newuser'] = 'Προσθήκη καταχώρησης '; +$labels['editperms'] = 'Μεταβολή δικαιωμάτων'; +$labels['actions'] = 'Ενέργειες δικαιωμάτων πρόσβασης...'; +$labels['anyone'] = 'Όλοι οι χρήστες (οποιοσδήποτε)'; +$labels['anonymous'] = 'Επισκέπτες (ανώνυμοι)'; +$labels['identifier'] = 'Αναγνωριστικό'; +$labels['acll'] = 'Αναζήτηση'; +$labels['aclr'] = 'Διαβάστε τα μηνύματα '; +$labels['acls'] = 'Διατήρηση κατάστασης ανάγνωσης'; +$labels['aclw'] = 'Ρυθμίσεις εγγραφής'; +$labels['acli'] = 'Εισάγωγη (Αντιγραφή σε) '; +$labels['aclp'] = 'Καταχώρηση'; +$labels['aclc'] = 'Δημιουργία υποφακέλων'; +$labels['aclk'] = 'Δημιουργία υποφακέλων'; +$labels['acld'] = 'Διαγραφή μηνυμάτων'; +$labels['aclt'] = 'Διαγραφή μηνυμάτων'; +$labels['acle'] = 'Απαλοιφή'; +$labels['aclx'] = 'Διαγραφή φακέλου'; +$labels['acla'] = 'Διαχείριση'; +$labels['acln'] = 'Προσθήκη υπομνήματος στα μηνύματα'; +$labels['aclfull'] = 'Πλήρης πρόσβαση'; +$labels['aclother'] = 'Άλλο'; +$labels['aclread'] = 'Ανάγνωση'; +$labels['aclwrite'] = 'Εγγραφή'; +$labels['acldelete'] = 'Διαγραφή'; +$labels['shortacll'] = 'Αναζήτηση'; +$labels['shortaclr'] = 'Ανάγνωση'; +$labels['shortacls'] = 'Τήρηση'; +$labels['shortaclw'] = 'Εγγραφή'; +$labels['shortacli'] = 'Εισαγωγή'; +$labels['shortaclp'] = 'Καταχώρηση'; +$labels['shortaclc'] = 'Δημιουργία'; +$labels['shortaclk'] = 'Δημιουργία'; +$labels['shortacld'] = 'Διαγραφή'; +$labels['shortaclt'] = 'Διαγραφή'; +$labels['shortacle'] = 'Απαλοιφή'; +$labels['shortaclx'] = 'Διαγραφή φακέλου'; +$labels['shortacla'] = 'Διαχείριση'; +$labels['shortacln'] = 'Προσθήκη υπομνήματος'; +$labels['shortaclother'] = 'Άλλο'; +$labels['shortaclread'] = 'Ανάγνωση'; +$labels['shortaclwrite'] = 'Εγγραφή'; +$labels['shortacldelete'] = 'Διαγραφή'; +$labels['longacll'] = 'Ο φάκελος είναι ορατός στους καταλόγους και μπορείτε να εγγραφείτε σε αυτόν'; +$labels['longaclr'] = 'Ο φάκελος μπορεί να προσπελαστεί για ανάγνωση '; +$labels['longacls'] = 'Η κατάσταση ανάγνωσης μηνυμάτων μπορεί να αλλαχθεί'; +$labels['longaclw'] = 'Μπορούν να μεταβληθούν οι καταστάσεις μηνυμάτων και οι λέξεις κλειδιά, εκτός από τις καταστάσεις Ανάγνωσης και Διαγραφής'; +$labels['longacli'] = 'Τα μηνύματα μπορούν να εγγραφούν ή να αντιγραφούν στον φάκελο '; +$labels['longaclp'] = 'Τα μηνύματα μπορούν να τοποθετηθούν σε αυτόν το φάκελο '; +$labels['longaclc'] = 'Μπορούν να δημιουργηθούν (ή να μετονομαστούν) φάκελοι ακριβώς κάτω από αυτόν τον φάκελο '; +$labels['longaclk'] = 'Μπορούν να δημιουργηθούν (ή να μετονομαστούν) φάκελοι ακριβώς κάτω από αυτόν τον φάκελο '; +$labels['longacld'] = 'Η κατάσταση διαγραφής μηνυμάτων μπορεί να μεταβληθεί'; +$labels['longaclt'] = 'Η κατάσταση διαγραφής μηνυμάτων μπορεί να μεταβληθεί'; +$labels['longacle'] = 'Τα μηνύματα μπορούν να απαλειφθούν'; +$labels['longaclx'] = 'Ο φάκελος μπορεί να μετονομασθεί ή να διαγραφεί'; +$labels['longacla'] = 'Τα δικαιώματα πρόσβασης στον φάκελο μπορούν να μεταβληθούν'; +$labels['longacln'] = 'Το διαμοιραζόμενο υπόμνημα των μηνυμάτων είναι δυνατό να μεταβληθεί'; +$labels['longaclfull'] = 'Πλήρης έλεγχος συμπεριλαμβανόμενης της διαχείρισης φακέλων'; +$labels['longaclread'] = 'Ο φάκελος είναι δυνατό να προσπελαστεί για ανάγνωση'; +$labels['longaclwrite'] = 'Τα μηνύματα μπορούν να σημαδεύονται, να εγγράφονται ή να αντιγράφονται στον φάκελο'; +$labels['longacldelete'] = 'Τα μηνύματα μπορούν να διαγραφούν'; +$labels['longaclother'] = 'Άλλα δικαιώματα πρόσβασης'; +$labels['ariasummaryacltable'] = 'Λίστα δικαιωμάτων πρόσβασης'; +$labels['arialabelaclactions'] = 'Λίστα ενεργειών'; +$labels['arialabelaclform'] = 'Φόρμα δικαιωμάτων πρόσβασης'; +$messages['deleting'] = 'Διαγραφή των δικαιωμάτων πρόσβασης...'; +$messages['saving'] = 'Αποθήκευση δικαιώματων πρόσβασης...'; +$messages['updatesuccess'] = 'Επιτυχής μεταβολή των δικαιωμάτων πρόσβασης'; +$messages['deletesuccess'] = 'Επιτυχής διαγραφή των δικαιωμάτων πρόσβασης'; +$messages['createsuccess'] = 'Επιτυχής προσθήκη δικαιωμάτων πρόσβασης'; +$messages['updateerror'] = 'Δεν είναι δυνατή η ενημέρωση των δικαιωμάτων πρόσβασης'; +$messages['deleteerror'] = 'Δεν είναι δυνατή η διαγραφή των δικαιωμάτων πρόσβασης '; +$messages['createerror'] = 'Δεν είναι δυνατή η προσθήκη δικαιωμάτων πρόσβασης '; +$messages['deleteconfirm'] = 'Είστε βέβαιοι ότι θέλετε να καταργήσετε τα δικαιώματα πρόσβασης του επιλεγμένου(ων) χρήστη(ών);'; +$messages['norights'] = 'Κανένα δικαίωμα δεν έχει καθοριστεί!'; +$messages['nouser'] = 'Το όνομα χρήστη δεν έχει καθοριστεί! '; +?> diff --git a/plugins/acl/localization/en_CA.inc b/plugins/acl/localization/en_CA.inc new file mode 100644 index 000000000..ae9cb8bbe --- /dev/null +++ b/plugins/acl/localization/en_CA.inc @@ -0,0 +1,94 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Sharing'; +$labels['myrights'] = 'Access Rights'; +$labels['username'] = 'User:'; +$labels['advanced'] = 'Advanced mode'; +$labels['newuser'] = 'Add entry'; +$labels['editperms'] = 'Edit permissions'; +$labels['actions'] = 'Access right actions...'; +$labels['anyone'] = 'All users (anyone)'; +$labels['anonymous'] = 'Guests (anonymous)'; +$labels['identifier'] = 'Identifier'; +$labels['acll'] = 'Lookup'; +$labels['aclr'] = 'Read messages'; +$labels['acls'] = 'Keep Seen state'; +$labels['aclw'] = 'Write flags'; +$labels['acli'] = 'Insert (Copy into)'; +$labels['aclp'] = 'Post'; +$labels['aclc'] = 'Create subfolders'; +$labels['aclk'] = 'Create subfolders'; +$labels['acld'] = 'Delete messages'; +$labels['aclt'] = 'Delete messages'; +$labels['acle'] = 'Expunge'; +$labels['aclx'] = 'Delete folder'; +$labels['acla'] = 'Administer'; +$labels['acln'] = 'Annotate messages'; +$labels['aclfull'] = 'Full control'; +$labels['aclother'] = 'Other'; +$labels['aclread'] = 'Read'; +$labels['aclwrite'] = 'Write'; +$labels['acldelete'] = 'Delete'; +$labels['shortacll'] = 'Lookup'; +$labels['shortaclr'] = 'Read'; +$labels['shortacls'] = 'Keep'; +$labels['shortaclw'] = 'Write'; +$labels['shortacli'] = 'Insert'; +$labels['shortaclp'] = 'Post'; +$labels['shortaclc'] = 'Create'; +$labels['shortaclk'] = 'Create'; +$labels['shortacld'] = 'Delete'; +$labels['shortaclt'] = 'Delete'; +$labels['shortacle'] = 'Expunge'; +$labels['shortaclx'] = 'Folder delete'; +$labels['shortacla'] = 'Administer'; +$labels['shortacln'] = 'Annotate'; +$labels['shortaclother'] = 'Other'; +$labels['shortaclread'] = 'Read'; +$labels['shortaclwrite'] = 'Write'; +$labels['shortacldelete'] = 'Delete'; +$labels['longacll'] = 'The folder is visible on lists and can be subscribed to'; +$labels['longaclr'] = 'The folder can be opened for reading'; +$labels['longacls'] = 'Messages Seen flag can be changed'; +$labels['longaclw'] = 'Messages flags and keywords can be changed, except Seen and Deleted'; +$labels['longacli'] = 'Messages can be written or copied to the folder'; +$labels['longaclp'] = 'Messages can be posted to this folder'; +$labels['longaclc'] = 'Folders can be created (or renamed) directly under this folder'; +$labels['longaclk'] = 'Folders can be created (or renamed) directly under this folder'; +$labels['longacld'] = 'Messages Delete flag can be changed'; +$labels['longaclt'] = 'Messages Delete flag can be changed'; +$labels['longacle'] = 'Messages can be expunged'; +$labels['longaclx'] = 'The folder can be deleted or renamed'; +$labels['longacla'] = 'The folder access rights can be changed'; +$labels['longacln'] = 'Messages shared metadata (annotations) can be changed'; +$labels['longaclfull'] = 'Full control including folder administration'; +$labels['longaclread'] = 'The folder can be opened for reading'; +$labels['longaclwrite'] = 'Messages can be marked, written or copied to the folder'; +$labels['longacldelete'] = 'Messages can be deleted'; +$messages['deleting'] = 'Deleting access rights...'; +$messages['saving'] = 'Saving access rights...'; +$messages['updatesuccess'] = 'Successfully changed access rights'; +$messages['deletesuccess'] = 'Successfully deleted access rights'; +$messages['createsuccess'] = 'Successfully added access rights'; +$messages['updateerror'] = 'Unable to update access rights'; +$messages['deleteerror'] = 'Unable to delete access rights'; +$messages['createerror'] = 'Unable to add access rights'; +$messages['deleteconfirm'] = 'Are you sure, you want to remove access rights of selected user(s)?'; +$messages['norights'] = 'No rights has been specified!'; +$messages['nouser'] = 'No username has been specified!'; +?> diff --git a/plugins/acl/localization/en_GB.inc b/plugins/acl/localization/en_GB.inc new file mode 100644 index 000000000..cd6393a6a --- /dev/null +++ b/plugins/acl/localization/en_GB.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Sharing'; +$labels['myrights'] = 'Access Rights'; +$labels['username'] = 'User:'; +$labels['advanced'] = 'Advanced mode'; +$labels['newuser'] = 'Add entry'; +$labels['editperms'] = 'Edit permissions'; +$labels['actions'] = 'Access right actions...'; +$labels['anyone'] = 'All users (anyone)'; +$labels['anonymous'] = 'Guests (anonymous)'; +$labels['identifier'] = 'Identifier'; +$labels['acll'] = 'Look-up'; +$labels['aclr'] = 'Read messages'; +$labels['acls'] = 'Keep Seen state'; +$labels['aclw'] = 'Write flags'; +$labels['acli'] = 'Insert (copy into)'; +$labels['aclp'] = 'Post'; +$labels['aclc'] = 'Create sub-folders'; +$labels['aclk'] = 'Create sub-folders'; +$labels['acld'] = 'Delete messages'; +$labels['aclt'] = 'Delete messages'; +$labels['acle'] = 'Expunge'; +$labels['aclx'] = 'Delete folder'; +$labels['acla'] = 'Administer'; +$labels['acln'] = 'Annotate messages'; +$labels['aclfull'] = 'Full control'; +$labels['aclother'] = 'Other'; +$labels['aclread'] = 'Read'; +$labels['aclwrite'] = 'Write'; +$labels['acldelete'] = 'Delete'; +$labels['shortacll'] = 'Look-up'; +$labels['shortaclr'] = 'Read'; +$labels['shortacls'] = 'Keep'; +$labels['shortaclw'] = 'Write'; +$labels['shortacli'] = 'Insert'; +$labels['shortaclp'] = 'Post'; +$labels['shortaclc'] = 'Create'; +$labels['shortaclk'] = 'Create'; +$labels['shortacld'] = 'Delete'; +$labels['shortaclt'] = 'Delete'; +$labels['shortacle'] = 'Expunge'; +$labels['shortaclx'] = 'Folder delete'; +$labels['shortacla'] = 'Administer'; +$labels['shortacln'] = 'Annotate'; +$labels['shortaclother'] = 'Other'; +$labels['shortaclread'] = 'Read'; +$labels['shortaclwrite'] = 'Write'; +$labels['shortacldelete'] = 'Delete'; +$labels['longacll'] = 'The folder is visible on lists and can be subscribed to.'; +$labels['longaclr'] = 'The folder can be opened for reading'; +$labels['longacls'] = 'Messages Seen flag can be changed'; +$labels['longaclw'] = 'Messages flags and keywords can be changed, except Seen and Deleted.'; +$labels['longacli'] = 'Messages can be written or copied to the folder'; +$labels['longaclp'] = 'Messages can be posted to this folder'; +$labels['longaclc'] = 'Folders can be created (or renamed) directly under this folder'; +$labels['longaclk'] = 'Folders can be created (or renamed) directly under this folder'; +$labels['longacld'] = 'Messages Delete flag can be changed'; +$labels['longaclt'] = 'Messages Delete flag can be changed'; +$labels['longacle'] = 'Messages can be expunged'; +$labels['longaclx'] = 'The folder can be deleted or renamed'; +$labels['longacla'] = 'The folder access rights can be changed'; +$labels['longacln'] = 'Messages shared metadata (annotations) can be changed'; +$labels['longaclfull'] = 'Full control including folder administration'; +$labels['longaclread'] = 'The folder can be opened for reading'; +$labels['longaclwrite'] = 'Messages can be marked, written or copied to the folder'; +$labels['longacldelete'] = 'Messages can be deleted'; +$labels['longaclother'] = 'Other access rights'; +$labels['ariasummaryacltable'] = 'List of access rights'; +$labels['arialabelaclactions'] = 'List actions'; +$labels['arialabelaclform'] = 'Access rights form'; +$messages['deleting'] = 'Deleting access rights...'; +$messages['saving'] = 'Saving access rights...'; +$messages['updatesuccess'] = 'Successfully changed access rights'; +$messages['deletesuccess'] = 'Successfully deleted access rights'; +$messages['createsuccess'] = 'Successfully added access rights'; +$messages['updateerror'] = 'Unable to update access rights'; +$messages['deleteerror'] = 'Unable to delete access rights'; +$messages['createerror'] = 'Unable to add access rights'; +$messages['deleteconfirm'] = 'Are you sure, you want to remove access rights of selected user(s)?'; +$messages['norights'] = 'No rights has been specified!'; +$messages['nouser'] = 'No username has been specified!'; +?> diff --git a/plugins/acl/localization/en_US.inc b/plugins/acl/localization/en_US.inc new file mode 100644 index 000000000..ff8dde76c --- /dev/null +++ b/plugins/acl/localization/en_US.inc @@ -0,0 +1,108 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ + +$labels['sharing'] = 'Sharing'; +$labels['myrights'] = 'Access Rights'; +$labels['username'] = 'User:'; +$labels['advanced'] = 'Advanced mode'; +$labels['newuser'] = 'Add entry'; +$labels['editperms'] = 'Edit permissions'; +$labels['actions'] = 'Access right actions...'; +$labels['anyone'] = 'All users (anyone)'; +$labels['anonymous'] = 'Guests (anonymous)'; +$labels['identifier'] = 'Identifier'; + +$labels['acll'] = 'Lookup'; +$labels['aclr'] = 'Read messages'; +$labels['acls'] = 'Keep Seen state'; +$labels['aclw'] = 'Write flags'; +$labels['acli'] = 'Insert (Copy into)'; +$labels['aclp'] = 'Post'; +$labels['aclc'] = 'Create subfolders'; +$labels['aclk'] = 'Create subfolders'; +$labels['acld'] = 'Delete messages'; +$labels['aclt'] = 'Delete messages'; +$labels['acle'] = 'Expunge'; +$labels['aclx'] = 'Delete folder'; +$labels['acla'] = 'Administer'; +$labels['acln'] = 'Annotate messages'; + +$labels['aclfull'] = 'Full control'; +$labels['aclother'] = 'Other'; +$labels['aclread'] = 'Read'; +$labels['aclwrite'] = 'Write'; +$labels['acldelete'] = 'Delete'; + +$labels['shortacll'] = 'Lookup'; +$labels['shortaclr'] = 'Read'; +$labels['shortacls'] = 'Keep'; +$labels['shortaclw'] = 'Write'; +$labels['shortacli'] = 'Insert'; +$labels['shortaclp'] = 'Post'; +$labels['shortaclc'] = 'Create'; +$labels['shortaclk'] = 'Create'; +$labels['shortacld'] = 'Delete'; +$labels['shortaclt'] = 'Delete'; +$labels['shortacle'] = 'Expunge'; +$labels['shortaclx'] = 'Folder delete'; +$labels['shortacla'] = 'Administer'; +$labels['shortacln'] = 'Annotate'; + +$labels['shortaclother'] = 'Other'; +$labels['shortaclread'] = 'Read'; +$labels['shortaclwrite'] = 'Write'; +$labels['shortacldelete'] = 'Delete'; + +$labels['longacll'] = 'The folder is visible on lists and can be subscribed to'; +$labels['longaclr'] = 'The folder can be opened for reading'; +$labels['longacls'] = 'Messages Seen flag can be changed'; +$labels['longaclw'] = 'Messages flags and keywords can be changed, except Seen and Deleted'; +$labels['longacli'] = 'Messages can be written or copied to the folder'; +$labels['longaclp'] = 'Messages can be posted to this folder'; +$labels['longaclc'] = 'Folders can be created (or renamed) directly under this folder'; +$labels['longaclk'] = 'Folders can be created (or renamed) directly under this folder'; +$labels['longacld'] = 'Messages Delete flag can be changed'; +$labels['longaclt'] = 'Messages Delete flag can be changed'; +$labels['longacle'] = 'Messages can be expunged'; +$labels['longaclx'] = 'The folder can be deleted or renamed'; +$labels['longacla'] = 'The folder access rights can be changed'; +$labels['longacln'] = 'Messages shared metadata (annotations) can be changed'; + +$labels['longaclfull'] = 'Full control including folder administration'; +$labels['longaclread'] = 'The folder can be opened for reading'; +$labels['longaclwrite'] = 'Messages can be marked, written or copied to the folder'; +$labels['longacldelete'] = 'Messages can be deleted'; +$labels['longaclother'] = 'Other access rights'; + +$labels['ariasummaryacltable'] = 'List of access rights'; +$labels['arialabelaclactions'] = 'List actions'; +$labels['arialabelaclform'] = 'Access rights form'; + +$messages['deleting'] = 'Deleting access rights...'; +$messages['saving'] = 'Saving access rights...'; +$messages['updatesuccess'] = 'Successfully changed access rights'; +$messages['deletesuccess'] = 'Successfully deleted access rights'; +$messages['createsuccess'] = 'Successfully added access rights'; +$messages['updateerror'] = 'Unable to update access rights'; +$messages['deleteerror'] = 'Unable to delete access rights'; +$messages['createerror'] = 'Unable to add access rights'; +$messages['deleteconfirm'] = 'Are you sure, you want to remove access rights of selected user(s)?'; +$messages['norights'] = 'No rights has been specified!'; +$messages['nouser'] = 'No username has been specified!'; + +?> diff --git a/plugins/acl/localization/eo.inc b/plugins/acl/localization/eo.inc new file mode 100644 index 000000000..e06a38fff --- /dev/null +++ b/plugins/acl/localization/eo.inc @@ -0,0 +1,63 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Kunhavigado'; +$labels['myrights'] = 'Atingrajtoj'; +$labels['username'] = 'Uzanto:'; +$labels['newuser'] = 'Aldoni eron'; +$labels['actions'] = 'Agoj de atingrajtoj...'; +$labels['anyone'] = 'Ĉiuj uzantoj (iu ajn)'; +$labels['anonymous'] = 'Gasto (sennome)'; +$labels['identifier'] = 'Identigilo'; +$labels['acll'] = 'Elserĉo'; +$labels['aclr'] = 'Legi mesaĝojn'; +$labels['acls'] = 'Manteni legitan staton'; +$labels['acli'] = 'Enmeti (alglui)'; +$labels['aclp'] = 'Afiŝi'; +$labels['aclc'] = 'Krei subdosierujojn'; +$labels['aclk'] = 'Krei subdosierujojn'; +$labels['acld'] = 'Forigi mesaĝojn'; +$labels['aclt'] = 'Forigi mesaĝojn'; +$labels['aclx'] = 'Forigi dosierujon'; +$labels['acla'] = 'Administri'; +$labels['aclfull'] = 'Plena kontrolo'; +$labels['aclother'] = 'Alia'; +$labels['aclread'] = 'Legi'; +$labels['aclwrite'] = 'Skribi'; +$labels['acldelete'] = 'Forigi'; +$labels['shortacll'] = 'Elserĉo'; +$labels['shortaclr'] = 'Legi'; +$labels['shortacls'] = 'Manteni'; +$labels['shortaclw'] = 'Skribi'; +$labels['shortacli'] = 'Enmeti'; +$labels['shortaclp'] = 'Afiŝi'; +$labels['shortaclc'] = 'Krei'; +$labels['shortaclk'] = 'Krei'; +$labels['shortacld'] = 'Forigi'; +$labels['shortaclt'] = 'Forigi'; +$labels['shortaclx'] = 'Forigo de dosierujo'; +$labels['shortacla'] = 'Administri'; +$labels['shortaclother'] = 'Alia'; +$labels['shortaclread'] = 'Legi'; +$labels['shortaclwrite'] = 'Skribi'; +$labels['shortacldelete'] = 'Forigi'; +$labels['longacll'] = 'La dosierujo videblas en listoj kaj oni povas aboni al ĝi'; +$labels['longaclr'] = 'La dosierujo malfermeblas por legado'; +$labels['longacli'] = 'Mesaĝoj skribeblas aŭ kopieblas en la dosierujo'; +$labels['longaclp'] = 'Mesaĝoj afiŝeblas en ĉi tiu dosierujo'; +$labels['longaclread'] = 'La dosierujo malfermeblas por legado'; +?> diff --git a/plugins/acl/localization/es_419.inc b/plugins/acl/localization/es_419.inc new file mode 100644 index 000000000..5fc2be11a --- /dev/null +++ b/plugins/acl/localization/es_419.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Compartiendo'; +$labels['myrights'] = 'Derechos de acceso'; +$labels['username'] = 'Usuario:'; +$labels['advanced'] = 'Modo avanzado'; +$labels['newuser'] = 'Agregar entrada'; +$labels['editperms'] = 'Editar permisos'; +$labels['actions'] = 'Acciones de derecho de acceso...'; +$labels['anyone'] = 'Todos los usuarios (cualquiera)'; +$labels['anonymous'] = 'Invitados (anónimos)'; +$labels['identifier'] = 'Identificador'; +$labels['acll'] = 'Búsqueda'; +$labels['aclr'] = 'Leer mensajes'; +$labels['acls'] = 'Mantener estado de visto'; +$labels['aclw'] = 'Etiquetas de escritura'; +$labels['acli'] = 'Insertar (copiar a)'; +$labels['aclp'] = 'Publicar'; +$labels['aclc'] = 'Crear subcarpetas'; +$labels['aclk'] = 'Crear subcarpetas'; +$labels['acld'] = 'Eliminar mensajes'; +$labels['aclt'] = 'Eliminar mensajes'; +$labels['acle'] = 'Borrar'; +$labels['aclx'] = 'Eliminar carpeta'; +$labels['acla'] = 'Administrar'; +$labels['acln'] = 'Anotar mensajes'; +$labels['aclfull'] = 'Control total'; +$labels['aclother'] = 'Otro'; +$labels['aclread'] = 'Leer'; +$labels['aclwrite'] = 'Escribir'; +$labels['acldelete'] = 'Eliminar'; +$labels['shortacll'] = 'Búsqueda'; +$labels['shortaclr'] = 'Leer'; +$labels['shortacls'] = 'Mantener'; +$labels['shortaclw'] = 'Escribir'; +$labels['shortacli'] = 'Insertar'; +$labels['shortaclp'] = 'Publicar'; +$labels['shortaclc'] = 'Crear'; +$labels['shortaclk'] = 'Crear'; +$labels['shortacld'] = 'Eliminar'; +$labels['shortaclt'] = 'Eliminar'; +$labels['shortacle'] = 'Borrar'; +$labels['shortaclx'] = 'Eliminar carpeta'; +$labels['shortacla'] = 'Administrar'; +$labels['shortacln'] = 'Anotar'; +$labels['shortaclother'] = 'Otro'; +$labels['shortaclread'] = 'Leer'; +$labels['shortaclwrite'] = 'Escribir'; +$labels['shortacldelete'] = 'Eliminar'; +$labels['longacll'] = 'La carpeta es visible en listas y se la puede suscribir'; +$labels['longaclr'] = 'La carpeta puede ser abierta para lectura'; +$labels['longacls'] = 'Etiqueta de mensajes leídos puede ser cambiada'; +$labels['longaclw'] = 'Las etiquetas de mensajes y palabras clave puede ser cambiada, excepto Leídos y Eliminados'; +$labels['longacli'] = 'Se pueden escribir o copiar mensajes a la carpeta'; +$labels['longaclp'] = 'Los mensajes pueden ser publicados en esta carpeta'; +$labels['longaclc'] = 'Las carpetas pueden ser creadas (o renombradas) directamente desde esta carpeta'; +$labels['longaclk'] = 'Las carpetas pueden ser creadas (o renombradas) directamente desde esta carpeta'; +$labels['longacld'] = 'La etiqueta de mensajes eliminados puede ser cambiada'; +$labels['longaclt'] = 'La etiqueta de mensajes eliminados puede ser cambiada'; +$labels['longacle'] = 'Los mensajes pueden ser borrados'; +$labels['longaclx'] = 'La carpeta puede ser eliminada o renombrada'; +$labels['longacla'] = 'Los derechos de acceso de la carpeta pueden ser cambiados'; +$labels['longacln'] = 'Los metadatos compartidos de los mensajes (anotaciones) puede ser cambiado'; +$labels['longaclfull'] = 'Control total incluyendo administración de carpetas'; +$labels['longaclread'] = 'La carpeta puede ser abierta para lectura'; +$labels['longaclwrite'] = 'Los mensajes pueden ser marcados, escritos o copiados a la carpeta'; +$labels['longacldelete'] = 'Los mensajes pueden ser eliminados'; +$labels['longaclother'] = 'Otros derechos de acceso'; +$labels['ariasummaryacltable'] = 'Lista de derechos de acceso'; +$labels['arialabelaclactions'] = 'Listar acciones'; +$labels['arialabelaclform'] = 'Formulario de derechos de acceso'; +$messages['deleting'] = 'Derechos de acceso de eliminación...'; +$messages['saving'] = 'Guardando derechos de acceso...'; +$messages['updatesuccess'] = 'Se han cambiado los derechos de acceso exitosamente'; +$messages['deletesuccess'] = 'Se han eliminado los derechos de acceso exitosamente'; +$messages['createsuccess'] = 'Se han agregado los derechos de acceso exitosamente'; +$messages['updateerror'] = 'No es posible actualizar los derechos de acceso'; +$messages['deleteerror'] = 'No es posible eliminar los derechos de acceso'; +$messages['createerror'] = 'No es posible agregar los derechos de acceso'; +$messages['deleteconfirm'] = '¿Estás seguro de que deseas eliminar los derechos de acceso a usuario(s) seleccionado(s)?'; +$messages['norights'] = '¡No se hace especificado un derecho!'; +$messages['nouser'] = '¡No se ha especificado un nombre de usuario!'; +?> diff --git a/plugins/acl/localization/es_AR.inc b/plugins/acl/localization/es_AR.inc new file mode 100644 index 000000000..8ed9f12fd --- /dev/null +++ b/plugins/acl/localization/es_AR.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Compartiendo'; +$labels['myrights'] = 'Permisos de acceso'; +$labels['username'] = 'Usuario:'; +$labels['advanced'] = 'Modo avanzado'; +$labels['newuser'] = 'Agregar entrada'; +$labels['editperms'] = 'Editar permisos'; +$labels['actions'] = 'Acciones para los permisos de acceso...'; +$labels['anyone'] = 'Todos los usuarios (cualquiera)'; +$labels['anonymous'] = 'Invitado (anonimo)'; +$labels['identifier'] = 'Identificacion'; +$labels['acll'] = 'Buscar'; +$labels['aclr'] = 'Leer mensajes'; +$labels['acls'] = 'Mantener como visualizado'; +$labels['aclw'] = 'Escribir marcadores'; +$labels['acli'] = 'Insertar (Copiar en)'; +$labels['aclp'] = 'Publicar'; +$labels['aclc'] = 'Crear subcarpetas'; +$labels['aclk'] = 'Crear subcarpetas'; +$labels['acld'] = 'Eliminar mensajes'; +$labels['aclt'] = 'Eliminar mensajes'; +$labels['acle'] = 'Descartar'; +$labels['aclx'] = 'Eliminar carpeta'; +$labels['acla'] = 'Administrar'; +$labels['acln'] = 'Anotar mensajes'; +$labels['aclfull'] = 'Control total'; +$labels['aclother'] = 'Otro'; +$labels['aclread'] = 'Leer'; +$labels['aclwrite'] = 'Escribir'; +$labels['acldelete'] = 'Eliminar'; +$labels['shortacll'] = 'Buscar'; +$labels['shortaclr'] = 'Leer'; +$labels['shortacls'] = 'Mantener'; +$labels['shortaclw'] = 'Escribir'; +$labels['shortacli'] = 'Insertar'; +$labels['shortaclp'] = 'Publicar'; +$labels['shortaclc'] = 'Crear'; +$labels['shortaclk'] = 'Crear'; +$labels['shortacld'] = 'Eliminar'; +$labels['shortaclt'] = 'Eliminar'; +$labels['shortacle'] = 'Descartar'; +$labels['shortaclx'] = 'Borrado de carpeta'; +$labels['shortacla'] = 'Administrar'; +$labels['shortacln'] = 'Anotar'; +$labels['shortaclother'] = 'Otro'; +$labels['shortaclread'] = 'Leer'; +$labels['shortaclwrite'] = 'Escribir'; +$labels['shortacldelete'] = 'Eliminar'; +$labels['longacll'] = 'La carpeta es visible en listas y es posible suscribirse a ella'; +$labels['longaclr'] = 'La carpeta se puede abirir para lectura'; +$labels['longacls'] = 'El marcador de Mensajes Vistos puede ser modificado'; +$labels['longaclw'] = 'Los marcadores de mensajes y palabras clave se pueden modificar, excepto Visto y Eliminado'; +$labels['longacli'] = 'En esta carpeta se pueden escribir o copiar mensajes'; +$labels['longaclp'] = 'En esta carpeta se pueden publicar mensajes'; +$labels['longaclc'] = 'Debajo de esta carpeta se puede crear (o renombrar) otras carpetas directamente'; +$labels['longaclk'] = 'Debajo de esta carpeta se puede crear (o renombrar) otras carpetas directamente'; +$labels['longacld'] = 'El marcador de Mensaje Eliminado puede ser modificado'; +$labels['longaclt'] = 'El marcador de Mensaje Eliminado puede ser modificado'; +$labels['longacle'] = 'Los mensajes pueden ser descartados'; +$labels['longaclx'] = 'La carpeta puede ser eliminada o renombrada'; +$labels['longacla'] = 'Los permisos de acceso de esta carpeta pueden ser modificados'; +$labels['longacln'] = 'La metainformación de mensajes compartidos (anotaciones) puede ser cambiada'; +$labels['longaclfull'] = 'Control total incluyendo la administracion de carpeta'; +$labels['longaclread'] = 'La carpeta se puede abrir para lectura'; +$labels['longaclwrite'] = 'En esta carpeta los mensajes pueden ser marcados, escritos o copiados'; +$labels['longacldelete'] = 'Los mensajes se pueden eliminar'; +$labels['longaclother'] = 'Otros permisos de acceso'; +$labels['ariasummaryacltable'] = 'Listado de permisos de acceso'; +$labels['arialabelaclactions'] = 'Listar acciones'; +$labels['arialabelaclform'] = 'Formulario de permisos de acceso'; +$messages['deleting'] = 'Eliminando permisos de acceso...'; +$messages['saving'] = 'Salvando permisos de acceso...'; +$messages['updatesuccess'] = 'Permisos de acceso modificados satisfactoriamente'; +$messages['deletesuccess'] = 'Permisos de acceso eliminados correctamente'; +$messages['createsuccess'] = 'Permisos de acceso agregados satisfactoriamente'; +$messages['updateerror'] = 'No se pudieron actualizar los permisos de acceso'; +$messages['deleteerror'] = 'No se pueden eliminar los permisos de acceso'; +$messages['createerror'] = 'No se pueden agregar los permisos de acceso'; +$messages['deleteconfirm'] = 'Estas seguro que queres remover los permisos de acceso a el/los usuario(s) seleccionado/s?'; +$messages['norights'] = 'Ningun permiso ha sido especificado!'; +$messages['nouser'] = 'Ningun nombre de usuario ha sido especificado!'; +?> diff --git a/plugins/acl/localization/es_ES.inc b/plugins/acl/localization/es_ES.inc new file mode 100644 index 000000000..c90c3e5b9 --- /dev/null +++ b/plugins/acl/localization/es_ES.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Compartir'; +$labels['myrights'] = 'Permisos de acceso'; +$labels['username'] = 'Usuario:'; +$labels['advanced'] = 'Modo avanzado'; +$labels['newuser'] = 'Añadir una entrada'; +$labels['editperms'] = 'Editar permisos'; +$labels['actions'] = 'Acciones sobre los permisos de acceso…'; +$labels['anyone'] = 'Todos los usuarios (cualquiera)'; +$labels['anonymous'] = 'Invitados (anónimo)'; +$labels['identifier'] = 'Identificador'; +$labels['acll'] = 'Búsqueda'; +$labels['aclr'] = 'Leer mensajes'; +$labels['acls'] = 'Mantener como "Leído'; +$labels['aclw'] = 'Escribir etiquetas'; +$labels['acli'] = 'Insertar (Copiar dentro)'; +$labels['aclp'] = 'Enviar'; +$labels['aclc'] = 'Crear subcarpetas'; +$labels['aclk'] = 'Crear subcarpetas'; +$labels['acld'] = 'Borrar mensajes'; +$labels['aclt'] = 'Borrar mensajes'; +$labels['acle'] = 'Expurgar'; +$labels['aclx'] = 'Borrar carpeta'; +$labels['acla'] = 'Administrar'; +$labels['acln'] = 'Anotar mensajes'; +$labels['aclfull'] = 'Control total'; +$labels['aclother'] = 'Otro'; +$labels['aclread'] = 'Leer'; +$labels['aclwrite'] = 'Escribir'; +$labels['acldelete'] = 'Borrar'; +$labels['shortacll'] = 'Búsqueda'; +$labels['shortaclr'] = 'Leer'; +$labels['shortacls'] = 'Conservar'; +$labels['shortaclw'] = 'Escribir'; +$labels['shortacli'] = 'Insertar'; +$labels['shortaclp'] = 'Enviar'; +$labels['shortaclc'] = 'Crear'; +$labels['shortaclk'] = 'Crear'; +$labels['shortacld'] = 'Borrar'; +$labels['shortaclt'] = 'Borrar'; +$labels['shortacle'] = 'Expurgar'; +$labels['shortaclx'] = 'Borrar carpeta'; +$labels['shortacla'] = 'Administrar'; +$labels['shortacln'] = 'Anotar'; +$labels['shortaclother'] = 'Otro'; +$labels['shortaclread'] = 'Leer'; +$labels['shortaclwrite'] = 'Escribir'; +$labels['shortacldelete'] = 'Borrar'; +$labels['longacll'] = 'La carpeta es visible en las listas y es posible suscribirse a ella'; +$labels['longaclr'] = 'Se puede abrir la carpeta para leer'; +$labels['longacls'] = 'Se pueden cambiar los mensajes con la etiqueta "Leído'; +$labels['longaclw'] = 'Las etiquetas de mensaje y las palabras clave se pueden cambiar, excepto "Leído" y "Borrado'; +$labels['longacli'] = 'Se pueden escribir mensajes o copiarlos a la carpeta'; +$labels['longaclp'] = 'Se pueden enviar mensajes a esta carpeta'; +$labels['longaclc'] = 'Se pueden crear (o renombrar) carpetas directamente bajo esta carpeta'; +$labels['longaclk'] = 'Se pueden crear (o renombrar) carpetas directamente bajo esta carpeta'; +$labels['longacld'] = 'No se pueden cambiar los mensajes etiquetados como "Borrado'; +$labels['longaclt'] = 'No se pueden cambiar los mensajes etiquetados como "Borrado'; +$labels['longacle'] = 'No se pueden expurgar los mensajes'; +$labels['longaclx'] = 'La carpeta se puede borrar o renombrar'; +$labels['longacla'] = 'Se pueden cambiar los permisos de acceso'; +$labels['longacln'] = 'Los metadatos compartidos de los mensajes (anotaciones) pueden cambiarse'; +$labels['longaclfull'] = 'Control total, incluyendo la gestión de carpetas'; +$labels['longaclread'] = 'Se puede abrir la carpeta para leer'; +$labels['longaclwrite'] = 'Se pueden etiquetar, escribir o copiar mensajes a la carpeta'; +$labels['longacldelete'] = 'Los mensajes se pueden borrar'; +$labels['longaclother'] = 'Otros derechos de acceso'; +$labels['ariasummaryacltable'] = 'Lista de derechos de acceso'; +$labels['arialabelaclactions'] = 'Lista de acciones'; +$labels['arialabelaclform'] = 'Formulario de derechos de acceso'; +$messages['deleting'] = 'Borrando permisos de acceso…'; +$messages['saving'] = 'Guardando permisos de acceso…'; +$messages['updatesuccess'] = 'Se han cambiado los permisos de acceso'; +$messages['deletesuccess'] = 'Se han borrado los permisos de acceso'; +$messages['createsuccess'] = 'Se han añadido los permisos de acceso'; +$messages['updateerror'] = 'No ha sido posible actualizar los derechos de acceso'; +$messages['deleteerror'] = 'No se han podido borrar los permisos de acceso'; +$messages['createerror'] = 'No se han podido añadir los permisos de acceso'; +$messages['deleteconfirm'] = '¿Seguro que quiere borrar los permisos de acceso del usuairo seleccionado?'; +$messages['norights'] = 'No se han especificado los permisos de acceso'; +$messages['nouser'] = 'No se ha especificado un nombre de usuario'; +?> diff --git a/plugins/acl/localization/et_EE.inc b/plugins/acl/localization/et_EE.inc new file mode 100644 index 000000000..ecd5f7e8f --- /dev/null +++ b/plugins/acl/localization/et_EE.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Jagamine'; +$labels['myrights'] = 'Ligipääsuõigused'; +$labels['username'] = 'Kasutaja:'; +$labels['advanced'] = 'laiendatud režiim'; +$labels['newuser'] = 'Lisa sissekanne'; +$labels['editperms'] = 'Muuda õigusi'; +$labels['actions'] = 'Ligipääsuõiguste toimingud...'; +$labels['anyone'] = 'Kõik kasutajad'; +$labels['anonymous'] = 'Külalised (anonüümsed)'; +$labels['identifier'] = 'Tuvastaja'; +$labels['acll'] = 'Ülevaade'; +$labels['aclr'] = 'Lugeda kirju'; +$labels['acls'] = 'Hoia nähtud olekut'; +$labels['aclw'] = 'Salvesta lipud'; +$labels['acli'] = 'Sisesta (kopeeri)'; +$labels['aclp'] = 'Postita'; +$labels['aclc'] = 'Luua alamkaustu'; +$labels['aclk'] = 'Luua alamkaustu'; +$labels['acld'] = 'Kustutada kirju'; +$labels['aclt'] = 'Kustutada kirju'; +$labels['acle'] = 'Eemalda'; +$labels['aclx'] = 'Kustutada kausta'; +$labels['acla'] = 'Administreerida'; +$labels['acln'] = 'Annoteeri kirja'; +$labels['aclfull'] = 'Täis kontroll'; +$labels['aclother'] = 'Muu'; +$labels['aclread'] = 'Loe'; +$labels['aclwrite'] = 'Kirjuta'; +$labels['acldelete'] = 'Kustuta'; +$labels['shortacll'] = 'Ülevaade'; +$labels['shortaclr'] = 'Loe'; +$labels['shortacls'] = 'Säilita'; +$labels['shortaclw'] = 'Kirjuta'; +$labels['shortacli'] = 'Lisa'; +$labels['shortaclp'] = 'Postita'; +$labels['shortaclc'] = 'Loo'; +$labels['shortaclk'] = 'Loo'; +$labels['shortacld'] = 'Kustuta'; +$labels['shortaclt'] = 'Kustuta'; +$labels['shortacle'] = 'Eemalda'; +$labels['shortaclx'] = 'Kausta kustutamine'; +$labels['shortacla'] = 'Administreerida'; +$labels['shortacln'] = 'Annoteeri'; +$labels['shortaclother'] = 'Muu'; +$labels['shortaclread'] = 'Loe'; +$labels['shortaclwrite'] = 'Kirjuta'; +$labels['shortacldelete'] = 'Kustuta'; +$labels['longacll'] = 'See kaust on nimekirjas nähtav ja seda saab tellida'; +$labels['longaclr'] = 'Kausta saab lugemiseks avada'; +$labels['longacls'] = 'Kirja loetuse lippu saab muuta'; +$labels['longaclw'] = 'Kirja lippe ja otsingusõnu saab muuta, väljaarvatud loetud ja kustutatud'; +$labels['longacli'] = 'Kirju saab salvestada ja kopeerida antud kausta'; +$labels['longaclp'] = 'Kirju saab postitada antud kausta'; +$labels['longaclc'] = 'Kaustasi saab luua (või ümber nimetada) otse siia kausta alla.'; +$labels['longaclk'] = 'Kaustu saab luua (või ümber nimetada) otse siia kausta alla'; +$labels['longacld'] = 'Kirja kustutamis lippu saab muuta'; +$labels['longaclt'] = 'Kirja kustutamis lippu saab muuta'; +$labels['longacle'] = 'Kirju saab eemaldada'; +$labels['longaclx'] = 'Seda kausta ei saa kustutada ega ümber nimetada'; +$labels['longacla'] = 'Selle kausta ligipääsuõigusi saab muuta'; +$labels['longacln'] = 'Kirja jagatud metainfot (annotatsioonid) saab muuta'; +$labels['longaclfull'] = 'Täielik kontroll koos kaustade haldamisega'; +$labels['longaclread'] = 'Kausta saab lugemiseks avada'; +$labels['longaclwrite'] = 'Kirju saab märgistada, salvestada või kopeerida kausta'; +$labels['longacldelete'] = 'Kirju saab kustutada'; +$labels['longaclother'] = 'Muud ligipääsu õigused'; +$labels['ariasummaryacltable'] = 'Nimekir ligipääsu õigustest'; +$labels['arialabelaclactions'] = 'Näita tegevusi'; +$labels['arialabelaclform'] = 'Ligipääsu õiguste vorm'; +$messages['deleting'] = 'Ligipääsuõiguste kustutamine...'; +$messages['saving'] = 'Ligipääsuõiguste salvestamine...'; +$messages['updatesuccess'] = 'Ligipääsuõigused on muudetud'; +$messages['deletesuccess'] = 'Ligipääsuõigused on kustutatud'; +$messages['createsuccess'] = 'Ligipääsuõigused on lisatud'; +$messages['updateerror'] = 'Ligipääsuõiguste uuendamine nurjus'; +$messages['deleteerror'] = 'Ligipääsuõiguste kustutamine nurjus'; +$messages['createerror'] = 'Ligipääsuõiguste andmine nurjus'; +$messages['deleteconfirm'] = 'Oled sa kindel, et sa soovid valitudkasutaja(te) õiguseid kustutada?'; +$messages['norights'] = 'Õigusi pole määratud!'; +$messages['nouser'] = 'Kasutajanime pole määratud!'; +?> diff --git a/plugins/acl/localization/eu_ES.inc b/plugins/acl/localization/eu_ES.inc new file mode 100644 index 000000000..8625f4d76 --- /dev/null +++ b/plugins/acl/localization/eu_ES.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Partekatzen'; +$labels['myrights'] = 'Sarbide-eskubideak'; +$labels['username'] = 'Erabiltzailea:'; +$labels['advanced'] = 'modu aurreratua'; +$labels['newuser'] = 'Gehitu sarrera'; +$labels['editperms'] = 'Editatu baimenak'; +$labels['actions'] = 'Sarbide-eskubideen ekintzak...'; +$labels['anyone'] = 'Erabiltzaile guztiak (edozein)'; +$labels['anonymous'] = 'Gonbidatuak (anonimo)'; +$labels['identifier'] = 'Identifikatzailea'; +$labels['acll'] = 'Bilatu'; +$labels['aclr'] = 'Irakurri mezuak'; +$labels['acls'] = 'Mantendu ikusita egoera'; +$labels['aclw'] = 'Idatzi banderak'; +$labels['acli'] = 'Txertatu (kopiatu barnean)'; +$labels['aclp'] = 'Posta'; +$labels['aclc'] = 'Sortu azpikarpetak'; +$labels['aclk'] = 'Sortu azpikarpetak'; +$labels['acld'] = 'Ezabatu mezuak'; +$labels['aclt'] = 'Ezabatu mezuak'; +$labels['acle'] = 'Kendu'; +$labels['aclx'] = 'Ezabatu karpeta'; +$labels['acla'] = 'Administratu'; +$labels['acln'] = 'Idatzi mezuak'; +$labels['aclfull'] = 'Kontrol osoa'; +$labels['aclother'] = 'Beste'; +$labels['aclread'] = 'Irakurri'; +$labels['aclwrite'] = 'Idatzi'; +$labels['acldelete'] = 'Ezabatu'; +$labels['shortacll'] = 'Bilatu'; +$labels['shortaclr'] = 'Irakurri'; +$labels['shortacls'] = 'Mantendu'; +$labels['shortaclw'] = 'Idatzi'; +$labels['shortacli'] = 'Txertatu'; +$labels['shortaclp'] = 'Bidali'; +$labels['shortaclc'] = 'Sortu'; +$labels['shortaclk'] = 'Sortu'; +$labels['shortacld'] = 'Ezabatu'; +$labels['shortaclt'] = 'Ezabatu'; +$labels['shortacle'] = 'Kendu'; +$labels['shortaclx'] = 'Ezabatu karpeta'; +$labels['shortacla'] = 'Administratu'; +$labels['shortacln'] = 'Idatzi'; +$labels['shortaclother'] = 'Beste'; +$labels['shortaclread'] = 'Irakurri'; +$labels['shortaclwrite'] = 'Idatzi'; +$labels['shortacldelete'] = 'Ezabatu'; +$labels['longacll'] = 'Karpeta hau zerrendan ikusgai dago eta harpidetzen ahal zara'; +$labels['longaclr'] = 'Karpeta ireki daiteke irakurtzeko'; +$labels['longacls'] = 'Mezuen ikusita bandera aldatu daiteke'; +$labels['longaclw'] = 'Mezuen banderak eta gako-hitzak alda daitezke, ikusita eta ezabatuta salbu'; +$labels['longacli'] = 'Mezuak karpetara idatzi edo kopiatu daitezke'; +$labels['longaclp'] = 'Mezuak bidali daitezke karpeta honetara'; +$labels['longaclc'] = 'Karpetak sor daitezke (edo berrizendatu) zuzenean karpeta honetan'; +$labels['longaclk'] = 'Karpetak sor daitezke (edo berrizendatu) karpeta honetan'; +$labels['longacld'] = 'Mezuen ezabatu bandera alda daiteke'; +$labels['longaclt'] = 'Mezuen ezabatu bandera alda daiteke'; +$labels['longacle'] = 'Mezuak betiko ezaba daitezke'; +$labels['longaclx'] = 'Karpeta ezaba edo berrizenda daiteke'; +$labels['longacla'] = 'Karpetaren sarbide eskubideak alda daitezke'; +$labels['longacln'] = 'Partekatutatko mezuen metadatuak (oharrak) alda daitezke'; +$labels['longaclfull'] = 'Kontrol osoa, karpetaren administrazioa barne'; +$labels['longaclread'] = 'Karpeta ireki daiteke irakurtzeko'; +$labels['longaclwrite'] = 'Mezuak marka, idatzi edo kopia daitezke karpetara'; +$labels['longacldelete'] = 'Mezuak ezaba daitezke'; +$labels['longaclother'] = 'Beste sarbide-eskubideak'; +$labels['ariasummaryacltable'] = 'Sarbide-eskubideen zerrenda'; +$labels['arialabelaclactions'] = 'Zerrendatu ekintzak'; +$labels['arialabelaclform'] = 'Sarbide-eskubideen formularioa'; +$messages['deleting'] = 'Sarbide-eskubideak ezabatzen...'; +$messages['saving'] = 'Sarbide-eskubideak gordetzen...'; +$messages['updatesuccess'] = 'Sarbide-eskubideak ongi aldatu dira'; +$messages['deletesuccess'] = 'Sarbide-eskubideak ongi ezabatu dira'; +$messages['createsuccess'] = 'Sarbide-eskubideak ongi gehitu dira'; +$messages['updateerror'] = 'Ezin dira eguneratu sarbide-eskubideak'; +$messages['deleteerror'] = 'Ezin dira ezabatu sarbide-eskubideak'; +$messages['createerror'] = 'Ezin dira gehitu sarbide-eskubideak'; +$messages['deleteconfirm'] = 'Seguru zaude hautatutako erabiltzaile(ar)en sarbide-eskubideak ezabatu nahi duzula?'; +$messages['norights'] = 'Eskubideak ez dira zehaztu!'; +$messages['nouser'] = 'Erabiltzaile-izana ez da zehaztu!'; +?> diff --git a/plugins/acl/localization/fa_AF.inc b/plugins/acl/localization/fa_AF.inc new file mode 100644 index 000000000..cb051f6c4 --- /dev/null +++ b/plugins/acl/localization/fa_AF.inc @@ -0,0 +1,26 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'اشتراک گذاری'; +$labels['username'] = 'کاربر:'; +$labels['newuser'] = 'افزودن مدخل'; +$labels['aclw'] = 'نوشتن نشانه ها'; +$labels['aclp'] = 'ارسال'; +$labels['acla'] = 'مدیر'; +$labels['aclfull'] = 'کنترل کامل'; +$labels['aclother'] = 'دیگر'; +?> diff --git a/plugins/acl/localization/fa_IR.inc b/plugins/acl/localization/fa_IR.inc new file mode 100644 index 000000000..7b22c406a --- /dev/null +++ b/plugins/acl/localization/fa_IR.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'اشتراکگذاری'; +$labels['myrights'] = 'حقوق دسترسی'; +$labels['username'] = 'کاربر:'; +$labels['advanced'] = 'حالت پیشرفته'; +$labels['newuser'] = 'افزودن ورودی'; +$labels['editperms'] = 'ویرایش مجوزها'; +$labels['actions'] = 'فعالیتهای حق دسترسی...'; +$labels['anyone'] = 'همهی کاربران (هر کسی)'; +$labels['anonymous'] = 'مهمانها (ناشناس)'; +$labels['identifier'] = 'شناساگر'; +$labels['acll'] = 'یافتن'; +$labels['aclr'] = 'پیغامهای خوانده شده'; +$labels['acls'] = 'نگه داشتن حالت بازدید'; +$labels['aclw'] = 'پرچمهای نوشتن'; +$labels['acli'] = 'وارد کردن (رونوشت در)'; +$labels['aclp'] = 'نوشته'; +$labels['aclc'] = 'ایجاد زیرپوشهها'; +$labels['aclk'] = 'ایجاد زیرپوشهها'; +$labels['acld'] = 'حذف پیغامها'; +$labels['aclt'] = 'حذف پیغامها'; +$labels['acle'] = 'پاک کردن'; +$labels['aclx'] = 'حذف پوشه'; +$labels['acla'] = 'اداره کردن'; +$labels['acln'] = 'حاشیه نویسی پیغام ها'; +$labels['aclfull'] = 'کنترل کامل'; +$labels['aclother'] = 'دیگر'; +$labels['aclread'] = 'خواندن'; +$labels['aclwrite'] = 'نوشتن'; +$labels['acldelete'] = 'حذف کردن'; +$labels['shortacll'] = 'یافتن'; +$labels['shortaclr'] = 'خواندن'; +$labels['shortacls'] = 'نگه داشتن'; +$labels['shortaclw'] = 'نوشتن'; +$labels['shortacli'] = 'جاگذارى'; +$labels['shortaclp'] = 'پست کردن'; +$labels['shortaclc'] = 'ایجاد'; +$labels['shortaclk'] = 'ایجاد'; +$labels['shortacld'] = 'حذف'; +$labels['shortaclt'] = 'حذف'; +$labels['shortacle'] = 'پاک کردن'; +$labels['shortaclx'] = 'حذف پوشه'; +$labels['shortacla'] = 'اداره کردن'; +$labels['shortacln'] = 'حاشیه نویسی'; +$labels['shortaclother'] = 'دیگر'; +$labels['shortaclread'] = 'خواندن'; +$labels['shortaclwrite'] = 'نوشتن'; +$labels['shortacldelete'] = 'حذف کردن'; +$labels['longacll'] = 'پوشه در فهرستها قابل مشاهده است و میتواند مشترک آن شد'; +$labels['longaclr'] = 'پوشه میتواند برای خواندن باز شود'; +$labels['longacls'] = 'پرچم بازدید پیغامها میتواند تغییر داده شود'; +$labels['longaclw'] = 'پرچم و کلیدواژه پیغامها میتواند تغییر داده شود، به غیر از بازدید و حذف'; +$labels['longacli'] = 'پیغامها میتوانند کپی یا نوشته شوند به پوشه'; +$labels['longaclp'] = 'پیغامها میتوانند پست شوند به این پوشه'; +$labels['longaclc'] = 'پوشهها میتوانند ایجاد شوند (تغییر نام داد شوند) به طور مستقیم در این پوشه'; +$labels['longaclk'] = 'پوشهها میتوانند ایجاد شوند (تغییر نام داد شوند) به طور مستقیم در این پوشه'; +$labels['longacld'] = 'پرچم حذف پیغامها میتواند تغییر داده شود'; +$labels['longaclt'] = 'پرچم حذف پیغامها میتواند تغییر داده شود'; +$labels['longacle'] = 'پیغامها میتوانند حذف شوند'; +$labels['longaclx'] = 'پوشه میتواند حذف یا تغییر نام داده شود'; +$labels['longacla'] = 'حقوق دسترسی پوشه میتواند تغییر داده شود'; +$labels['longacln'] = 'اطلاعات متا اشتراک گذاشته شده پیغامها (حاشیهها) میتواند تغییر داده شوند'; +$labels['longaclfull'] = 'کنترل کامل شما مدیریت پوشه'; +$labels['longaclread'] = 'پوشه میتواند برای خواندن باز شود'; +$labels['longaclwrite'] = 'پیغامها میتوانند علامتگذاری، نوشته و یا کپی شوند در پوشه'; +$labels['longacldelete'] = 'پیغامها میتوانند حذف شوند'; +$labels['longaclother'] = 'قوانین دسترسی دیگر'; +$labels['ariasummaryacltable'] = 'فهرست قوانین دسترسی'; +$labels['arialabelaclactions'] = 'فهرست کنشها'; +$labels['arialabelaclform'] = 'فرم قوانین دسترسی'; +$messages['deleting'] = 'حذف کردن حقوق دسترسی...'; +$messages['saving'] = 'ذخیره حقوق دسترسی...'; +$messages['updatesuccess'] = 'حقوق دسترسی با کامیابی تغییر کردند'; +$messages['deletesuccess'] = 'حقوق دسترسی با کامیابی حذف شدند'; +$messages['createsuccess'] = 'حقوق دسترسی با کامیابی اضافه شدند'; +$messages['updateerror'] = 'ناتوانی در روزآمد کردن حقوق دسترسی'; +$messages['deleteerror'] = 'ناتوانی در حذف حقوق دسترسی'; +$messages['createerror'] = 'ناتوانی در اضافه کردن حقوق دسترسی'; +$messages['deleteconfirm'] = 'آیا شما مطمئن هستید که میخواهید حقوق دسترسی را برای کاربر(ان) انتخاب شده حذف نمایید؟'; +$messages['norights'] = 'هیچ حقی مشخص نشده است!'; +$messages['nouser'] = 'هیج نامکاربریای مشخص نشده است!'; +?> diff --git a/plugins/acl/localization/fi_FI.inc b/plugins/acl/localization/fi_FI.inc new file mode 100644 index 000000000..27510e849 --- /dev/null +++ b/plugins/acl/localization/fi_FI.inc @@ -0,0 +1,55 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Jakaminen'; +$labels['myrights'] = 'Käyttöoikeudet'; +$labels['username'] = 'Käyttäjä:'; +$labels['editperms'] = 'Muokkaa oikeuksia'; +$labels['anyone'] = 'Kaikki käyttäjät (kuka tahansa)'; +$labels['anonymous'] = 'Vieraat (anonyymit)'; +$labels['aclc'] = 'Luo alikansioita'; +$labels['aclk'] = 'Luo alikansioita'; +$labels['acld'] = 'Poista viestejä'; +$labels['aclt'] = 'Poista viestejä'; +$labels['aclx'] = 'Poista kansio'; +$labels['aclfull'] = 'Täydet käyttöoikeudet'; +$labels['aclother'] = 'Muu'; +$labels['aclread'] = 'Luku'; +$labels['aclwrite'] = 'Kirjoitus'; +$labels['acldelete'] = 'Poisto'; +$labels['shortaclc'] = 'Luo'; +$labels['shortaclk'] = 'Luo'; +$labels['shortacld'] = 'Poista'; +$labels['shortaclt'] = 'Poista'; +$labels['shortaclother'] = 'Muu'; +$labels['shortaclread'] = 'Luku'; +$labels['shortaclwrite'] = 'Kirjoitus'; +$labels['shortacldelete'] = 'Poisto'; +$labels['longaclr'] = 'Kansion voi avata lukua varten'; +$labels['longaclx'] = 'Kansio voidaan poistaa tai nimetä uudelleen'; +$labels['longacla'] = 'Kansion käyttöoikeuksia voi muuttaa'; +$messages['deleting'] = 'Poistetaan käyttöoikeuksia...'; +$messages['saving'] = 'Tallennetaan käyttöoikeuksia...'; +$messages['updatesuccess'] = 'Käyttöoikeuksia muutettiin onnistuneesti'; +$messages['deletesuccess'] = 'Käyttöoikeuksia poistettiin onnistuneesti'; +$messages['createsuccess'] = 'Käyttöoikeuksia lisättiin onnistuneesti'; +$messages['updateerror'] = 'Käyttöoikeuksien päivitys epäonnistui'; +$messages['deleteerror'] = 'Käyttöoikeuksien poistaminen epäonnistui'; +$messages['createerror'] = 'Käyttöoikeuksien lisääminen epäonnistui'; +$messages['norights'] = 'Oikeuksia ei ole määritelty!'; +$messages['nouser'] = 'Käyttäjänimeä ei ole määritelty!'; +?> diff --git a/plugins/acl/localization/fo_FO.inc b/plugins/acl/localization/fo_FO.inc new file mode 100644 index 000000000..fd56f465a --- /dev/null +++ b/plugins/acl/localization/fo_FO.inc @@ -0,0 +1,91 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Deiling'; +$labels['myrights'] = 'Atgongdar-rættindi'; +$labels['username'] = 'Brúkari:'; +$labels['advanced'] = 'Víðkað útgáva'; +$labels['newuser'] = 'Legg inn'; +$labels['editperms'] = 'Broyt atgonguloyvi'; +$labels['actions'] = 'Stillingar til atgongu-rættindi'; +$labels['anyone'] = 'Allir brúkarir (øll)'; +$labels['anonymous'] = 'Gestir (dulnevnd)'; +$labels['identifier'] = 'dátuheiti'; +$labels['acll'] = 'Slá upp'; +$labels['aclr'] = 'Les boð'; +$labels['acls'] = 'Varveit lisna støðu'; +$labels['aclw'] = 'Hvít Fløgg'; +$labels['acli'] = 'Inn'; +$labels['aclp'] = 'Send'; +$labels['aclc'] = 'Ger undurmappur'; +$labels['aclk'] = 'Ger undurmappur'; +$labels['acld'] = 'Strika boð'; +$labels['aclt'] = 'Strika boð'; +$labels['acle'] = 'Strika út'; +$labels['aclx'] = 'Strika mappu'; +$labels['acla'] = 'Umsit'; +$labels['aclfull'] = 'Full stýring'; +$labels['aclother'] = 'Annað'; +$labels['aclread'] = 'Les'; +$labels['aclwrite'] = 'Skriva'; +$labels['acldelete'] = 'Strika'; +$labels['shortacll'] = 'Slá upp'; +$labels['shortaclr'] = 'Les'; +$labels['shortacls'] = 'Varveit'; +$labels['shortaclw'] = 'Skriva'; +$labels['shortacli'] = 'Legg inn'; +$labels['shortaclp'] = 'Send'; +$labels['shortaclc'] = 'Stovna'; +$labels['shortaclk'] = 'Stovna'; +$labels['shortacld'] = 'Strika'; +$labels['shortaclt'] = 'Strika'; +$labels['shortacle'] = 'Strika út'; +$labels['shortaclx'] = 'Strika mappu'; +$labels['shortacla'] = 'Umsit'; +$labels['shortaclother'] = 'Annað'; +$labels['shortaclread'] = 'Les'; +$labels['shortaclwrite'] = 'Skriva'; +$labels['shortacldelete'] = 'Strika'; +$labels['longacll'] = 'Mappan er sjónlig á listum og til ber at tekna seg fyri hana'; +$labels['longaclr'] = 'Mappan kann verða opna til lesná'; +$labels['longacls'] = 'Viðmerki ið vísur á lisin boð kann broytast'; +$labels['longaclw'] = 'Boð viðmerki og lyklaorð kunnu øll broytast, undantikið Sæð og Strika'; +$labels['longacli'] = 'Boð kunnu verða skriva og flutt til eina aðra mappu'; +$labels['longaclp'] = 'Boð kunnu verða send til hesa mappu'; +$labels['longaclc'] = 'Mappur kunnu verða stovnaðar (ella umdoyptar) beinleiðis undir hesu mappu'; +$labels['longaclk'] = 'Mappur kunnu verða stovnaðar (ella umdoyptar) beinleiðis undir hesu mappu'; +$labels['longacld'] = 'Viðmerki ið vísur á strika boð kann broytast'; +$labels['longaclt'] = 'Viðmerki ið vísur á strika boð kann broytast'; +$labels['longacle'] = 'Boð kunnu verða strika út'; +$labels['longaclx'] = 'Mappan kann verða strika ella umdoypt'; +$labels['longacla'] = 'Atgongdu-rættindini til hesa mappu kunnu broytast'; +$labels['longaclfull'] = 'Full stýring, írokna mappu-umsiting'; +$labels['longaclread'] = 'Mappan kann latast upp til lesná'; +$labels['longaclwrite'] = 'Boð kunnu verða viðmerkt, skriva ella avritast til mappuna'; +$labels['longacldelete'] = 'Boð kunnu verða strikað'; +$messages['deleting'] = 'Strikar atgongu-rættindi...'; +$messages['saving'] = 'Goymur atgongu-rættindi...'; +$messages['updatesuccess'] = 'Atgongu-rættindi broytt væleyndað'; +$messages['deletesuccess'] = 'Atgongu-rættindi strika væleyndað'; +$messages['createsuccess'] = 'Atgongu-rættindi stovna væleyndað'; +$messages['updateerror'] = 'Til ber ikki at dagføra atgongu-rættindi'; +$messages['deleteerror'] = 'Til ber ikki at strika atgongu-rættindi'; +$messages['createerror'] = 'Til ber ikki at leggja aftrat atgongu-rættindi'; +$messages['deleteconfirm'] = 'Ert tú vís/ur í at tú ynskir at strika atgongu-rættindini hjá valdum brúkar(um)?'; +$messages['norights'] = 'Eingi rættindi tilskila!'; +$messages['nouser'] = 'Einki brúkaranavn var tilskila!'; +?> diff --git a/plugins/acl/localization/fr_FR.inc b/plugins/acl/localization/fr_FR.inc new file mode 100644 index 000000000..b011fff3d --- /dev/null +++ b/plugins/acl/localization/fr_FR.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Partage'; +$labels['myrights'] = 'Droits d\'accès'; +$labels['username'] = 'Utilisateur :'; +$labels['advanced'] = 'Mode avancé'; +$labels['newuser'] = 'Ajouter l\'entrée'; +$labels['editperms'] = 'Modifier les permissions'; +$labels['actions'] = 'Actions des droits d\'accès...'; +$labels['anyone'] = 'Tous les utilisateurs (n\'importe qui)'; +$labels['anonymous'] = 'Invités (anonyme)'; +$labels['identifier'] = 'Identifiant'; +$labels['acll'] = 'Consultation'; +$labels['aclr'] = 'Lire les courriels'; +$labels['acls'] = 'Garder l\'état « vu »'; +$labels['aclw'] = 'Drapeaux d\'écriture'; +$labels['acli'] = 'Insérer (copier dans)'; +$labels['aclp'] = 'Publier'; +$labels['aclc'] = 'Créer des sous-dossiers'; +$labels['aclk'] = 'Créer des sous-dossiers'; +$labels['acld'] = 'Supprimer des courriels'; +$labels['aclt'] = 'Supprimer des courriels'; +$labels['acle'] = 'Purger'; +$labels['aclx'] = 'Supprimer un dossier'; +$labels['acla'] = 'Administrer'; +$labels['acln'] = 'Annoter les courriels'; +$labels['aclfull'] = 'Contrôle total'; +$labels['aclother'] = 'Autre'; +$labels['aclread'] = 'Lecture'; +$labels['aclwrite'] = 'Écriture'; +$labels['acldelete'] = 'Supprimer'; +$labels['shortacll'] = 'Consultation'; +$labels['shortaclr'] = 'Lecture'; +$labels['shortacls'] = 'Conserver'; +$labels['shortaclw'] = 'Écriture'; +$labels['shortacli'] = 'Insérer'; +$labels['shortaclp'] = 'Publier'; +$labels['shortaclc'] = 'Créer'; +$labels['shortaclk'] = 'Créer'; +$labels['shortacld'] = 'Supprimer'; +$labels['shortaclt'] = 'Supprimer'; +$labels['shortacle'] = 'Purger'; +$labels['shortaclx'] = 'Suppression de dossier'; +$labels['shortacla'] = 'Administrer'; +$labels['shortacln'] = 'Annoter'; +$labels['shortaclother'] = 'Autre'; +$labels['shortaclread'] = 'Lecture'; +$labels['shortaclwrite'] = 'Écriture'; +$labels['shortacldelete'] = 'Supprimer'; +$labels['longacll'] = 'Ce dossier est visible dans les listes et on peut s\'y abonner'; +$labels['longaclr'] = 'Le dossier peut-être ouvert en lecture'; +$labels['longacls'] = 'Le drapeau Vu des courriels peut-être changée'; +$labels['longaclw'] = 'Les drapeaux et mot-clefs des courriels peuvent-être changés, sauf pour Vu et Supprimé'; +$labels['longacli'] = 'Les courriels peuvent-être écrits ou copiés dans le dossier'; +$labels['longaclp'] = 'Les courriels peuvent-être publiés dans ce dossier'; +$labels['longaclc'] = 'Les dossiers peuvent-être créés (ou renommés) directement depuis ce dossier'; +$labels['longaclk'] = 'Les dossiers peuvent-être créés (ou renommés) directement depuis ce dossier'; +$labels['longacld'] = 'Le drapeau de suppression des courriels peut-être modifiée'; +$labels['longaclt'] = 'Le drapeau de suppression des courriels peut-être modifiée'; +$labels['longacle'] = 'Les courriels peuvent-être purgés'; +$labels['longaclx'] = 'Le dossier peut-être supprimé ou renommé'; +$labels['longacla'] = 'Les droits d\'accès du dossier peuvent être modifiés'; +$labels['longacln'] = 'Les métadonnées partagées des courriels (annotations) peuvent être changées'; +$labels['longaclfull'] = 'Contrôle total, incluant l\'administration des dossiers'; +$labels['longaclread'] = 'Le dossier peut-être ouvert en lecture'; +$labels['longaclwrite'] = 'Les courriels peuvent-être marqués, écrits ou copiés dans ce dossier'; +$labels['longacldelete'] = 'Les courriels peuvent être supprimés'; +$labels['longaclother'] = 'Autres droits d\'accès'; +$labels['ariasummaryacltable'] = 'Liste de droits d\'accès'; +$labels['arialabelaclactions'] = 'Lister les actions'; +$labels['arialabelaclform'] = 'Formulaire de droits d\'accès'; +$messages['deleting'] = 'Suppression des droits d\'accès…'; +$messages['saving'] = 'Enregistrement des droits d\'accès…'; +$messages['updatesuccess'] = 'Les droits d\'accès ont été changés avec succès'; +$messages['deletesuccess'] = 'Les droits d\'accès ont été supprimés avec succès'; +$messages['createsuccess'] = 'Les droits d\'accès ont été ajoutés avec succès'; +$messages['updateerror'] = 'Impossible de mettre à jour les droits d\'accès'; +$messages['deleteerror'] = 'Impossible de supprimer les droits d\'accès'; +$messages['createerror'] = 'Impossible d\'ajouter des droits d\'accès'; +$messages['deleteconfirm'] = 'Êtes-vous sûr de vouloir retirer les droits d\'accès des utilisateurs sélectionnés ?'; +$messages['norights'] = 'Aucun droit n\'a été spécifié !'; +$messages['nouser'] = 'Aucun nom d\'utilisateur n\'a été spécifié !'; +?> diff --git a/plugins/acl/localization/fy_NL.inc b/plugins/acl/localization/fy_NL.inc new file mode 100644 index 000000000..340190af8 --- /dev/null +++ b/plugins/acl/localization/fy_NL.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['username'] = 'Brûker:'; +?> diff --git a/plugins/acl/localization/gl_ES.inc b/plugins/acl/localization/gl_ES.inc new file mode 100644 index 000000000..c1841f5aa --- /dev/null +++ b/plugins/acl/localization/gl_ES.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Compartindo'; +$labels['myrights'] = 'Permisos de acceso'; +$labels['username'] = 'Utente:'; +$labels['advanced'] = 'Modo avanzado'; +$labels['newuser'] = 'Engadir entrada'; +$labels['editperms'] = 'Editar permisos'; +$labels['actions'] = 'Accións sobre os Permisos de acceso...'; +$labels['anyone'] = 'Todas as persoas usuarias (calquera)'; +$labels['anonymous'] = 'Persoas convidadas (anónimo)'; +$labels['identifier'] = 'Identificador'; +$labels['acll'] = 'Bloquear'; +$labels['aclr'] = 'Ler mensaxes'; +$labels['acls'] = 'Manter estado actividade'; +$labels['aclw'] = 'Marcas de lectura'; +$labels['acli'] = 'Engadir (Copiar en)'; +$labels['aclp'] = 'Envío'; +$labels['aclc'] = 'Crear subcartafoles'; +$labels['aclk'] = 'Crear subcartafoles'; +$labels['acld'] = 'Borrar mensaxes'; +$labels['aclt'] = 'Borrar mensaxes'; +$labels['acle'] = 'Expurga'; +$labels['aclx'] = 'Eliminar cartafol'; +$labels['acla'] = 'Administrar'; +$labels['acln'] = 'Crear anotacións para as mensaxes'; +$labels['aclfull'] = 'Control total'; +$labels['aclother'] = 'Outros'; +$labels['aclread'] = 'Lectura'; +$labels['aclwrite'] = 'Escritura'; +$labels['acldelete'] = 'Borrado'; +$labels['shortacll'] = 'Buscar'; +$labels['shortaclr'] = 'Ler'; +$labels['shortacls'] = 'Manter'; +$labels['shortaclw'] = 'Escribir'; +$labels['shortacli'] = 'Inserir'; +$labels['shortaclp'] = 'Publicar'; +$labels['shortaclc'] = 'Crear'; +$labels['shortaclk'] = 'Crear'; +$labels['shortacld'] = 'Eliminar'; +$labels['shortaclt'] = 'Eliminar'; +$labels['shortacle'] = 'Expurga'; +$labels['shortaclx'] = 'Eliminar cartafol'; +$labels['shortacla'] = 'Administrar'; +$labels['shortacln'] = 'Crear anotación'; +$labels['shortaclother'] = 'Outros'; +$labels['shortaclread'] = 'Lectura'; +$labels['shortaclwrite'] = 'Escritura'; +$labels['shortacldelete'] = 'Eliminar'; +$labels['longacll'] = 'O cartafol é visíbel e pode ser subscrito'; +$labels['longaclr'] = 'Pódese abrir o cartafol para lectura'; +$labels['longacls'] = 'Pódese mudar o marcador de Mensaxes Enviadas'; +$labels['longaclw'] = 'Pódense mudar marcadores e palabras chave agás Vistas e Borradas'; +$labels['longacli'] = 'Pódense escreber ou copiar as mensaxes a este cartafol'; +$labels['longaclp'] = 'Pódense enviar as mensaxes a este cartafol'; +$labels['longaclc'] = 'Pódense crear (ou renomear) os cartafoles directamente baixo deste cartafol'; +$labels['longaclk'] = 'Pódense crear (ou renomear) os cartafoles directamente baixo deste cartafol'; +$labels['longacld'] = 'Pódense mudar as mensaxes coa marca Eliminar'; +$labels['longaclt'] = 'Pódense mudar as mensaxes coa marca Eliminar'; +$labels['longacle'] = 'As mensaxes poden ser expurgadas'; +$labels['longaclx'] = 'Pódese borrar ou renomear o cartafol'; +$labels['longacla'] = 'Pódense mudar os permisos de acceso ao cartafol'; +$labels['longacln'] = 'Pódense trocar as anotacións das mensaxes'; +$labels['longaclfull'] = 'Control total inclúe administración de cartafoles'; +$labels['longaclread'] = 'Pódese abrir o cartafol para lectura'; +$labels['longaclwrite'] = 'Pódense marcar, escribir ou copiar as mensaxes no cartafol'; +$labels['longacldelete'] = 'Pódense borrar as mensaxes'; +$labels['longaclother'] = 'Outros dereitos de acceso'; +$labels['ariasummaryacltable'] = 'Lista de dereitos de acceso'; +$labels['arialabelaclactions'] = 'Accións de lista'; +$labels['arialabelaclform'] = 'Formulario de dereitos de acceso'; +$messages['deleting'] = 'Borrando permisos de acceso...'; +$messages['saving'] = 'Gardando permisos de acceso...'; +$messages['updatesuccess'] = 'Mudados con éxito os permisos de acceso'; +$messages['deletesuccess'] = 'Borrados con éxito os permisos de acceso'; +$messages['createsuccess'] = 'Engadidos con éxito os permisos de acceso'; +$messages['updateerror'] = 'Non se poden actualizar os permisos de acceso'; +$messages['deleteerror'] = 'Non se poden borrar os permisos de acceso'; +$messages['createerror'] = 'Non se poden engadir permisos de acceso'; +$messages['deleteconfirm'] = 'De certo que queres eliminar os permisos de acceso da(s) persoa(s) usuaria(s) escollida(s)?'; +$messages['norights'] = 'Non se especificaron permisos!'; +$messages['nouser'] = 'Non se especificou o nome da persoa usuaria!'; +?> diff --git a/plugins/acl/localization/he_IL.inc b/plugins/acl/localization/he_IL.inc new file mode 100644 index 000000000..e2bc22696 --- /dev/null +++ b/plugins/acl/localization/he_IL.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'שיתוף'; +$labels['myrights'] = 'זכויות גישה'; +$labels['username'] = 'משתמש:'; +$labels['advanced'] = 'מצב מתקדם'; +$labels['newuser'] = 'הוסף ערך'; +$labels['editperms'] = 'עריכת הרשאות'; +$labels['actions'] = 'פעולות על זכויות גישה...'; +$labels['anyone'] = 'כל המשתמשים (כל אחד)'; +$labels['anonymous'] = 'אורחים (אנונימי)'; +$labels['identifier'] = 'מזהה'; +$labels['acll'] = 'חיפוש'; +$labels['aclr'] = 'קריאת הודעות'; +$labels['acls'] = 'שמירה על סטטוס נראה'; +$labels['aclw'] = 'דגלי כתיבה'; +$labels['acli'] = 'הוספה בין ערכים (העתקה לתוך)'; +$labels['aclp'] = 'פרסום'; +$labels['aclc'] = 'יצירת תת־תיקיות'; +$labels['aclk'] = 'יצירת תת־תיקיות'; +$labels['acld'] = 'מחיקת הודעות'; +$labels['aclt'] = 'מחיקת הודעות'; +$labels['acle'] = 'ניקוי רשומות שבוטלו'; +$labels['aclx'] = 'מחיקת תיקיה'; +$labels['acla'] = 'מנהל'; +$labels['acln'] = 'הוספה של הערת תיוג להודעות'; +$labels['aclfull'] = 'שליטה מלאה'; +$labels['aclother'] = 'אחר'; +$labels['aclread'] = 'קריאה'; +$labels['aclwrite'] = 'כתיבה'; +$labels['acldelete'] = 'מחיקה'; +$labels['shortacll'] = 'חיפוש'; +$labels['shortaclr'] = 'קריאה'; +$labels['shortacls'] = 'להשאיר'; +$labels['shortaclw'] = 'כתיבה'; +$labels['shortacli'] = 'הוספה בין ערכים'; +$labels['shortaclp'] = 'פרסום'; +$labels['shortaclc'] = 'יצירה'; +$labels['shortaclk'] = 'יצירה'; +$labels['shortacld'] = 'מחיקה'; +$labels['shortaclt'] = 'מחיקה'; +$labels['shortacle'] = 'ניקוי רשומות שבוטלו'; +$labels['shortaclx'] = 'מחיקת תיקיה'; +$labels['shortacla'] = 'מנהל'; +$labels['shortacln'] = 'הוספה של הערת תיוג'; +$labels['shortaclother'] = 'אחר'; +$labels['shortaclread'] = 'קריאה'; +$labels['shortaclwrite'] = 'כתיבה'; +$labels['shortacldelete'] = 'מחיקה'; +$labels['longacll'] = 'התיקיה תראה ברשימות וניתן יהיה להרשם אליה'; +$labels['longaclr'] = 'ניתן לפתוח את התיקיה ולקרוא בה'; +$labels['longacls'] = 'ניתן לשנות דגל נראה בהודעות'; +$labels['longaclw'] = 'ניתן לשנות דגלים ומילות מפתח בהודעות, למעט נראה ונמחק'; +$labels['longacli'] = 'ניתן לכתוב הודעות לתיקיה או למוחקן'; +$labels['longaclp'] = 'ניתן לפרסם הודעות לתוך תיקיה זו'; +$labels['longaclc'] = 'ניתן ליצור (או לשנות שם) תיקיות, ישירות תחת תיקיה זו'; +$labels['longaclk'] = 'ניתן ליצור (או לשנות שם) תיקיות, ישירות תחת תיקיה זו'; +$labels['longacld'] = 'ניתן לשנות דגל נמחק של הודעות'; +$labels['longaclt'] = 'ניתן לשנות דגל נמחק של הודעות'; +$labels['longacle'] = 'ניתן לנקות הודעות שסומנו כמבוטלות'; +$labels['longaclx'] = 'ניתן למחוק תיקיה זו או לשנות שמה'; +$labels['longacla'] = 'ניתן לשנות זכויות גישה של תיקיה זו'; +$labels['longacln'] = 'ניתן לשנות הערות תיוג המשותפות להודעות'; +$labels['longaclfull'] = 'שליטה מלאה כולל ניהול התיקיה'; +$labels['longaclread'] = 'ניתן לפתוח את התיקיה ולקרוא בה'; +$labels['longaclwrite'] = 'ניתן לסמן, לכתוב או להעתיק הודעות לתיקיה זו'; +$labels['longacldelete'] = 'ניתן למחוק הודעות'; +$labels['longaclother'] = 'זכויות גישה אחרות'; +$labels['ariasummaryacltable'] = 'רשימת זכויות גישה'; +$labels['arialabelaclactions'] = 'רשימת פעולות'; +$labels['arialabelaclform'] = 'טופס זכויות גישה'; +$messages['deleting'] = 'זכויות גישה נמחקות...'; +$messages['saving'] = 'זכויות גישה נשמרות...'; +$messages['updatesuccess'] = 'זכויות גישה שונו בהצלחה'; +$messages['deletesuccess'] = 'זכויות גישה נמחקו בהצלחה'; +$messages['createsuccess'] = 'זכויות גישה נוספו בהצלחה'; +$messages['updateerror'] = 'לא ניתן לעדכן הרשאות גישה'; +$messages['deleteerror'] = 'לא ניתן למחוק זכויות גישה'; +$messages['createerror'] = 'לא ניתן להוסיף זכויות גישה'; +$messages['deleteconfirm'] = 'האם ודאי שברצונך להסיר זכויות גישה של המשתמש(ים) שנבחרו?'; +$messages['norights'] = 'לא צוינו זכויות גישה כלשהן !'; +$messages['nouser'] = 'לא צוין שם משתמש כלשהו!'; +?> diff --git a/plugins/acl/localization/hr_HR.inc b/plugins/acl/localization/hr_HR.inc new file mode 100644 index 000000000..83ad4844b --- /dev/null +++ b/plugins/acl/localization/hr_HR.inc @@ -0,0 +1,89 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Dijeljenje'; +$labels['myrights'] = 'Prava pristupa'; +$labels['username'] = 'Korisnik:'; +$labels['newuser'] = 'Dodaj unos/pravilo'; +$labels['actions'] = 'Akcije prava pristupa...'; +$labels['anyone'] = 'Svi korisnici (anyone)'; +$labels['anonymous'] = 'Gosti (anonymous)'; +$labels['identifier'] = 'Identifikator'; +$labels['acll'] = 'Pretraga'; +$labels['aclr'] = 'Pročitaj poruke'; +$labels['acls'] = 'Zadrži u stanju "Viđeno"'; +$labels['aclw'] = 'Zapiši oznake'; +$labels['acli'] = 'Umetni (kopiraj u)'; +$labels['aclp'] = 'Pošalji'; +$labels['aclc'] = 'Napravi podmapu'; +$labels['aclk'] = 'Napravi podmapu'; +$labels['acld'] = 'Obriši poruke'; +$labels['aclt'] = 'Obriši poruke'; +$labels['acle'] = 'Trajno obriši'; +$labels['aclx'] = 'Obriši mapu'; +$labels['acla'] = 'Administriraj'; +$labels['aclfull'] = 'Potpuna kontrola'; +$labels['aclother'] = 'Drugo'; +$labels['aclread'] = 'Čitanje'; +$labels['aclwrite'] = 'Pisanje'; +$labels['acldelete'] = 'Obriši'; +$labels['shortacll'] = 'Pretraži'; +$labels['shortaclr'] = 'Čitaj'; +$labels['shortacls'] = 'Zadrži'; +$labels['shortaclw'] = 'Piši'; +$labels['shortacli'] = 'Umetni'; +$labels['shortaclp'] = 'Pošalji'; +$labels['shortaclc'] = 'Stvori'; +$labels['shortaclk'] = 'Stvori'; +$labels['shortacld'] = 'Obriši'; +$labels['shortaclt'] = 'Obriši'; +$labels['shortacle'] = 'Trajno obriši'; +$labels['shortaclx'] = 'Obriši mapu'; +$labels['shortacla'] = 'Administriraj'; +$labels['shortaclother'] = 'Drugo'; +$labels['shortaclread'] = 'Čitanje'; +$labels['shortaclwrite'] = 'Pisanje'; +$labels['shortacldelete'] = 'Brisanje'; +$labels['longacll'] = 'Mapa je vidljiva u listi i može se na nju pretplatiti'; +$labels['longaclr'] = 'Mapa može biti otvorena za čitanje'; +$labels['longacls'] = 'Oznaku "Viđeno" je moguće mijenjati u porukama'; +$labels['longaclw'] = 'Oznake i ključne riječi, osim oznaka "Viđeno" i "Obrisano", se mogu mijenjati'; +$labels['longacli'] = 'Poruke mogu biti pohranjene ili kopirane u mapu'; +$labels['longaclp'] = 'Poruke mogu biti postavljene u mapu'; +$labels['longaclc'] = 'Mape pod ovom mapom se mogu stvarati (i preimenovati)'; +$labels['longaclk'] = 'Mape pod ovom mapom se mogu stvarati (i preimenovati)'; +$labels['longacld'] = 'Oznaku "Obrisano" je moguće mijenjati u porukama'; +$labels['longaclt'] = 'Oznaku "Obrisano" je moguće mijenjati u porukama'; +$labels['longacle'] = 'Poruke mogu biti izbrisane'; +$labels['longaclx'] = 'Mapa može biti obrisana ili preimenovana'; +$labels['longacla'] = 'Prava pristupa nad mapom se mogu mijenjati'; +$labels['longaclfull'] = 'Potpuna kontrola uključujući administraciju mapa'; +$labels['longaclread'] = 'Mapa može biti otvorena za čitanje'; +$labels['longaclwrite'] = 'Poruke mogu biti označene, pohranjene ili kopirane u mapu'; +$labels['longacldelete'] = 'Poruke mogu biti obrisane'; +$messages['deleting'] = 'Brišem prava pristupa...'; +$messages['saving'] = 'Pohranjujem prava pristupa'; +$messages['updatesuccess'] = 'Prava pristupa uspješno promjenjena'; +$messages['deletesuccess'] = 'Prava pristupa uspješno obrisana'; +$messages['createsuccess'] = 'Prava pristupa uspješno dodana'; +$messages['updateerror'] = 'Ne mogu pohraniti vCard'; +$messages['deleteerror'] = 'Ne mogu obrisati prava pristupa'; +$messages['createerror'] = 'Ne mogu dodati prava pristupa'; +$messages['deleteconfirm'] = 'Jeste li sigurni da želite obrisati prava pristupa za odabranog korisnika(e)?'; +$messages['norights'] = 'Nije navedeno pravo pristupa!'; +$messages['nouser'] = 'Nije navedeno korisničko ime!'; +?> diff --git a/plugins/acl/localization/hu_HU.inc b/plugins/acl/localization/hu_HU.inc new file mode 100644 index 000000000..3b813ac3f --- /dev/null +++ b/plugins/acl/localization/hu_HU.inc @@ -0,0 +1,94 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Megosztás'; +$labels['myrights'] = 'Hozzáférési jogok'; +$labels['username'] = 'Felhasználó:'; +$labels['advanced'] = 'Haladó mód'; +$labels['newuser'] = 'Elem hozzáadása'; +$labels['editperms'] = 'Jogosultságok szerkesztése'; +$labels['actions'] = 'Hozzáférési jogok müveletei..'; +$labels['anyone'] = 'Minden felhasználó (bárki)'; +$labels['anonymous'] = 'Vendégek (névtelen)'; +$labels['identifier'] = 'Azonosító'; +$labels['acll'] = 'Keresés'; +$labels['aclr'] = 'Üzenetek olvasása'; +$labels['acls'] = 'Olvasottsági állapot megtartása'; +$labels['aclw'] = 'Üzenet jelölése'; +$labels['acli'] = 'Beillesztés (Bemásolás)'; +$labels['aclp'] = 'Bejegyzés'; +$labels['aclc'] = 'Almappa létrehozás'; +$labels['aclk'] = 'Almappa létrehozás'; +$labels['acld'] = 'Üzenetek törlése'; +$labels['aclt'] = 'Üzenetek törlése'; +$labels['acle'] = 'Törölt üzenetek eltávolítása'; +$labels['aclx'] = 'Mappa törlés'; +$labels['acla'] = 'Adminisztrátor'; +$labels['acln'] = 'Üzenetekhez címkézés'; +$labels['aclfull'] = 'Teljes hozzáférés'; +$labels['aclother'] = 'Egyéb'; +$labels['aclread'] = 'Olvasás'; +$labels['aclwrite'] = 'Írás'; +$labels['acldelete'] = 'Törlés'; +$labels['shortacll'] = 'Keresés'; +$labels['shortaclr'] = 'Olvasás'; +$labels['shortacls'] = 'Megtartás'; +$labels['shortaclw'] = 'Írás'; +$labels['shortacli'] = 'Beszúrás'; +$labels['shortaclp'] = 'Bejegyzés'; +$labels['shortaclc'] = 'Létrehozás'; +$labels['shortaclk'] = 'Létrehozás'; +$labels['shortacld'] = 'Törlés'; +$labels['shortaclt'] = 'Törlés'; +$labels['shortacle'] = 'Törölt üzenetek eltávolítása'; +$labels['shortaclx'] = 'Mappa törlése'; +$labels['shortacla'] = 'Adminisztrátor'; +$labels['shortacln'] = 'Cimkézés'; +$labels['shortaclother'] = 'Egyéb'; +$labels['shortaclread'] = 'Olvasás'; +$labels['shortaclwrite'] = 'Írás'; +$labels['shortacldelete'] = 'Törlés'; +$labels['longacll'] = 'A mappa látható a listán és fel tudsz rá iratkozni.'; +$labels['longaclr'] = 'A mappa olvasásra megnyitható'; +$labels['longacls'] = 'Az üzenet megtekintési állapota módosítható'; +$labels['longaclw'] = 'Az üzenetek jelölései és kulcsszavai módosíthatóak, kivéve az olvasottsági állapotot és az üzenet törölt állapotát.'; +$labels['longacli'] = 'Üzenetek irhatóak és máolshatóak a mappába.'; +$labels['longaclp'] = 'Ebbe a mappába tudsz üzeneteket tenni.'; +$labels['longaclc'] = 'Mappák létrehozhazóak (átnevezhetőek) ez alatt a mappa alatt.'; +$labels['longaclk'] = 'Mappák létrehozhazóak (átnevezhetőek) ez alatt a mappa alatt.'; +$labels['longacld'] = 'Üzenet törölve jelző módositható.'; +$labels['longaclt'] = 'Üzenet törölve jelző módositható.'; +$labels['longacle'] = 'Az üzenetek véglegesen eltávolíthatóak'; +$labels['longaclx'] = 'A mappa törölhető vagy átnevezhető'; +$labels['longacla'] = 'A mappa hozzáférési jogai módosíthatóak'; +$labels['longacln'] = 'Üzenetek megosztott metaadatai(cimkéi) módosíthatoak'; +$labels['longaclfull'] = 'Teljes hozzáférés beleértve a mappák kezelését'; +$labels['longaclread'] = 'A mappa olvasásra megnyitható'; +$labels['longaclwrite'] = 'Az üzenetek megjelölhetök, irhatók és másolhatók ebbe a mappába'; +$labels['longacldelete'] = 'Az üzenetek törölhetőek'; +$messages['deleting'] = 'Hozzáférési jogok törlése...'; +$messages['saving'] = 'Hozzáférési jogok mentése...'; +$messages['updatesuccess'] = 'A hozzáférési jogok sikeresen módosultak.'; +$messages['deletesuccess'] = 'A hozzáférési jogok törlése sikeresen megtörtént.'; +$messages['createsuccess'] = 'A hozzáférési jogok hozzáadása sikeresen megtörtént.'; +$messages['updateerror'] = 'Nem sikerült módosítani a hozzáférési jogokat.'; +$messages['deleteerror'] = 'Nem sikerült törölni a hozzáférési jogokat.'; +$messages['createerror'] = 'Nem sikerült a hozzáférési jogok hozzáadása'; +$messages['deleteconfirm'] = 'Biztosan eltávolítja a kiválasztott felhasználó(k) hozzáférési jogait?'; +$messages['norights'] = 'Nincsennek jogok megadva.'; +$messages['nouser'] = 'A felhasználónév nincs megadva.'; +?> diff --git a/plugins/acl/localization/hy_AM.inc b/plugins/acl/localization/hy_AM.inc new file mode 100644 index 000000000..08126121e --- /dev/null +++ b/plugins/acl/localization/hy_AM.inc @@ -0,0 +1,89 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Կիսվել'; +$labels['myrights'] = 'Մուտքի իրավունքներ'; +$labels['username'] = 'Օգտատեր`'; +$labels['newuser'] = 'Ավելացնել գրառում'; +$labels['actions'] = 'Մուտքի իրավունքների գործողություններ…'; +$labels['anyone'] = 'Բոլոր օգտվողները (ցանկացած)'; +$labels['anonymous'] = 'Հյուրերը (անանուն)'; +$labels['identifier'] = 'Նկարագրիչ'; +$labels['acll'] = 'Փնտրում'; +$labels['aclr'] = 'Կարդալ հաղորդագրությունները'; +$labels['acls'] = 'Պահպանել դիտման կարգավիճակը'; +$labels['aclw'] = 'Գրառման նշումներ'; +$labels['acli'] = 'Ներդնել (Պատճենել ներս)'; +$labels['aclp'] = 'Հրապարակել'; +$labels['aclc'] = 'Ստեղծել ենթապանակներ'; +$labels['aclk'] = 'Ստեղծել ենթապանակներ'; +$labels['acld'] = 'Ջնջել հաղորդագրությունները'; +$labels['aclt'] = 'Ջնջել հաղորդագրությունները'; +$labels['acle'] = 'Հեռացնել'; +$labels['aclx'] = 'Ջնջել պանակը'; +$labels['acla'] = 'Կառավարել'; +$labels['aclfull'] = 'Լրիվ վերահսկում'; +$labels['aclother'] = 'Այլ'; +$labels['aclread'] = 'Կարդալ'; +$labels['aclwrite'] = 'Գրել'; +$labels['acldelete'] = 'Ջնջել'; +$labels['shortacll'] = 'Փնտրում'; +$labels['shortaclr'] = 'Կարդալ'; +$labels['shortacls'] = 'Պահել'; +$labels['shortaclw'] = 'Գրել'; +$labels['shortacli'] = 'Ներդնել'; +$labels['shortaclp'] = 'Հրապարակել'; +$labels['shortaclc'] = 'Ստեղծել'; +$labels['shortaclk'] = 'Ստեղծել'; +$labels['shortacld'] = 'Ջնջել'; +$labels['shortaclt'] = 'Ջնջել'; +$labels['shortacle'] = 'Հեռացնել'; +$labels['shortaclx'] = 'Պանակի ջնջում'; +$labels['shortacla'] = 'Կառավարել'; +$labels['shortaclother'] = 'Այլ'; +$labels['shortaclread'] = 'Կարդալ'; +$labels['shortaclwrite'] = 'Գրել'; +$labels['shortacldelete'] = 'Ջնջել'; +$labels['longacll'] = 'Պանակը երևում է ցուցակներում և նրան հնարավոր է բաժանորդագրվել'; +$labels['longaclr'] = 'Պանակը կարող է բացվել ընթերցման համար'; +$labels['longacls'] = 'Տեսված հաղորդագրությունների նշումը կարող է փոփոխվել'; +$labels['longaclw'] = 'Հաղորդագրությունների նշումները և հիմնաբառերը կարող են փոփոխվել, բացառությամբ Տեսած և Ջնջված նշումների'; +$labels['longacli'] = 'Հաղորդագրությունները կարող են գրվել և պատճենվել պանակի մեջ'; +$labels['longaclp'] = 'Հաղորդագրությունները կարող են հրապարակվել այս պանակում'; +$labels['longaclc'] = 'Պանակները կարող են ստեղծվել (կամ վերանվանվել) այս պանակում'; +$labels['longaclk'] = 'Պանակները կարող են ստեղծվել (կամ վերանվանվել) այս պանակում'; +$labels['longacld'] = 'Հաղորդագրությունների Ջնջել նշումը կարող է փոփոխվել'; +$labels['longaclt'] = 'Հաղորդագրությունների Ջնջել նշումը կարող է փոփոխվել'; +$labels['longacle'] = 'Հաղորդագրությունները կարող են հեռացվել'; +$labels['longaclx'] = 'Պանակը կարող է ջնջվել կամ վերանվանվել'; +$labels['longacla'] = 'Պանակի մուտքի իրավունքները կարող են փոփոխվել'; +$labels['longaclfull'] = 'Լրիվ վերահսկում ներառյալ պանակների կառավարումը'; +$labels['longaclread'] = 'Պանակը կարող է բացվել ընթերցման համար'; +$labels['longaclwrite'] = 'Հաղորդագրությունները կարող են նշվել, ստեղծվել և պատճենվել այս պանակում'; +$labels['longacldelete'] = 'Հաղորդագրությունները կարող են ջնջվել'; +$messages['deleting'] = 'Ջնջվում են մուտքի իրավունքները…'; +$messages['saving'] = 'Պահպանվում են մուտքի իրավունքները…'; +$messages['updatesuccess'] = 'Մուտքի իրավունքները բարեհաջող փոփոխվեցին։'; +$messages['deletesuccess'] = 'Մուտքի իրավունքները բարեհաջող ջնջվեցին։'; +$messages['createsuccess'] = 'Մուտքի իրավունքները բարեհաջող ավելացվեցվին։'; +$messages['updateerror'] = 'Մուտքի իրավունքների թարմացումը անջատել'; +$messages['deleteerror'] = 'Մուտքի իրավունքները ջնջումը ձախողվեց։'; +$messages['createerror'] = 'Մուտքի իրավունքները ավելացումը ձախողվեց։'; +$messages['deleteconfirm'] = 'Դուք վստա՞հ էք, որ ցանկանում եք նշված օգտվողներին զրկել մուտքի իրավունքներից։'; +$messages['norights'] = 'Ոչ մի իրավունք չի՛ նշվել։'; +$messages['nouser'] = 'Օգտվողի անունը չի՛ նշվել։'; +?> diff --git a/plugins/acl/localization/ia.inc b/plugins/acl/localization/ia.inc new file mode 100644 index 000000000..c3627389d --- /dev/null +++ b/plugins/acl/localization/ia.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Uso in commun'; +$labels['myrights'] = 'Derectos de accesso'; +$labels['username'] = 'Usator:'; +$labels['advanced'] = 'Modo avantiate'; +$labels['newuser'] = 'Adder entrata'; +$labels['editperms'] = 'Modificar permissiones'; +$labels['actions'] = 'Actiones de derecto de accesso...'; +$labels['anyone'] = 'Tote le usatores (non importa qui)'; +$labels['anonymous'] = 'Hospites (anonyme)'; +$labels['identifier'] = 'Identificator'; +$labels['acll'] = 'Cercar'; +$labels['aclr'] = 'Leger messages'; +$labels['acls'] = 'Retener le stato Vidite'; +$labels['aclw'] = 'Signales de scriptura'; +$labels['acli'] = 'Inserer (copiar in)'; +$labels['aclp'] = 'Inviar'; +$labels['aclc'] = 'Crear subdossieres'; +$labels['aclk'] = 'Crear subdossieres'; +$labels['acld'] = 'Deler messages'; +$labels['aclt'] = 'Deler messages'; +$labels['acle'] = 'Expunger'; +$labels['aclx'] = 'Deler dossier'; +$labels['acla'] = 'Administrar'; +$labels['acln'] = 'Annotar messages'; +$labels['aclfull'] = 'Controlo total'; +$labels['aclother'] = 'Altere'; +$labels['aclread'] = 'Leger'; +$labels['aclwrite'] = 'Scriber'; +$labels['acldelete'] = 'Deler'; +$labels['shortacll'] = 'Cercar'; +$labels['shortaclr'] = 'Leger'; +$labels['shortacls'] = 'Retener'; +$labels['shortaclw'] = 'Scriber'; +$labels['shortacli'] = 'Inserer'; +$labels['shortaclp'] = 'Inviar'; +$labels['shortaclc'] = 'Crear'; +$labels['shortaclk'] = 'Crear'; +$labels['shortacld'] = 'Deler'; +$labels['shortaclt'] = 'Deler'; +$labels['shortacle'] = 'Expunger'; +$labels['shortaclx'] = 'Deletion de dossier'; +$labels['shortacla'] = 'Administrar'; +$labels['shortacln'] = 'Annotar'; +$labels['shortaclother'] = 'Altere'; +$labels['shortaclread'] = 'Leger'; +$labels['shortaclwrite'] = 'Scriber'; +$labels['shortacldelete'] = 'Deler'; +$labels['longacll'] = 'Le dossier es visibile in listas e on pote subscriber se a illo'; +$labels['longaclr'] = 'Le dossier pote esser aperite pro lectura'; +$labels['longacls'] = 'Le signal "Vidite" de messages pote esser cambiate'; +$labels['longaclw'] = 'Le signales e parolas-clave de messages pote esser cambiate, excepte "Vidite" e "Delite"'; +$labels['longacli'] = 'Messages pote esser scribite o copiate al dossier'; +$labels['longaclp'] = 'Messages pote esser inviate a iste dossier'; +$labels['longaclc'] = 'Dossieres pote esser create (o renominate) directemente sub iste dossier'; +$labels['longaclk'] = 'Dossieres pote esser create (o renominate) directemente sub iste dossier'; +$labels['longacld'] = 'Le signal "Deler" de messages pote esser cambiate'; +$labels['longaclt'] = 'Le signal "Deler" de messages pote esser cambiate'; +$labels['longacle'] = 'Messages pote esser expungite'; +$labels['longaclx'] = 'Le dossier pote esser delite o renominate'; +$labels['longacla'] = 'Le derectos de accesso del dossier pote esser cambiate'; +$labels['longacln'] = 'Le metadatos commun (annotationes) de messages pote esser cambiate'; +$labels['longaclfull'] = 'Controlo total incluse le administration de dossieres'; +$labels['longaclread'] = 'Le dossier pote esser aperite pro lectura'; +$labels['longaclwrite'] = 'Messages pote esser marcate, scribite o copiate al dossier'; +$labels['longacldelete'] = 'Messages pote esser delite'; +$labels['longaclother'] = 'Altere derectos de accesso'; +$labels['ariasummaryacltable'] = 'Lista de derectos de accesso'; +$labels['arialabelaclactions'] = 'Listar actiones'; +$labels['arialabelaclform'] = 'Formulario de derectos de accesso'; +$messages['deleting'] = 'A deler derectos de accesso...'; +$messages['saving'] = 'A salveguardar derectos de accesso...'; +$messages['updatesuccess'] = 'Le derectos de accesso ha essite cambiate'; +$messages['deletesuccess'] = 'Le derectos de accesso ha essite delite'; +$messages['createsuccess'] = 'Le derectos de accesso ha essite addite'; +$messages['updateerror'] = 'Impossibile actualisar le derectos de accesso'; +$messages['deleteerror'] = 'Impossibile deler derectos de accesso'; +$messages['createerror'] = 'Impossibile adder derectos de accesso'; +$messages['deleteconfirm'] = 'Es vos secur de voler remover le derectos de accesso del usator(es) seligite?'; +$messages['norights'] = 'Nulle derecto ha essite specificate.'; +$messages['nouser'] = 'Nulle nomine de usator ha essite specificate.'; +?> diff --git a/plugins/acl/localization/id_ID.inc b/plugins/acl/localization/id_ID.inc new file mode 100644 index 000000000..348ec045e --- /dev/null +++ b/plugins/acl/localization/id_ID.inc @@ -0,0 +1,94 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Berbagi'; +$labels['myrights'] = 'Hak Akses'; +$labels['username'] = 'Pengguna:'; +$labels['advanced'] = 'Mode Lanjut'; +$labels['newuser'] = 'Tambahkan entri'; +$labels['editperms'] = 'Ubah izin'; +$labels['actions'] = 'Aksi hak akses...'; +$labels['anyone'] = 'Semua pengguna (siapa saja)'; +$labels['anonymous'] = 'Para tamu (anonim)'; +$labels['identifier'] = 'Yang mengidentifikasi'; +$labels['acll'] = 'Cari'; +$labels['aclr'] = 'Baca pesan'; +$labels['acls'] = 'Jaga status terbaca'; +$labels['aclw'] = 'Membuat tanda'; +$labels['acli'] = 'Sisipkan (Salin kedalam)'; +$labels['aclp'] = 'Tulisan'; +$labels['aclc'] = 'Buat subfolder'; +$labels['aclk'] = 'Buat subfolder'; +$labels['acld'] = 'Hapus pesan'; +$labels['aclt'] = 'Hapus pesan'; +$labels['acle'] = 'Menghapus'; +$labels['aclx'] = 'Hapus folder'; +$labels['acla'] = 'Kelola'; +$labels['acln'] = 'Berikan keterangan pesan'; +$labels['aclfull'] = 'Kendali penuh'; +$labels['aclother'] = 'Lainnya'; +$labels['aclread'] = 'Baca'; +$labels['aclwrite'] = 'Tulis'; +$labels['acldelete'] = 'Hapus'; +$labels['shortacll'] = 'Cari'; +$labels['shortaclr'] = 'Baca'; +$labels['shortacls'] = 'Simpan'; +$labels['shortaclw'] = 'Tulis'; +$labels['shortacli'] = 'Sisipkan'; +$labels['shortaclp'] = 'Tulisan'; +$labels['shortaclc'] = 'Buat'; +$labels['shortaclk'] = 'Buat'; +$labels['shortacld'] = 'Hapus'; +$labels['shortaclt'] = 'Hapus'; +$labels['shortacle'] = 'Buang'; +$labels['shortaclx'] = 'Hapus folder'; +$labels['shortacla'] = 'Kelola'; +$labels['shortacln'] = 'Berikan keterangan'; +$labels['shortaclother'] = 'Lainnya'; +$labels['shortaclread'] = 'Baca'; +$labels['shortaclwrite'] = 'Tulis'; +$labels['shortacldelete'] = 'Hapus'; +$labels['longacll'] = 'Folder terlihat di daftar dan dapat dijadikan langganan'; +$labels['longaclr'] = 'Folder dapat dibuka untuk dibaca'; +$labels['longacls'] = 'Tanda pesan terbaca dapat diubah'; +$labels['longaclw'] = 'Tanda pesan dan kata kunci dapat diubah, kecuali Terbaca dan Terhapus'; +$labels['longacli'] = 'Pesan dapat ditulis atau disalin kedalam folder'; +$labels['longaclp'] = 'Pesan dapat dikirim ke folder ini'; +$labels['longaclc'] = 'Folder dapat dibuat (atau diubah namanya) langsung dari folder ini'; +$labels['longaclk'] = 'Folder dapat dibuat (atau diubah namanya) langsung dari folder ini'; +$labels['longacld'] = 'Tanda hapus pesan dapat diubah'; +$labels['longaclt'] = 'Tanda hapus pesan dapat diubah'; +$labels['longacle'] = 'Pesan dapat dibuang'; +$labels['longaclx'] = 'Folder dapat dihapus atau diubah namanya'; +$labels['longacla'] = 'Hak akses folder dapat diubah'; +$labels['longacln'] = 'Metadata pesan bersama (penjelasan) dapat diubah'; +$labels['longaclfull'] = 'Kendali penuh penuh termasuk administrasi'; +$labels['longaclread'] = 'Folder dapat dibuka untuk dibaca'; +$labels['longaclwrite'] = 'Pesan dapat ditandai, ditulis atau disalin kedalam folder'; +$labels['longacldelete'] = 'Pesan dapat dihapus'; +$messages['deleting'] = 'Menghapus hak akses...'; +$messages['saving'] = 'Menyimpan hak akses...'; +$messages['updatesuccess'] = 'Hak akses berhasil diubah'; +$messages['deletesuccess'] = 'Hak akses berhasil dihapus'; +$messages['createsuccess'] = 'Hak akses berhasil ditambahkan'; +$messages['updateerror'] = 'Tidak dapat memperbaharui hak akses'; +$messages['deleteerror'] = 'Tidak dapat menghapus hak akses'; +$messages['createerror'] = 'Tidak dapat menambah hak akses'; +$messages['deleteconfirm'] = 'Apakah Anda yakin ingin menghapus hak akses dari user terpilih?'; +$messages['norights'] = 'Hak belum ditentukan!'; +$messages['nouser'] = 'Username belum ditentukan!'; +?> diff --git a/plugins/acl/localization/it_IT.inc b/plugins/acl/localization/it_IT.inc new file mode 100644 index 000000000..1201c7ea1 --- /dev/null +++ b/plugins/acl/localization/it_IT.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Condivisione'; +$labels['myrights'] = 'Diritti d\'accesso'; +$labels['username'] = 'Utente:'; +$labels['advanced'] = 'Modalità avanzata'; +$labels['newuser'] = 'Aggiungi voce'; +$labels['editperms'] = 'Modifica permessi'; +$labels['actions'] = 'Azioni permessi d\'accesso...'; +$labels['anyone'] = 'Tutti gli utenti'; +$labels['anonymous'] = 'Osptiti (anonimi)'; +$labels['identifier'] = 'Identificatore'; +$labels['acll'] = 'Ricerca'; +$labels['aclr'] = 'Leggi messaggi'; +$labels['acls'] = 'Mantieni lo stato Visto'; +$labels['aclw'] = 'Flag di scrittura'; +$labels['acli'] = 'Inserisci (Copia in)'; +$labels['aclp'] = 'Invio'; +$labels['aclc'] = 'Crea sottocartelle'; +$labels['aclk'] = 'Crea sottocartelle'; +$labels['acld'] = 'Elimina messaggi'; +$labels['aclt'] = 'Elimina messaggi'; +$labels['acle'] = 'Elimina'; +$labels['aclx'] = 'Elimina cartella'; +$labels['acla'] = 'Amministra'; +$labels['acln'] = 'Annota messaggi'; +$labels['aclfull'] = 'Controllo completo'; +$labels['aclother'] = 'Altro'; +$labels['aclread'] = 'Lettura'; +$labels['aclwrite'] = 'Scrittura'; +$labels['acldelete'] = 'Elimina'; +$labels['shortacll'] = 'Ricerca'; +$labels['shortaclr'] = 'Lettura'; +$labels['shortacls'] = 'Mantieni'; +$labels['shortaclw'] = 'Scrittura'; +$labels['shortacli'] = 'Inserisci'; +$labels['shortaclp'] = 'Invio'; +$labels['shortaclc'] = 'Crea'; +$labels['shortaclk'] = 'Crea'; +$labels['shortacld'] = 'Elimina'; +$labels['shortaclt'] = 'Elimina'; +$labels['shortacle'] = 'Elimina'; +$labels['shortaclx'] = 'Elimina cartella'; +$labels['shortacla'] = 'Amministra'; +$labels['shortacln'] = 'Annota'; +$labels['shortaclother'] = 'Altro'; +$labels['shortaclread'] = 'Lettura'; +$labels['shortaclwrite'] = 'Scrittura'; +$labels['shortacldelete'] = 'Elimina'; +$labels['longacll'] = 'La cartella è visibile sulle liste e può essere sottoscritta'; +$labels['longaclr'] = 'Questa cartella può essere aperta in lettura'; +$labels['longacls'] = 'Il flag Messaggio Visto può essere cambiato'; +$labels['longaclw'] = 'I flag dei messaggi e le keywords possono essere cambiati, ad esclusione di Visto ed Eliminato'; +$labels['longacli'] = 'I messaggi possono essere scritti o copiati nella cartella'; +$labels['longaclp'] = 'I messaggi possono essere inviati a questa cartella'; +$labels['longaclc'] = 'Possono essere create (o rinominata) cartelle direttamente in questa cartella.'; +$labels['longaclk'] = 'Possono essere create (o rinominata) cartelle direttamente in questa cartella.'; +$labels['longacld'] = 'Il flag Messaggio Eliminato può essere cambiato'; +$labels['longaclt'] = 'Il flag Messaggio Eliminato può essere cambiato'; +$labels['longacle'] = 'I messaggi possono essere cancellati'; +$labels['longaclx'] = 'La cartella può essere eliminata o rinominata'; +$labels['longacla'] = 'I diritti di accesso della cartella possono essere cambiati'; +$labels['longacln'] = 'I metadati (annotazioni) dei messaggi condivisi possono essere modificati'; +$labels['longaclfull'] = 'Controllo completo incluso cartella di amministrazione'; +$labels['longaclread'] = 'Questa cartella può essere aperta in lettura'; +$labels['longaclwrite'] = 'I messaggi possono essere marcati, scritti o copiati nella cartella'; +$labels['longacldelete'] = 'I messaggi possono essere eliminati'; +$labels['longaclother'] = 'Altri diritti di accesso'; +$labels['ariasummaryacltable'] = 'Elenco dei diritti di accesso'; +$labels['arialabelaclactions'] = 'Lista azioni'; +$labels['arialabelaclform'] = 'Modulo di accesso'; +$messages['deleting'] = 'Sto eliminando i diritti di accesso...'; +$messages['saving'] = 'Sto salvando i diritti di accesso...'; +$messages['updatesuccess'] = 'I diritti d\'accesso sono stati cambiati'; +$messages['deletesuccess'] = 'I diritti d\'accesso sono stati eliminati'; +$messages['createsuccess'] = 'I diritti d\'accesso sono stati aggiunti'; +$messages['updateerror'] = 'Impossibile aggiornare i diritti d\'accesso'; +$messages['deleteerror'] = 'Impossibile eliminare i diritti d\'accesso'; +$messages['createerror'] = 'Impossibile aggiungere i diritti d\'accesso'; +$messages['deleteconfirm'] = 'Sei sicuro, vuoi rimuovere i diritti d\'accesso degli utenti selezionati?'; +$messages['norights'] = 'Nessun diritto specificato!'; +$messages['nouser'] = 'Lo username non è stato specificato!'; +?> diff --git a/plugins/acl/localization/ja_JP.inc b/plugins/acl/localization/ja_JP.inc new file mode 100644 index 000000000..52c5940e6 --- /dev/null +++ b/plugins/acl/localization/ja_JP.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = '共有'; +$labels['myrights'] = 'アクセス権'; +$labels['username'] = 'ユーザー:'; +$labels['advanced'] = '詳細なモード'; +$labels['newuser'] = '項目を追加'; +$labels['editperms'] = '編集の権限'; +$labels['actions'] = 'アクセス権の動作...'; +$labels['anyone'] = '(誰でも)すべてのユーザー'; +$labels['anonymous'] = 'ゲスト(匿名)'; +$labels['identifier'] = '識別子'; +$labels['acll'] = '検索'; +$labels['aclr'] = 'メッセージを読む'; +$labels['acls'] = '既読の状態を保持'; +$labels['aclw'] = '書き込みフラッグ'; +$labels['acli'] = '挿入(中に複製)'; +$labels['aclp'] = '投稿'; +$labels['aclc'] = 'サブフォルダを作成'; +$labels['aclk'] = 'サブフォルダを作成'; +$labels['acld'] = 'メッセージを削除'; +$labels['aclt'] = 'メッセージを削除'; +$labels['acle'] = '抹消'; +$labels['aclx'] = 'フォルダーを削除'; +$labels['acla'] = '管理'; +$labels['acln'] = 'メッセージに注釈'; +$labels['aclfull'] = '完全な制御'; +$labels['aclother'] = 'その他'; +$labels['aclread'] = '読み込み'; +$labels['aclwrite'] = '書き込み'; +$labels['acldelete'] = '削除'; +$labels['shortacll'] = '検索'; +$labels['shortaclr'] = '読み込み'; +$labels['shortacls'] = '保持'; +$labels['shortaclw'] = '書き込み'; +$labels['shortacli'] = '挿入'; +$labels['shortaclp'] = '投稿'; +$labels['shortaclc'] = '作成'; +$labels['shortaclk'] = '作成'; +$labels['shortacld'] = '削除'; +$labels['shortaclt'] = '削除'; +$labels['shortacle'] = '抹消'; +$labels['shortaclx'] = 'フォルダーの削除'; +$labels['shortacla'] = '管理'; +$labels['shortacln'] = '注釈'; +$labels['shortaclother'] = 'その他'; +$labels['shortaclread'] = '読み込み'; +$labels['shortaclwrite'] = '書き込み'; +$labels['shortacldelete'] = '削除'; +$labels['longacll'] = 'フォルダーをリストに見えるようにして登録可能:'; +$labels['longaclr'] = 'フォルダーを読むことを可能'; +$labels['longacls'] = 'メッセージの既読のフラッグの変更を可能'; +$labels['longaclw'] = '既読と削除のフラッグを除く、メッセージのフラッグとキーワードの変更を可能'; +$labels['longacli'] = 'メッセージに書き込みとフォルダーへの複製を可能'; +$labels['longaclp'] = 'メッセージをこのフォルダーに投稿を可能'; +$labels['longaclc'] = 'このフォルダーの直下にフォルダーの作成と名前の変更を可能'; +$labels['longaclk'] = 'このフォルダーの直下にフォルダーの作成と名前の変更を可能'; +$labels['longacld'] = 'メッセージの削除フラッグの変更を可能'; +$labels['longaclt'] = 'メッセージの削除フラッグの変更を可能'; +$labels['longacle'] = 'メッセージの抹消を可能'; +$labels['longaclx'] = 'このフォルダーの削除や名前の変更を可能'; +$labels['longacla'] = 'フォルダーのアクセス権の変更を可能'; +$labels['longacln'] = 'メッセージの共有されるメタデータ(注釈)の変更を可能'; +$labels['longaclfull'] = 'フォルダーの管理を含めた完全な制御を可能'; +$labels['longaclread'] = 'フォルダーを読むことを可能'; +$labels['longaclwrite'] = 'メッセージにマークの設定、書き込み、フォルダーに複製を可能'; +$labels['longacldelete'] = 'メッセージの削除を可能'; +$labels['longaclother'] = '他のアクセス権'; +$labels['ariasummaryacltable'] = 'アクセス権の一覧'; +$labels['arialabelaclactions'] = '動作を一覧'; +$labels['arialabelaclform'] = 'アクセス権の欄'; +$messages['deleting'] = 'アクセス権を削除中...'; +$messages['saving'] = 'アクセス権を保存中...'; +$messages['updatesuccess'] = 'アクセス権を変更しました。'; +$messages['deletesuccess'] = 'アクセス権を削除しました。'; +$messages['createsuccess'] = 'アクセス権を追加しました。'; +$messages['updateerror'] = 'アクセス権を更新できません。'; +$messages['deleteerror'] = 'アクセス権を削除できません。'; +$messages['createerror'] = 'アクセス権を追加できません。'; +$messages['deleteconfirm'] = '選択したユーザーのアクセス件を本当に削除したいですか?'; +$messages['norights'] = '何の権限も指定されていません!'; +$messages['nouser'] = 'ユーザー名を指定していません!'; +?> diff --git a/plugins/acl/localization/km_KH.inc b/plugins/acl/localization/km_KH.inc new file mode 100644 index 000000000..8310d4e81 --- /dev/null +++ b/plugins/acl/localization/km_KH.inc @@ -0,0 +1,74 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'ការចែករំលែក'; +$labels['myrights'] = 'សិទ្ធិចូល'; +$labels['username'] = 'អ្នកប្រើ៖'; +$labels['advanced'] = 'បែបកម្រិតខ្ពស់'; +$labels['newuser'] = 'បន្ថែមធាតុ'; +$labels['actions'] = 'សកម្មភាពសិទ្ធិចូល...'; +$labels['anyone'] = 'អ្នកប្រើទាំងអស់ (នរណាម្នាក់)'; +$labels['anonymous'] = 'ភ្ញៀវ (អនាមិក)'; +$labels['acll'] = 'ស្វែងរក'; +$labels['aclr'] = 'អានសារ'; +$labels['acli'] = 'បញ្ចូល (ចម្លងមកដាក់)'; +$labels['aclp'] = 'ប្រកាស'; +$labels['aclc'] = 'បង្កើតថតរង'; +$labels['aclk'] = 'បង្កើតថតរង'; +$labels['acld'] = 'លុបសារ'; +$labels['aclt'] = 'លុបសារ'; +$labels['acle'] = 'ដកចេញ'; +$labels['aclx'] = 'លុបថត'; +$labels['acla'] = 'អភិបាល'; +$labels['aclfull'] = 'បញ្ជាទាំងអស់'; +$labels['aclother'] = 'ផ្សេងៗ'; +$labels['aclread'] = 'អាន'; +$labels['aclwrite'] = 'សរសេរ'; +$labels['acldelete'] = 'លុប'; +$labels['shortacll'] = 'ស្វែងរក'; +$labels['shortaclr'] = 'អាន'; +$labels['shortacls'] = 'រក្សា'; +$labels['shortaclw'] = 'សរសេរ'; +$labels['shortacli'] = 'បញ្ចូល'; +$labels['shortaclp'] = 'ប្រកាស'; +$labels['shortaclc'] = 'បង្កើត'; +$labels['shortaclk'] = 'បង្កើត'; +$labels['shortacld'] = 'លុប'; +$labels['shortaclt'] = 'លុប'; +$labels['shortacle'] = 'ដកចេញ'; +$labels['shortaclx'] = 'ការលុបថត'; +$labels['shortacla'] = 'អភិបាល'; +$labels['shortaclother'] = 'ផ្សេងៗ'; +$labels['shortaclread'] = 'អាន'; +$labels['shortaclwrite'] = 'សរសេរ'; +$labels['shortacldelete'] = 'លុប'; +$labels['longaclr'] = 'ថតនេះអាចបើកសម្រាប់អាន'; +$labels['longacle'] = 'សារនេះអាចត្រូវបានដកចេញ'; +$labels['longaclx'] = 'ថតនេះ អាចត្រូវបានលុប ឬ ប្ដូរឈ្មោះ'; +$labels['longacla'] = 'សិទ្ធិចូលទៅកាន់ថតនេះអាចត្រូវបានផ្លាស់ប្ដូរ'; +$labels['longacldelete'] = 'សារនេះអាចត្រូវបានលុប'; +$messages['deleting'] = 'កំពុងលុបសិទ្ធិចូល...'; +$messages['saving'] = 'រក្សាទុកសិទ្ធិចូល...'; +$messages['deletesuccess'] = 'លុបសិទ្ធិចូលដោយជោគជ័យ'; +$messages['createsuccess'] = 'បន្ថែមសិទ្ធិចូលដោយជោគជ័យ'; +$messages['updateerror'] = 'មិនអាចធ្វើបច្ចុប្បន្នភាពសិទ្ធិចូល'; +$messages['deleteerror'] = 'មិនអាចលុបសិទ្ធិចូល'; +$messages['createerror'] = 'មិនអាចបន្ថែមសិទ្ធិចូល'; +$messages['deleteconfirm'] = 'តើអ្នកពិតជាចង់ដកសិទ្ធចូលពីអ្នកប្រើប្រាស់ដែលបានរើសមែនទេ?'; +$messages['norights'] = 'មិនបានបញ្ជាក់សិទ្ធិច្បាស់លាស់!'; +$messages['nouser'] = 'មិនបានបញ្ជាក់ឈ្មោះអ្នកប្រើ!'; +?> diff --git a/plugins/acl/localization/ko_KR.inc b/plugins/acl/localization/ko_KR.inc new file mode 100644 index 000000000..60b4b302b --- /dev/null +++ b/plugins/acl/localization/ko_KR.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = '공유'; +$labels['myrights'] = '접근 권한'; +$labels['username'] = '사용자:'; +$labels['advanced'] = '고급 모드'; +$labels['newuser'] = '입력내용 추가'; +$labels['editperms'] = '권한 수정'; +$labels['actions'] = '접근 권한 동작...'; +$labels['anyone'] = '모든 사용자 (아무나)'; +$labels['anonymous'] = '방문자 (익명)'; +$labels['identifier'] = '식별자'; +$labels['acll'] = '조회'; +$labels['aclr'] = '읽은 메시지'; +$labels['acls'] = '읽은 상태 유지'; +$labels['aclw'] = '쓰기 깃발'; +$labels['acli'] = '삽입 (복사할 위치)'; +$labels['aclp'] = '게시'; +$labels['aclc'] = '하위 폴더 생성'; +$labels['aclk'] = '하위 폴더 생성'; +$labels['acld'] = '메시지 삭제'; +$labels['aclt'] = '메시지 삭제'; +$labels['acle'] = '영구 제거'; +$labels['aclx'] = '폴더 삭제'; +$labels['acla'] = '관리'; +$labels['acln'] = '메시지에 주석 추가'; +$labels['aclfull'] = '전체 제어 권한'; +$labels['aclother'] = '기타'; +$labels['aclread'] = '읽음'; +$labels['aclwrite'] = '쓰기'; +$labels['acldelete'] = '삭제'; +$labels['shortacll'] = '조회'; +$labels['shortaclr'] = '읽음'; +$labels['shortacls'] = '보관'; +$labels['shortaclw'] = '쓰기'; +$labels['shortacli'] = '삽입'; +$labels['shortaclp'] = '게시'; +$labels['shortaclc'] = '생성'; +$labels['shortaclk'] = '생성'; +$labels['shortacld'] = '삭제'; +$labels['shortaclt'] = '삭제'; +$labels['shortacle'] = '지움'; +$labels['shortaclx'] = '폴더 삭제'; +$labels['shortacla'] = '관리'; +$labels['shortacln'] = '주석 추가'; +$labels['shortaclother'] = '기타'; +$labels['shortaclread'] = '읽기'; +$labels['shortaclwrite'] = '쓱'; +$labels['shortacldelete'] = '삭제'; +$labels['longacll'] = '폴더가 목록에 나타나고 다음 사용자가 구독할 수 있음:'; +$labels['longaclr'] = '읽기 위해 폴더를 열 수 있음'; +$labels['longacls'] = '읽은 메시지 깃발이 변경될 수 있음'; +$labels['longaclw'] = '메시지 깃발 및 키워드를 변경할 수 있음, 다만 읽음 및 삭제됨은 제외됨'; +$labels['longacli'] = '메시지를 폴더에 복사하거나 작성할 수 있음'; +$labels['longaclp'] = '메시지가 이 폴더에 게시될 수 있음'; +$labels['longaclc'] = '이 폴더의 바로 아래에 폴더를 생성(또는 이름 변경)할 수 있음'; +$labels['longaclk'] = '이 폴더의 바로 아래에 폴더를 생성(또는 이름 변경)할 수 있음'; +$labels['longacld'] = '메시지 삭제 깃발이 변경될 수 있음'; +$labels['longaclt'] = '메시지 삭제 깃발이 변경될 수 있음'; +$labels['longacle'] = '메시지가 영구 제거될 수 있음'; +$labels['longaclx'] = '폴더를 삭제하거나 이름을 변경 할 수 있음'; +$labels['longacla'] = '폴더의 접근 권한을 변경할 수 있음'; +$labels['longacln'] = '공유된 메타데이터(주석)은 변경될 수 있습니다'; +$labels['longaclfull'] = '폴더 관리를 포함한 전체 제어 권한'; +$labels['longaclread'] = '폴더를 열어 읽을 수 있음'; +$labels['longaclwrite'] = '메시지를 표시하거나, 폴더로 이동 또는 복사할 수 있음'; +$labels['longacldelete'] = '메시지를 삭제할 수 있음'; +$labels['longaclother'] = '기타 접근 권한'; +$labels['ariasummaryacltable'] = '접근 권한 목록'; +$labels['arialabelaclactions'] = '목록 동작'; +$labels['arialabelaclform'] = '접근 권한 양식'; +$messages['deleting'] = '접근 권한을 삭제하는 중...'; +$messages['saving'] = '접근 권한을 저장하는 중...'; +$messages['updatesuccess'] = '접근 권한을 성공적으로 변경함'; +$messages['deletesuccess'] = '접근 권한을 성공적으로 삭제함.'; +$messages['createsuccess'] = '접근 권한을 성공적으로 추가함.'; +$messages['updateerror'] = '접근 권한을 업데이트 할 수 없음'; +$messages['deleteerror'] = '접근 권한을 삭제할 수 없음'; +$messages['createerror'] = '접근 권한을 추가할 수 없음'; +$messages['deleteconfirm'] = '정말로 선택한 사용자의 접근 권한을 삭제하시겠습니까?'; +$messages['norights'] = '지정된 권한이 없음!'; +$messages['nouser'] = '지정된 사용자명이 없음!'; +?> diff --git a/plugins/acl/localization/ku.inc b/plugins/acl/localization/ku.inc new file mode 100644 index 000000000..ef95c1443 --- /dev/null +++ b/plugins/acl/localization/ku.inc @@ -0,0 +1,83 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Parvekirin'; +$labels['myrights'] = 'Mafên Têketinê'; +$labels['username'] = 'Bikarhêner:'; +$labels['advanced'] = 'Moda pêşketî'; +$labels['newuser'] = 'Têketinek zêde bike'; +$labels['editperms'] = 'Destûrdayînan Sererast Bike'; +$labels['actions'] = 'Digihîje tevgerên çê..'; +$labels['anyone'] = 'Hemû bikarhêner (her kes)'; +$labels['anonymous'] = 'Mêvan (gelêrî)'; +$labels['identifier'] = 'Danasîner'; +$labels['acll'] = 'Lê bigere'; +$labels['aclr'] = 'Peyaman bixwîne'; +$labels['aclw'] = 'Alayan binivîse'; +$labels['aclp'] = 'Şandî'; +$labels['aclc'] = 'Bindosyeyan çêke'; +$labels['aclk'] = 'Bindosyeyan çêke'; +$labels['acld'] = 'Peyaman binivîse'; +$labels['aclt'] = 'Peyaman jê bibe'; +$labels['acle'] = 'Jê derxîne'; +$labels['aclx'] = 'Dosyeyê jê bibe'; +$labels['acla'] = 'Birêvebir'; +$labels['acln'] = 'Bi nîşeyan peyaman rave bike'; +$labels['aclfull'] = 'Tam venêrîn'; +$labels['aclother'] = 'Ên din'; +$labels['aclread'] = 'Bixwîne'; +$labels['aclwrite'] = 'Binivîse'; +$labels['acldelete'] = 'Jê bibe'; +$labels['shortacll'] = 'Lê bigere'; +$labels['shortaclr'] = 'Bixwîne'; +$labels['shortacls'] = 'Bihêle'; +$labels['shortaclw'] = 'Binivîse'; +$labels['shortacli'] = 'Tev bike'; +$labels['shortaclp'] = 'Şandî'; +$labels['shortaclc'] = 'Çêke'; +$labels['shortaclk'] = 'Çêke'; +$labels['shortacld'] = 'Jê bibe'; +$labels['shortaclt'] = 'Jê bibe'; +$labels['shortacle'] = 'Jê derxîne'; +$labels['shortaclx'] = 'Dosye-jêbirin'; +$labels['shortacla'] = 'Bikarhêner'; +$labels['shortacln'] = 'Bi nîşeyan rave bike'; +$labels['shortaclother'] = 'Ên din'; +$labels['shortaclread'] = 'Bixwîne'; +$labels['shortaclwrite'] = 'Binivîse'; +$labels['shortacldelete'] = 'Jê bibe'; +$labels['longaclr'] = 'Dosye ji bo xwendinê dikare bê vekirin'; +$labels['longacls'] = 'Alaya peyamên Dîtî dikare bête guhartin'; +$labels['longaclread'] = 'Dosye ji bo xwendinê dikare bê vekirin'; +$labels['longaclwrite'] = 'Peyam dikarin kopiyî dosyeyê bên kirin, nîşankirin, nivîsandin.'; +$labels['longacldelete'] = 'Hêmî peyam dikarin werin jêbirin'; +$labels['longaclother'] = 'Mafên din ên têketinê'; +$labels['ariasummaryacltable'] = 'Lîsteya mafên têketinê'; +$labels['arialabelaclactions'] = 'Tevgeran liste bike'; +$labels['arialabelaclform'] = 'Forma mafên têketinê'; +$messages['deleting'] = 'Mafên têketinê tên jêbirin...'; +$messages['saving'] = 'Mafên têketinê tên tomarkirin...'; +$messages['updatesuccess'] = 'Mafên têketinê bi serkeftin hatin guhartin'; +$messages['deletesuccess'] = 'Mafên têketinê bi serkeftin hatin jêbirin'; +$messages['createsuccess'] = 'Mafên têketinê bi serkeftin hatin tevkirin'; +$messages['updateerror'] = 'Nûkirina mafên têketinê bigire'; +$messages['deleteerror'] = 'Jêbirina mafên têketinê bigire'; +$messages['createerror'] = 'Tevkirina mafên têketinê bigire'; +$messages['deleteconfirm'] = 'Tu ewle yî, dixwazî mafên têketinê yên bikarhênerê(n) bijartî rakî?'; +$messages['norights'] = 'Tu maf nehat diyarkirin!'; +$messages['nouser'] = 'Tu bikarhêner nehat diyarkirin!'; +?> diff --git a/plugins/acl/localization/ku_IQ.inc b/plugins/acl/localization/ku_IQ.inc new file mode 100644 index 000000000..bc80848b4 --- /dev/null +++ b/plugins/acl/localization/ku_IQ.inc @@ -0,0 +1,26 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'هاوبەشکردن'; +$labels['username'] = 'بەکارهێنەر:'; +$labels['advanced'] = 'شێوازی پێشکەوتوو'; +$labels['shortaclc'] = 'دروستکردن'; +$labels['shortaclk'] = 'دروستکردن'; +$labels['shortacld'] = 'سڕینەوە'; +$labels['shortaclt'] = 'سڕینەوە'; +$labels['shortaclx'] = 'سڕینەوەی بوخچە'; +?> diff --git a/plugins/acl/localization/lb_LU.inc b/plugins/acl/localization/lb_LU.inc new file mode 100644 index 000000000..ec48b1990 --- /dev/null +++ b/plugins/acl/localization/lb_LU.inc @@ -0,0 +1,69 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Sharing'; +$labels['myrights'] = 'Zougrëffsrechter'; +$labels['username'] = 'Benotzer:'; +$labels['advanced'] = 'Avancéierte Modus'; +$labels['newuser'] = 'Element dobäisetzen'; +$labels['actions'] = 'Optioune fir d\'Zougrëffsrechter'; +$labels['anyone'] = 'All d\'Benotzer (jiddwereen)'; +$labels['anonymous'] = 'Gaascht (anonym)'; +$labels['identifier'] = 'Identifiant'; +$labels['acll'] = 'Noschloen'; +$labels['aclr'] = 'Messagë liesen'; +$labels['acls'] = 'Lies-Status behalen'; +$labels['acld'] = 'Messagë läschen'; +$labels['aclt'] = 'Messagë läschen'; +$labels['acle'] = 'Ausläschen'; +$labels['aclx'] = 'Dossier läschen'; +$labels['acla'] = 'Administréieren'; +$labels['aclfull'] = 'Voll Kontroll'; +$labels['aclother'] = 'Aner'; +$labels['aclread'] = 'Liesen'; +$labels['aclwrite'] = 'Schreiwen'; +$labels['acldelete'] = 'Läschen'; +$labels['shortacll'] = 'Noschloen'; +$labels['shortaclr'] = 'Liesen'; +$labels['shortacls'] = 'Halen'; +$labels['shortaclw'] = 'Schreiwen'; +$labels['shortacli'] = 'Drasetze'; +$labels['shortaclp'] = 'Schécken'; +$labels['shortaclc'] = 'Erstellen'; +$labels['shortaclk'] = 'Erstellen'; +$labels['shortacld'] = 'Läschen'; +$labels['shortaclt'] = 'Läschen'; +$labels['shortacle'] = 'Ausläschen'; +$labels['shortaclx'] = 'Dossier läschen'; +$labels['shortacla'] = 'Administréieren'; +$labels['shortaclother'] = 'Aner'; +$labels['shortaclread'] = 'Liesen'; +$labels['shortaclwrite'] = 'Schreiwen'; +$labels['shortacldelete'] = 'Läschen'; +$labels['longacldelete'] = 'Messagë kënne geläscht ginn'; +$messages['deleting'] = 'Zougrëffsrechter gi geläscht...'; +$messages['saving'] = 'Zougrëffsrechter gi gespäichert...'; +$messages['updatesuccess'] = 'Rechter erfollegräich geännert'; +$messages['deletesuccess'] = 'Rechter erfollegräich geläscht'; +$messages['createsuccess'] = 'Rechter erfollegräich dobäigesat'; +$messages['updateerror'] = 'D\'Zougrëffsrechter kënnen net aktualiséiert ginn'; +$messages['deleteerror'] = 'Rechter kënnen net geläscht ginn'; +$messages['createerror'] = 'Zougrëffsrechter kënnen net dobäigesat ginn'; +$messages['deleteconfirm'] = 'Bass du dir sécher, dass du d\'Zougrëffsrechter fir déi ausgewielte Benotzer wëlls ewechhuelen?'; +$messages['norights'] = 'Et goufe keng Rechter uginn! '; +$messages['nouser'] = 'Et gouf kee Benotzernumm uginn!'; +?> diff --git a/plugins/acl/localization/lt_LT.inc b/plugins/acl/localization/lt_LT.inc new file mode 100644 index 000000000..cea41d6d9 --- /dev/null +++ b/plugins/acl/localization/lt_LT.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Dalinimasis'; +$labels['myrights'] = 'Prieigos teisės'; +$labels['username'] = 'Vartotojas:'; +$labels['advanced'] = 'Pažengusio vartotojo rėžimas'; +$labels['newuser'] = 'Pridėti įrašą'; +$labels['editperms'] = 'Tvarkyti leidimus'; +$labels['actions'] = 'Prieigos teisių veiksmai...'; +$labels['anyone'] = 'Visi vartotojai (bet kas)'; +$labels['anonymous'] = 'Svečias (anonimas)'; +$labels['identifier'] = 'Identifikatorius'; +$labels['acll'] = 'Paieška'; +$labels['aclr'] = 'Perskaityti pranešimus'; +$labels['acls'] = 'Palikti būseną "Žiūrėtas"'; +$labels['aclw'] = 'Įrašyti vėliavėles'; +$labels['acli'] = 'Įterpti (kopijuoti į)'; +$labels['aclp'] = 'Įrašas'; +$labels['aclc'] = 'Kurti poaplankius'; +$labels['aclk'] = 'Kurti poaplankius'; +$labels['acld'] = 'Ištrinti žinutes'; +$labels['aclt'] = 'Ištrinti žinutes'; +$labels['acle'] = 'Išbraukti'; +$labels['aclx'] = 'Ištrinti aplanką'; +$labels['acla'] = 'Valdyti'; +$labels['acln'] = 'Anotuoti laiškus'; +$labels['aclfull'] = 'Visiška kontrolė'; +$labels['aclother'] = 'Kita'; +$labels['aclread'] = 'Skaityti'; +$labels['aclwrite'] = 'Įrašyti'; +$labels['acldelete'] = 'Trinti'; +$labels['shortacll'] = 'Paieška'; +$labels['shortaclr'] = 'Skaityti'; +$labels['shortacls'] = 'Palikti'; +$labels['shortaclw'] = 'Įrašyti'; +$labels['shortacli'] = 'Įterpti'; +$labels['shortaclp'] = 'Įrašas'; +$labels['shortaclc'] = 'Sukurti'; +$labels['shortaclk'] = 'Sukurti'; +$labels['shortacld'] = 'Trinti'; +$labels['shortaclt'] = 'Trinti'; +$labels['shortacle'] = 'Išbraukti'; +$labels['shortaclx'] = 'Ištrinti aplanką'; +$labels['shortacla'] = 'Valdyti'; +$labels['shortacln'] = 'Anotuoti'; +$labels['shortaclother'] = 'Kita'; +$labels['shortaclread'] = 'Skaityti'; +$labels['shortaclwrite'] = 'Įrašyti'; +$labels['shortacldelete'] = 'Trinti'; +$labels['longacll'] = 'Aplankas yra matomas sąrašuose ir gali būti prenumeruojamas'; +$labels['longaclr'] = 'Aplanką galima peržiūrėti'; +$labels['longacls'] = 'Pranešimų vėliavėlė "Matyta" gali būti pakeista'; +$labels['longaclw'] = 'Pranešimų vėliavėlės ir raktažodžiai gali būti pakeisti, išskyrus "Matytas" ir "Ištrintas"'; +$labels['longacli'] = 'Pranešimai gali būti įrašyti arba nukopijuoti į aplanką'; +$labels['longaclp'] = 'Į šį aplanką galima dėti laiškus.'; +$labels['longaclc'] = 'Nauji aplankai gali būti kuriami (arba pervadinami) šioje direktorijoje'; +$labels['longaclk'] = 'Nauji aplankai gali būti kuriami (arba pervadinami) šioje direktorijoje'; +$labels['longacld'] = 'Pranešimų vėliavėlė "Ištrintas" gali būti pakeista'; +$labels['longaclt'] = 'Pranešimų vėliavėlė "Ištrintas" gali būti pakeista'; +$labels['longacle'] = 'Pranešimai gali būti išbraukti'; +$labels['longaclx'] = 'Aplankas gali būti pašalintas arba pervadintas'; +$labels['longacla'] = 'Aplanko prieigos teisės gali būti pakeistos'; +$labels['longacln'] = 'Bendrieji laiškų meta-duomenys (anotacijos) gali būti pakeisti'; +$labels['longaclfull'] = 'Visiška kontrolė įskaitant aplanko administravimą'; +$labels['longaclread'] = 'Aplanką galima peržiūrėti'; +$labels['longaclwrite'] = 'Pranešimai gali būti pažymėti, įrašyti arba nukopijuoti į aplanką'; +$labels['longacldelete'] = 'Pranešimai gali būti ištrinti'; +$labels['longaclother'] = 'Kitos prieigos teisės'; +$labels['ariasummaryacltable'] = 'Prieigos teisių sąrašas'; +$labels['arialabelaclactions'] = 'Rodyti veiksmus'; +$labels['arialabelaclform'] = 'Prieigos teisių forma'; +$messages['deleting'] = 'Panaikinamos prieigos teisės'; +$messages['saving'] = 'Išsaugomos prieigos teisės'; +$messages['updatesuccess'] = 'Prieigos teisės sėkmingai pakeistos'; +$messages['deletesuccess'] = 'Prieigos teisės sėkmingai panaikintos'; +$messages['createsuccess'] = 'Prieigos teisės sėkmingai pridėtos'; +$messages['updateerror'] = 'Nepavyko pakeisti prieigos teisių'; +$messages['deleteerror'] = 'Neįmanoma panaikinti prieigos teises'; +$messages['createerror'] = 'Neišeina pridėti prieigos teises'; +$messages['deleteconfirm'] = 'Ar jūs esate įsitikinę, jog norite panaikinti prieigos teises pažymėtiems vartotojams(-ui)?'; +$messages['norights'] = 'Nenurodytos jokios teisės!'; +$messages['nouser'] = 'Nenurodytas joks vartotojas!'; +?> diff --git a/plugins/acl/localization/lv_LV.inc b/plugins/acl/localization/lv_LV.inc new file mode 100644 index 000000000..f092e9451 --- /dev/null +++ b/plugins/acl/localization/lv_LV.inc @@ -0,0 +1,89 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Dalīšanās'; +$labels['myrights'] = 'Piekļuves tiesības'; +$labels['username'] = 'Lietotājs:'; +$labels['newuser'] = 'Pievienot ierakstu'; +$labels['actions'] = 'Darbības ar piekļuves tiesībām...'; +$labels['anyone'] = 'Visi lietotāji (ikviens)'; +$labels['anonymous'] = 'Viesi (anonīmie)'; +$labels['identifier'] = 'Identifikators'; +$labels['acll'] = 'Atrast'; +$labels['aclr'] = 'Lasīt ziņojumus'; +$labels['acls'] = 'Paturēt "Redzētā" statusu'; +$labels['aclw'] = 'Saglabāt atzīmes'; +$labels['acli'] = 'Ievietot (Iekopēt)'; +$labels['aclp'] = 'Nosūtīt'; +$labels['aclc'] = 'Izveidot apakšmapes'; +$labels['aclk'] = 'Izveidot apakšmapes'; +$labels['acld'] = 'Dzēst ziņojumus'; +$labels['aclt'] = 'Dzēst ziņojumus'; +$labels['acle'] = 'Izdzēst'; +$labels['aclx'] = 'Dzēst mapi'; +$labels['acla'] = 'Pārvaldīt'; +$labels['aclfull'] = 'Pilna kontrole'; +$labels['aclother'] = 'Cits'; +$labels['aclread'] = 'Lasīt'; +$labels['aclwrite'] = 'Rakstīt'; +$labels['acldelete'] = 'Dzēst'; +$labels['shortacll'] = 'Atrast'; +$labels['shortaclr'] = 'Lasīt'; +$labels['shortacls'] = 'Paturēt'; +$labels['shortaclw'] = 'Rakstīt'; +$labels['shortacli'] = 'Ievietot'; +$labels['shortaclp'] = 'Nosūtīt'; +$labels['shortaclc'] = 'Izveidot'; +$labels['shortaclk'] = 'Izveidot'; +$labels['shortacld'] = 'Dzēst'; +$labels['shortaclt'] = 'Dzēst'; +$labels['shortacle'] = 'Izdzēst'; +$labels['shortaclx'] = 'Mapju dzēšana'; +$labels['shortacla'] = 'Pārvaldīt'; +$labels['shortaclother'] = 'Cits'; +$labels['shortaclread'] = 'Lasīt'; +$labels['shortaclwrite'] = 'Rakstīt'; +$labels['shortacldelete'] = 'Dzēst'; +$labels['longacll'] = 'Mape ir redzama kopējā mapju sarakstā un var tikt abonēta'; +$labels['longaclr'] = 'Ši mape var tikt atvērta lasīšanai'; +$labels['longacls'] = 'Ziņojumu "Redzēts" atzīme var tik mainīta'; +$labels['longaclw'] = 'Ziņojumu atzīmes, izņemot "Redzēts" un "Dzēsts", un atslēgvārdi var tik mainīti'; +$labels['longacli'] = 'Ziņojumi var tikt ierakstīti vai pārkopēti uz šo mapi'; +$labels['longaclp'] = 'Vēstules var tikt ievietotas šajā mapē'; +$labels['longaclc'] = 'Zem šīs mapes pa tiešo var tikt izveidotas (vai pārsauktas) citas mapes'; +$labels['longaclk'] = 'Zem šīs mapes pa tiešo var tikt izveidotas (vai pārsauktas) citas mapes'; +$labels['longacld'] = 'Ziņojumu "Dzēst" atzīme var tikt mainīta'; +$labels['longaclt'] = 'Ziņojumu "Dzēst" atzīme var tikt mainīta'; +$labels['longacle'] = 'Vēstules var tikt izdzēstas'; +$labels['longaclx'] = 'Mape var tikt gan dzēsta, gan pārdēvēta'; +$labels['longacla'] = 'Mapes pieejas tiesības var tikt izmainītas'; +$labels['longaclfull'] = 'Pilna kontrole, iekļaujot arī mapju administrēšanu'; +$labels['longaclread'] = 'Mape var tikt atvērta lasīšanai'; +$labels['longaclwrite'] = 'Ziņojumi mapē var tikt gan atzīmēti, gan ierakstīti vai arī pārkopēti uz mapi'; +$labels['longacldelete'] = 'Vēstules var tikt izdzēstas'; +$messages['deleting'] = 'Dzēš piekļuves tiesības...'; +$messages['saving'] = 'Saglabā piekļuves tiesības...'; +$messages['updatesuccess'] = 'Piekļuves tiesības tika veiksmīgi samainītas'; +$messages['deletesuccess'] = 'Piekļuves tiesības tika veiksmīgi izdzēstas'; +$messages['createsuccess'] = 'Piekļuves tiesības tika veiksmīgi pievienotas'; +$messages['updateerror'] = 'Pieejas tiesības nomainīt neizdevās'; +$messages['deleteerror'] = 'Piekļuves tiesības izdzēst neizdevās'; +$messages['createerror'] = 'Piekļuves tiesības pievienot neizdevās'; +$messages['deleteconfirm'] = 'Vai tiešām atzīmētajiem lietotājiem noņemt piekļuves tiesības?'; +$messages['norights'] = 'Netika norādītas tiesības!'; +$messages['nouser'] = 'Netika norādīts lietotājvārds!'; +?> diff --git a/plugins/acl/localization/nb_NO.inc b/plugins/acl/localization/nb_NO.inc new file mode 100644 index 000000000..a1af91f67 --- /dev/null +++ b/plugins/acl/localization/nb_NO.inc @@ -0,0 +1,91 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Deling'; +$labels['myrights'] = 'Tilgangsrettigheter'; +$labels['username'] = 'Bruker:'; +$labels['advanced'] = 'Avansert modus'; +$labels['newuser'] = 'Legg til oppføring'; +$labels['editperms'] = 'Rediger tilgangsrettigheter'; +$labels['actions'] = 'Valg for tilgangsrettigheter.'; +$labels['anyone'] = 'Alle brukere (alle)'; +$labels['anonymous'] = 'Gjester (anonyme)'; +$labels['identifier'] = 'Identifikator'; +$labels['acll'] = 'Oppslag'; +$labels['aclr'] = 'Les meldinger'; +$labels['acls'] = 'Behold lesestatus'; +$labels['aclw'] = 'Lagre flagg'; +$labels['acli'] = 'Lim inn'; +$labels['aclp'] = 'Post'; +$labels['aclc'] = 'Opprett undermapper'; +$labels['aclk'] = 'Opprett undermapper'; +$labels['acld'] = 'Slett meldinger'; +$labels['aclt'] = 'Slett meldinger'; +$labels['acle'] = 'Slett fullstendig'; +$labels['aclx'] = 'Slett mappe'; +$labels['acla'] = 'Administrer'; +$labels['aclfull'] = 'Full kontroll'; +$labels['aclother'] = 'Annet'; +$labels['aclread'] = 'Les'; +$labels['aclwrite'] = 'Skriv'; +$labels['acldelete'] = 'Slett'; +$labels['shortacll'] = 'Oppslag'; +$labels['shortaclr'] = 'Les'; +$labels['shortacls'] = 'Behold'; +$labels['shortaclw'] = 'Skriv'; +$labels['shortacli'] = 'Sett inn'; +$labels['shortaclp'] = 'Post'; +$labels['shortaclc'] = 'Opprett'; +$labels['shortaclk'] = 'Opprett'; +$labels['shortacld'] = 'Slett'; +$labels['shortaclt'] = 'Slett'; +$labels['shortacle'] = 'Slett fullstendig'; +$labels['shortaclx'] = 'Slett mappe'; +$labels['shortacla'] = 'Administrer'; +$labels['shortaclother'] = 'Annet'; +$labels['shortaclread'] = 'Les'; +$labels['shortaclwrite'] = 'Skriv'; +$labels['shortacldelete'] = 'Slett'; +$labels['longacll'] = 'Mappen er synlig og kan abonneres på'; +$labels['longaclr'] = 'Mappen kan åpnes for lesing'; +$labels['longacls'] = 'Meldingenes lesestatusflagg kan endres'; +$labels['longaclw'] = 'Meldingsflagg og -nøkkelord kan endres, bortsett fra status for lesing og sletting'; +$labels['longacli'] = 'Meldinger kan lagres eller kopieres til mappen'; +$labels['longaclp'] = 'Meldinger kan postes til denne mappen'; +$labels['longaclc'] = 'Mapper kan opprettes (eller navnes om) direkte under denne mappen'; +$labels['longaclk'] = 'Mapper kan opprettes (eller navnes om) direkte under denne mappen'; +$labels['longacld'] = 'Meldingenes flagg for sletting kan endres'; +$labels['longaclt'] = 'Meldingenes flagg for sletting kan endres'; +$labels['longacle'] = 'Meldingen kan slettes for godt'; +$labels['longaclx'] = 'Mappen kan slettes eller gis nytt navn'; +$labels['longacla'] = 'Mappens tilgangsrettigheter kan endres'; +$labels['longaclfull'] = 'Full kontroll, inkludert mappeadministrasjon'; +$labels['longaclread'] = 'Mappen kan åpnes for lesing'; +$labels['longaclwrite'] = 'Meldinger kan merkes, lagres i eller flyttes til mappen'; +$labels['longacldelete'] = 'Meldingen kan slettes'; +$messages['deleting'] = 'Sletter tilgangsrettigheter'; +$messages['saving'] = 'Lagrer tilgangsrettigheter'; +$messages['updatesuccess'] = 'Tilgangsrettigheter ble endret'; +$messages['deletesuccess'] = 'Tilgangsrettigheter ble slettet'; +$messages['createsuccess'] = 'Tilgangsrettigheter ble lagt til'; +$messages['updateerror'] = 'Kunne ikke oppdatere tilgangsrettigheter'; +$messages['deleteerror'] = 'Kunne ikke fjerne tilgangsrettigheter'; +$messages['createerror'] = 'Kunne ikke legge til tilgangsrettigheter'; +$messages['deleteconfirm'] = 'Er du sikker på at du vil fjerne tilgangen til valgte brukere'; +$messages['norights'] = 'Ingen rettigheter er spesifisert!'; +$messages['nouser'] = 'Brukernavn er ikke spesifisert!'; +?> diff --git a/plugins/acl/localization/nl_NL.inc b/plugins/acl/localization/nl_NL.inc new file mode 100644 index 000000000..f820846bb --- /dev/null +++ b/plugins/acl/localization/nl_NL.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Delen'; +$labels['myrights'] = 'Toegangsrechten'; +$labels['username'] = 'Gebruiker:'; +$labels['advanced'] = 'Geavanceerde modus'; +$labels['newuser'] = 'Item toevoegen'; +$labels['editperms'] = 'Rechten bewerken'; +$labels['actions'] = 'Toegangsrechtenopties...'; +$labels['anyone'] = 'Alle gebruikers (iedereen)'; +$labels['anonymous'] = 'Gasten (anoniem)'; +$labels['identifier'] = 'Identificatie'; +$labels['acll'] = 'Opzoeken'; +$labels['aclr'] = 'Berichten lezen'; +$labels['acls'] = 'Onthoud gelezen-status'; +$labels['aclw'] = 'Markeringen instellen'; +$labels['acli'] = 'Invoegen (kopiëren naar)'; +$labels['aclp'] = 'Plaatsen'; +$labels['aclc'] = 'Submappen aanmaken'; +$labels['aclk'] = 'Submappen aanmaken'; +$labels['acld'] = 'Berichten verwijderen'; +$labels['aclt'] = 'Berichten verwijderen'; +$labels['acle'] = 'Vernietigen'; +$labels['aclx'] = 'Map verwijderen'; +$labels['acla'] = 'Beheren'; +$labels['acln'] = 'Annoteer berichten'; +$labels['aclfull'] = 'Volledige toegang'; +$labels['aclother'] = 'Overig'; +$labels['aclread'] = 'Lezen'; +$labels['aclwrite'] = 'Schrijven'; +$labels['acldelete'] = 'Verwijderen'; +$labels['shortacll'] = 'Opzoeken'; +$labels['shortaclr'] = 'Lezen'; +$labels['shortacls'] = 'Behouden'; +$labels['shortaclw'] = 'Schrijven'; +$labels['shortacli'] = 'Invoegen'; +$labels['shortaclp'] = 'Plaatsen'; +$labels['shortaclc'] = 'Aanmaken'; +$labels['shortaclk'] = 'Aanmaken'; +$labels['shortacld'] = 'Verwijderen'; +$labels['shortaclt'] = 'Verwijderen'; +$labels['shortacle'] = 'Vernietigen'; +$labels['shortaclx'] = 'Map verwijderen'; +$labels['shortacla'] = 'Beheren'; +$labels['shortacln'] = 'Annoteren'; +$labels['shortaclother'] = 'Overig'; +$labels['shortaclread'] = 'Lezen'; +$labels['shortaclwrite'] = 'Schrijven'; +$labels['shortacldelete'] = 'Verwijderen'; +$labels['longacll'] = 'De map is zichtbaar in lijsten en het is mogelijk om te abonneren op deze map'; +$labels['longaclr'] = 'De map kan geopend worden om te lezen'; +$labels['longacls'] = 'De berichtmarkering \'Gelezen\' kan aangepast worden'; +$labels['longaclw'] = 'Berichtmarkeringen en labels kunnen aangepast worden, behalve \'Gelezen\' en \'Verwijderd\''; +$labels['longacli'] = 'Berichten kunnen opgesteld worden of gekopieerd worden naar deze map'; +$labels['longaclp'] = 'Berichten kunnen geplaatst worden in deze map'; +$labels['longaclc'] = 'Mappen kunnen aangemaakt of hernoemd worden rechtstreeks onder deze map'; +$labels['longaclk'] = 'Mappen kunnen aangemaakt of hernoemd worden rechtstreeks onder deze map'; +$labels['longacld'] = 'De berichtmarkering \'Verwijderd\' kan aangepast worden'; +$labels['longaclt'] = 'De berichtmarkering \'Verwijderd\' kan aangepast worden'; +$labels['longacle'] = 'Berichten kunnen vernietigd worden'; +$labels['longaclx'] = 'De map kan verwijderd of hernoemd worden'; +$labels['longacla'] = 'De toegangsrechten voor deze map kunnen veranderd worden'; +$labels['longacln'] = 'Gedeelde metadata (annotaties) van berichten kan aangepast worden'; +$labels['longaclfull'] = 'Volledige controle inclusief mappenbeheer'; +$labels['longaclread'] = 'De map kan geopend worden om te lezen'; +$labels['longaclwrite'] = 'Berichten kunnen gemarkeerd worden, opgesteld worden of gekopieerd worden naar deze map'; +$labels['longacldelete'] = 'Berichten kunnen verwijderd worden'; +$labels['longaclother'] = 'Overige toegangsrechten'; +$labels['ariasummaryacltable'] = 'Lijst van toegangsrechten'; +$labels['arialabelaclactions'] = 'Lijstacties'; +$labels['arialabelaclform'] = 'Formulier voor toegangsrechten'; +$messages['deleting'] = 'Toegangsrechten worden verwijderd...'; +$messages['saving'] = 'Toegangsrechten worden opgeslagen...'; +$messages['updatesuccess'] = 'Toegangsrechten succesvol veranderd'; +$messages['deletesuccess'] = 'Toegangsrechten succesvol verwijderd'; +$messages['createsuccess'] = 'Toegangsrechten succesvol toegevoegd'; +$messages['updateerror'] = 'Toegangsrechten kunnen niet bijgewerkt worden'; +$messages['deleteerror'] = 'Toegangsrechten kunnen niet verwijderd worden'; +$messages['createerror'] = 'Toegangsrechten kunnen niet toegevoegd worden'; +$messages['deleteconfirm'] = 'Weet u zeker dat u de toegangsrechten van de geselecteerde gebruiker(s) wilt verwijderen?'; +$messages['norights'] = 'Er zijn geen toegangsrechten opgegeven!'; +$messages['nouser'] = 'Er is geen gebruikersnaam opgegeven!'; +?> diff --git a/plugins/acl/localization/nn_NO.inc b/plugins/acl/localization/nn_NO.inc new file mode 100644 index 000000000..e5af45b6d --- /dev/null +++ b/plugins/acl/localization/nn_NO.inc @@ -0,0 +1,88 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Deling'; +$labels['myrights'] = 'Tilgangsrettar'; +$labels['username'] = 'Brukar:'; +$labels['newuser'] = 'Legg til oppføring'; +$labels['actions'] = 'Val for tilgangsrettar...'; +$labels['anyone'] = 'Alle brukarar (alle)'; +$labels['anonymous'] = 'Gjester (anonyme)'; +$labels['identifier'] = 'Identifikator'; +$labels['acll'] = 'Oppslag'; +$labels['aclr'] = 'Les meldingar'; +$labels['acls'] = 'Behald lesestatus'; +$labels['aclw'] = 'Skriveflagg'; +$labels['acli'] = 'Lim inn'; +$labels['aclp'] = 'Post'; +$labels['aclc'] = 'Opprett undermapper'; +$labels['aclk'] = 'Opprett undermapper'; +$labels['acld'] = 'Slett meldingar'; +$labels['aclt'] = 'Slett meldingar'; +$labels['acle'] = 'Slett fullstendig'; +$labels['aclx'] = 'Slett mappe'; +$labels['acla'] = 'Administrér'; +$labels['aclfull'] = 'Full kontroll'; +$labels['aclother'] = 'Anna'; +$labels['aclread'] = 'Les'; +$labels['aclwrite'] = 'Skriv'; +$labels['acldelete'] = 'Slett'; +$labels['shortacll'] = 'Oppslag'; +$labels['shortaclr'] = 'Les'; +$labels['shortacls'] = 'Behald'; +$labels['shortaclw'] = 'Skriv'; +$labels['shortacli'] = 'Sett inn'; +$labels['shortaclp'] = 'Post'; +$labels['shortaclc'] = 'Opprett'; +$labels['shortaclk'] = 'Opprett'; +$labels['shortacld'] = 'Slett'; +$labels['shortaclt'] = 'Slett'; +$labels['shortacle'] = 'Slett fullstendig'; +$labels['shortaclx'] = 'Slett mappe'; +$labels['shortacla'] = 'Administrér'; +$labels['shortaclother'] = 'Anna'; +$labels['shortaclread'] = 'Les'; +$labels['shortaclwrite'] = 'Skriv'; +$labels['shortacldelete'] = 'Slett'; +$labels['longacll'] = 'Mappa er synleg og kan abonnerast på'; +$labels['longaclr'] = 'Mappa kan opnast for lesing'; +$labels['longacls'] = 'Meldingane sine lesestatusflagg kan endrast'; +$labels['longaclw'] = 'Meldingsflagg og -nøkkelord kan endrast, bortsett frå status for lesing og sletting'; +$labels['longacli'] = 'Meldingar kan lagrast eller kopierast til mappa'; +$labels['longaclp'] = 'Meldingar kan postast til denne mappa'; +$labels['longaclc'] = 'Mapper kan opprettast (eller namnast om) direkte under denne mappa'; +$labels['longaclk'] = 'Mapper kan opprettast (eller namnast om) direkte under denne mappa'; +$labels['longacld'] = 'Meldingane sine flagg for sletting kan endrast'; +$labels['longaclt'] = 'Meldingane sine flagg for sletting kan endrast'; +$labels['longacle'] = 'Meldinga kan slettast for godt'; +$labels['longaclx'] = 'Mappa kan slettast eller få nytt namn'; +$labels['longacla'] = 'Mappa sine tilgangsrettar kan endrast'; +$labels['longaclfull'] = 'Full kontroll, inkludert mappeadministrasjon'; +$labels['longaclread'] = 'Mappa kan opnast for lesing'; +$labels['longaclwrite'] = 'Meldingar kan merkast, lagrast i eller flyttast til mappa'; +$labels['longacldelete'] = 'Meldinga kan slettast'; +$messages['deleting'] = 'Slettar tilgangsrettar…'; +$messages['saving'] = 'Lagrar tilgangsrettar…'; +$messages['updatesuccess'] = 'Tilgangsrettiar vart endra'; +$messages['deletesuccess'] = 'Tilgangsretter vart sletta'; +$messages['createsuccess'] = 'Tilgangsrettar vart legne til'; +$messages['deleteerror'] = 'Kunne ikkje fjerne tilgangsrettar'; +$messages['createerror'] = 'Kunne ikkje leggje til tilgangsrettar'; +$messages['deleteconfirm'] = 'Er du sikker på at du vil fjerne tilgangen til valde brukarar?'; +$messages['norights'] = 'Ingen rettar er spesifisert!'; +$messages['nouser'] = 'Brukarnamn er ikkje spesifisert!'; +?> diff --git a/plugins/acl/localization/pl_PL.inc b/plugins/acl/localization/pl_PL.inc new file mode 100644 index 000000000..053873068 --- /dev/null +++ b/plugins/acl/localization/pl_PL.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Udostępnianie'; +$labels['myrights'] = 'Prawa dostępu'; +$labels['username'] = 'Użytkownik:'; +$labels['advanced'] = 'Tryb zaawansowany'; +$labels['newuser'] = 'Dodaj rekord'; +$labels['editperms'] = 'Edytuj zezwolenia'; +$labels['actions'] = 'Akcje na prawach...'; +$labels['anyone'] = 'Wszyscy (anyone)'; +$labels['anonymous'] = 'Goście (anonymous)'; +$labels['identifier'] = 'Identyfikator'; +$labels['acll'] = 'Podgląd'; +$labels['aclr'] = 'Odczyt (Read)'; +$labels['acls'] = 'Zmiana stanu wiadomości (Keep)'; +$labels['aclw'] = 'Zmiana flag wiadomości (Write)'; +$labels['acli'] = 'Dodawanie/Kopiowanie do (Insert)'; +$labels['aclp'] = 'Wysyłanie'; +$labels['aclc'] = 'Tworzenie podfolderów (Create)'; +$labels['aclk'] = 'Tworzenie podfolderów (Create)'; +$labels['acld'] = 'Usuwanie wiadomości (Delete)'; +$labels['aclt'] = 'Usuwanie wiadomości (Delete)'; +$labels['acle'] = 'Porządkowanie'; +$labels['aclx'] = 'Usuwanie folderu (Delete)'; +$labels['acla'] = 'Administracja'; +$labels['acln'] = 'Adnotacje wiadomości'; +$labels['aclfull'] = 'Wszystkie'; +$labels['aclother'] = 'Pozostałe'; +$labels['aclread'] = 'Odczyt'; +$labels['aclwrite'] = 'Zapis'; +$labels['acldelete'] = 'Usuwanie'; +$labels['shortacll'] = 'Podgląd'; +$labels['shortaclr'] = 'Odczyt'; +$labels['shortacls'] = 'Zmiana'; +$labels['shortaclw'] = 'Zapis'; +$labels['shortacli'] = 'Dodawanie'; +$labels['shortaclp'] = 'Wysyłanie'; +$labels['shortaclc'] = 'Tworzenie'; +$labels['shortaclk'] = 'Tworzenie'; +$labels['shortacld'] = 'Usuwanie'; +$labels['shortaclt'] = 'Usuwanie'; +$labels['shortacle'] = 'Porządkowanie'; +$labels['shortaclx'] = 'Usuwanie folderu'; +$labels['shortacla'] = 'Administracja'; +$labels['shortacln'] = 'Adnotacje'; +$labels['shortaclother'] = 'Pozostałe'; +$labels['shortaclread'] = 'Odczyt'; +$labels['shortaclwrite'] = 'Zapis'; +$labels['shortacldelete'] = 'Usuwanie'; +$labels['longacll'] = 'Pozwala na subskrybowanie folderu i powoduje, że jest on widoczny na liście'; +$labels['longaclr'] = 'Folder może być otwarty w trybie do odczytu'; +$labels['longacls'] = 'Pozwala na zmienę stanu wiadomości'; +$labels['longaclw'] = 'Pozwala zmieniać wszystkie flagi wiadomości, oprócz "Przeczytano" i "Usunięto'; +$labels['longacli'] = 'Pozwala zapisywać wiadomości i kopiować do folderu'; +$labels['longaclp'] = 'Pozwala wysyłać wiadomości do folderu'; +$labels['longaclc'] = 'Pozwala tworzyć (lub zmieniać nazwę) podfoldery'; +$labels['longaclk'] = 'Pozwala tworzyć (lub zmieniać nazwę) podfoldery'; +$labels['longacld'] = 'Pozwala zmianiać flagę "Usunięto" wiadomości'; +$labels['longaclt'] = 'Pozwala zmianiać flagę "Usunięto" wiadomości'; +$labels['longacle'] = 'Pozwala na usuwanie wiadomości oznaczonych do usunięcia'; +$labels['longaclx'] = 'Pozwala na zmianę nazwy lub usunięcie folderu'; +$labels['longacla'] = 'Pozwala na zmiane praw dostępu do folderu'; +$labels['longacln'] = 'Pozwala na zmianę współdzielonych meta-danych wiadomości (adnotacji)'; +$labels['longaclfull'] = 'Pełna kontrola włącznie z administrowaniem folderem'; +$labels['longaclread'] = 'Folder może być otwarty w trybie do odczytu'; +$labels['longaclwrite'] = 'Wiadomości mogą być oznaczane, zapisywane i kopiowane do folderu'; +$labels['longacldelete'] = 'Wiadomości mogą być usuwane'; +$labels['longaclother'] = 'Inne prawa dostępu'; +$labels['ariasummaryacltable'] = 'Spis praw dostępu'; +$labels['arialabelaclactions'] = 'Lista działań'; +$labels['arialabelaclform'] = 'Formularz praw dostępu'; +$messages['deleting'] = 'Usuwanie praw dostępu...'; +$messages['saving'] = 'Zapisywanie praw dostępu...'; +$messages['updatesuccess'] = 'Pomyślnie zmieniono prawa dostępu'; +$messages['deletesuccess'] = 'Pomyślnie usunięto prawa dostępu'; +$messages['createsuccess'] = 'Pomyślnie dodano prawa dostępu'; +$messages['updateerror'] = 'Nie udało się zaktualizować praw dostępu'; +$messages['deleteerror'] = 'Nie udało się usunąć praw dostępu'; +$messages['createerror'] = 'Nie udało się dodać praw dostępu'; +$messages['deleteconfirm'] = 'Czy na pewno chcesz usunąć prawa wybranym użytkownikom?'; +$messages['norights'] = 'Nie wybrano praw dostępu!'; +$messages['nouser'] = 'Nie podano nazwy użytkownika!'; +?> diff --git a/plugins/acl/localization/pt_BR.inc b/plugins/acl/localization/pt_BR.inc new file mode 100644 index 000000000..badb91f50 --- /dev/null +++ b/plugins/acl/localization/pt_BR.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Compartilhamento'; +$labels['myrights'] = 'Permissões de Acesso'; +$labels['username'] = 'Usuário:'; +$labels['advanced'] = 'Modo avançado'; +$labels['newuser'] = 'Adicionar entrada'; +$labels['editperms'] = 'Editar permissões'; +$labels['actions'] = 'Ações de direito de acesso...'; +$labels['anyone'] = 'Todos os usuários (qualquer um)'; +$labels['anonymous'] = 'Convidados (anônimos)'; +$labels['identifier'] = 'Identificador'; +$labels['acll'] = 'Pesquisar'; +$labels['aclr'] = 'Ler mensagens'; +$labels['acls'] = 'Manter estado de enviado'; +$labels['aclw'] = 'Salvar marcadores'; +$labels['acli'] = 'Inserir (Cópia em)'; +$labels['aclp'] = 'Enviar'; +$labels['aclc'] = 'Criar subpastas'; +$labels['aclk'] = 'Criar subpastas'; +$labels['acld'] = 'Apagar mensagens'; +$labels['aclt'] = 'Apagar mensagens'; +$labels['acle'] = 'Expurgar'; +$labels['aclx'] = 'Excluir pasta'; +$labels['acla'] = 'Administrar'; +$labels['acln'] = 'Inserir anotações nas mensagens'; +$labels['aclfull'] = 'Controle total'; +$labels['aclother'] = 'Outro'; +$labels['aclread'] = 'Ler'; +$labels['aclwrite'] = 'Salvar'; +$labels['acldelete'] = 'Excluir'; +$labels['shortacll'] = 'Pesquisar'; +$labels['shortaclr'] = 'Ler'; +$labels['shortacls'] = 'Manter'; +$labels['shortaclw'] = 'Salvar'; +$labels['shortacli'] = 'Inserir'; +$labels['shortaclp'] = 'Enviar'; +$labels['shortaclc'] = 'Criar'; +$labels['shortaclk'] = 'Criar'; +$labels['shortacld'] = 'Excluir'; +$labels['shortaclt'] = 'Excluir'; +$labels['shortacle'] = 'Expurgar'; +$labels['shortaclx'] = 'Excluir pasta'; +$labels['shortacla'] = 'Administrar'; +$labels['shortacln'] = 'Anotar'; +$labels['shortaclother'] = 'Outro'; +$labels['shortaclread'] = 'Ler'; +$labels['shortaclwrite'] = 'Salvar'; +$labels['shortacldelete'] = 'Excluir'; +$labels['longacll'] = 'A pasta está visível nas listas e pode ser inscrita para'; +$labels['longaclr'] = 'A pasta pode ser aberta para leitura'; +$labels['longacls'] = 'Marcador de Mensagem Enviada pode ser modificadas'; +$labels['longaclw'] = 'Marcadores de mensagens e palavras-chave podem ser modificadas, exceto de Enviadas e Excluídas'; +$labels['longacli'] = 'As mensagens podem ser escritas ou copiadas para a pasta'; +$labels['longaclp'] = 'As mensagens podem ser enviadas para esta pasta'; +$labels['longaclc'] = 'As pastas podem ser criadas (ou renomeadas) diretamente sob esta pasta'; +$labels['longaclk'] = 'As pastas podem ser criadas (ou renomeadas) diretamente sob esta pasta'; +$labels['longacld'] = 'O marcador de Mensagens Excluídas podem ser modificadas'; +$labels['longaclt'] = 'O marcador de Mensagens Excluídas podem ser modificadas'; +$labels['longacle'] = 'As mensagens podem ser expurgadas'; +$labels['longaclx'] = 'A pasta pode ser apagada ou renomeada'; +$labels['longacla'] = 'As permissões de acesso da pasta podem ser alteradas'; +$labels['longacln'] = 'Metadados compartilhados das mensagens (anotações) podem ser alterados'; +$labels['longaclfull'] = 'Controle total incluindo a pasta de administração'; +$labels['longaclread'] = 'A pasta pode ser aberta para leitura'; +$labels['longaclwrite'] = 'As mensagens podem ser marcadas, salvas ou copiadas para a pasta'; +$labels['longacldelete'] = 'Mensagens podem ser apagadas'; +$labels['longaclother'] = 'Outras permissões de acesso'; +$labels['ariasummaryacltable'] = 'Lista de permissões de acesso'; +$labels['arialabelaclactions'] = 'Lista de ações'; +$labels['arialabelaclform'] = 'Formulário de permissões de acesso'; +$messages['deleting'] = 'Apagando permissões de acesso...'; +$messages['saving'] = 'Salvando permissões de acesso...'; +$messages['updatesuccess'] = 'Permissões de acesso alteradas com sucesso'; +$messages['deletesuccess'] = 'Permissões de acesso apagadas com sucesso'; +$messages['createsuccess'] = 'Permissões de acesso adicionadas com sucesso'; +$messages['updateerror'] = 'Não foi possível atualizar as permissões de acesso'; +$messages['deleteerror'] = 'Não foi possível apagar as permissões de acesso'; +$messages['createerror'] = 'Não foi possível adicionar as permissões de acesso'; +$messages['deleteconfirm'] = 'Tem certeza que deseja remover as permissões de acesso do(s) usuário(s) delecionado(s)?'; +$messages['norights'] = 'Não foram definidas permissões!'; +$messages['nouser'] = 'Nome de usuário não especificado!'; +?> diff --git a/plugins/acl/localization/pt_PT.inc b/plugins/acl/localization/pt_PT.inc new file mode 100644 index 000000000..745f36bef --- /dev/null +++ b/plugins/acl/localization/pt_PT.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Partilhar'; +$labels['myrights'] = 'Permissões de acesso'; +$labels['username'] = 'Utilizador:'; +$labels['advanced'] = 'Modo avançado'; +$labels['newuser'] = 'Adicionar entrada'; +$labels['editperms'] = 'Editar permissões'; +$labels['actions'] = 'Acções de permissão de acesso...'; +$labels['anyone'] = 'Todos os utilizadores (todos)'; +$labels['anonymous'] = 'Convidados (anónimo)'; +$labels['identifier'] = 'Identificador'; +$labels['acll'] = 'Pesquisar'; +$labels['aclr'] = 'Ler mensagens'; +$labels['acls'] = 'Manter estado Visto'; +$labels['aclw'] = 'Guardar marcadores'; +$labels['acli'] = 'Inserir (Copiar para)'; +$labels['aclp'] = 'Publicar'; +$labels['aclc'] = 'Criar subpastas'; +$labels['aclk'] = 'Criar subpastas'; +$labels['acld'] = 'Eliminar mensagens'; +$labels['aclt'] = 'Eliminar mensagens'; +$labels['acle'] = 'Purgar'; +$labels['aclx'] = 'Eliminar pasta'; +$labels['acla'] = 'Administrar'; +$labels['acln'] = 'Anotar mensagens'; +$labels['aclfull'] = 'Controlo total'; +$labels['aclother'] = 'Outro'; +$labels['aclread'] = 'Ler'; +$labels['aclwrite'] = 'Escrever'; +$labels['acldelete'] = 'Eliminar'; +$labels['shortacll'] = 'Pesquisar'; +$labels['shortaclr'] = 'Ler'; +$labels['shortacls'] = 'Manter'; +$labels['shortaclw'] = 'Escrever'; +$labels['shortacli'] = 'Inserir'; +$labels['shortaclp'] = 'Publicar'; +$labels['shortaclc'] = 'Criar'; +$labels['shortaclk'] = 'Criar'; +$labels['shortacld'] = 'Eliminar'; +$labels['shortaclt'] = 'Eliminar'; +$labels['shortacle'] = 'Purgar'; +$labels['shortaclx'] = 'Eliminar pasta'; +$labels['shortacla'] = 'Administrar'; +$labels['shortacln'] = 'Anotar'; +$labels['shortaclother'] = 'Outro'; +$labels['shortaclread'] = 'Ler'; +$labels['shortaclwrite'] = 'Escrever'; +$labels['shortacldelete'] = 'Eliminar'; +$labels['longacll'] = 'A pasta está visível em listas e pode subscrita'; +$labels['longaclr'] = 'A pasta pode ser aberta para leitura'; +$labels['longacls'] = 'O marcador Mensagens Vistas pode ser alterado'; +$labels['longaclw'] = 'Marcadores de mensagens e palavras-chave podem ser alterados, excepto Vistas e Eliminadas'; +$labels['longacli'] = 'As mensagens podem ser escritas ou copiadas para a pasta'; +$labels['longaclp'] = 'As mensagens podem ser publicadas para esta pasta'; +$labels['longaclc'] = 'As pastas podem ser criadas (ou renomeadas) directamente debaixo desta pasta'; +$labels['longaclk'] = 'As pastas podem ser criadas (ou renomeadas) directamente debaixo desta pasta'; +$labels['longacld'] = 'O marcador Apagar Mensagens pode ser alterado'; +$labels['longaclt'] = 'O marcador Apagar Mensagens pode ser alterado'; +$labels['longacle'] = 'As mensagens podem ser purgadas'; +$labels['longaclx'] = 'A pasta pode ser eliminada ou renomeada'; +$labels['longacla'] = 'As permissões de acesso da pasta podem ser alteradas'; +$labels['longacln'] = 'Mensagens de metadados (anotações) partilhadas podem ser alteradas'; +$labels['longaclfull'] = 'Controlo total incluindo administração de pastas'; +$labels['longaclread'] = 'A pasta pode ser aberta para leitura'; +$labels['longaclwrite'] = 'As mensagens podem ser marcadas, guardadas ou copiadas para a pasta'; +$labels['longacldelete'] = 'As mensagens podem ser eliminadas'; +$labels['longaclother'] = 'Outros direitos de acesso'; +$labels['ariasummaryacltable'] = 'Lista de direitos de acesso'; +$labels['arialabelaclactions'] = 'Lista de acções'; +$labels['arialabelaclform'] = 'Formulário de direitos de acesso'; +$messages['deleting'] = 'A eliminar permissões de acesso...'; +$messages['saving'] = 'A guardar permissões de acesso...'; +$messages['updatesuccess'] = 'Permissões de acesso alteradas com sucesso'; +$messages['deletesuccess'] = 'Permissões de acesso eliminadas com sucesso'; +$messages['createsuccess'] = 'Permissões de acesso adicionadas com sucesso'; +$messages['updateerror'] = 'Não foi possível actualizar os direitos de acesso'; +$messages['deleteerror'] = 'Não foi possível eliminar permissões de acesso'; +$messages['createerror'] = 'Não foi possível adicionar permissões de acesso'; +$messages['deleteconfirm'] = 'Tem a certeza que pretende remover as permissões de acesso do(s) utilizador(es) seleccionado(s)?'; +$messages['norights'] = 'Não foram especificadas quaisquer permissões!'; +$messages['nouser'] = 'Não foi especificado nenhum nome de utilizador!'; +?> diff --git a/plugins/acl/localization/ro_RO.inc b/plugins/acl/localization/ro_RO.inc new file mode 100644 index 000000000..7db891aaf --- /dev/null +++ b/plugins/acl/localization/ro_RO.inc @@ -0,0 +1,94 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Partajare'; +$labels['myrights'] = 'Drepturi de acces'; +$labels['username'] = 'Utilizator:'; +$labels['advanced'] = 'Modul avansat'; +$labels['newuser'] = 'Adăugare intrare'; +$labels['editperms'] = 'Editare permisiuni'; +$labels['actions'] = 'Acțiunea drepturilor de acces...'; +$labels['anyone'] = 'Toți utilizatori (oricare)'; +$labels['anonymous'] = 'Vizitator'; +$labels['identifier'] = 'Identificator'; +$labels['acll'] = 'Caută'; +$labels['aclr'] = 'Citire mesaje'; +$labels['acls'] = 'Menține starea citirii'; +$labels['aclw'] = 'Indicator scriere'; +$labels['acli'] = 'Inserare (copiere în)'; +$labels['aclp'] = 'Postează'; +$labels['aclc'] = 'Creează subdirectoare'; +$labels['aclk'] = 'Creează subdirectoare'; +$labels['acld'] = 'Ștergere mesaje'; +$labels['aclt'] = 'Ștergere mesaje'; +$labels['acle'] = 'Elimină'; +$labels['aclx'] = 'Ștergere dosar'; +$labels['acla'] = 'Administrează'; +$labels['acln'] = 'Adnoteaza mesajele'; +$labels['aclfull'] = 'Control complet'; +$labels['aclother'] = 'Altul'; +$labels['aclread'] = 'Citeşte'; +$labels['aclwrite'] = 'Scrie'; +$labels['acldelete'] = 'Șterge'; +$labels['shortacll'] = 'Caută'; +$labels['shortaclr'] = 'Citeşte'; +$labels['shortacls'] = 'Păstrează'; +$labels['shortaclw'] = 'Scrie'; +$labels['shortacli'] = 'Inserează'; +$labels['shortaclp'] = 'Postează'; +$labels['shortaclc'] = 'Creează'; +$labels['shortaclk'] = 'Creează'; +$labels['shortacld'] = 'Șterge'; +$labels['shortaclt'] = 'Șterge'; +$labels['shortacle'] = 'Elimină'; +$labels['shortaclx'] = 'Ștergere dosar'; +$labels['shortacla'] = 'Administrează'; +$labels['shortacln'] = 'Adnotă'; +$labels['shortaclother'] = 'Altul'; +$labels['shortaclread'] = 'Citeşte'; +$labels['shortaclwrite'] = 'Scrie'; +$labels['shortacldelete'] = 'Șterge'; +$labels['longacll'] = 'Dosarul este vizibil pe liste și se poate subscrie la acesta'; +$labels['longaclr'] = 'Dosarul se poate deschide pentru citire'; +$labels['longacls'] = 'Indicatorul de Văzut a fost schimbat'; +$labels['longaclw'] = 'Indicatoarele și cuvintele cheie ale mesajelor se pot schimba cu excepția Văzut și Șters'; +$labels['longacli'] = 'Mesajul se poate scrie sau copia într-un dosar'; +$labels['longaclp'] = 'Mesajele se pot trimite către acest dosar'; +$labels['longaclc'] = 'Dosarele se pot crea (sau redenumi) direct sub acest dosar'; +$labels['longaclk'] = 'Dosarele se pot crea (sau redenumi) direct sub acest dosar'; +$labels['longacld'] = 'Indicatorul de Șters al mesajelor se poate modifica'; +$labels['longaclt'] = 'Indicatorul de Șters al mesajelor se poate modifica'; +$labels['longacle'] = 'Mesajele se pot elimina'; +$labels['longaclx'] = 'Dosarul se poate șterge sau redenumi'; +$labels['longacla'] = 'Drepturile de acces la dosar se pot schimba'; +$labels['longacln'] = 'Metadatele (adnotarile) impartite ale mesajelor pot fi schimbate'; +$labels['longaclfull'] = 'Control complet include și administrare dosar'; +$labels['longaclread'] = 'Dosarul se poate deschide pentru citire'; +$labels['longaclwrite'] = 'Mesajul se poate marca, scrie sau copia într-un dosar'; +$labels['longacldelete'] = 'Mesajele se pot șterge'; +$messages['deleting'] = 'Șterg drepturile de access...'; +$messages['saving'] = 'Salvez drepturi accesare...'; +$messages['updatesuccess'] = 'Drepturile de acces au fost schimbate cu succes'; +$messages['deletesuccess'] = 'Drepturile de acces au fost șterse cu succes'; +$messages['createsuccess'] = 'Drepturile de acces au fost adăugate cu succes'; +$messages['updateerror'] = 'Nu s-au putut actualiza drepturile de acces'; +$messages['deleteerror'] = 'Nu s-au putut șterge drepturile de acces'; +$messages['createerror'] = 'Nu s-au putut adăuga drepturi de acces'; +$messages['deleteconfirm'] = 'Sunteți sigur că doriți să ștergeți drepturile de acces la utilizatorul (ii) selectați?'; +$messages['norights'] = 'Nu au fost specificate drepturi!'; +$messages['nouser'] = 'Nu a fost specificat niciun utilizator!'; +?> diff --git a/plugins/acl/localization/ru_RU.inc b/plugins/acl/localization/ru_RU.inc new file mode 100644 index 000000000..d583b4198 --- /dev/null +++ b/plugins/acl/localization/ru_RU.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Совместный доступ'; +$labels['myrights'] = 'Права доступа'; +$labels['username'] = 'Пользователь:'; +$labels['advanced'] = 'Экспертный режим'; +$labels['newuser'] = 'Добавить поле'; +$labels['editperms'] = 'Редактировать права'; +$labels['actions'] = 'Действия с правами доступа...'; +$labels['anyone'] = 'Все пользователи (любые)'; +$labels['anonymous'] = 'Гости (анонимные)'; +$labels['identifier'] = 'Идентификатор'; +$labels['acll'] = 'Поиск'; +$labels['aclr'] = 'Прочитать сообщения'; +$labels['acls'] = 'Оставить состояние Увидено'; +$labels['aclw'] = 'Флаги записи'; +$labels['acli'] = 'Вставить (копировать в...)'; +$labels['aclp'] = 'Отправить'; +$labels['aclc'] = 'Создать вложенные папки'; +$labels['aclk'] = 'Создать вложенные папки'; +$labels['acld'] = 'Удалить сообщения'; +$labels['aclt'] = 'Удалить сообщения'; +$labels['acle'] = 'Уничтожить сообщения'; +$labels['aclx'] = 'Удалить папку'; +$labels['acla'] = 'Администрировать'; +$labels['acln'] = 'Комментировать сообщения'; +$labels['aclfull'] = 'Полный доступ'; +$labels['aclother'] = 'Другое'; +$labels['aclread'] = 'Чтение'; +$labels['aclwrite'] = 'Запись'; +$labels['acldelete'] = 'Удаление'; +$labels['shortacll'] = 'Поиск'; +$labels['shortaclr'] = 'Чтение'; +$labels['shortacls'] = 'Оставить'; +$labels['shortaclw'] = 'Запись'; +$labels['shortacli'] = 'Вставить'; +$labels['shortaclp'] = 'Отправить'; +$labels['shortaclc'] = 'Создать'; +$labels['shortaclk'] = 'Создать'; +$labels['shortacld'] = 'Удаление'; +$labels['shortaclt'] = 'Удаление'; +$labels['shortacle'] = 'Уничтожить сообщения'; +$labels['shortaclx'] = 'Удаление папки'; +$labels['shortacla'] = 'Администрировать'; +$labels['shortacln'] = 'Комментировать'; +$labels['shortaclother'] = 'Другое'; +$labels['shortaclread'] = 'Чтение'; +$labels['shortaclwrite'] = 'Запись'; +$labels['shortacldelete'] = 'Удаление'; +$labels['longacll'] = 'Папка видима в списках и доступна для подписки'; +$labels['longaclr'] = 'Эта папка может быть открыта для чтения'; +$labels['longacls'] = 'Флаг Прочитано может быть изменен'; +$labels['longaclw'] = 'Флаги и ключевые слова, кроме Прочитано и Удалено, могут быть изменены'; +$labels['longacli'] = 'Сообщения могут быть записаны или скопированы в папку'; +$labels['longaclp'] = 'Сообщения могут быть отправлены в эту папку'; +$labels['longaclc'] = 'Подпапки могут быть созданы или переименованы прямо в этой папке'; +$labels['longaclk'] = 'Подпапки могут быть созданы или переименованы прямо в этой папке'; +$labels['longacld'] = 'Флаг Удалено может быть изменен'; +$labels['longaclt'] = 'Флаг Удалено может быть изменен'; +$labels['longacle'] = 'Сообщения могут быть уничтожены'; +$labels['longaclx'] = 'Эта папка может быть переименована или удалена'; +$labels['longacla'] = 'Права доступа к папке могут быть изменены'; +$labels['longacln'] = 'Совместные медаданные сообщений (комментарии) могут быть изменены'; +$labels['longaclfull'] = 'Полный доступ, включая управление папкой'; +$labels['longaclread'] = 'Эта папка может быть открыта для чтения'; +$labels['longaclwrite'] = 'Сообщения можно помечать, записывать или копировать в папку'; +$labels['longacldelete'] = 'Сообщения можно удалять'; +$labels['longaclother'] = 'Прочие права доступа'; +$labels['ariasummaryacltable'] = 'Список прав доступа'; +$labels['arialabelaclactions'] = 'Список действий'; +$labels['arialabelaclform'] = 'Форма прав доступа'; +$messages['deleting'] = 'Удаление прав доступа...'; +$messages['saving'] = 'Сохранение прав доступа...'; +$messages['updatesuccess'] = 'Права доступа успешно изменены'; +$messages['deletesuccess'] = 'Права доступа успешно удалены'; +$messages['createsuccess'] = 'Успешно добавлены права доступа'; +$messages['updateerror'] = 'Невозможно обновить права доступа'; +$messages['deleteerror'] = 'Невозможно удалить права доступа'; +$messages['createerror'] = 'Невозможно добавить права доступа'; +$messages['deleteconfirm'] = 'Вы уверены в том, что хотите удалить права доступа выбранных пользователей?'; +$messages['norights'] = 'Права доступа не установлены!'; +$messages['nouser'] = 'Не определено имя пользователя!'; +?> diff --git a/plugins/acl/localization/sk_SK.inc b/plugins/acl/localization/sk_SK.inc new file mode 100644 index 000000000..6acc03ee4 --- /dev/null +++ b/plugins/acl/localization/sk_SK.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Zdieľanie'; +$labels['myrights'] = 'Prístupové oprávnenia'; +$labels['username'] = 'Používateľ:'; +$labels['advanced'] = 'Režim pre pokročilých'; +$labels['newuser'] = 'Pridať záznam'; +$labels['editperms'] = 'Upraviť oprávnenia'; +$labels['actions'] = 'Prístupové práva pre akcie...'; +$labels['anyone'] = 'Všetci užívatelia (ktokoľvek)'; +$labels['anonymous'] = 'Hostia (anonymní)'; +$labels['identifier'] = 'Identifikátor'; +$labels['acll'] = 'Vyhľadať'; +$labels['aclr'] = 'Čítať správy'; +$labels['acls'] = 'Ponechať ako prečítané'; +$labels['aclw'] = 'Príznaky pre zápis'; +$labels['acli'] = 'Vložiť (Skopírovať do)'; +$labels['aclp'] = 'Odoslať na'; +$labels['aclc'] = 'Vytvoriť podpriečinky'; +$labels['aclk'] = 'Vytvoriť podpriečinky'; +$labels['acld'] = 'Vymazať správy'; +$labels['aclt'] = 'Vymazať správy'; +$labels['acle'] = 'Vyčistiť'; +$labels['aclx'] = 'Vymazať priečinok'; +$labels['acla'] = 'Spravovať'; +$labels['acln'] = 'Označiť správy poznámkou'; +$labels['aclfull'] = 'Úplný prístup'; +$labels['aclother'] = 'Iné'; +$labels['aclread'] = 'Čítanie'; +$labels['aclwrite'] = 'Zápis'; +$labels['acldelete'] = 'Odstránenie'; +$labels['shortacll'] = 'Vyhľadať'; +$labels['shortaclr'] = 'Čítanie'; +$labels['shortacls'] = 'Ponechať'; +$labels['shortaclw'] = 'Zápis'; +$labels['shortacli'] = 'Vložiť'; +$labels['shortaclp'] = 'Odoslať na'; +$labels['shortaclc'] = 'Vytvoriť'; +$labels['shortaclk'] = 'Vytvoriť'; +$labels['shortacld'] = 'Vymazať'; +$labels['shortaclt'] = 'Vymazať'; +$labels['shortacle'] = 'Vyčistiť'; +$labels['shortaclx'] = 'Vymazať priečinok'; +$labels['shortacla'] = 'Spravovať'; +$labels['shortacln'] = 'Označiť poznámkou'; +$labels['shortaclother'] = 'Iné'; +$labels['shortaclread'] = 'Čítanie'; +$labels['shortaclwrite'] = 'Zápis'; +$labels['shortacldelete'] = 'Odstránenie'; +$labels['longacll'] = 'Priečinok je v zoznamoch viditeľný a dá sa k nemu prihlásiť'; +$labels['longaclr'] = 'Prečinok je možné otvoriť na čítanie'; +$labels['longacls'] = 'Príznak "Prečítané" je možné zmeniť'; +$labels['longaclw'] = 'Príznaky správ a kľúčové slová je možné zmeniť, okrem "Prečítané" a "Vymazané"'; +$labels['longacli'] = 'Do tohto priečinka je možné zapisovať alebo kopírovať správy'; +$labels['longaclp'] = 'Do tohto priečinka je možné publikovať správy'; +$labels['longaclc'] = 'Priečinky je možné vytvárať (alebo premenovávať) priamo v tomto priečinku'; +$labels['longaclk'] = 'Priečinky je možné vytvárať (alebo premenovávať) priamo v tomto priečinku'; +$labels['longacld'] = 'Príznak správ "Vymazané" je možné zmeniť'; +$labels['longaclt'] = 'Príznak správ "Vymazané" je možné zmeniť'; +$labels['longacle'] = 'Správy je možné vyčistiť'; +$labels['longaclx'] = 'Priečinok je možné vymazať alebo premenovať'; +$labels['longacla'] = 'Prístupové oprávnenia k tomuto priečinku je možné zmeniť'; +$labels['longacln'] = 'Meta-dáta (poznámky) zdieľané medzi správami, je možné zmeniť'; +$labels['longaclfull'] = 'Úplný prístup, vrátane správy priečinka'; +$labels['longaclread'] = 'Prečinok je možné otvoriť na čítanie'; +$labels['longaclwrite'] = 'Správy je možné označiť, zapísať alebo skopírovať do prečinka'; +$labels['longacldelete'] = 'Správy je možné vymazať'; +$labels['longaclother'] = 'Iné prístupové oprávnenia'; +$labels['ariasummaryacltable'] = 'Zoznam prístupových oprávnení'; +$labels['arialabelaclactions'] = 'Zoznam akcií'; +$labels['arialabelaclform'] = 'Formulár pre prístupové oprávnenia'; +$messages['deleting'] = 'Odstraňovanie prístupových oprávnení...'; +$messages['saving'] = 'Ukladanie prístupových oprávnení...'; +$messages['updatesuccess'] = 'Prístupové oprávnenia boli úspešne zmenené'; +$messages['deletesuccess'] = 'Prístupové oprávnenia boli úspešne vymazané'; +$messages['createsuccess'] = 'Prístupové oprávnenia boli úspešne pridané'; +$messages['updateerror'] = 'Nemožno aktualizovať prístupové oprávnenia'; +$messages['deleteerror'] = 'Prístupové oprávnenia sa nepodarilo vymazať'; +$messages['createerror'] = 'Prístupové oprávnenia sa nepodarilo pridať'; +$messages['deleteconfirm'] = 'Naozaj chcete odstrániť prístupové oprávnenia vybraného používateľa?'; +$messages['norights'] = 'Neboli určené žiadne oprávnenia!'; +$messages['nouser'] = 'Nebolo určené žiadne meno používateľa!'; +?> diff --git a/plugins/acl/localization/sl_SI.inc b/plugins/acl/localization/sl_SI.inc new file mode 100644 index 000000000..5fa7ac235 --- /dev/null +++ b/plugins/acl/localization/sl_SI.inc @@ -0,0 +1,91 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Skupna raba'; +$labels['myrights'] = 'Pravice dostopa'; +$labels['username'] = 'Uporabnik:'; +$labels['advanced'] = 'Napredni način'; +$labels['newuser'] = 'Dodaj vnos'; +$labels['editperms'] = 'Uredi pravice'; +$labels['actions'] = 'Nastavitve pravic dostopa'; +$labels['anyone'] = 'Vsi uporabniki'; +$labels['anonymous'] = 'Gosti'; +$labels['identifier'] = 'Označevalnik'; +$labels['acll'] = 'Iskanje'; +$labels['aclr'] = 'Prebrana sporočila'; +$labels['acls'] = 'Ohrani status \'Prebrano\''; +$labels['aclw'] = 'Označi pisanje sporočila'; +$labels['acli'] = 'Vstavi (Kopiraj v)'; +$labels['aclp'] = 'Objava'; +$labels['aclc'] = 'Ustvari podmape'; +$labels['aclk'] = 'Ustvari podmape'; +$labels['acld'] = 'Izbriši sporočila'; +$labels['aclt'] = 'Izbriši sporočila'; +$labels['acle'] = 'Izbriši'; +$labels['aclx'] = 'Izbriši mapo'; +$labels['acla'] = 'Uredi'; +$labels['aclfull'] = 'Popolno upravljanje'; +$labels['aclother'] = 'Ostalo'; +$labels['aclread'] = 'Preberi'; +$labels['aclwrite'] = 'Sestavi'; +$labels['acldelete'] = 'Izbriši'; +$labels['shortacll'] = 'Iskanje'; +$labels['shortaclr'] = 'Preberi'; +$labels['shortacls'] = 'Ohrani'; +$labels['shortaclw'] = 'Sestavi'; +$labels['shortacli'] = 'Vstavi'; +$labels['shortaclp'] = 'Objava'; +$labels['shortaclc'] = 'Ustvari'; +$labels['shortaclk'] = 'Ustvari'; +$labels['shortacld'] = 'Izbriši'; +$labels['shortaclt'] = 'Izbriši'; +$labels['shortacle'] = 'Izbriši'; +$labels['shortaclx'] = 'Izbriši mapo'; +$labels['shortacla'] = 'Uredi'; +$labels['shortaclother'] = 'Ostalo'; +$labels['shortaclread'] = 'Preberi'; +$labels['shortaclwrite'] = 'Sestavi'; +$labels['shortacldelete'] = 'Izbriši'; +$labels['longacll'] = 'Mapa je vidna na seznamih in jo lahko naročite'; +$labels['longaclr'] = 'Mapa je na voljo za branje'; +$labels['longacls'] = 'Oznaka \'Prebrano sporočilo\' je lahko spremenjena'; +$labels['longaclw'] = 'Oznake sporočil in ključne besede je mogoče spremeniti, z izjemo oznak "Prebrano" in "Izbrisano'; +$labels['longacli'] = 'Sporočilo je lahko poslano ali kopirano v mapo'; +$labels['longaclp'] = 'Sporočilo je lahko poslano v to mapo'; +$labels['longaclc'] = 'V tej mapi so lahko ustvarjene (ali preimenovane) podmape'; +$labels['longaclk'] = 'V tej mapi so lahko ustvarjene (ali preimenovane) podmape'; +$labels['longacld'] = 'Oznako sporočila \'Izbrisano\' je mogoče spremeniti'; +$labels['longaclt'] = 'Oznako sporočila \'Izbrisano\' je mogoče spremeniti'; +$labels['longacle'] = 'Sporočila so lahko izbrisana'; +$labels['longaclx'] = 'Mapa je lahko izbrisana ali preimenovana'; +$labels['longacla'] = 'Pravice na mapi so lahko spremenjene'; +$labels['longaclfull'] = 'Popolno upravljanje, vključno z urejanjem map'; +$labels['longaclread'] = 'Mapa je na voljo za branje'; +$labels['longaclwrite'] = 'Sporočila je mogoče označiti, sestaviti ali kopirati v mapo'; +$labels['longacldelete'] = 'Sporočila so lahko izbrisana'; +$messages['deleting'] = 'Brisanje pravic'; +$messages['saving'] = 'Shranjevanje pravic'; +$messages['updatesuccess'] = 'Pravice so bile uspešno spremenjene'; +$messages['deletesuccess'] = 'Pravice so bile uspešno izbrisane'; +$messages['createsuccess'] = 'Pravice so bile uspešno dodane'; +$messages['updateerror'] = 'Pravic ni mogoče posodobiti'; +$messages['deleteerror'] = 'Pravic ni mogoče izbrisati'; +$messages['createerror'] = 'Pravic ni bilo mogoče dodati'; +$messages['deleteconfirm'] = 'Ste prepričani, da želite odstraniti pravice dostopa za izbrane uporabnike?'; +$messages['norights'] = 'Pravic niste določili'; +$messages['nouser'] = 'Niste določili uporabnišlega imena'; +?> diff --git a/plugins/acl/localization/sq_AL.inc b/plugins/acl/localization/sq_AL.inc new file mode 100644 index 000000000..ed0d72380 --- /dev/null +++ b/plugins/acl/localization/sq_AL.inc @@ -0,0 +1,25 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['aclr'] = 'Lexo mesazhet'; +$labels['aclwrite'] = 'Shkruaj'; +$labels['acldelete'] = 'Fshije'; +$labels['shortaclc'] = 'Krijo'; +$labels['shortaclk'] = 'Krijo'; +$labels['shortacld'] = 'Fshije'; +$labels['shortaclt'] = 'Fshije'; +?> diff --git a/plugins/acl/localization/sr_CS.inc b/plugins/acl/localization/sr_CS.inc new file mode 100644 index 000000000..9e9a78028 --- /dev/null +++ b/plugins/acl/localization/sr_CS.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Дељење'; +$labels['myrights'] = 'Права приступа'; +$labels['username'] = 'Корисник:'; +$labels['newuser'] = 'Додај унос'; +?> diff --git a/plugins/acl/localization/sv_SE.inc b/plugins/acl/localization/sv_SE.inc new file mode 100644 index 000000000..eebc39cc9 --- /dev/null +++ b/plugins/acl/localization/sv_SE.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Utdelning'; +$labels['myrights'] = 'Åtkomsträttigheter'; +$labels['username'] = 'Användare:'; +$labels['advanced'] = 'Avancerat läge'; +$labels['newuser'] = 'Lägg till'; +$labels['editperms'] = 'Ändra rättigheter'; +$labels['actions'] = 'Hantera åtkomsträttigheter...'; +$labels['anyone'] = 'Alla användare (vem som helst)'; +$labels['anonymous'] = 'Gäster (anonyma)'; +$labels['identifier'] = 'Identifikation'; +$labels['acll'] = 'Uppslagning'; +$labels['aclr'] = 'Läs meddelanden'; +$labels['acls'] = 'Behåll status Läst'; +$labels['aclw'] = 'Skriv flaggor'; +$labels['acli'] = 'Infoga (kopiera in)'; +$labels['aclp'] = 'Posta'; +$labels['aclc'] = 'Skapa underkataloger'; +$labels['aclk'] = 'Skapa underkataloger'; +$labels['acld'] = 'Ta bort meddelanden'; +$labels['aclt'] = 'Ta bort meddelanden'; +$labels['acle'] = 'Utplåna'; +$labels['aclx'] = 'Ta bort katalog'; +$labels['acla'] = 'Administrera'; +$labels['acln'] = 'Kommentera meddelanden'; +$labels['aclfull'] = 'Full kontroll'; +$labels['aclother'] = 'Övrig'; +$labels['aclread'] = 'Läs'; +$labels['aclwrite'] = 'Skriv'; +$labels['acldelete'] = 'Ta bort'; +$labels['shortacll'] = 'Uppslagning'; +$labels['shortaclr'] = 'Läs'; +$labels['shortacls'] = 'Behåll'; +$labels['shortaclw'] = 'Skriv'; +$labels['shortacli'] = 'Infoga'; +$labels['shortaclp'] = 'Posta'; +$labels['shortaclc'] = 'Skapa'; +$labels['shortaclk'] = 'Skapa'; +$labels['shortacld'] = 'Ta bort'; +$labels['shortaclt'] = 'Ta bort'; +$labels['shortacle'] = 'Utplåna'; +$labels['shortaclx'] = 'Ta bort katalog'; +$labels['shortacla'] = 'Administrera'; +$labels['shortacln'] = 'Kommentera'; +$labels['shortaclother'] = 'Övrig'; +$labels['shortaclread'] = 'Läs'; +$labels['shortaclwrite'] = 'Skriv'; +$labels['shortacldelete'] = 'Ta bort'; +$labels['longacll'] = 'Katalogen är synlig i listor och den kan prenumereras på'; +$labels['longaclr'] = 'Katalogen kan öppnas för läsning'; +$labels['longacls'] = 'Meddelandeflagga Läst kan ändras'; +$labels['longaclw'] = 'Meddelandeflaggor och nyckelord kan ändras, undantaget Läst och Borttagen'; +$labels['longacli'] = 'Meddelanden kan skrivas eller kopieras till katalogen'; +$labels['longaclp'] = 'Meddelanden kan postas till denna katalog'; +$labels['longaclc'] = 'Kataloger kan skapas (eller ges annat namn) direkt i denna katalog'; +$labels['longaclk'] = 'Kataloger kan skapas (eller ges annat namn) direkt i denna katalog'; +$labels['longacld'] = 'Meddelandeflagga Borttaget kan ändras'; +$labels['longaclt'] = 'Meddelandeflagga Borttaget kan ändras'; +$labels['longacle'] = 'Meddelanden kan utplånas'; +$labels['longaclx'] = 'Katalogen kan tas bort eller ges annat namn'; +$labels['longacla'] = 'Katalogens åtkomsträttigheter kan ändras'; +$labels['longacln'] = 'Delad information om meddelanden (kommentarer) kan ändras'; +$labels['longaclfull'] = 'Full kontroll inklusive katalogadministration'; +$labels['longaclread'] = 'Katalogen kan öppnas för läsning'; +$labels['longaclwrite'] = 'Meddelanden kan märkas, skrivas eller kopieras till katalogen'; +$labels['longacldelete'] = 'Meddelanden kan tas bort'; +$labels['longaclother'] = 'Övriga åtkomsträttigheter'; +$labels['ariasummaryacltable'] = 'Lista med åtkomsträttigheter'; +$labels['arialabelaclactions'] = 'Hantera listor'; +$labels['arialabelaclform'] = 'Formulär för åtkomsträttigheter'; +$messages['deleting'] = 'Tar bort åtkomsträttigheter...'; +$messages['saving'] = 'Sparar åtkomsträttigheter...'; +$messages['updatesuccess'] = 'Åtkomsträttigheterna är ändrade'; +$messages['deletesuccess'] = 'Åtkomsträttigheterna är borttagna'; +$messages['createsuccess'] = 'Åtkomsträttigheterna är tillagda'; +$messages['updateerror'] = 'Åtkomsträttigheterna kunde inte ändras'; +$messages['deleteerror'] = 'Åtkomsträttigheterna kunde inte tas bort'; +$messages['createerror'] = 'Åtkomsträttigheterna kunde inte läggas till'; +$messages['deleteconfirm'] = 'Vill du verkligen ta bort åtkomsträttigheterna för markerade användare?'; +$messages['norights'] = 'Inga åtkomsträttigheter angavs!'; +$messages['nouser'] = 'Inget användarnamn angavs!'; +?> diff --git a/plugins/acl/localization/th_TH.inc b/plugins/acl/localization/th_TH.inc new file mode 100644 index 000000000..2b346b621 --- /dev/null +++ b/plugins/acl/localization/th_TH.inc @@ -0,0 +1,49 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'การแชร์ข้อมูล'; +$labels['myrights'] = 'สิทธิ์การเข้าใช้'; +$labels['username'] = 'ผู้ใช้งาน:'; +$labels['newuser'] = 'เพิ่มรายการ'; +$labels['anyone'] = 'ผู้ใช้งานทั้งหมด (ใครก็ได้)'; +$labels['anonymous'] = 'ผู้เยี่ยมชม (คนแปลกหน้า)'; +$labels['aclr'] = 'อ่านข้อความ'; +$labels['acli'] = 'แทรก (คัดลอกไปไว้)'; +$labels['aclp'] = 'โพสต์'; +$labels['aclc'] = 'สร้างโฟลเดอร์ย่อย'; +$labels['aclk'] = 'สร้างโฟลเดอร์ย่อย'; +$labels['acld'] = 'ลบข้อความ'; +$labels['aclt'] = 'ลบข้อความ'; +$labels['aclx'] = 'ลบโฟลเดอร์'; +$labels['aclother'] = 'อื่นๆ'; +$labels['aclread'] = 'อ่าน'; +$labels['aclwrite'] = 'เขียน'; +$labels['acldelete'] = 'ลบ'; +$labels['shortaclr'] = 'อ่าน'; +$labels['shortaclw'] = 'เขียน'; +$labels['shortacli'] = 'แทรก'; +$labels['shortaclp'] = 'โพสต์'; +$labels['shortaclc'] = 'สร้าง'; +$labels['shortaclk'] = 'สร้าง'; +$labels['shortacld'] = 'ลบ'; +$labels['shortaclt'] = 'ลบ'; +$labels['shortaclx'] = 'ลบโฟลเดอร์'; +$labels['shortaclother'] = 'อื่นๆ'; +$labels['shortaclread'] = 'อ่าน'; +$labels['shortaclwrite'] = 'เขียน'; +$labels['shortacldelete'] = 'ลบ'; +?> diff --git a/plugins/acl/localization/ti.inc b/plugins/acl/localization/ti.inc new file mode 100644 index 000000000..1af3a1926 --- /dev/null +++ b/plugins/acl/localization/ti.inc @@ -0,0 +1,66 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'ንኻልእ'; +$labels['myrights'] = 'መሰላት በዓል ዋና'; +$labels['username'] = 'በዓል ዋና'; +$labels['newuser'] = 'እታዎ ክውስኽ'; +$labels['actions'] = 'ንጥፈታት መብት ተጠቃማይነት'; +$labels['anyone'] = 'ኩሉም በዓልቲ ዋናታት(ዝኾነ ሰብ)'; +$labels['anonymous'] = 'ጋሻ(ሽም አልቦ)'; +$labels['identifier'] = 'መለለዪ'; +$labels['acll'] = 'አለሻ'; +$labels['aclr'] = 'ዝተነበቡ መልእኽታት'; +$labels['acls'] = 'ተራእዩ ብዝብል ይጽናሕ'; +$labels['aclw'] = 'ምልክታት ምጽሓፍ'; +$labels['acli'] = 'ሸጉጥ(አብ..መንጎ አቐምጥ)'; +$labels['aclp'] = 'ጠቅዕ'; +$labels['aclc'] = 'ማህደር ፍጠር'; +$labels['aclk'] = 'ክፍለማህደር ፍጠር'; +$labels['acld'] = 'መልእኽታት አጥፍእ'; +$labels['aclt'] = 'መልእኽታት አጥፍእ'; +$labels['acle'] = 'ንሓዋሩ አጥፍእ'; +$labels['aclx'] = 'ማህደር አጥፍእ'; +$labels['acla'] = 'ተቖፃፀር'; +$labels['aclfull'] = 'ምሉእ ቑጽፅር'; +$labels['aclother'] = 'ካሊእ'; +$labels['aclread'] = 'ከንብብ'; +$labels['aclwrite'] = 'ክጽሕፍ'; +$labels['acldelete'] = 'ይጥፈአለይ'; +$labels['shortacll'] = 'አለሻ'; +$labels['shortaclr'] = 'ዝተነበበ'; +$labels['shortacls'] = 'ይፅናሕ'; +$labels['shortaclw'] = 'ይጽሓፍ'; +$labels['shortacli'] = 'ይሸጎጥ'; +$labels['shortaclp'] = 'ይጠቃዕ'; +$labels['shortaclc'] = 'ይፈጠር'; +$labels['shortaclk'] = 'ይፈጠር'; +$labels['shortacld'] = 'ይጥፋእ'; +$labels['shortaclt'] = 'ይጥፋእ'; +$labels['shortacle'] = 'ንሓዋሩ ይጥፋእ'; +$labels['shortaclx'] = 'ዝጠፍእ ማህደር'; +$labels['shortacla'] = 'ክቆፃፀር'; +$labels['shortaclother'] = 'ካሊእ'; +$labels['shortaclread'] = 'ከንብብ'; +$labels['shortaclwrite'] = 'ክጽሕፍ'; +$labels['shortacldelete'] = 'ይጥፋእ'; +$labels['longaclr'] = 'ማህደር ተኸፊቱ ክንበብ ይኽእል'; +$labels['longacls'] = 'ተራእዩ ዝብል መልእኽቲ ዕላም ክለወጥ ይኽእል'; +$labels['longaclw'] = 'ዕላማትን መፍትሕ ቃላትን መልኽትታት ክልወጡ ይኽእሉ, ብዘይካ ዝተረኣዩን ዝጠፍኡን'; +$labels['longacli'] = 'መልእኽቲ ናብዚ ማህደር ክጽሓፍ ወይ ክቕዳሕ ይኽእል'; +$labels['longaclp'] = 'መልእኽቲ ናብዚ ማህደር ክኣቱ ይኽእል'; +?> diff --git a/plugins/acl/localization/tr_TR.inc b/plugins/acl/localization/tr_TR.inc new file mode 100644 index 000000000..fe4977f68 --- /dev/null +++ b/plugins/acl/localization/tr_TR.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Paylaşım'; +$labels['myrights'] = 'Erişim Hakları'; +$labels['username'] = 'Kullanıcı:'; +$labels['advanced'] = 'Gelişmiş mod'; +$labels['newuser'] = 'Girdi ekle'; +$labels['editperms'] = 'İzinleri düzenle'; +$labels['actions'] = 'Erişim hakları aksiyonları...'; +$labels['anyone'] = 'Tüm kullanıcılar(kim olursa)'; +$labels['anonymous'] = 'Ziyaretçiler(anonim)'; +$labels['identifier'] = 'Tanımlayıcı'; +$labels['acll'] = 'Arama'; +$labels['aclr'] = 'Mesajları oku'; +$labels['acls'] = 'Göründü durumunu muhafaza et'; +$labels['aclw'] = 'Yazma bayrakları'; +$labels['acli'] = 'Ekle(kopyala)'; +$labels['aclp'] = 'Gönder'; +$labels['aclc'] = 'Alt dizinler oluştur'; +$labels['aclk'] = 'Alt dizinler oluştur'; +$labels['acld'] = 'Mesajları sil'; +$labels['aclt'] = 'Mesajları sil'; +$labels['acle'] = 'Sil'; +$labels['aclx'] = 'Dizini sil'; +$labels['acla'] = 'Yönet'; +$labels['acln'] = 'Mesajlara not ekle'; +$labels['aclfull'] = 'Tam kontrol'; +$labels['aclother'] = 'Diğer'; +$labels['aclread'] = 'Oku'; +$labels['aclwrite'] = 'Yaz'; +$labels['acldelete'] = 'Sil'; +$labels['shortacll'] = 'Arama'; +$labels['shortaclr'] = 'Oku'; +$labels['shortacls'] = 'Koru'; +$labels['shortaclw'] = 'Yaz'; +$labels['shortacli'] = 'Ekle'; +$labels['shortaclp'] = 'Gönder'; +$labels['shortaclc'] = 'Oluştur'; +$labels['shortaclk'] = 'Oluştur'; +$labels['shortacld'] = 'Sil'; +$labels['shortaclt'] = 'Sil'; +$labels['shortacle'] = 'Sil'; +$labels['shortaclx'] = 'Dizin sil'; +$labels['shortacla'] = 'Yönet'; +$labels['shortacln'] = 'Not ekle'; +$labels['shortaclother'] = 'Diğer'; +$labels['shortaclread'] = 'Oku'; +$labels['shortaclwrite'] = 'Yaz'; +$labels['shortacldelete'] = 'Sil'; +$labels['longacll'] = 'Klasör listesinde görülebilir ve abone olunabilir'; +$labels['longaclr'] = 'Dizin yazma için okunabilir'; +$labels['longacls'] = 'Mesajların göründü bayrağı değiştirilebilir'; +$labels['longaclw'] = 'Görülme ve Silinme bayrakları hariç bayraklar ve anahtar kelimeler değiştirilebilir'; +$labels['longacli'] = 'Mesajlar dizini yazılabilir veya kopyalanabilir'; +$labels['longaclp'] = 'Mesajlar bu dizine gönderilebilir'; +$labels['longaclc'] = 'Dizinler doğrudan bu klasör altında oluşturulabilir veya yeniden adlandırılabilir.'; +$labels['longaclk'] = 'Dizinler doğrudan bu klasör altında oluşturulabilir veya yeniden adlandırılabilir.'; +$labels['longacld'] = 'mesajları sil bayrakları değiştirilebilir'; +$labels['longaclt'] = 'mesajları sil bayrakları değiştirilebilir'; +$labels['longacle'] = 'Mesajlar silinebilir'; +$labels['longaclx'] = 'Klasörü silinebilir veya yeniden adlandırılabilir'; +$labels['longacla'] = 'Dizin erişim hakları değiştirilebilir'; +$labels['longacln'] = 'Mesajların paylaşılan üst verileri (notlar) değiştirilebilir'; +$labels['longaclfull'] = 'Dizin yönetimi de dahil olmak üzere tam kontrol'; +$labels['longaclread'] = 'Dizin yazma için okunabilir'; +$labels['longaclwrite'] = 'Dizin yönetimi de dahil olmak üzere tam kontrol'; +$labels['longacldelete'] = 'Mesajlar silinebilir'; +$labels['longaclother'] = 'Diğer erişim hakları'; +$labels['ariasummaryacltable'] = 'Erişim hakları listesi'; +$labels['arialabelaclactions'] = 'Aksiyon listesi'; +$labels['arialabelaclform'] = 'Erişim hakları formu'; +$messages['deleting'] = 'Erişim hakları siliniyor...'; +$messages['saving'] = 'Erişim hakları saklanıyor...'; +$messages['updatesuccess'] = 'Erişim hakları başarıyla değiştirildi'; +$messages['deletesuccess'] = 'Erişim hakları başarıyla silindi'; +$messages['createsuccess'] = 'Erişim hakları başarıyla eklendi'; +$messages['updateerror'] = 'Erişim hakları güncellenemedi'; +$messages['deleteerror'] = 'Erişim haklarını silinemedi'; +$messages['createerror'] = 'Erişim hakları eklenemedi'; +$messages['deleteconfirm'] = 'Seçilen kullanıcılar için erişim haklarını silmek istediğinizden emin misiniz?'; +$messages['norights'] = 'Hiçbir hak belirtilmemiş!'; +$messages['nouser'] = 'Hiçbir kullanıcı belirtilmemiş!'; +?> diff --git a/plugins/acl/localization/uk_UA.inc b/plugins/acl/localization/uk_UA.inc new file mode 100644 index 000000000..f0522a2cf --- /dev/null +++ b/plugins/acl/localization/uk_UA.inc @@ -0,0 +1,44 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['myrights'] = 'Права доступу'; +$labels['username'] = 'Користувач:'; +$labels['anyone'] = 'Всі користувачі (кожен)'; +$labels['anonymous'] = 'Гості (аноніми)'; +$labels['aclc'] = 'Створити підтеки'; +$labels['aclk'] = 'Створити підтеки'; +$labels['acld'] = 'Вилучити повідомлення'; +$labels['aclt'] = 'Вилучити повідомлення'; +$labels['aclx'] = 'Вилучити теку'; +$labels['aclfull'] = 'Повний контроль'; +$labels['aclother'] = 'Інше'; +$labels['aclread'] = 'Читати'; +$labels['acldelete'] = 'Видалити'; +$labels['shortaclr'] = 'Читати'; +$labels['shortacls'] = 'Залишити'; +$labels['shortacli'] = 'Вставити'; +$labels['shortaclc'] = 'Створити'; +$labels['shortaclk'] = 'Створити'; +$labels['shortacld'] = 'Видалити'; +$labels['shortaclt'] = 'Видалити'; +$labels['shortaclx'] = 'Видалити теку'; +$labels['shortaclother'] = 'Інше'; +$labels['shortacldelete'] = 'Видалити'; +$labels['longaclfull'] = 'Повний контроль включаючи теку адміністратора'; +$messages['deleting'] = 'Вилучення прав доступу...'; +$messages['saving'] = 'Збереження прав доступу...'; +?> diff --git a/plugins/acl/localization/vi_VN.inc b/plugins/acl/localization/vi_VN.inc new file mode 100644 index 000000000..c6ce2fd44 --- /dev/null +++ b/plugins/acl/localization/vi_VN.inc @@ -0,0 +1,98 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = 'Chia sẻ'; +$labels['myrights'] = 'Quyền truy cập'; +$labels['username'] = 'Người dùng:'; +$labels['advanced'] = 'Chế độ tính năng cao hơn'; +$labels['newuser'] = 'Thêm bài viết'; +$labels['editperms'] = 'Sửa đổi quyền sử dụng'; +$labels['actions'] = 'Các thao tác quyền truy cập'; +$labels['anyone'] = 'Tất cả người dùng (bất kỳ ai)'; +$labels['anonymous'] = 'Khách (nặc danh)'; +$labels['identifier'] = 'Định danh'; +$labels['acll'] = 'Tìm kiếm'; +$labels['aclr'] = 'Đọc thư'; +$labels['acls'] = 'Giữ trạng thái đã xem qua'; +$labels['aclw'] = 'Cờ đánh dấu cho mục viết'; +$labels['acli'] = 'Chèn thêm (sao chép vào)'; +$labels['aclp'] = 'Đăng bài'; +$labels['aclc'] = 'Tạo giữ liệu con'; +$labels['aclk'] = 'Tạo giữ liệu con'; +$labels['acld'] = 'Xóa thư'; +$labels['aclt'] = 'Xóa thư'; +$labels['acle'] = 'Thải bỏ'; +$labels['aclx'] = 'Xóa giữ liệu'; +$labels['acla'] = 'Quản lý'; +$labels['acln'] = 'Thông tin chú thích'; +$labels['aclfull'] = 'Quản lý toàn bộ'; +$labels['aclother'] = 'Loại khác'; +$labels['aclread'] = 'Đọc'; +$labels['aclwrite'] = 'Viết'; +$labels['acldelete'] = 'Xoá'; +$labels['shortacll'] = 'Tìm kiếm'; +$labels['shortaclr'] = 'Đọc'; +$labels['shortacls'] = 'Giữ'; +$labels['shortaclw'] = 'Viết'; +$labels['shortacli'] = 'Chèn'; +$labels['shortaclp'] = 'Đăng bài'; +$labels['shortaclc'] = 'Tạo mới'; +$labels['shortaclk'] = 'Tạo mới'; +$labels['shortacld'] = 'Xoá'; +$labels['shortaclt'] = 'Xoá'; +$labels['shortacle'] = 'Thải bỏ'; +$labels['shortaclx'] = 'Giữ liệu được xóa'; +$labels['shortacla'] = 'Quản lý'; +$labels['shortacln'] = 'Chú thích'; +$labels['shortaclother'] = 'Loại khác'; +$labels['shortaclread'] = 'Đọc'; +$labels['shortaclwrite'] = 'Viết'; +$labels['shortacldelete'] = 'Xoá'; +$labels['longacll'] = 'Thư mục đã được hiển thị và có thể đăng ký sử dụng'; +$labels['longaclr'] = 'Thư mục có thể được mở để đọc'; +$labels['longacls'] = 'Cờ đánh dấu thư đã xem qua có thể thay đổi'; +$labels['longaclw'] = 'Cờ thư và từ khóa có thể thay đổi, ngoại trừ đã xem qua và bị xóa'; +$labels['longacli'] = 'Thư có thể được ghi hoặc sao chép vào giữ liệu'; +$labels['longaclp'] = 'Thư có thể bỏ vào trong giữ liệu này'; +$labels['longaclc'] = 'Các giữ liệu có thể được tạo (hoặc đặt lại tên) trực tiếp dưới giữ liệu này'; +$labels['longaclk'] = 'Các giữ liệu có thể được tạo (hoặc đặt lại tên) trực tiếp dưới giữ liệu này'; +$labels['longacld'] = 'Cờ đánh dấu thư xóa có thể thay đổi'; +$labels['longaclt'] = 'Cờ đánh dấu thư xóa có thể thay đổi'; +$labels['longacle'] = 'Thư có thể thải bỏ'; +$labels['longaclx'] = 'Giữ liệu có thể xóa được hoặc đặt lại tên'; +$labels['longacla'] = 'Quyên truy cập giữ liệu có thể thay đổi'; +$labels['longacln'] = 'Dữ liệu thông tin (chú thích) của thư có thể thay đổi'; +$labels['longaclfull'] = 'Quản lý toàn bộ bao gồm cả sự thi hành giữ liệu'; +$labels['longaclread'] = 'Giữ liệu có thể được mở để đọc'; +$labels['longaclwrite'] = 'Thư có thể được đánh dấu, ghi hoăc sao chép vào giữ liệu'; +$labels['longacldelete'] = 'Thư có thể bị xóa'; +$labels['longaclother'] = 'Quyền truy cập khác'; +$labels['ariasummaryacltable'] = 'Danh sách quyền truy cập'; +$labels['arialabelaclactions'] = 'Danh sách hành động'; +$labels['arialabelaclform'] = 'Bảng khai quyền truy cập'; +$messages['deleting'] = 'Xóa quyền truy cập...'; +$messages['saving'] = 'Lưu quyền truy cập...'; +$messages['updatesuccess'] = 'Thay đổi quyền truy cập thành công...'; +$messages['deletesuccess'] = 'Xóa quyền truy cập thành công...'; +$messages['createsuccess'] = 'Thêm quyền truy cập thành công...'; +$messages['updateerror'] = 'Không thể cập nhật quyền truy cập'; +$messages['deleteerror'] = 'Khôngthể xóa quyền truy cập'; +$messages['createerror'] = 'Không thể thêm quyền truy cập'; +$messages['deleteconfirm'] = 'Bạn có chắc là muốn xóa bỏ quyền truy cập của người dùng được chọn?'; +$messages['norights'] = 'Chưa có quyền nào được chỉ định!'; +$messages['nouser'] = 'Chưa có tên truy nhập được chỉ định!'; +?> diff --git a/plugins/acl/localization/zh_CN.inc b/plugins/acl/localization/zh_CN.inc new file mode 100644 index 000000000..da69484db --- /dev/null +++ b/plugins/acl/localization/zh_CN.inc @@ -0,0 +1,85 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = '共享'; +$labels['myrights'] = '访问权限'; +$labels['username'] = '用户:'; +$labels['newuser'] = '新增条目'; +$labels['actions'] = '权限设置...'; +$labels['anyone'] = '所有用户(任何人)'; +$labels['anonymous'] = '来宾(匿名)'; +$labels['identifier'] = '标识符'; +$labels['acll'] = '查找'; +$labels['aclr'] = '读取消息'; +$labels['acls'] = '保存已读状态'; +$labels['aclw'] = '写入标志'; +$labels['acli'] = '插入(复制至)'; +$labels['aclp'] = '发送'; +$labels['aclc'] = '创建子文件夹'; +$labels['aclk'] = '创建子文件夹'; +$labels['acld'] = '删除消息'; +$labels['aclt'] = '删除消息'; +$labels['acle'] = '清除'; +$labels['aclx'] = '删除文件夹'; +$labels['acla'] = '管理'; +$labels['aclfull'] = '全部控制'; +$labels['aclother'] = '其它'; +$labels['aclread'] = '读取'; +$labels['aclwrite'] = '写入'; +$labels['acldelete'] = '删除'; +$labels['shortacll'] = '查找'; +$labels['shortaclr'] = '读取'; +$labels['shortacls'] = '保存'; +$labels['shortaclw'] = '写入'; +$labels['shortacli'] = '插入'; +$labels['shortaclp'] = '发送'; +$labels['shortaclc'] = '新建'; +$labels['shortaclk'] = '新建'; +$labels['shortacld'] = '删除'; +$labels['shortaclt'] = '删除'; +$labels['shortacle'] = '清除'; +$labels['shortaclx'] = '删除文件夹'; +$labels['shortacla'] = '管理'; +$labels['shortaclother'] = '其他'; +$labels['shortaclread'] = '读取'; +$labels['shortaclwrite'] = '写入'; +$labels['shortacldelete'] = '删除'; +$labels['longacll'] = '该文件夹在列表上可见且可被订阅'; +$labels['longaclr'] = '该文件夹可被打开阅读'; +$labels['longacls'] = '已读消息标识可以改变'; +$labels['longaclw'] = '除已读和删除表示外其他消息标识可以改变'; +$labels['longacli'] = '消息可被标记,撰写或复制至文件夹中'; +$labels['longaclk'] = '文件夹可被创建(或改名)于现有目录下'; +$labels['longacld'] = '消息已删除标识可以改变'; +$labels['longacle'] = '消息可被清除'; +$labels['longaclx'] = '该文件夹可被删除或重命名'; +$labels['longacla'] = '文件夹访问权限可被修改'; +$labels['longaclread'] = '该文件夹可被打开阅读'; +$labels['longaclwrite'] = '消息可被标记,撰写或复制至文件夹中'; +$labels['longacldelete'] = '信息可被删除'; +$messages['deleting'] = '删除访问权限中…'; +$messages['saving'] = '保存访问权限中…'; +$messages['updatesuccess'] = '成功修改访问权限'; +$messages['deletesuccess'] = '成功删除访问权限'; +$messages['createsuccess'] = '成功添加访问权限'; +$messages['updateerror'] = '无法更新访问权限'; +$messages['deleteerror'] = '无法删除访问权限'; +$messages['createerror'] = '无法添加访问权限'; +$messages['deleteconfirm'] = '您确定要移除选中用户的访问权限吗?'; +$messages['norights'] = '没有已指定的权限!'; +$messages['nouser'] = '没有已指定的用户名!'; +?> diff --git a/plugins/acl/localization/zh_TW.inc b/plugins/acl/localization/zh_TW.inc new file mode 100644 index 000000000..d9c5d9770 --- /dev/null +++ b/plugins/acl/localization/zh_TW.inc @@ -0,0 +1,89 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/acl/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail ACL 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-acl/ +*/ +$labels['sharing'] = '分享'; +$labels['myrights'] = '存取權限'; +$labels['username'] = '使用者:'; +$labels['newuser'] = '新增項目'; +$labels['actions'] = '權限設定'; +$labels['anyone'] = '所有使用者 (anyone)'; +$labels['anonymous'] = '訪客 (anonymous)'; +$labels['identifier'] = '識別'; +$labels['acll'] = '尋找'; +$labels['aclr'] = '讀取訊息'; +$labels['acls'] = '保持上線狀態'; +$labels['aclw'] = '寫入標幟'; +$labels['acli'] = '插入(複製到這裡)'; +$labels['aclp'] = '發表'; +$labels['aclc'] = '建立子資料夾'; +$labels['aclk'] = '建立子資料夾'; +$labels['acld'] = '刪除訊息'; +$labels['aclt'] = '刪除訊息'; +$labels['acle'] = '刪去'; +$labels['aclx'] = '刪除資料夾'; +$labels['acla'] = '管理者'; +$labels['aclfull'] = '完全控制'; +$labels['aclother'] = '其它'; +$labels['aclread'] = '讀取'; +$labels['aclwrite'] = '寫入'; +$labels['acldelete'] = '刪除'; +$labels['shortacll'] = '尋找'; +$labels['shortaclr'] = '讀取'; +$labels['shortacls'] = '保存'; +$labels['shortaclw'] = '寫入'; +$labels['shortacli'] = '插入'; +$labels['shortaclp'] = '發表'; +$labels['shortaclc'] = '建立'; +$labels['shortaclk'] = '建立'; +$labels['shortacld'] = '刪除'; +$labels['shortaclt'] = '刪除'; +$labels['shortacle'] = '刪去'; +$labels['shortaclx'] = '資料夾刪除'; +$labels['shortacla'] = '管理者'; +$labels['shortaclother'] = '其它'; +$labels['shortaclread'] = '讀取'; +$labels['shortaclwrite'] = '寫入'; +$labels['shortacldelete'] = '刪除'; +$labels['longacll'] = '此資料夾權限可以訂閱和瀏覽'; +$labels['longaclr'] = '資料夾能被打開與讀取'; +$labels['longacls'] = '能修改訊息標幟'; +$labels['longaclw'] = '內容旗標和關鍵字可以變更,不包含已檢視和刪除的'; +$labels['longacli'] = '訊息能寫入或複製到資料夾'; +$labels['longaclp'] = '訊息能被投遞到這個資料夾'; +$labels['longaclc'] = '這個資料夾之下可以建子資料夾(或重新命名)'; +$labels['longaclk'] = '這個資料夾之下可以建子資料夾(或重新命名)'; +$labels['longacld'] = '能修改訊息刪除標幟'; +$labels['longaclt'] = '能修改訊息刪除標幟'; +$labels['longacle'] = '能抹除訊息'; +$labels['longaclx'] = '資料夾能被刪除或重新命名'; +$labels['longacla'] = '能變更資料夾權限'; +$labels['longaclfull'] = '完全控制包含資料夾管理'; +$labels['longaclread'] = '資料夾能被打開與讀取'; +$labels['longaclwrite'] = '信件可以被標記、編寫或複製到資料夾'; +$labels['longacldelete'] = '訊息能被刪除'; +$messages['deleting'] = '刪除權限...'; +$messages['saving'] = '儲存權限...'; +$messages['updatesuccess'] = '權限變更完成'; +$messages['deletesuccess'] = '權限刪除完成'; +$messages['createsuccess'] = '權限新增完成'; +$messages['updateerror'] = '無法更新權限'; +$messages['deleteerror'] = '無法刪除權限'; +$messages['createerror'] = '無法新增權限'; +$messages['deleteconfirm'] = '您確定要刪除所選取使用者的權限嗎?'; +$messages['norights'] = '沒有指定任何權限'; +$messages['nouser'] = '沒有指定用戶名稱'; +?> diff --git a/plugins/acl/skins/classic/acl.css b/plugins/acl/skins/classic/acl.css new file mode 100644 index 000000000..e95e3b341 --- /dev/null +++ b/plugins/acl/skins/classic/acl.css @@ -0,0 +1,98 @@ +#aclmanager +{ + position: relative; + border: 1px solid #999; + min-height: 302px; +} + +#aclcontainer +{ + overflow-x: auto; +} + +#acltable +{ + width: 100%; + border-collapse: collapse; + background-color: #F9F9F9; +} + +#acltable td +{ + width: 1%; + white-space: nowrap; +} + +#acltable thead td +{ + padding: 0 4px 0 2px; +} + +#acltable tbody td +{ + text-align: center; + padding: 2px; + border-bottom: 1px solid #999999; + cursor: default; +} + +#acltable tbody td.user +{ + width: 96%; + text-align: left; + overflow: hidden; + text-overflow: ellipsis; + -o-text-overflow: ellipsis; +} + +#acltable tbody td.partial +{ + background: url(images/partial.png) center no-repeat; +} + +#acltable tbody td.enabled +{ + background: url(images/enabled.png) center no-repeat; +} + +#acltable tr.selected td +{ + color: #FFFFFF; + background-color: #CC3333; +} + +#acltable tr.unfocused td +{ + color: #FFFFFF; + background-color: #929292; +} + +#acladvswitch +{ + position: absolute; + right: 4px; + text-align: right; + line-height: 22px; +} + +#acladvswitch input +{ + vertical-align: middle; +} + +#acladvswitch span +{ + display: block; +} + +#aclform +{ + display: none; +} + +#aclform div +{ + padding: 0; + text-align: center; + clear: both; +} diff --git a/plugins/acl/skins/classic/images/enabled.png b/plugins/acl/skins/classic/images/enabled.png Binary files differnew file mode 100644 index 000000000..98215f68c --- /dev/null +++ b/plugins/acl/skins/classic/images/enabled.png diff --git a/plugins/acl/skins/classic/images/partial.png b/plugins/acl/skins/classic/images/partial.png Binary files differnew file mode 100644 index 000000000..12023f057 --- /dev/null +++ b/plugins/acl/skins/classic/images/partial.png diff --git a/plugins/acl/skins/classic/templates/table.html b/plugins/acl/skins/classic/templates/table.html new file mode 100644 index 000000000..f19998cf4 --- /dev/null +++ b/plugins/acl/skins/classic/templates/table.html @@ -0,0 +1,46 @@ +<!--[if lte IE 6]> + <style type="text/css"> + #aclmanager { height: expression(Math.min(302, parseInt(document.documentElement.clientHeight))+'px'); } + </style> +<![endif]--> + +<div id="aclmanager"> +<div id="aclcontainer" class="boxlistcontent" style="top:0"> + <roundcube:object name="acltable" id="acltable" class="records-table" /> +</div> +<div class="boxfooter"> + <roundcube:button command="acl-create" id="aclcreatelink" type="link" title="acl.newuser" class="buttonPas addgroup" classAct="button addgroup" content=" " /> + <roundcube:button name="aclmenulink" id="aclmenulink" type="link" title="acl.actions" class="button groupactions" onclick="show_aclmenu(); return false" content=" " /> +</div> +</div> + +<div id="aclmenu" class="popupmenu selectable"> + <ul> + <li><roundcube:button command="acl-edit" label="edit" classAct="active" /></li> + <li><roundcube:button command="acl-delete" label="delete" classAct="active" /></li> + <roundcube:if condition="!in_array('acl_advanced_mode', (array)config:dont_override)" /> + <li><roundcube:button name="acl-switch" id="acl-switch" label="acl.advanced" onclick="rcmail.command('acl-mode-switch')" class="active" /></li> + <roundcube:endif /> + </ul> +</div> + +<div id="aclform" style="padding:10px 0"> + <fieldset class="thinbordered"><legend><roundcube:label name="acl.identifier" /></legend> + <roundcube:object name="acluser" class="toolbarmenu" id="acluser" size="35" /> + </fieldset> + <fieldset class="thinbordered"><legend><roundcube:label name="acl.myrights" /></legend> + <roundcube:object name="aclrights" class="toolbarmenu" /> + </fieldset> +</div> + +<script type="text/javascript"> +function show_aclmenu() +{ + if (!rcmail_ui) { + rcube_init_mail_ui(); + rcmail_ui.popups.aclmenu = {id:'aclmenu', above:1, obj: $('#aclmenu')}; + } + + rcmail_ui.show_popup('aclmenu'); +} +</script> diff --git a/plugins/acl/skins/larry/acl.css b/plugins/acl/skins/larry/acl.css new file mode 100644 index 000000000..bd72b3c85 --- /dev/null +++ b/plugins/acl/skins/larry/acl.css @@ -0,0 +1,124 @@ +#aclcontainer +{ + overflow-x: auto; + border: 1px solid #CCDDE4; + background-color: #D9ECF4; + height: 272px; + box-shadow: none; +} + +#acllist-content +{ + position: relative; + height: 230px; + background-color: white; +} + +#acllist-footer +{ + position: relative; +} + +#acltable +{ + width: 100%; + border-collapse: collapse; + border: none; +} + +#acltable th, +#acltable td +{ + white-space: nowrap; + text-align: center; +} + +#acltable thead tr th +{ + font-size: 11px; + font-weight: bold; +} + +#acltable tbody td +{ + text-align: center; + height: 16px; + cursor: default; +} + +#acltable thead tr > .user +{ + width: 30%; + border-left: none; +} + +#acltable.advanced thead tr > .user { + width: 25%; +} + +#acltable tbody td.user +{ + text-align: left; +} + +#acltable tbody td.partial +{ + background-image: url(images/partial.png); + background-position: center; + background-repeat: no-repeat; +} + +#acltable tbody td.enabled +{ + background-image: url(images/enabled.png); + background-position: center; + background-repeat: no-repeat; +} + +#acltable tbody tr.selected td.partial +{ + background-color: #019bc6; + background-image: url(images/partial.png), -moz-linear-gradient(top, #019bc6 0%, #017cb4 100%); + background-image: url(images/partial.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#019bc6), color-stop(100%,#017cb4)); + background-image: url(images/partial.png), -o-linear-gradient(top, #019bc6 0%, #017cb4 100%); + background-image: url(images/partial.png), -ms-linear-gradient(top, #019bc6 0%, #017cb4 100%); + background-image: url(images/partial.png), linear-gradient(top, #019bc6 0%, #017cb4 100%); +} + +#acltable tbody tr.selected td.enabled +{ + background-color: #019bc6; + background-image: url(images/enabled.png), -moz-linear-gradient(top, #019bc6 0%, #017cb4 100%); + background-image: url(images/enabled.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#019bc6), color-stop(100%,#017cb4)); + background-image: url(images/enabled.png), -o-linear-gradient(top, #019bc6 0%, #017cb4 100%); + background-image: url(images/enabled.png), -ms-linear-gradient(top, #019bc6 0%, #017cb4 100%); + background-image: url(images/enabled.png), linear-gradient(top, #019bc6 0%, #017cb4 100%); +} + +#aclform +{ + display: none; +} + +#aclform div +{ + padding: 0; + text-align: center; + clear: both; +} + +#aclform ul +{ + list-style: none; + margin: 0.2em; + padding: 0; +} + +#aclform ul li label +{ + margin-left: 0.5em; +} + +ul.toolbarmenu li span.delete { + background-position: 0 -1509px; +} diff --git a/plugins/acl/skins/larry/images/enabled.png b/plugins/acl/skins/larry/images/enabled.png Binary files differnew file mode 100644 index 000000000..98215f68c --- /dev/null +++ b/plugins/acl/skins/larry/images/enabled.png diff --git a/plugins/acl/skins/larry/images/partial.png b/plugins/acl/skins/larry/images/partial.png Binary files differnew file mode 100644 index 000000000..12023f057 --- /dev/null +++ b/plugins/acl/skins/larry/images/partial.png diff --git a/plugins/acl/skins/larry/templates/table.html b/plugins/acl/skins/larry/templates/table.html new file mode 100644 index 000000000..a4399ab98 --- /dev/null +++ b/plugins/acl/skins/larry/templates/table.html @@ -0,0 +1,30 @@ +<div id="aclcontainer" class="uibox listbox"> +<div id="acllist-content" class="scroller withfooter"> + <h2 class="voice" id="aria-label-acltable"><roundcube:label name="acl.ariasummaryacltable" /></h2> + <roundcube:object name="acltable" id="acltable" class="records-table" aria-labelledby="aria-label-acltable" role="listbox" /> +</div> +<div id="acllist-footer" class="boxfooter"> + <roundcube:button command="acl-create" id="aclcreatelink" type="link" title="acl.newuser" class="listbutton add disabled" classAct="listbutton add" innerClass="inner" content="+" /><roundcube:button name="aclmenulink" id="aclmenulink" type="link" title="acl.actions" class="listbutton groupactions" onclick="return UI.toggle_popup('aclmenu', event)" innerClass="inner" content="⚙" aria-haspopup="true" aria-expanded="false" aria-owns="aclmenu-menu" /> +</div> +</div> + +<div id="aclmenu" class="popupmenu" aria-hidden="true" data-align="bottom"> + <h3 id="aria-label-aclactions" class="voice"><roundcube:label name="acl.arialabelaclactions" /></h3> + <ul id="aclmenu-menu" class="toolbarmenu selectable iconized" role="menu" aria-labelledby="aria-label-aclactions"> + <li role="menuitem"><roundcube:button command="acl-edit" label="edit" class="icon" classAct="icon active" innerclass="icon edit" /></li> + <li role="menuitem"><roundcube:button command="acl-delete" label="delete" class="icon" classAct="icon active" innerclass="icon delete" /></li> + <roundcube:if condition="!in_array('acl_advanced_mode', (array)config:dont_override)" /> + <li role="menuitem"><roundcube:button name="acl-switch" id="acl-switch" label="acl.advanced" onclick="rcmail.command('acl-mode-switch');return false" class="active" /></li> + <roundcube:endif /> + </ul> +</div> + +<div id="aclform" class="propform" aria-labelledby="aria-label-aclform" role="form"> + <h3 id="aria-label-aclform" class="voice"><roundcube:label name="acl.arialabelaclform" /></h3> + <fieldset class="thinbordered"><legend><roundcube:label name="acl.identifier" /></legend> + <roundcube:object name="acluser" id="acluser" size="35" class="proplist" /> + </fieldset> + <fieldset class="thinbordered"><legend><roundcube:label name="acl.myrights" /></legend> + <roundcube:object name="aclrights" class="proplist" /> + </fieldset> +</div> diff --git a/plugins/acl/tests/Acl.php b/plugins/acl/tests/Acl.php new file mode 100644 index 000000000..56ae3b5bb --- /dev/null +++ b/plugins/acl/tests/Acl.php @@ -0,0 +1,23 @@ +<?php + +class Acl_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../acl.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new acl($rcube->api); + + $this->assertInstanceOf('acl', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/additional_message_headers/additional_message_headers.php b/plugins/additional_message_headers/additional_message_headers.php new file mode 100644 index 000000000..0d16e605e --- /dev/null +++ b/plugins/additional_message_headers/additional_message_headers.php @@ -0,0 +1,46 @@ +<?php + +/** + * Additional Message Headers + * + * Very simple plugin which will add additional headers + * to or remove them from outgoing messages. + * + * Enable the plugin in config.inc.php and add your desired headers: + * $config['additional_message_headers'] = array('User-Agent' => 'My-Very-Own-Webmail'); + * + * @version @package_version@ + * @author Ziba Scott + * @website http://roundcube.net + */ +class additional_message_headers extends rcube_plugin +{ + function init() + { + $this->add_hook('message_before_send', array($this, 'message_headers')); + } + + function message_headers($args) + { + $this->load_config(); + + $headers = $args['message']->headers(); + $rcube = rcube::get_instance(); + + // additional email headers + $additional_headers = $rcube->config->get('additional_message_headers', array()); + foreach ((array)$additional_headers as $header => $value) { + if (null === $value) { + unset($headers[$header]); + } + else { + $headers[$header] = $value; + } + } + + $args['message']->_headers = array(); + $args['message']->headers($headers); + + return $args; + } +} diff --git a/plugins/additional_message_headers/composer.json b/plugins/additional_message_headers/composer.json new file mode 100644 index 000000000..bf3f6c4d7 --- /dev/null +++ b/plugins/additional_message_headers/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/additional_message_headers", + "type": "roundcube-plugin", + "description": "Very simple plugin which will add additional headers to or remove them from outgoing messages.", + "license": "GPLv2", + "version": "1.2.0", + "authors": [ + { + "name": "Ziba Scott", + "email": "email@example.org", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/additional_message_headers/config.inc.php.dist b/plugins/additional_message_headers/config.inc.php.dist new file mode 100644 index 000000000..904681349 --- /dev/null +++ b/plugins/additional_message_headers/config.inc.php.dist @@ -0,0 +1,14 @@ +<?php + +// $config['additional_message_headers']['X-Remote-Browser'] = $_SERVER['HTTP_USER_AGENT']; +// $config['additional_message_headers']['X-Originating-IP'] = '[' . $_SERVER['REMOTE_ADDR'] .']'; +// $config['additional_message_headers']['X-RoundCube-Server'] = $_SERVER['SERVER_ADDR']; + +// if( isset( $_SERVER['MACHINE_NAME'] )) { +// $config['additional_message_headers']['X-RoundCube-Server'] .= ' (' . $_SERVER['MACHINE_NAME'] . ')'; +// } + +// To remove (e.g. X-Sender) message header use null value +// $config['additional_message_headers']['X-Sender'] = null; + +?> diff --git a/plugins/additional_message_headers/tests/AdditionalMessageHeaders.php b/plugins/additional_message_headers/tests/AdditionalMessageHeaders.php new file mode 100644 index 000000000..55e8c441e --- /dev/null +++ b/plugins/additional_message_headers/tests/AdditionalMessageHeaders.php @@ -0,0 +1,23 @@ +<?php + +class AdditionalMessageHeaders_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../additional_message_headers.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new additional_message_headers($rcube->api); + + $this->assertInstanceOf('additional_message_headers', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/archive/archive.js b/plugins/archive/archive.js new file mode 100644 index 000000000..f77bedf46 --- /dev/null +++ b/plugins/archive/archive.js @@ -0,0 +1,69 @@ +/** + * Archive plugin script + * @version 2.3 + * + * @licstart The following is the entire license notice for the + * JavaScript code in this file. + * + * Copyright (c) 2012-2014, The Roundcube Dev Team + * + * The JavaScript code in this page is free software: you can redistribute it + * and/or modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * @licend The above is the entire license notice + * for the JavaScript code in this file. + */ + +function rcmail_archive(prop) +{ + if (!rcmail.env.uid && (!rcmail.message_list || !rcmail.message_list.get_selection().length)) + return; + + if (!rcmail_is_archive()) { + if (!rcmail.env.archive_type) { + // simply move to archive folder (if no partition type is set) + rcmail.command('move', rcmail.env.archive_folder); + } + else { + // let the server sort the messages to the according subfolders + rcmail.http_post('plugin.move2archive', rcmail.selection_post_data()); + } + } +} + +function rcmail_is_archive() +{ + // check if current folder is an archive folder or one of its children + if (rcmail.env.mailbox == rcmail.env.archive_folder + || rcmail.env.mailbox.startsWith(rcmail.env.archive_folder + rcmail.env.delimiter) + ) { + return true; + } +} + +// callback for app-onload event +if (window.rcmail) { + rcmail.addEventListener('init', function(evt) { + // register command (directly enable in message view mode) + rcmail.register_command('plugin.archive', rcmail_archive, rcmail.env.uid && !rcmail_is_archive()); + + // add event-listener to message list + if (rcmail.message_list) + rcmail.message_list.addEventListener('select', function(list) { + rcmail.enable_command('plugin.archive', list.get_selection().length > 0 && !rcmail_is_archive()); + }); + + // set css style for archive folder + var li; + if (rcmail.env.archive_folder && (li = rcmail.get_folder_li(rcmail.env.archive_folder, '', true))) + $(li).addClass('archive'); + + // callback for server response + rcmail.addEventListener('plugin.move2archive_response', function(result) { + if (result.update) + rcmail.command('list'); // refresh list + }); + }) +} diff --git a/plugins/archive/archive.php b/plugins/archive/archive.php new file mode 100644 index 000000000..72f7a7f2a --- /dev/null +++ b/plugins/archive/archive.php @@ -0,0 +1,291 @@ +<?php + +/** + * Archive + * + * Plugin that adds a new button to the mailbox toolbar + * to move messages to a (user selectable) archive folder. + * + * @version 2.3 + * @license GNU GPLv3+ + * @author Andre Rodier, Thomas Bruederli, Aleksander Machniak + */ +class archive extends rcube_plugin +{ + function init() + { + $rcmail = rcmail::get_instance(); + + // register special folder type + rcube_storage::$folder_types[] = 'archive'; + + if ($rcmail->task == 'mail' && ($rcmail->action == '' || $rcmail->action == 'show') + && ($archive_folder = $rcmail->config->get('archive_mbox')) + ) { + $skin_path = $this->local_skin_path(); + if (is_file($this->home . "/$skin_path/archive.css")) + $this->include_stylesheet("$skin_path/archive.css"); + + $this->include_script('archive.js'); + $this->add_texts('localization', true); + $this->add_button( + array( + 'type' => 'link', + 'label' => 'buttontext', + 'command' => 'plugin.archive', + 'class' => 'button buttonPas archive disabled', + 'classact' => 'button archive', + 'width' => 32, + 'height' => 32, + 'title' => 'buttontitle', + 'domain' => $this->ID, + ), + 'toolbar'); + + // register hook to localize the archive folder + $this->add_hook('render_mailboxlist', array($this, 'render_mailboxlist')); + + // set env variables for client + $rcmail->output->set_env('archive_folder', $archive_folder); + $rcmail->output->set_env('archive_type', $rcmail->config->get('archive_type','')); + } + else if ($rcmail->task == 'mail') { + // handler for ajax request + $this->register_action('plugin.move2archive', array($this, 'move_messages')); + } + else if ($rcmail->task == 'settings') { + $dont_override = $rcmail->config->get('dont_override', array()); + if (!in_array('archive_mbox', $dont_override)) { + $this->add_hook('preferences_list', array($this, 'prefs_table')); + $this->add_hook('preferences_save', array($this, 'save_prefs')); + } + } + } + + /** + * Hook to give the archive folder a localized name in the mailbox list + */ + function render_mailboxlist($p) + { + $rcmail = rcmail::get_instance(); + $archive_folder = $rcmail->config->get('archive_mbox'); + $show_real_name = $rcmail->config->get('show_real_foldernames'); + + // set localized name for the configured archive folder + if ($archive_folder && !$show_real_name) { + if (isset($p['list'][$archive_folder])) + $p['list'][$archive_folder]['name'] = $this->gettext('archivefolder'); + else // search in subfolders + $this->_mod_folder_name($p['list'], $archive_folder, $this->gettext('archivefolder')); + } + + return $p; + } + + /** + * Helper method to find the archive folder in the mailbox tree + */ + private function _mod_folder_name(&$list, $folder, $new_name) + { + foreach ($list as $idx => $item) { + if ($item['id'] == $folder) { + $list[$idx]['name'] = $new_name; + return true; + } else if (!empty($item['folders'])) + if ($this->_mod_folder_name($list[$idx]['folders'], $folder, $new_name)) + return true; + } + return false; + } + + /** + * Plugin action to move the submitted list of messages to the archive subfolders + * according to the user settings and their headers. + */ + function move_messages() + { + $this->add_texts('localization'); + + $rcmail = rcmail::get_instance(); + $storage = $rcmail->get_storage(); + $delimiter = $storage->get_hierarchy_delimiter(); + $archive_folder = $rcmail->config->get('archive_mbox'); + $archive_type = $rcmail->config->get('archive_type', ''); + $current_mbox = rcube_utils::get_input_value('_mbox', RCUBE_INPUT_POST); + + $result = array('reload' => false, 'update' => false, 'errors' => array()); + $folders = array(); + $uids = rcube_utils::get_input_value('_uid', RCUBE_INPUT_POST); + $search_request = get_input_value('_search', RCUBE_INPUT_GPC); + + if ($uids == '*') { + $index = $storage->index(null, rcmail_sort_column(), rcmail_sort_order()); + $messageset = array($current_mbox => $index->get()); + } + else { + $messageset = rcmail::get_uids(); + } + + foreach ($messageset as $mbox => $uids) { + $storage->set_folder(($current_mbox = $mbox)); + + foreach ($uids as $uid) { + if (!$archive_folder || !($message = $rcmail->storage->get_message($uid))) { + continue; + } + + $subfolder = null; + switch ($archive_type) { + case 'year': + $subfolder = $rcmail->format_date($message->timestamp, 'Y'); + break; + + case 'month': + $subfolder = $rcmail->format_date($message->timestamp, 'Y') . $delimiter . $rcmail->format_date($message->timestamp, 'm'); + break; + + case 'folder': + $subfolder = $current_mbox; + break; + + case 'sender': + $from = $message->get('from'); + if (preg_match('/[\b<](.+@.+)[\b>]/i', $from, $m)) { + $subfolder = $m[1]; + } + else { + $subfolder = $this->gettext('unkownsender'); + } + + // replace reserved characters in folder name + $repl = $delimiter == '-' ? '_' : '-'; + $replacements[$delimiter] = $repl; + $replacements['.'] = $repl; // some IMAP server do not allow . characters + $subfolder = strtr($subfolder, $replacements); + break; + + default: + $subfolder = ''; + break; + } + + // compose full folder path + $folder = $archive_folder . ($subfolder ? $delimiter . $subfolder : ''); + + // create archive subfolder if it doesn't yet exist + // we'll create all folders in the path + if (!in_array($folder, $folders)) { + if (empty($list)) { + $list = $storage->list_folders('', $archive_folder . '*', 'mail', null, true); + } + $path = explode($delimiter, $folder); + + for ($i=0; $i<count($path); $i++) { + $_folder = implode($delimiter, array_slice($path, 0, $i+1)); + if (!in_array($_folder, $list)) { + if ($storage->create_folder($_folder, true)) { + $result['reload'] = true; + $list[] = $_folder; + } + } + } + + $folders[] = $folder; + } + + // move message to target folder + if ($storage->move_message(array($uid), $folder)) { + $result['update'] = true; + } + else { + $result['errors'][] = $uid; + } + } // end for + } + + // send response + if ($result['errors']) { + $rcmail->output->show_message($this->gettext('archiveerror'), 'warning'); + } + if ($result['reload']) { + $rcmail->output->show_message($this->gettext('archivedreload'), 'confirmation'); + } + else if ($result['update']) { + $rcmail->output->show_message($this->gettext('archived'), 'confirmation'); + } + + // refresh saved search set after moving some messages + if ($search_request && $rcmail->storage->get_search_set()) { + $_SESSION['search'] = $rcmail->storage->refresh_search(); + } + + if ($_POST['_from'] == 'show' && !empty($result['update'])) { + if ($next = get_input_value('_next_uid', RCUBE_INPUT_GPC)) { + $rcmail->output->command('show_message', $next); + } + else { + $rcmail->output->command('command', 'list'); + } + } + else { + $rcmail->output->command('plugin.move2archive_response', $result); + } + } + + /** + * Hook to inject plugin-specific user settings + */ + function prefs_table($args) + { + global $CURR_SECTION; + + if ($args['section'] == 'folders') { + $this->add_texts('localization'); + + $rcmail = rcmail::get_instance(); + + // load folders list when needed + if ($CURR_SECTION) + $select = $rcmail->folder_selector(array('noselection' => '---', 'realnames' => true, + 'maxlength' => 30, 'exceptions' => array('INBOX'), 'folder_filter' => 'mail', 'folder_rights' => 'w')); + else + $select = new html_select(); + + $args['blocks']['main']['options']['archive_mbox'] = array( + 'title' => $this->gettext('archivefolder'), + 'content' => $select->show($rcmail->config->get('archive_mbox'), array('name' => "_archive_mbox")) + ); + + // add option for structuring the archive folder + $archive_type = new html_select(array('name' => '_archive_type', 'id' => 'ff_archive_type')); + $archive_type->add($this->gettext('none'), ''); + $archive_type->add($this->gettext('archivetypeyear'), 'year'); + $archive_type->add($this->gettext('archivetypemonth'), 'month'); + $archive_type->add($this->gettext('archivetypesender'), 'sender'); + $archive_type->add($this->gettext('archivetypefolder'), 'folder'); + + $args['blocks']['archive'] = array( + 'name' => Q($this->gettext('settingstitle')), + 'options' => array('archive_type' => array( + 'title' => $this->gettext('archivetype'), + 'content' => $archive_type->show($rcmail->config->get('archive_type')) + ) + ) + ); + } + + return $args; + } + + /** + * Hook to save plugin-specific user settings + */ + function save_prefs($args) + { + if ($args['section'] == 'folders') { + $args['prefs']['archive_type'] = rcube_utils::get_input_value('_archive_type', rcube_utils::INPUT_POST); + return $args; + } + } + +} diff --git a/plugins/archive/composer.json b/plugins/archive/composer.json new file mode 100644 index 000000000..0fa3802ea --- /dev/null +++ b/plugins/archive/composer.json @@ -0,0 +1,29 @@ +{ + "name": "roundcube/archive", + "type": "roundcube-plugin", + "description": "This adds a button to move the selected messages to an archive folder. The folder (and the optional structure of subfolders) can be selected in the settings panel.", + "license": "GPLv3+", + "version": "2.3", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + }, + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Developer" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/archive/localization/ar_SA.inc b/plugins/archive/localization/ar_SA.inc new file mode 100644 index 000000000..737f745d8 --- /dev/null +++ b/plugins/archive/localization/ar_SA.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'الأرشيف'; +$labels['buttontitle'] = 'أرشف هذه الرسالة'; +$labels['archived'] = 'أُرشفت بنجاح'; +$labels['archivedreload'] = 'ارشفت بنجاح. اعد تحميل الصفحه لاضهار الملف المؤرشف'; +$labels['archiveerror'] = 'بعض الرسائل لايمكن ارشفتها'; +$labels['archivefolder'] = 'الأرشيف'; +$labels['settingstitle'] = 'الأرشيف'; +$labels['archivetype'] = 'تقسيم الأرشيف ب'; +$labels['archivetypeyear'] = 'السنة (مثال. الارشيف/2012)'; +$labels['archivetypemonth'] = 'الشهر (مثال. الارشيف/2012/06)'; +$labels['archivetypefolder'] = 'المجلد الاصلي'; +$labels['archivetypesender'] = 'ايميل المرسل'; +$labels['unkownsender'] = 'مجهول'; +?> diff --git a/plugins/archive/localization/ast.inc b/plugins/archive/localization/ast.inc new file mode 100644 index 000000000..0ae647fe7 --- /dev/null +++ b/plugins/archive/localization/ast.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archivu'; +$labels['buttontitle'] = 'Archivar esti mensaxe'; +$labels['archived'] = 'Archiváu con ésitu'; +$labels['archivedreload'] = 'Archiváu con ésitu. Recarga la páxina pa ver les nueves carpetes d\'archivos.'; +$labels['archiveerror'] = 'Nun pudieron archivase dalgunos mensaxes'; +$labels['archivefolder'] = 'Archivu'; +$labels['settingstitle'] = 'Archivu'; +$labels['archivetype'] = 'Dividir l\'archivu por'; +$labels['archivetypeyear'] = 'Añu (p.ex. Archivu/2012)'; +$labels['archivetypemonth'] = 'Mes (p.ex. Archivu/2012/06)'; +$labels['archivetypefolder'] = 'Carpeta orixinal'; +$labels['archivetypesender'] = 'Corréu-e del remitente'; +$labels['unkownsender'] = 'desconocíu'; +?> diff --git a/plugins/archive/localization/az_AZ.inc b/plugins/archive/localization/az_AZ.inc new file mode 100644 index 000000000..ab2311776 --- /dev/null +++ b/plugins/archive/localization/az_AZ.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arxiv'; +$labels['buttontitle'] = 'Mesajı arxivə göndər'; +$labels['archived'] = 'Arxivə göndərildi'; +$labels['archivedreload'] = 'Müvəffəqiyyətlə arxivləşdirildi. Yeni arxiv qovluqlarını görmək üçün səhifəni yeniləyin.'; +$labels['archiveerror'] = 'Bəzi məktublar arxivləşdirilə bilinmirlər'; +$labels['archivefolder'] = 'Arxiv'; +$labels['settingstitle'] = 'Arxiv'; +$labels['archivetype'] = 'Arxivi böl: '; +$labels['archivetypeyear'] = 'İl (məs. Arxiv/2012)'; +$labels['archivetypemonth'] = 'Ay (məs. Arxiv/2012/06)'; +$labels['archivetypefolder'] = 'Orijinal qovluq'; +$labels['archivetypesender'] = 'Göndərənin E-Poçtu'; +$labels['unkownsender'] = 'naməlum'; +?> diff --git a/plugins/archive/localization/be_BE.inc b/plugins/archive/localization/be_BE.inc new file mode 100644 index 000000000..80850dba1 --- /dev/null +++ b/plugins/archive/localization/be_BE.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Архіў'; +$labels['buttontitle'] = 'Перанесці ў архіў'; +$labels['archived'] = 'Перанесена ў архіў'; +$labels['archivedreload'] = 'Перанесена ў архіў. Перагрузіце старонку, каб пабачыць новыя архіўныя папкі.'; +$labels['archiveerror'] = 'Некаторыя паведамленні не могуць быць перанесены ў архіў'; +$labels['archivefolder'] = 'Архіў'; +$labels['settingstitle'] = 'Архіў'; +$labels['archivetype'] = 'Раздзяліць архіў паводле'; +$labels['archivetypeyear'] = 'года (прыкладам, Архіў/2012)'; +$labels['archivetypemonth'] = 'месяца (прыкладам, Архіў/2012/06)'; +$labels['archivetypefolder'] = 'Выточная папка'; +$labels['archivetypesender'] = 'Эл. пошта адпраўніка'; +$labels['unkownsender'] = 'невядомы'; +?> diff --git a/plugins/archive/localization/bg_BG.inc b/plugins/archive/localization/bg_BG.inc new file mode 100644 index 000000000..9f9b868cb --- /dev/null +++ b/plugins/archive/localization/bg_BG.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Архивирай'; +$labels['buttontitle'] = 'Архивиране на писмото'; +$labels['archived'] = 'Архивирането премина успешно'; +$labels['archivedreload'] = 'Успешно архивирано. Презаредете страницата за да видите архивираните папки.'; +$labels['archiveerror'] = 'Някои писма не бяха архивирани'; +$labels['archivefolder'] = 'Архивирай'; +$labels['settingstitle'] = 'Архив'; +$labels['archivetype'] = 'Раздели архива по'; +$labels['archivetypeyear'] = 'Година (пр. Архив/2012)'; +$labels['archivetypemonth'] = 'Месец (пр. Архив/2012/06)'; +$labels['archivetypefolder'] = 'Оригинална папка'; +$labels['archivetypesender'] = 'E-mail адрес на подател'; +$labels['unkownsender'] = 'неизвестно'; +?> diff --git a/plugins/archive/localization/br.inc b/plugins/archive/localization/br.inc new file mode 100644 index 000000000..cc8959c43 --- /dev/null +++ b/plugins/archive/localization/br.inc @@ -0,0 +1,23 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Diell'; +$labels['buttontitle'] = 'Dielliñ ar gemenadenn-mañ'; +$labels['archived'] = 'Diellet gant berzh'; +$labels['archivefolder'] = 'Diell'; +$labels['unkownsender'] = 'dianav'; +?> diff --git a/plugins/archive/localization/bs_BA.inc b/plugins/archive/localization/bs_BA.inc new file mode 100644 index 000000000..47d138ca5 --- /dev/null +++ b/plugins/archive/localization/bs_BA.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arhiva'; +$labels['buttontitle'] = 'Arhiviraj ovu poruku'; +$labels['archived'] = 'Arhiviranje uspješno'; +$labels['archivedreload'] = 'Uspješno arhivirano. Ponovo učitajte stranicu da biste vidjeli nove foldere za arhiviranje.'; +$labels['archiveerror'] = 'Neke poruke nisu mogle biti arhivirane'; +$labels['archivefolder'] = 'Arhiva'; +$labels['settingstitle'] = 'Arhiva'; +$labels['archivetype'] = 'Podijeli arhivu po'; +$labels['archivetypeyear'] = 'Godinama (npr. Arhiva/2012)'; +$labels['archivetypemonth'] = 'Mjesecima (npr Arhiva/2012/06)'; +$labels['archivetypefolder'] = 'Originalni folder'; +$labels['archivetypesender'] = 'Email pošiljaoca'; +$labels['unkownsender'] = 'nepoznato'; +?> diff --git a/plugins/archive/localization/ca_ES.inc b/plugins/archive/localization/ca_ES.inc new file mode 100644 index 000000000..2fc7e5dbe --- /dev/null +++ b/plugins/archive/localization/ca_ES.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arxiva'; +$labels['buttontitle'] = 'Arxiva aquest missatge'; +$labels['archived'] = 'Arxivat correctament'; +$labels['archivedreload'] = 'Arxivat correctament. Recarregueu la pàgina per veure les noves carpetes de l\'arxiu.'; +$labels['archiveerror'] = 'Alguns missatges no s\'han pogut arxivar'; +$labels['archivefolder'] = 'Arxiu'; +$labels['settingstitle'] = 'Arxiu'; +$labels['archivetype'] = 'Divideix arxiu per'; +$labels['archivetypeyear'] = 'Any (p.ex. Arxiu/2012)'; +$labels['archivetypemonth'] = 'Mes (p.ex. Arxiu/2012/06)'; +$labels['archivetypefolder'] = 'Carpeta original'; +$labels['archivetypesender'] = 'Adreça del remitent'; +$labels['unkownsender'] = 'desconegut'; +?> diff --git a/plugins/archive/localization/cs_CZ.inc b/plugins/archive/localization/cs_CZ.inc new file mode 100644 index 000000000..ef26a09f3 --- /dev/null +++ b/plugins/archive/localization/cs_CZ.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archiv'; +$labels['buttontitle'] = 'Archivovat zprávu'; +$labels['archived'] = 'Úspěšně vloženo do archivu'; +$labels['archivedreload'] = 'Úspěšně archivovány. Obnovte stránku, abyste uviděli nové složky v archivu.'; +$labels['archiveerror'] = 'Některé zprávy nelze archivovat'; +$labels['archivefolder'] = 'Archiv'; +$labels['settingstitle'] = 'Archiv'; +$labels['archivetype'] = 'Rozdělit archiv podle'; +$labels['archivetypeyear'] = 'Rok (např. Archiv/2012)'; +$labels['archivetypemonth'] = 'Měsíc (např. Archiv/2012/06)'; +$labels['archivetypefolder'] = 'Původní složka'; +$labels['archivetypesender'] = 'E-mail odesílatele'; +$labels['unkownsender'] = 'neznámý'; +?> diff --git a/plugins/archive/localization/cy_GB.inc b/plugins/archive/localization/cy_GB.inc new file mode 100644 index 000000000..8fa6c65df --- /dev/null +++ b/plugins/archive/localization/cy_GB.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archif'; +$labels['buttontitle'] = 'Archifo\'r neges hwn'; +$labels['archived'] = 'Archifwyd yn llwyddiannus'; +$labels['archivedreload'] = 'Archifwyd yn llwyddiannus. Ail-lwythwch y dudalen i weld ffolderi archif newydd.'; +$labels['archiveerror'] = 'Nid oedd yn bosib archifo rhai negeseuon'; +$labels['archivefolder'] = 'Archif'; +$labels['settingstitle'] = 'Archif'; +$labels['archivetype'] = 'Rhannu archif gyda'; +$labels['archivetypeyear'] = 'Blwyddyn (e.g. Archif/2012)'; +$labels['archivetypemonth'] = 'Mis (e.g. Archif/2012/06)'; +$labels['archivetypefolder'] = 'Ffolder gwreiddiol'; +$labels['archivetypesender'] = 'Ebost anfonwr'; +$labels['unkownsender'] = 'anhysbys'; +?> diff --git a/plugins/archive/localization/da_DK.inc b/plugins/archive/localization/da_DK.inc new file mode 100644 index 000000000..f3dedf8bf --- /dev/null +++ b/plugins/archive/localization/da_DK.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arkiv'; +$labels['buttontitle'] = 'Arkivér denne besked'; +$labels['archived'] = 'Succesfuldt arkiveret.'; +$labels['archivedreload'] = 'Arkivering lykkedes. Genindlæs siden for at se den nye arkiv mappe.'; +$labels['archiveerror'] = 'Nogle meddelelser kunne ikke arkiveres'; +$labels['archivefolder'] = 'Arkiv'; +$labels['settingstitle'] = 'Arkiver'; +$labels['archivetype'] = 'Del arkiv med'; +$labels['archivetypeyear'] = 'År (f.eks. Arkiv/2012)'; +$labels['archivetypemonth'] = 'Måned (f.eks. Arkiv/2012/06)'; +$labels['archivetypefolder'] = 'Original mappe'; +$labels['archivetypesender'] = 'Afsenders email'; +$labels['unkownsender'] = 'ukendt'; +?> diff --git a/plugins/archive/localization/de_CH.inc b/plugins/archive/localization/de_CH.inc new file mode 100644 index 000000000..90ab3ad16 --- /dev/null +++ b/plugins/archive/localization/de_CH.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archiv'; +$labels['buttontitle'] = 'Nachricht(en) archivieren'; +$labels['archived'] = 'Nachricht(en) erfolgreich archiviert'; +$labels['archivedreload'] = 'Nachrichten wurden archiviert. Laden Sie die Seite neu, um die neuen Archivordner zu sehen.'; +$labels['archiveerror'] = 'Einige Nachrichten konnten nicht archiviert werden'; +$labels['archivefolder'] = 'Archiv'; +$labels['settingstitle'] = 'Archiv'; +$labels['archivetype'] = 'Erstelle Unterordner nach'; +$labels['archivetypeyear'] = 'Jahr (z.B. Archiv/2012)'; +$labels['archivetypemonth'] = 'Monat (z.B. Archiv/2012/06)'; +$labels['archivetypefolder'] = 'Originalordner'; +$labels['archivetypesender'] = 'Absender'; +$labels['unkownsender'] = 'unbekannt'; +?> diff --git a/plugins/archive/localization/de_DE.inc b/plugins/archive/localization/de_DE.inc new file mode 100644 index 000000000..ee39acfcb --- /dev/null +++ b/plugins/archive/localization/de_DE.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archiv'; +$labels['buttontitle'] = 'Nachricht archivieren'; +$labels['archived'] = 'Nachricht erfolgreich archiviert'; +$labels['archivedreload'] = 'Erfolgreich archiviert. Seite aktualisieren um die neuen Archiv-Ordner zu sehen'; +$labels['archiveerror'] = 'Einige Nachrichten konnten nicht archiviert werden'; +$labels['archivefolder'] = 'Archiv'; +$labels['settingstitle'] = 'Archiv'; +$labels['archivetype'] = 'Archiv aufteilen nach'; +$labels['archivetypeyear'] = 'Jahr (z.B. Archiv/2012)'; +$labels['archivetypemonth'] = 'Monat (z.B. Archiv/2012/06)'; +$labels['archivetypefolder'] = 'Originalordner'; +$labels['archivetypesender'] = 'Absender E-Mail'; +$labels['unkownsender'] = 'unbekannt'; +?> diff --git a/plugins/archive/localization/el_GR.inc b/plugins/archive/localization/el_GR.inc new file mode 100644 index 000000000..4254a306d --- /dev/null +++ b/plugins/archive/localization/el_GR.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Αρχειοθέτηση'; +$labels['buttontitle'] = 'Αρχειοθέτηση μηνύματος'; +$labels['archived'] = 'Αρχειοθετήθηκε με επιτυχία'; +$labels['archivedreload'] = 'Επιτυχής αρχειοθέτηση. Ανανεώστε την σελίδα για να δείτε τους νέους φακέλους αρχειοθέτησης. '; +$labels['archiveerror'] = 'Ορισμένα μηνύματα δεν ήταν δυνατό να αρχειοθετηθούν. '; +$labels['archivefolder'] = 'Αρχειοθέτηση'; +$labels['settingstitle'] = 'Αρχειοθέτηση'; +$labels['archivetype'] = 'Τμηματοποίηση αρχείου με βάση'; +$labels['archivetypeyear'] = 'Έτος (π.χ. Αρχείο/2012)'; +$labels['archivetypemonth'] = 'Μήνα (π.χ. Αρχείο/2012/06)'; +$labels['archivetypefolder'] = 'Αρχικός φάκελος'; +$labels['archivetypesender'] = 'Αποστολέας email'; +$labels['unkownsender'] = 'άγνωστο'; +?> diff --git a/plugins/archive/localization/en_CA.inc b/plugins/archive/localization/en_CA.inc new file mode 100644 index 000000000..58cb7f439 --- /dev/null +++ b/plugins/archive/localization/en_CA.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archive'; +$labels['buttontitle'] = 'Archive this message'; +$labels['archived'] = 'Successfully archived'; +$labels['archivedreload'] = 'Successfully archived. Reload the page to see the new archive folders.'; +$labels['archiveerror'] = 'Some messages could not be archived'; +$labels['archivefolder'] = 'Archive'; +$labels['settingstitle'] = 'Archive'; +$labels['archivetype'] = 'Divide archive by'; +$labels['archivetypeyear'] = 'Year (e.g. Archive/2012)'; +$labels['archivetypemonth'] = 'Month (e.g. Archive/2012/06)'; +$labels['archivetypefolder'] = 'Original folder'; +$labels['archivetypesender'] = 'Sender email'; +$labels['unkownsender'] = 'unknown'; +?> diff --git a/plugins/archive/localization/en_GB.inc b/plugins/archive/localization/en_GB.inc new file mode 100644 index 000000000..58cb7f439 --- /dev/null +++ b/plugins/archive/localization/en_GB.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archive'; +$labels['buttontitle'] = 'Archive this message'; +$labels['archived'] = 'Successfully archived'; +$labels['archivedreload'] = 'Successfully archived. Reload the page to see the new archive folders.'; +$labels['archiveerror'] = 'Some messages could not be archived'; +$labels['archivefolder'] = 'Archive'; +$labels['settingstitle'] = 'Archive'; +$labels['archivetype'] = 'Divide archive by'; +$labels['archivetypeyear'] = 'Year (e.g. Archive/2012)'; +$labels['archivetypemonth'] = 'Month (e.g. Archive/2012/06)'; +$labels['archivetypefolder'] = 'Original folder'; +$labels['archivetypesender'] = 'Sender email'; +$labels['unkownsender'] = 'unknown'; +?> diff --git a/plugins/archive/localization/en_US.inc b/plugins/archive/localization/en_US.inc new file mode 100644 index 000000000..d3714c118 --- /dev/null +++ b/plugins/archive/localization/en_US.inc @@ -0,0 +1,34 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ + +$labels = array(); +$labels['buttontext'] = 'Archive'; +$labels['buttontitle'] = 'Archive this message'; +$labels['archived'] = 'Successfully archived'; +$labels['archivedreload'] = 'Successfully archived. Reload the page to see the new archive folders.'; +$labels['archiveerror'] = 'Some messages could not be archived'; +$labels['archivefolder'] = 'Archive'; +$labels['settingstitle'] = 'Archive'; +$labels['archivetype'] = 'Divide archive by'; +$labels['archivetypeyear'] = 'Year (e.g. Archive/2012)'; +$labels['archivetypemonth'] = 'Month (e.g. Archive/2012/06)'; +$labels['archivetypefolder'] = 'Original folder'; +$labels['archivetypesender'] = 'Sender email'; +$labels['unkownsender'] = 'unknown'; + +?> diff --git a/plugins/archive/localization/eo.inc b/plugins/archive/localization/eo.inc new file mode 100644 index 000000000..bd0c2618c --- /dev/null +++ b/plugins/archive/localization/eo.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arkivigi'; +$labels['buttontitle'] = 'Arkivigi ĉi tiun mesaĝon'; +$labels['archived'] = 'Sukcese arkivigita'; +$labels['archivefolder'] = 'Arkivo'; +?> diff --git a/plugins/archive/localization/es_419.inc b/plugins/archive/localization/es_419.inc new file mode 100644 index 000000000..9bde4b1f7 --- /dev/null +++ b/plugins/archive/localization/es_419.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archivar'; +$labels['buttontitle'] = 'Archivar este mensaje'; +$labels['archived'] = 'Archivado exitosamente'; +$labels['archivedreload'] = 'Archivado exitosamente. Recarga esta página para ver las nuevas carpetas'; +$labels['archiveerror'] = 'Algunos mensajes no pudieron ser archivados'; +$labels['archivefolder'] = 'Archivar'; +$labels['settingstitle'] = 'Archivar'; +$labels['archivetype'] = 'Dividir archivo por'; +$labels['archivetypeyear'] = 'Año (ej. Archivo/2012)'; +$labels['archivetypemonth'] = 'Mes (ej. Archivo/2012/06)'; +$labels['archivetypefolder'] = 'Carpeta original'; +$labels['archivetypesender'] = 'Remitente de correo electrónico'; +$labels['unkownsender'] = 'desconocido'; +?> diff --git a/plugins/archive/localization/es_AR.inc b/plugins/archive/localization/es_AR.inc new file mode 100644 index 000000000..44e974c19 --- /dev/null +++ b/plugins/archive/localization/es_AR.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archivo'; +$labels['buttontitle'] = 'Archivar este mensaje'; +$labels['archived'] = 'Mensaje Archivado'; +$labels['archivedreload'] = 'Archivado satisfactoriamente. Recarga la página para ver las nuevas capetas archivadas.'; +$labels['archiveerror'] = 'Algunos mensajes no pudieron archivarse'; +$labels['archivefolder'] = 'Archivo'; +$labels['settingstitle'] = 'Archivo'; +$labels['archivetype'] = 'Separar archivo por'; +$labels['archivetypeyear'] = 'Año (ej. Archivo/2012)'; +$labels['archivetypemonth'] = 'Mes (ej. Archivo/2012/06)'; +$labels['archivetypefolder'] = 'Carpeta original'; +$labels['archivetypesender'] = 'Remitente del correo'; +$labels['unkownsender'] = 'desconocido'; +?> diff --git a/plugins/archive/localization/es_ES.inc b/plugins/archive/localization/es_ES.inc new file mode 100644 index 000000000..75a80489f --- /dev/null +++ b/plugins/archive/localization/es_ES.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archivo'; +$labels['buttontitle'] = 'Archivar este mensaje'; +$labels['archived'] = 'Archivado correctamente'; +$labels['archivedreload'] = 'Archivado correctamente. Recargue la página para ver las nuevas carpetas de archivo.'; +$labels['archiveerror'] = 'No se pudo archivar algunos mensajes'; +$labels['archivefolder'] = 'Archivo'; +$labels['settingstitle'] = 'Archivo'; +$labels['archivetype'] = 'Dividir el archivo por'; +$labels['archivetypeyear'] = 'Año (p.ej. Archivo/2012)'; +$labels['archivetypemonth'] = 'Mes (p.ej. Archivo/2012/06)'; +$labels['archivetypefolder'] = 'Bandeja original'; +$labels['archivetypesender'] = 'Correo electrónico del remitente'; +$labels['unkownsender'] = 'desconocido'; +?> diff --git a/plugins/archive/localization/et_EE.inc b/plugins/archive/localization/et_EE.inc new file mode 100644 index 000000000..aec89984a --- /dev/null +++ b/plugins/archive/localization/et_EE.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arhiveeri'; +$labels['buttontitle'] = 'Arhiveeri see kiri'; +$labels['archived'] = 'Edukalt arhiveeritud'; +$labels['archivedreload'] = 'Arhiveerimine õnnestus. Uute arhiivi kaustada nägemiseks laadi leht uuesti.'; +$labels['archiveerror'] = 'Mõnda kirja ei õnnestusnud arhiveerida'; +$labels['archivefolder'] = 'Arhiiv'; +$labels['settingstitle'] = 'Arhiiv'; +$labels['archivetype'] = 'Jaga arhiiv'; +$labels['archivetypeyear'] = 'Aasta (nt. Arhiiv/2012)'; +$labels['archivetypemonth'] = 'Kuu (nt. Arhiiv/2012/06)'; +$labels['archivetypefolder'] = 'Esialgne kaust'; +$labels['archivetypesender'] = 'Saatja e-post'; +$labels['unkownsender'] = 'teadmata'; +?> diff --git a/plugins/archive/localization/eu_ES.inc b/plugins/archive/localization/eu_ES.inc new file mode 100644 index 000000000..c4f0e7b0e --- /dev/null +++ b/plugins/archive/localization/eu_ES.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Gorde'; +$labels['buttontitle'] = 'Gorde mezu hau'; +$labels['archived'] = 'Ongi gorde da'; +$labels['archivedreload'] = 'Ongi gorde da. Freskatu orria fitxategi-karpeta berria ikusteko.'; +$labels['archiveerror'] = 'Mezu batzuk ezin dira gorde.'; +$labels['archivefolder'] = 'Gorde'; +$labels['settingstitle'] = 'Gorde'; +$labels['archivetype'] = 'Banatu honen arabera'; +$labels['archivetypeyear'] = 'Urtea (e.b. Archive/2012)'; +$labels['archivetypemonth'] = 'Hilabete (e.b. Archive/2012/06)'; +$labels['archivetypefolder'] = 'Jatorrizko karpeta'; +$labels['archivetypesender'] = 'Bidaltzailearen helbidea'; +$labels['unkownsender'] = 'ezezaguna'; +?> diff --git a/plugins/archive/localization/fa_AF.inc b/plugins/archive/localization/fa_AF.inc new file mode 100644 index 000000000..fafccb5b8 --- /dev/null +++ b/plugins/archive/localization/fa_AF.inc @@ -0,0 +1,26 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'ارشیو'; +$labels['buttontitle'] = 'ارشیو این پیام'; +$labels['archived'] = 'با موفقیت ارشیو شد'; +$labels['archivefolder'] = 'ارشیو'; +$labels['settingstitle'] = 'ارشیو'; +$labels['archivetypefolder'] = 'پوشه اصلی'; +$labels['archivetypesender'] = 'ایمیل فرستنده'; +$labels['unkownsender'] = 'نا شناس'; +?> diff --git a/plugins/archive/localization/fa_IR.inc b/plugins/archive/localization/fa_IR.inc new file mode 100644 index 000000000..1876708df --- /dev/null +++ b/plugins/archive/localization/fa_IR.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'بایگانی'; +$labels['buttontitle'] = 'بایگانی این پیغام'; +$labels['archived'] = 'با موفقیت بایگانی شد'; +$labels['archivedreload'] = 'با کامیابی بایگانی شد. برای دیدن پوشههای بایگانی جدید صفحه را مجددا بارگذاری نمایید.'; +$labels['archiveerror'] = 'برخی از پیغامها بایگانی نشدند.'; +$labels['archivefolder'] = 'بایگانی'; +$labels['settingstitle'] = 'بایگانی'; +$labels['archivetype'] = 'تقسیم بایگانی با'; +$labels['archivetypeyear'] = 'سال (به عنوان مثال بایگانی/۲۰۱۲)'; +$labels['archivetypemonth'] = 'ماه (به عنوان مثال بایگانی/۲۰۱۲/۰۶)'; +$labels['archivetypefolder'] = 'پوشه اصلی'; +$labels['archivetypesender'] = 'رایانامه فرستنده'; +$labels['unkownsender'] = 'ناشناخته'; +?> diff --git a/plugins/archive/localization/fi_FI.inc b/plugins/archive/localization/fi_FI.inc new file mode 100644 index 000000000..09142374d --- /dev/null +++ b/plugins/archive/localization/fi_FI.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arkistoi'; +$labels['buttontitle'] = 'Arkistoi viesti'; +$labels['archived'] = 'Arkistoitu onnistuneesti'; +$labels['archivedreload'] = 'Arkistointi onnistui. Päivitä sivu nähdäksesi uudet arkistokansiot.'; +$labels['archiveerror'] = 'Joidenkin viestien arkistointi epäonnistui'; +$labels['archivefolder'] = 'Arkistoi'; +$labels['settingstitle'] = 'Arkistoi'; +$labels['archivetype'] = 'Jaa arkisto'; +$labels['archivetypeyear'] = 'Vuodella (esim. Arkisto/2012)'; +$labels['archivetypemonth'] = 'Kuukaudella (esim. Arkisto/2012/06)'; +$labels['archivetypefolder'] = 'Alkuperäinen kansio'; +$labels['archivetypesender'] = 'Lähettäjän osoite'; +$labels['unkownsender'] = 'tuntematon'; +?> diff --git a/plugins/archive/localization/fo_FO.inc b/plugins/archive/localization/fo_FO.inc new file mode 100644 index 000000000..2022b41dd --- /dev/null +++ b/plugins/archive/localization/fo_FO.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Goym í skjalasavni'; +$labels['buttontitle'] = 'Goym hetta boð í skjalasavni'; +$labels['archived'] = 'Goymt í skjalasavn'; +$labels['archivedreload'] = 'Goymt í skjalasavn. Les inn aftur síðu fyri at síggja nýggjar mappur'; +$labels['archiveerror'] = 'Onkur boð kundu ikki leggjast í skjalagoymslu'; +$labels['archivefolder'] = 'Goym í skjalasavni'; +$labels['settingstitle'] = 'Goym í skjalasavni'; +$labels['archivetype'] = 'Deil skjalagoymslu við'; +$labels['archivetypeyear'] = 'Ár (t.d. Skjalagoymsla/2012)'; +$labels['archivetypemonth'] = 'Mánar(t.d. Skjalahgoymsla/2012/06)'; +$labels['archivetypefolder'] = 'Uppruna mappa'; +$labels['archivetypesender'] = 'Sendara teldupostur'; +$labels['unkownsender'] = 'ókent'; +?> diff --git a/plugins/archive/localization/fr_FR.inc b/plugins/archive/localization/fr_FR.inc new file mode 100644 index 000000000..fa6bb9d68 --- /dev/null +++ b/plugins/archive/localization/fr_FR.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archive'; +$labels['buttontitle'] = 'Archiver ce courriel'; +$labels['archived'] = 'Archivé avec succès'; +$labels['archivedreload'] = 'Archivé avec succès. Recharger la page pour voir les nouveaux dossiers d\'archives.'; +$labels['archiveerror'] = 'Certains courriels n\'ont pas pu être archivés.'; +$labels['archivefolder'] = 'Archive'; +$labels['settingstitle'] = 'Archive'; +$labels['archivetype'] = 'Diviser l\'archive par'; +$labels['archivetypeyear'] = 'Année (ex. Archives/2012)'; +$labels['archivetypemonth'] = 'Mois (ex. Archives/2012/06)'; +$labels['archivetypefolder'] = 'Dossier original'; +$labels['archivetypesender'] = 'Courriel de l\'expéditeur'; +$labels['unkownsender'] = 'inconnu'; +?> diff --git a/plugins/archive/localization/gl_ES.inc b/plugins/archive/localization/gl_ES.inc new file mode 100644 index 000000000..7ce96a0df --- /dev/null +++ b/plugins/archive/localization/gl_ES.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arquivo'; +$labels['buttontitle'] = 'Arquivar esta mensaxe'; +$labels['archived'] = 'Aquivouse a mensaxe'; +$labels['archivedreload'] = 'Arquivado correctamente. Recargua a páxina para ver os novos cartafoles de arquivado.'; +$labels['archiveerror'] = 'Non se puideron arquivar algunhas mensaxes'; +$labels['archivefolder'] = 'Arquivo'; +$labels['settingstitle'] = 'Arquivar'; +$labels['archivetype'] = 'Dividir o arquivo por'; +$labels['archivetypeyear'] = 'Ano (p.ex. Arquivo/2012)'; +$labels['archivetypemonth'] = 'Mes (p.ex. Arquivo/2012/06)'; +$labels['archivetypefolder'] = 'Cartafol orixe'; +$labels['archivetypesender'] = 'Enderezo da persoa remitente'; +$labels['unkownsender'] = 'descoñecido'; +?> diff --git a/plugins/archive/localization/he_IL.inc b/plugins/archive/localization/he_IL.inc new file mode 100644 index 000000000..e4e042652 --- /dev/null +++ b/plugins/archive/localization/he_IL.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'ארכיון'; +$labels['buttontitle'] = 'משלוח ההודעה לארכיב'; +$labels['archived'] = 'עדכון הארכיון הצליח'; +$labels['archivedreload'] = 'נשמר בהצלחה בארכיב. יש לרענו את הדף כדי לראות את התיקיות החדשות בארכיב.'; +$labels['archiveerror'] = 'לא ניתן היה להעביר לארכיב חלק מההודעות'; +$labels['archivefolder'] = 'ארכיון'; +$labels['settingstitle'] = 'ארכיב'; +$labels['archivetype'] = 'לחלק את הארכיב על ידי'; +$labels['archivetypeyear'] = 'שנה ( לדוגמה, ארכיב/2012/96 )'; +$labels['archivetypemonth'] = 'חודש ( לדוגמה, ארכיב/2012/96 )'; +$labels['archivetypefolder'] = 'תיקיה מקורית'; +$labels['archivetypesender'] = 'שולח ההודעה'; +$labels['unkownsender'] = 'לא ידוע'; +?> diff --git a/plugins/archive/localization/hr_HR.inc b/plugins/archive/localization/hr_HR.inc new file mode 100644 index 000000000..e6334cce0 --- /dev/null +++ b/plugins/archive/localization/hr_HR.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arhiva'; +$labels['buttontitle'] = 'Arhiviraj poruku'; +$labels['archived'] = 'Uspješno arhivirano'; +$labels['archivedreload'] = 'Uspješno arhivirano. Osvježite stranicu kako biste vidjeli nove arhivske mape.'; +$labels['archiveerror'] = 'Neke poruke nije bilo moguće arhivirati'; +$labels['archivefolder'] = 'Arhiva'; +$labels['settingstitle'] = 'Arhiva'; +$labels['archivetype'] = 'Podijeli arhivu po'; +$labels['archivetypeyear'] = 'Godina (npr. Arhiva/2012)'; +$labels['archivetypemonth'] = 'Mjesec (e.g. Arhiva/2012/06)'; +$labels['archivetypefolder'] = 'Izvorna mapa'; +$labels['archivetypesender'] = 'E-mail adresa pošiljatelja'; +$labels['unkownsender'] = 'nepoznato'; +?> diff --git a/plugins/archive/localization/hu_HU.inc b/plugins/archive/localization/hu_HU.inc new file mode 100644 index 000000000..799de1619 --- /dev/null +++ b/plugins/archive/localization/hu_HU.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archiválás'; +$labels['buttontitle'] = 'Üzenet archiválása'; +$labels['archived'] = 'Sikeres archiválás'; +$labels['archivedreload'] = 'Az arhiválás sikeres. Frissitsd az oldalt, hogy lásd a létrejött arhivum mappákat.'; +$labels['archiveerror'] = 'Néhány üzenetet nem sikerült arhiválni'; +$labels['archivefolder'] = 'Archiválás'; +$labels['settingstitle'] = 'Archiválás'; +$labels['archivetype'] = 'Arhívum tovább bontása a következő szerint'; +$labels['archivetypeyear'] = 'Év ( pl Arhívum/2012)'; +$labels['archivetypemonth'] = 'Honap ( pl Arhívum/2012/06)'; +$labels['archivetypefolder'] = 'Eredeti mappa'; +$labels['archivetypesender'] = 'Feladó'; +$labels['unkownsender'] = 'ismeretlen'; +?> diff --git a/plugins/archive/localization/hy_AM.inc b/plugins/archive/localization/hy_AM.inc new file mode 100644 index 000000000..47fc8d6f6 --- /dev/null +++ b/plugins/archive/localization/hy_AM.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Արխիվ'; +$labels['buttontitle'] = 'Արխիվացնել այս հաղորդագրությունը'; +$labels['archived'] = 'Բարեհաջող արխիվացվեց'; +$labels['archivedreload'] = 'Բարեհաջող արխիվացվեց: Վերբեռնեք էջը նոր արխիվացված պանակները տեսնելու համար:'; +$labels['archiveerror'] = 'Որոշ հաղորդագրություններ հնարավոր չէ արխիվացնել'; +$labels['archivefolder'] = 'Արխիվ'; +$labels['settingstitle'] = 'Արխիվ'; +$labels['archivetype'] = 'Բաժանել արխիվը'; +$labels['archivetypeyear'] = 'Տարեթիվ (օր.՝ Արխիվ/2012)'; +$labels['archivetypemonth'] = 'Ամսաթիվ (օր.՝ Արխիվ/2012/06)'; +$labels['archivetypefolder'] = 'Առաջին պանակը'; +$labels['archivetypesender'] = 'Ուղարկողի էլ-փոստը'; +$labels['unkownsender'] = 'անհայտ'; +?> diff --git a/plugins/archive/localization/ia.inc b/plugins/archive/localization/ia.inc new file mode 100644 index 000000000..3f0cb5707 --- /dev/null +++ b/plugins/archive/localization/ia.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archivar'; +$labels['buttontitle'] = 'Archivar iste message'; +$labels['archived'] = 'Archivate con successo'; +$labels['archivedreload'] = 'Archivate con successo. Recarga le pagina pro vider le nove dossieres de archivo.'; +$labels['archiveerror'] = 'Alcun messages non poteva esser archivate'; +$labels['archivefolder'] = 'Archivo'; +$labels['settingstitle'] = 'Archivo'; +$labels['archivetype'] = 'Divider le archivo per'; +$labels['archivetypeyear'] = 'Anno (p.ex. Archivo/2012)'; +$labels['archivetypemonth'] = 'Mense (p.ex. Archivo/2012/06)'; +$labels['archivetypefolder'] = 'Dossier original'; +$labels['archivetypesender'] = 'E-mail del expeditor'; +$labels['unkownsender'] = 'incognite'; +?> diff --git a/plugins/archive/localization/id_ID.inc b/plugins/archive/localization/id_ID.inc new file mode 100644 index 000000000..0fa59ae71 --- /dev/null +++ b/plugins/archive/localization/id_ID.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arsip'; +$labels['buttontitle'] = 'Arsipkan pesan ini'; +$labels['archived'] = 'Berhasil mengarsipkan'; +$labels['archivedreload'] = 'Berhasil diarsipkan. Reload halaman untuk melihat folder arsip baru.'; +$labels['archiveerror'] = 'Beberapa pesan tidak dapat diarsipkan'; +$labels['archivefolder'] = 'Arsip'; +$labels['settingstitle'] = 'Arsip'; +$labels['archivetype'] = 'Pisah arsip berdasarkan'; +$labels['archivetypeyear'] = 'Tahun (contoh: Arsip/2012)'; +$labels['archivetypemonth'] = 'Bulan (contoh: Arsip/2012/06)'; +$labels['archivetypefolder'] = 'Folder asli'; +$labels['archivetypesender'] = 'Email pengirim'; +$labels['unkownsender'] = 'Tidak dikenal'; +?> diff --git a/plugins/archive/localization/it_IT.inc b/plugins/archive/localization/it_IT.inc new file mode 100644 index 000000000..a15d80063 --- /dev/null +++ b/plugins/archive/localization/it_IT.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archivio'; +$labels['buttontitle'] = 'Archivia questo messaggio'; +$labels['archived'] = 'Archiviato correttamente'; +$labels['archivedreload'] = 'Archiviata con successo. Ricarica la pagina per visualizzare le nuove cartelle.'; +$labels['archiveerror'] = 'Alcuni messaggi non possono essere archiviati'; +$labels['archivefolder'] = 'Archivio'; +$labels['settingstitle'] = 'Archivio'; +$labels['archivetype'] = 'Dividi archivio per'; +$labels['archivetypeyear'] = 'Anno (es. Archivio/2012)'; +$labels['archivetypemonth'] = 'Mese (es. Archivio/2012/06)'; +$labels['archivetypefolder'] = 'Cartella originale'; +$labels['archivetypesender'] = 'Mittente email'; +$labels['unkownsender'] = 'sconosciuto'; +?> diff --git a/plugins/archive/localization/ja_JP.inc b/plugins/archive/localization/ja_JP.inc new file mode 100644 index 000000000..c9454be18 --- /dev/null +++ b/plugins/archive/localization/ja_JP.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'アーカイブ'; +$labels['buttontitle'] = 'このメッセージをアーカイブ'; +$labels['archived'] = 'アーカイブしました。'; +$labels['archivedreload'] = 'アーカイブしました。ページを再読み込みすると、新しいアーカイブのフォルダーを表示します。'; +$labels['archiveerror'] = 'アーカイブできないメッセージがありました'; +$labels['archivefolder'] = 'アーカイブ'; +$labels['settingstitle'] = 'アーカイブ'; +$labels['archivetype'] = 'アーカイブを分割: '; +$labels['archivetypeyear'] = '年 (例: アーカイブ/2012)'; +$labels['archivetypemonth'] = '月 (e.g. アーカイブ/2012/06)'; +$labels['archivetypefolder'] = '元のフォルダー'; +$labels['archivetypesender'] = '電子メールの送信者'; +$labels['unkownsender'] = '不明'; +?> diff --git a/plugins/archive/localization/km_KH.inc b/plugins/archive/localization/km_KH.inc new file mode 100644 index 000000000..ab2e5e2cc --- /dev/null +++ b/plugins/archive/localization/km_KH.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'ប័ណ្ណសារ'; +$labels['buttontitle'] = 'ធ្វើសារនេះជាបណ្ណសារ'; +$labels['archived'] = 'ធ្វើជាបណ្ណសារបានសម្រេច'; +$labels['archivedreload'] = 'ធ្វើជាបណ្ណសារបានសម្រេច។ ផ្ទុកទំព័រឡើងវិញ ដើម្បីមើលថតបណ្ណសារថ្មី។'; +$labels['archiveerror'] = 'សារខ្លះមិនអាចត្រូវបានធ្វើជាបណ្ណសារទេ'; +$labels['archivefolder'] = 'ប័ណ្ណសារ'; +$labels['settingstitle'] = 'បណ្ណសារ'; +$labels['archivetype'] = 'ចែកបណ្ណសារតាម'; +$labels['archivetypeyear'] = 'ឆ្នាំ (ឧទា. បណ្ណសារ/2012)'; +$labels['archivetypemonth'] = 'ខែ (ឧទា. បណ្ណសារ/2012/06)'; +$labels['archivetypefolder'] = 'ថតដើម'; +$labels['archivetypesender'] = 'អ្នកផ្ញើអ៊ីមែល'; +$labels['unkownsender'] = 'មិនស្គាល់'; +?> diff --git a/plugins/archive/localization/ko_KR.inc b/plugins/archive/localization/ko_KR.inc new file mode 100644 index 000000000..650e38f0f --- /dev/null +++ b/plugins/archive/localization/ko_KR.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = '보관'; +$labels['buttontitle'] = '이 메시지를 보관함에 저장'; +$labels['archived'] = '성공적으로 보관함'; +$labels['archivedreload'] = '성공적으로 보관됨. 페이지를 다시 불러와서 새로운 보관함 폴더를 확인하세요.'; +$labels['archiveerror'] = '일부 메시지가 보관되지 않음'; +$labels['archivefolder'] = '보관'; +$labels['settingstitle'] = '보관'; +$labels['archivetype'] = '보관된 메시지 정리 기준'; +$labels['archivetypeyear'] = '연도 (예: 보관 편지함/2012)'; +$labels['archivetypemonth'] = '월 (예: 보관 편지함/2012/06)'; +$labels['archivetypefolder'] = '원본 폴더'; +$labels['archivetypesender'] = '발송자 이메일'; +$labels['unkownsender'] = '알 수 없음'; +?> diff --git a/plugins/archive/localization/ku.inc b/plugins/archive/localization/ku.inc new file mode 100644 index 000000000..494951502 --- /dev/null +++ b/plugins/archive/localization/ku.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arşîv'; +$labels['buttontitle'] = 'am masaja bxa arşiv'; +$labels['archived'] = 'ba gşti Arşiv kra'; +$labels['archivefolder'] = 'Arşîv'; +?> diff --git a/plugins/archive/localization/ku_IQ.inc b/plugins/archive/localization/ku_IQ.inc new file mode 100644 index 000000000..838ed8439 --- /dev/null +++ b/plugins/archive/localization/ku_IQ.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'ئەرشیف'; +$labels['archivefolder'] = 'ئەرشیف'; +$labels['settingstitle'] = 'ئەرشیف'; +$labels['unkownsender'] = 'نەناسراو'; +?> diff --git a/plugins/archive/localization/lb_LU.inc b/plugins/archive/localization/lb_LU.inc new file mode 100644 index 000000000..ac16cfea7 --- /dev/null +++ b/plugins/archive/localization/lb_LU.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archivéieren'; +$labels['buttontitle'] = 'Dëse Message archivéieren'; +$labels['archived'] = 'Erfollegräich archivéiert'; +$labels['archivedreload'] = 'Erfollegräich archivéiert. Lued d\'Säit nei fir déi neisten Archiv-Dossieren ze gesinn.'; +$labels['archiveerror'] = 'Verschidde Messagë konnten net archivéiert ginn'; +$labels['archivefolder'] = 'Archiv'; +$labels['settingstitle'] = 'Archiv'; +$labels['archivetype'] = 'Archiv dividéieren duerch'; +$labels['archivetypeyear'] = 'Joer (z.B. Archiv/2013)'; +$labels['archivetypemonth'] = 'Mount (z.B. Archiv/2013/06)'; +$labels['archivetypefolder'] = 'Original-Dossier'; +$labels['archivetypesender'] = 'Sender-E-Mail'; +$labels['unkownsender'] = 'onbekannt'; +?> diff --git a/plugins/archive/localization/lt_LT.inc b/plugins/archive/localization/lt_LT.inc new file mode 100644 index 000000000..fdcf34336 --- /dev/null +++ b/plugins/archive/localization/lt_LT.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archyvuoti'; +$labels['buttontitle'] = 'Perkelti šį laišką į archyvą'; +$labels['archived'] = 'Laiškas sėkmingai perkeltas į archyvą'; +$labels['archivedreload'] = 'Sėkmingai perkelta į archyvą. Iš naujo įkelkite puslapį, kad pamatytumėt pasikeitimus.'; +$labels['archiveerror'] = 'Į archyvą nepavyko perkelti keleto laiškų.'; +$labels['archivefolder'] = 'Archyvuoti'; +$labels['settingstitle'] = 'Archyvuoti'; +$labels['archivetype'] = 'Padalinti archyvą pagal'; +$labels['archivetypeyear'] = 'Metai (pvz. Archyvas/2012)'; +$labels['archivetypemonth'] = 'Mėnesis (pvz. Archyvas/2012/06)'; +$labels['archivetypefolder'] = 'Tikrasis aplankas'; +$labels['archivetypesender'] = 'Siuntėjo el. pašto adresas'; +$labels['unkownsender'] = 'nežinomas'; +?> diff --git a/plugins/archive/localization/lv_LV.inc b/plugins/archive/localization/lv_LV.inc new file mode 100644 index 000000000..5215786b2 --- /dev/null +++ b/plugins/archive/localization/lv_LV.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arhīvs'; +$labels['buttontitle'] = 'Arhivēt šo vēstuli'; +$labels['archived'] = 'Vēstule veiksmīgi arhivēta'; +$labels['archivedreload'] = 'Arhīvs veiksmīgi izveidots. Lai redzētu jaunās arhīva mapes, pārlādējiet lapu.'; +$labels['archiveerror'] = 'Dažas vēstules nebija iespējams arhivēt'; +$labels['archivefolder'] = 'Arhīvs'; +$labels['settingstitle'] = 'Arhīvs'; +$labels['archivetype'] = 'Sadalīt arhīvu pa'; +$labels['archivetypeyear'] = 'Gadiem (piem. Arhīvs/2012)'; +$labels['archivetypemonth'] = 'Mēnešiem (piem. Arhīvs/2012/06)'; +$labels['archivetypefolder'] = 'Sākotnējā mape'; +$labels['archivetypesender'] = 'Sūtītāja e-pasts'; +$labels['unkownsender'] = 'nezināms'; +?> diff --git a/plugins/archive/localization/ml_IN.inc b/plugins/archive/localization/ml_IN.inc new file mode 100644 index 000000000..047223f83 --- /dev/null +++ b/plugins/archive/localization/ml_IN.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'ശേഖരം'; +$labels['buttontitle'] = 'ഈ മെസ്സേജ് ശേഖരിക്കുക'; +$labels['archived'] = 'വിജയകരമായി ശേഖരിച്ചു'; +$labels['archivefolder'] = 'ശേഖരം'; +?> diff --git a/plugins/archive/localization/mr_IN.inc b/plugins/archive/localization/mr_IN.inc new file mode 100644 index 000000000..96ecbc26b --- /dev/null +++ b/plugins/archive/localization/mr_IN.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'जतन केलेला'; +$labels['buttontitle'] = 'हा संदेश जतन करा'; +$labels['archived'] = 'यशस्वीरीत्या जतन केला'; +$labels['archivefolder'] = 'जतन केलेला'; +?> diff --git a/plugins/archive/localization/nb_NO.inc b/plugins/archive/localization/nb_NO.inc new file mode 100644 index 000000000..c0f193aa6 --- /dev/null +++ b/plugins/archive/localization/nb_NO.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arkiv'; +$labels['buttontitle'] = 'Arkiver meldingen'; +$labels['archived'] = 'Arkivert'; +$labels['archivedreload'] = 'Arkivering vellykket. Last inn siden på nytt for å se de nye arkivmappene.'; +$labels['archiveerror'] = 'Noen meldinger kunne ikke arkiveres'; +$labels['archivefolder'] = 'Arkiv'; +$labels['settingstitle'] = 'Arkiv'; +$labels['archivetype'] = 'Del arkiv etter'; +$labels['archivetypeyear'] = 'År (f.eks. Arkiv/2012)'; +$labels['archivetypemonth'] = 'Måned (f.eks. Arkiv/2012/06)'; +$labels['archivetypefolder'] = 'Opprinnelig mappe'; +$labels['archivetypesender'] = 'Avsender'; +$labels['unkownsender'] = 'ukjent'; +?> diff --git a/plugins/archive/localization/nl_NL.inc b/plugins/archive/localization/nl_NL.inc new file mode 100644 index 000000000..edec96761 --- /dev/null +++ b/plugins/archive/localization/nl_NL.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archief'; +$labels['buttontitle'] = 'Archiveer dit bericht'; +$labels['archived'] = 'Succesvol gearchiveerd'; +$labels['archivedreload'] = 'Succesvol gearchiveerd. Herlaad de pagina om de nieuwe archiefmappen te bekijken.'; +$labels['archiveerror'] = 'Sommige berichten kunnen niet gearchiveerd worden'; +$labels['archivefolder'] = 'Archief'; +$labels['settingstitle'] = 'Archiveren'; +$labels['archivetype'] = 'Archief opdelen in'; +$labels['archivetypeyear'] = 'Jaar (bijv. Archief/2012)'; +$labels['archivetypemonth'] = 'Maand (bijv. Archief/2012/06)'; +$labels['archivetypefolder'] = 'Originele map'; +$labels['archivetypesender'] = 'Afzender e-mail'; +$labels['unkownsender'] = 'onbekend'; +?> diff --git a/plugins/archive/localization/nn_NO.inc b/plugins/archive/localization/nn_NO.inc new file mode 100644 index 000000000..d4279c7cb --- /dev/null +++ b/plugins/archive/localization/nn_NO.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arkiver'; +$labels['buttontitle'] = 'Arkiver meldinga'; +$labels['archived'] = 'Arkivert'; +$labels['archivedreload'] = 'Arkivering vellukka. Last inn sida på nytt for å sjå dei nye arkivmappene.'; +$labels['archiveerror'] = 'Nokre meldingar kunne ikkje arkiverast'; +$labels['archivefolder'] = 'Arkiver'; +$labels['settingstitle'] = 'Arkiv'; +$labels['archivetype'] = 'Del arkiv etter'; +$labels['archivetypeyear'] = 'År (f.eks. Arkiv/2012)'; +$labels['archivetypemonth'] = 'Månad (f.eks. Arkiv/2012/06)'; +$labels['archivetypefolder'] = 'Opprinneleg mappe'; +$labels['archivetypesender'] = 'Avsendar'; +$labels['unkownsender'] = 'ukjent'; +?> diff --git a/plugins/archive/localization/pl_PL.inc b/plugins/archive/localization/pl_PL.inc new file mode 100644 index 000000000..9d066e518 --- /dev/null +++ b/plugins/archive/localization/pl_PL.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archiwum'; +$labels['buttontitle'] = 'Przenieś do archiwum'; +$labels['archived'] = 'Pomyślnie zarchiwizowano'; +$labels['archivedreload'] = 'Pomyślnie zarchiwizowano. Odśwież stronę aby zobaczyć nowe foldery.'; +$labels['archiveerror'] = 'Nie można zarchiwizować niektórych wiadomości'; +$labels['archivefolder'] = 'Archiwum'; +$labels['settingstitle'] = 'Archiwum'; +$labels['archivetype'] = 'Podziel archiwum wg'; +$labels['archivetypeyear'] = 'Roku (np. Archiwum/2012)'; +$labels['archivetypemonth'] = 'Miesiąca (np. Archiwum/2012/06)'; +$labels['archivetypefolder'] = 'Oryginalny folder'; +$labels['archivetypesender'] = 'E-mail nadawcy'; +$labels['unkownsender'] = 'nieznany'; +?> diff --git a/plugins/archive/localization/pt_BR.inc b/plugins/archive/localization/pt_BR.inc new file mode 100644 index 000000000..b819ad2d3 --- /dev/null +++ b/plugins/archive/localization/pt_BR.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arquivo'; +$labels['buttontitle'] = 'Arquivar esta mensagem'; +$labels['archived'] = 'Arquivada com sucesso'; +$labels['archivedreload'] = 'Arquivado com sucesso. Recarregue a página para ver as novas pastas de arquivo.'; +$labels['archiveerror'] = 'Algumas mensagens não puderam ser arquivadas'; +$labels['archivefolder'] = 'Arquivo'; +$labels['settingstitle'] = 'Arquivo'; +$labels['archivetype'] = 'Dividir arquivo por'; +$labels['archivetypeyear'] = 'Ano (isto é, Arquivo/2012)'; +$labels['archivetypemonth'] = 'Mês (isto é, Arquivo/2012/06)'; +$labels['archivetypefolder'] = 'Pasta original'; +$labels['archivetypesender'] = 'E-mail do remetente'; +$labels['unkownsender'] = 'desconhecido'; +?> diff --git a/plugins/archive/localization/pt_PT.inc b/plugins/archive/localization/pt_PT.inc new file mode 100644 index 000000000..a2a3e20de --- /dev/null +++ b/plugins/archive/localization/pt_PT.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arquivo'; +$labels['buttontitle'] = 'Arquivar esta mensagem'; +$labels['archived'] = 'Arquivada com sucesso'; +$labels['archivedreload'] = 'Arquivado com sucesso. Recarregue a página para ver as novas pastas de arquivo.'; +$labels['archiveerror'] = 'Algumas mensagens não puderam ser arquivadas'; +$labels['archivefolder'] = 'Arquivo'; +$labels['settingstitle'] = 'Arquivo'; +$labels['archivetype'] = 'Dividir arquivo por'; +$labels['archivetypeyear'] = 'Ano (ex. Arquivo/2012)'; +$labels['archivetypemonth'] = 'Mês (ex. Arquivo/2012/06)'; +$labels['archivetypefolder'] = 'Pasta original'; +$labels['archivetypesender'] = 'E-mail do remetente'; +$labels['unkownsender'] = 'desconhecido'; +?> diff --git a/plugins/archive/localization/ro_RO.inc b/plugins/archive/localization/ro_RO.inc new file mode 100644 index 000000000..6cd9df5ee --- /dev/null +++ b/plugins/archive/localization/ro_RO.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arhivă'; +$labels['buttontitle'] = 'Arhivează mesajul.'; +$labels['archived'] = 'Arhivare reuşită.'; +$labels['archivedreload'] = 'Arhivat cu succes. Reîncărcați pagina pentru a vedea noul dosar de arhivare.'; +$labels['archiveerror'] = 'Unele mesaje nu au putut fi arhivate'; +$labels['archivefolder'] = 'Arhivă'; +$labels['settingstitle'] = 'Arhivă'; +$labels['archivetype'] = 'Împarte arhiva pe'; +$labels['archivetypeyear'] = 'Ani (ex. Arhiva/2013)'; +$labels['archivetypemonth'] = 'Luni (ex. Arhiva/2013/06)'; +$labels['archivetypefolder'] = 'Dosar original'; +$labels['archivetypesender'] = 'E-mail expeditor'; +$labels['unkownsender'] = 'necunoscut'; +?> diff --git a/plugins/archive/localization/ru_RU.inc b/plugins/archive/localization/ru_RU.inc new file mode 100644 index 000000000..b3058b62e --- /dev/null +++ b/plugins/archive/localization/ru_RU.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Архив'; +$labels['buttontitle'] = 'Переместить выбранное в архив'; +$labels['archived'] = 'Перенесено в Архив'; +$labels['archivedreload'] = 'Успешно заархивировано. Обновите страницу, чтобы увидеть новые папки архива.'; +$labels['archiveerror'] = 'Некоторые сообщения не могут быть заархивированы'; +$labels['archivefolder'] = 'Архив'; +$labels['settingstitle'] = 'Архив'; +$labels['archivetype'] = 'Разделить архив по'; +$labels['archivetypeyear'] = 'Год (например, Архив/2012)'; +$labels['archivetypemonth'] = 'Месяц (например, Архив/2012/06)'; +$labels['archivetypefolder'] = 'Исходная папка'; +$labels['archivetypesender'] = 'Адрес отправителя'; +$labels['unkownsender'] = 'неизвестно'; +?> diff --git a/plugins/archive/localization/si_LK.inc b/plugins/archive/localization/si_LK.inc new file mode 100644 index 000000000..24f49ab4f --- /dev/null +++ b/plugins/archive/localization/si_LK.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'සංරක්ෂණය'; +$labels['buttontitle'] = 'මෙම පණිවිඩය සංරක්ෂණය කරන්න'; +$labels['archived'] = 'සංරක්ෂණය සාර්ථකයි'; +$labels['archivefolder'] = 'සංරක්ෂණය'; +?> diff --git a/plugins/archive/localization/sk_SK.inc b/plugins/archive/localization/sk_SK.inc new file mode 100644 index 000000000..79506f650 --- /dev/null +++ b/plugins/archive/localization/sk_SK.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Archivovať'; +$labels['buttontitle'] = 'Archivovať túto správu'; +$labels['archived'] = 'Úspešne uložené do archívu'; +$labels['archivedreload'] = 'Archivovanie bolo úspešne dokončené. Ak si chcete prezrieť nové archívne priečinky, obnovte stránku.'; +$labels['archiveerror'] = 'Niektoré správy nebolo možné archivovať'; +$labels['archivefolder'] = 'Archivovať'; +$labels['settingstitle'] = 'Archív'; +$labels['archivetype'] = 'Rozdeliť archív po'; +$labels['archivetypeyear'] = 'rokoch (napríklad Archív/2012)'; +$labels['archivetypemonth'] = 'mesiacoch (napríklad Archív/2012/06)'; +$labels['archivetypefolder'] = 'Pôvodný priečinok'; +$labels['archivetypesender'] = 'E-mailová adresa odosielateľa'; +$labels['unkownsender'] = 'neznámy'; +?> diff --git a/plugins/archive/localization/sl_SI.inc b/plugins/archive/localization/sl_SI.inc new file mode 100644 index 000000000..60d772591 --- /dev/null +++ b/plugins/archive/localization/sl_SI.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arhiv'; +$labels['buttontitle'] = 'Arhiviraj to sporočilo'; +$labels['archived'] = 'Sporočilo je bilo uspešno arhivirano'; +$labels['archivedreload'] = 'Uspešno shranjeno v arhiv. Za pregled map v Arhivu ponovno naložite stran.'; +$labels['archiveerror'] = 'Nekaterih sporočil ni bilo mogoče arhivirati'; +$labels['archivefolder'] = 'Arhiv'; +$labels['settingstitle'] = 'Arhiv'; +$labels['archivetype'] = 'Razdeli arhiv glede na'; +$labels['archivetypeyear'] = 'Leto (npr. Arhiv/2012)'; +$labels['archivetypemonth'] = 'Mesec (npr. Arhiv/2012/06)'; +$labels['archivetypefolder'] = 'Izvorna mapa'; +$labels['archivetypesender'] = 'Naslov pošiljatelja'; +$labels['unkownsender'] = 'neznan'; +?> diff --git a/plugins/archive/localization/sq_AL.inc b/plugins/archive/localization/sq_AL.inc new file mode 100644 index 000000000..5989cfb3d --- /dev/null +++ b/plugins/archive/localization/sq_AL.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['archivetypeyear'] = 'Viti (p.sh. Arkiv/2012)'; +?> diff --git a/plugins/archive/localization/sr_CS.inc b/plugins/archive/localization/sr_CS.inc new file mode 100644 index 000000000..9d501e9d0 --- /dev/null +++ b/plugins/archive/localization/sr_CS.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arhiva'; +$labels['buttontitle'] = 'Arhivirati ovu poruku'; +$labels['archived'] = 'Uspěšno arhivirano'; +$labels['archivefolder'] = 'Arhiva'; +?> diff --git a/plugins/archive/localization/sv_SE.inc b/plugins/archive/localization/sv_SE.inc new file mode 100644 index 000000000..361b7b6d9 --- /dev/null +++ b/plugins/archive/localization/sv_SE.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arkivera'; +$labels['buttontitle'] = 'Arkivera meddelande'; +$labels['archived'] = 'Meddelandet är arkiverat'; +$labels['archivedreload'] = 'Meddelandet är arkiverat. Ladda om sidan för att se de nya arkivkatalogerna.'; +$labels['archiveerror'] = 'Några meddelanden kunde inte arkiveras'; +$labels['archivefolder'] = 'Arkiv'; +$labels['settingstitle'] = 'Arkiv'; +$labels['archivetype'] = 'Uppdelning av arkiv'; +$labels['archivetypeyear'] = 'År (ex. Arkiv/2012)'; +$labels['archivetypemonth'] = 'Månad (ex. Arkiv/2012/06)'; +$labels['archivetypefolder'] = 'Ursprunglig katalog'; +$labels['archivetypesender'] = 'Avsändaradress'; +$labels['unkownsender'] = 'Okänd'; +?> diff --git a/plugins/archive/localization/tr_TR.inc b/plugins/archive/localization/tr_TR.inc new file mode 100644 index 000000000..ae827469d --- /dev/null +++ b/plugins/archive/localization/tr_TR.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Arşiv'; +$labels['buttontitle'] = 'Bu postayı arşivle'; +$labels['archived'] = 'Başarıyla arşivlendi'; +$labels['archivedreload'] = 'Başarıyla arşivlendi. Yeni arşiv dosyalarını görmek için sayfayı yenileyin.'; +$labels['archiveerror'] = 'Bazı mesajlar arşivlenemedi.'; +$labels['archivefolder'] = 'Arşiv'; +$labels['settingstitle'] = 'Arşiv'; +$labels['archivetype'] = 'Arşivi bununla böl'; +$labels['archivetypeyear'] = 'Yıl (Arşiv/2012)'; +$labels['archivetypemonth'] = 'Ay(Arşiv/2012/06)'; +$labels['archivetypefolder'] = 'Özgün dosya'; +$labels['archivetypesender'] = 'E-Posta Göndericisi'; +$labels['unkownsender'] = 'bilinmeyen'; +?> diff --git a/plugins/archive/localization/uk_UA.inc b/plugins/archive/localization/uk_UA.inc new file mode 100644 index 000000000..92fbc79ea --- /dev/null +++ b/plugins/archive/localization/uk_UA.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Архів'; +$labels['buttontitle'] = 'Архівувати це повідомлення'; +$labels['archived'] = 'Перенесено в архів'; +$labels['archivedreload'] = 'Архівацію успішно завершено. Перезавантажте сторінку щоб побачити теку з архівами.'; +$labels['archiveerror'] = 'Деякі повідомлення неможуть бути зархівованими'; +$labels['archivefolder'] = 'Архів'; +$labels['settingstitle'] = 'Архів'; +$labels['archivetype'] = 'Розділіть архів по'; +$labels['archivetypeyear'] = 'Рік (наприклад Архів/2012)'; +$labels['archivetypemonth'] = 'Місяць (наприклад Архів/2012/06)'; +$labels['archivetypefolder'] = 'Оригінальний каталог'; +$labels['archivetypesender'] = 'Відправник email'; +$labels['unkownsender'] = 'невідомо'; +?> diff --git a/plugins/archive/localization/vi_VN.inc b/plugins/archive/localization/vi_VN.inc new file mode 100644 index 000000000..b2fe3899a --- /dev/null +++ b/plugins/archive/localization/vi_VN.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = 'Lưu trữ'; +$labels['buttontitle'] = 'Lưu lại bức thư này'; +$labels['archived'] = 'Lưu lại thành công'; +$labels['archivedreload'] = 'Đã lưu thành công. Tải lại trang này để thấy các thư mục lưu trữ mới.'; +$labels['archiveerror'] = 'Một số thư không thể lưu lại được'; +$labels['archivefolder'] = 'Lưu trữ'; +$labels['settingstitle'] = 'Lưu trữ'; +$labels['archivetype'] = 'Chia bộ lưu trữ bởi'; +$labels['archivetypeyear'] = 'Năm (ví dụ: Lưu trữ/2012)'; +$labels['archivetypemonth'] = 'Tháng (ví dụ: Lưu trữ/2012/06)'; +$labels['archivetypefolder'] = 'Thư mục nguyên gốc'; +$labels['archivetypesender'] = 'Địa chỉ thư điện tử của người gửi'; +$labels['unkownsender'] = 'Không rõ'; +?> diff --git a/plugins/archive/localization/zh_CN.inc b/plugins/archive/localization/zh_CN.inc new file mode 100644 index 000000000..89837c141 --- /dev/null +++ b/plugins/archive/localization/zh_CN.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = '存档'; +$labels['buttontitle'] = '存档该信息'; +$labels['archived'] = '存档成功'; +$labels['archivedreload'] = '存档成功。请刷新本页以查看新的存档文件夹。'; +$labels['archiveerror'] = '部分信息无法存档'; +$labels['archivefolder'] = '存档'; +$labels['settingstitle'] = '存档'; +$labels['archivetype'] = '分类存档按'; +$labels['archivetypeyear'] = '年(例如 存档/2012)'; +$labels['archivetypemonth'] = '月(例如 存档/2012/06)'; +$labels['archivetypefolder'] = '原始文件夹'; +$labels['archivetypesender'] = '发件人邮件'; +$labels['unkownsender'] = '未知'; +?> diff --git a/plugins/archive/localization/zh_TW.inc b/plugins/archive/localization/zh_TW.inc new file mode 100644 index 000000000..a50ef2845 --- /dev/null +++ b/plugins/archive/localization/zh_TW.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/archive/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-archive/ +*/ +$labels['buttontext'] = '封存'; +$labels['buttontitle'] = '封存此信件'; +$labels['archived'] = '已成功封存'; +$labels['archivedreload'] = '封存動作完成.重新載入頁面瀏覽新的封存資料夾'; +$labels['archiveerror'] = '部分資訊無法完成封存'; +$labels['archivefolder'] = '封存'; +$labels['settingstitle'] = '封存'; +$labels['archivetype'] = '封存檔案切割方式'; +$labels['archivetypeyear'] = '年分(例如: 封存/2012)'; +$labels['archivetypemonth'] = '月份(例如: 封存/2012/06)'; +$labels['archivetypefolder'] = '原始資料夾'; +$labels['archivetypesender'] = '寄件者電子信箱'; +$labels['unkownsender'] = '未知'; +?> diff --git a/plugins/archive/skins/classic/archive.css b/plugins/archive/skins/classic/archive.css new file mode 100644 index 000000000..fc5984b39 --- /dev/null +++ b/plugins/archive/skins/classic/archive.css @@ -0,0 +1,10 @@ + +#messagetoolbar a.button.archive { + text-indent: -5000px; + background: url(archive_act.png) 0 0 no-repeat; +} + +#mailboxlist li.mailbox.archive > a { + background-image: url(foldericon.png); + background-position: 5px 1px; +} diff --git a/plugins/archive/skins/classic/archive_act.png b/plugins/archive/skins/classic/archive_act.png Binary files differnew file mode 100644 index 000000000..2a1735868 --- /dev/null +++ b/plugins/archive/skins/classic/archive_act.png diff --git a/plugins/archive/skins/classic/archive_pas.png b/plugins/archive/skins/classic/archive_pas.png Binary files differnew file mode 100644 index 000000000..8de208583 --- /dev/null +++ b/plugins/archive/skins/classic/archive_pas.png diff --git a/plugins/archive/skins/classic/foldericon.png b/plugins/archive/skins/classic/foldericon.png Binary files differnew file mode 100644 index 000000000..ec0853c44 --- /dev/null +++ b/plugins/archive/skins/classic/foldericon.png diff --git a/plugins/archive/skins/larry/.gitignore b/plugins/archive/skins/larry/.gitignore new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/plugins/archive/skins/larry/.gitignore diff --git a/plugins/archive/tests/Archive.php b/plugins/archive/tests/Archive.php new file mode 100644 index 000000000..17fcdf7a1 --- /dev/null +++ b/plugins/archive/tests/Archive.php @@ -0,0 +1,23 @@ +<?php + +class Archive_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../archive.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new archive($rcube->api); + + $this->assertInstanceOf('archive', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/attachment_reminder/attachment_reminder.js b/plugins/attachment_reminder/attachment_reminder.js new file mode 100755 index 000000000..d6cf8e4a7 --- /dev/null +++ b/plugins/attachment_reminder/attachment_reminder.js @@ -0,0 +1,83 @@ +/** + * Attachment Reminder plugin script + * + * @licstart The following is the entire license notice for the + * JavaScript code in this file. + * + * Copyright (c) 2013, The Roundcube Dev Team + * + * The JavaScript code in this page is free software: you can redistribute it + * and/or modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * @licend The above is the entire license notice + * for the JavaScript code in this file. + */ + +function rcmail_get_compose_message() +{ + var msg; + + if (window.tinyMCE && (ed = tinyMCE.get(rcmail.env.composebody))) { + msg = ed.getContent(); + msg = msg.replace(/<blockquote[^>]*>(.|[\r\n])*<\/blockquote>/gmi, ''); + } + else { + msg = $('#' + rcmail.env.composebody).val(); + msg = msg.replace(/^>.*$/gmi, ''); + } + + return msg; +}; + +function rcmail_check_message(msg) +{ + var i, rx, keywords = rcmail.gettext('keywords', 'attachment_reminder').split(",").concat([".doc", ".pdf"]); + + keywords = $.map(keywords, function(n) { return RegExp.escape(n); }); + rx = new RegExp('(' + keywords.join('|') + ')', 'i'); + + return msg.search(rx) != -1; +}; + +function rcmail_have_attachments() +{ + return rcmail.env.attachments && $('li', rcmail.gui_objects.attachmentlist).length; +}; + +function rcmail_attachment_reminder_dialog() +{ + var buttons = {}; + + buttons[rcmail.gettext('addattachment')] = function() { + $(this).remove(); + if (window.UI && UI.show_uploadform) // Larry skin + UI.show_uploadform(); + else if (window.rcmail_ui && rcmail_ui.show_popup) // classic skin + rcmail_ui.show_popup('uploadmenu', true); + }; + buttons[rcmail.gettext('send')] = function(e) { + $(this).remove(); + rcmail.env.attachment_reminder = true; + rcmail.command('send', '', e); + }; + + rcmail.env.attachment_reminder = false; + rcmail.show_popup_dialog(rcmail.gettext('attachment_reminder.forgotattachment'), '', buttons); +}; + + +if (window.rcmail) { + rcmail.addEventListener('beforesend', function(evt) { + var msg = rcmail_get_compose_message(), + subject = $('#compose-subject').val(); + + if (!rcmail.env.attachment_reminder && !rcmail_have_attachments() + && (rcmail_check_message(msg) || rcmail_check_message(subject)) + ) { + rcmail_attachment_reminder_dialog(); + return false; + } + }); +} diff --git a/plugins/attachment_reminder/attachment_reminder.php b/plugins/attachment_reminder/attachment_reminder.php new file mode 100755 index 000000000..84cc5f3b3 --- /dev/null +++ b/plugins/attachment_reminder/attachment_reminder.php @@ -0,0 +1,84 @@ +<?php +/** + * Attachement Reminder + * + * A plugin that reminds a user to attach the files + * + * @version @package_version@ + * @author Thomas Yu - Sian, Liu + * @author Aleksander Machniak <machniak@kolabsys.com> + * + * Copyright (C) 2013 Thomas Yu - Sian, Liu + * Copyright (C) 2013, Kolab Systems AG + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/> + */ + +class attachment_reminder extends rcube_plugin +{ + public $task = 'mail|settings'; + public $noajax = true; + + + function init() + { + $rcmail = rcube::get_instance(); + + if ($rcmail->task == 'mail' && $rcmail->action == 'compose') { + if ($rcmail->config->get('attachment_reminder')) { + $this->include_script('attachment_reminder.js'); + $this->add_texts('localization/', array('keywords', 'forgotattachment')); + $rcmail->output->add_label('addattachment', 'send'); + } + } + + if ($rcmail->task == 'settings') { + $dont_override = $rcmail->config->get('dont_override', array()); + + if (!in_array('attachment_reminder', $dont_override)) { + $this->add_hook('preferences_list', array($this, 'prefs_list')); + $this->add_hook('preferences_save', array($this, 'prefs_save')); + } + } + } + + function prefs_list($args) + { + if ($args['section'] == 'compose') { + $this->add_texts('localization/'); + $reminder = rcube::get_instance()->config->get('attachment_reminder'); + $field_id = 'rcmfd_attachment_reminder'; + $checkbox = new html_checkbox(array('name' => '_attachment_reminder', 'id' => $field_id, 'value' => 1)); + + $args['blocks']['main']['options']['attachment_reminder'] = array( + 'title' => html::label($field_id, rcube::Q($this->gettext('reminderoption'))), + 'content' => $checkbox->show($reminder ? 1 : 0), + ); + } + + return $args; + } + + function prefs_save($args) + { + if ($args['section'] == 'compose') { + $dont_override = rcube::get_instance()->config->get('dont_override', array()); + if (!in_array('attachment_reminder', $dont_override)) { + $args['prefs']['attachment_reminder'] = !empty($_POST['_attachment_reminder']); + } + } + return $args; + } + +} diff --git a/plugins/attachment_reminder/composer.json b/plugins/attachment_reminder/composer.json new file mode 100644 index 000000000..7690a31a2 --- /dev/null +++ b/plugins/attachment_reminder/composer.json @@ -0,0 +1,29 @@ +{ + "name": "roundcube/Attachment Reminder", + "type": "roundcube-plugin", + "description": "This Roundcube plugin reminds the user to attach a file if the composed message text indicates that there should be any.", + "license": "GPLv3+", + "version": "1.1", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + }, + { + "name": "Thomas Yu - Sian, Liu", + "email": "", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/attachment_reminder/localization/ar_SA.inc b/plugins/attachment_reminder/localization/ar_SA.inc new file mode 100644 index 000000000..bb1ad0449 --- /dev/null +++ b/plugins/attachment_reminder/localization/ar_SA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "هل نسيت إرفاق ملف؟"; +$messages['reminderoption'] = "تذكير حول المرفقات المنسية"; +$messages['keywords'] = "المرفقات,الملف,ارفاق,مرفق,ارفاق,مضمون,CV,صفحة المغلف"; diff --git a/plugins/attachment_reminder/localization/ast.inc b/plugins/attachment_reminder/localization/ast.inc new file mode 100644 index 000000000..910f3fe90 --- /dev/null +++ b/plugins/attachment_reminder/localization/ast.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "¿Escaecisti axuntar un ficheru?"; +$messages['reminderoption'] = "Recordar alrodiu d'axuntos escaecíos"; +$messages['keywords'] = "axuntu,ficheru,axuntar,axuntáu,axuntando,axuntao,axuntada,CV,carta de presentación"; diff --git a/plugins/attachment_reminder/localization/az_AZ.inc b/plugins/attachment_reminder/localization/az_AZ.inc new file mode 100644 index 000000000..5340c917e --- /dev/null +++ b/plugins/attachment_reminder/localization/az_AZ.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Faylı əlavə etməyi unutdunuz?"; +$messages['reminderoption'] = "Unudulmuş qoşmalardan xəbərdar et"; +$messages['keywords'] = "qoşmalar,fayl,qoşma,qoşulub,qoşulur,qapalı,CV,qoşma məktub"; diff --git a/plugins/attachment_reminder/localization/be_BE.inc b/plugins/attachment_reminder/localization/be_BE.inc new file mode 100644 index 000000000..a920ccfa6 --- /dev/null +++ b/plugins/attachment_reminder/localization/be_BE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Забыліся далучыць файл?"; +$messages['reminderoption'] = "Напамінаць пра забытыя далучэнні"; +$messages['keywords'] = "далучэнне,файл,далучыць,далучаны,далучаецца,укладзены,CV,cover letter"; diff --git a/plugins/attachment_reminder/localization/bg_BG.inc b/plugins/attachment_reminder/localization/bg_BG.inc new file mode 100644 index 000000000..a882d6c94 --- /dev/null +++ b/plugins/attachment_reminder/localization/bg_BG.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Забравихте ли да прикрепите файл към съобщението?"; +$messages['reminderoption'] = "Напомняне за забравени прикачени файлове"; +$messages['keywords'] = "прикачен,прикрепен,прикачам,прикачвам,прикрепям,прикрепвам,файл,attachment,file,attach,attached,attaching,enclosed,CV,cover letter"; diff --git a/plugins/attachment_reminder/localization/br.inc b/plugins/attachment_reminder/localization/br.inc new file mode 100644 index 000000000..93eaace5e --- /dev/null +++ b/plugins/attachment_reminder/localization/br.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Disonjet ho peus stagan er restr ?"; +$messages['reminderoption'] = "Adgalv war ar pezhiou stag disonjet"; +$messages['keywords'] = "pezh stag, restr, stagan, aman staget, stagit, ouzhpenan, CV, lizher youl"; diff --git a/plugins/attachment_reminder/localization/bs_BA.inc b/plugins/attachment_reminder/localization/bs_BA.inc new file mode 100644 index 000000000..1ec385dfa --- /dev/null +++ b/plugins/attachment_reminder/localization/bs_BA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Da li ste zaboravili da dodate ovu datoteku?"; +$messages['reminderoption'] = "Napomene o zaboravljenim prilozima"; +$messages['keywords'] = "attachment,file,attach,attached,attaching,enclosed,CV,cover letter,prilog,biografija,popratno pismo,prilogu,popratnom pismu,datoteka,fajl"; diff --git a/plugins/attachment_reminder/localization/ca_ES.inc b/plugins/attachment_reminder/localization/ca_ES.inc new file mode 100644 index 000000000..ca22fbd41 --- /dev/null +++ b/plugins/attachment_reminder/localization/ca_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Us heu oblidat afegir un fitxer?"; +$messages['reminderoption'] = "Recordatori de fitxers adjunts oblidats"; +$messages['keywords'] = "adjunt,fitxer,adjuntar,adjuntat,adjuntant,CV,carta"; diff --git a/plugins/attachment_reminder/localization/cs_CZ.inc b/plugins/attachment_reminder/localization/cs_CZ.inc new file mode 100644 index 000000000..3d2166478 --- /dev/null +++ b/plugins/attachment_reminder/localization/cs_CZ.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Nezapomněli jste připojit přílohu?"; +$messages['reminderoption'] = "Upozorňovat na zapomenuté přílohy"; +$messages['keywords'] = "příloha,přílohy,příloze,přílohu,přiloženém,připojeném,CV,životopis"; diff --git a/plugins/attachment_reminder/localization/cy_GB.inc b/plugins/attachment_reminder/localization/cy_GB.inc new file mode 100644 index 000000000..0ce8a9991 --- /dev/null +++ b/plugins/attachment_reminder/localization/cy_GB.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Wedi anghofio atodi ffeil?"; +$messages['reminderoption'] = "Atgoffa am atodiadau ar goll"; +$messages['keywords'] = "atodiad,atodi,atodaf,atodwyd,atodir,amgaedig,dogfen,llythyr,ffeil,attachment,file,attach,attached,attaching,enclosed,CV,cover letter,"; diff --git a/plugins/attachment_reminder/localization/da_DK.inc b/plugins/attachment_reminder/localization/da_DK.inc new file mode 100644 index 000000000..e41eafb36 --- /dev/null +++ b/plugins/attachment_reminder/localization/da_DK.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Glemte du at vedhæfte en fil?"; +$messages['reminderoption'] = "Påmind om glemt vedhæftning af filer"; +$messages['keywords'] = "vedhæftet fil,fil,vedhæft,vedhæftet,vedhæfter,lukket,CV,følgebrev"; diff --git a/plugins/attachment_reminder/localization/de_CH.inc b/plugins/attachment_reminder/localization/de_CH.inc new file mode 100644 index 000000000..9aca61e68 --- /dev/null +++ b/plugins/attachment_reminder/localization/de_CH.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Haben Sie möglicherweise vergessen eine Datei anzuhängen?"; +$messages['reminderoption'] = "Vor vergessenen Anhängen warnen"; +$messages['keywords'] = "anbei,anhang,angehängt,angefügt,beigefügt,beliegend"; diff --git a/plugins/attachment_reminder/localization/de_DE.inc b/plugins/attachment_reminder/localization/de_DE.inc new file mode 100644 index 000000000..0422e2de2 --- /dev/null +++ b/plugins/attachment_reminder/localization/de_DE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Haben Sie möglicherweise vergessen eine Datei anzuhängen?"; +$messages['reminderoption'] = "Erinnern an vergessene Anhänge "; +$messages['keywords'] = "anbei,im anhang,angehängt,angefügt,beigefügt,beliegend"; diff --git a/plugins/attachment_reminder/localization/el_GR.inc b/plugins/attachment_reminder/localization/el_GR.inc new file mode 100644 index 000000000..11a3cb822 --- /dev/null +++ b/plugins/attachment_reminder/localization/el_GR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Μήπως ξεχάσετε να επισυνάψετε αρχείο; "; +$messages['reminderoption'] = "Υπενθύμιση για συνημμένα"; +$messages['keywords'] = "συνημμένο, αρχείο, επισύναψη, συνημμένο, επισυνάπτοντας, εσωκλείοντας, βιογραφικό σημείωμα, συνοδευτική επιστολή"; diff --git a/plugins/attachment_reminder/localization/en_CA.inc b/plugins/attachment_reminder/localization/en_CA.inc new file mode 100644 index 000000000..730e206f7 --- /dev/null +++ b/plugins/attachment_reminder/localization/en_CA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Did you forget to attach a file?"; +$messages['reminderoption'] = "Remind about forgotten attachments"; +$messages['keywords'] = "attachment,file,attach,attached,attaching,enclosed,CV,cover letter"; diff --git a/plugins/attachment_reminder/localization/en_GB.inc b/plugins/attachment_reminder/localization/en_GB.inc new file mode 100644 index 000000000..730e206f7 --- /dev/null +++ b/plugins/attachment_reminder/localization/en_GB.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Did you forget to attach a file?"; +$messages['reminderoption'] = "Remind about forgotten attachments"; +$messages['keywords'] = "attachment,file,attach,attached,attaching,enclosed,CV,cover letter"; diff --git a/plugins/attachment_reminder/localization/en_US.inc b/plugins/attachment_reminder/localization/en_US.inc new file mode 100644 index 000000000..488b0df37 --- /dev/null +++ b/plugins/attachment_reminder/localization/en_US.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ + +$messages = array(); +$messages['forgotattachment'] = "Did you forget to attach a file?"; +$messages['reminderoption'] = "Remind about forgotten attachments"; +$messages['keywords'] = "attachment,file,attach,attached,attaching,enclosed,CV,cover letter"; diff --git a/plugins/attachment_reminder/localization/es_419.inc b/plugins/attachment_reminder/localization/es_419.inc new file mode 100644 index 000000000..0c9a33bfe --- /dev/null +++ b/plugins/attachment_reminder/localization/es_419.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "¿Has olvidado adjuntar un archivo?"; +$messages['reminderoption'] = "Recordar si olvido adjuntar archivos"; +$messages['keywords'] = "attachment,file,attach,attached,attaching,enclosed,CV,cover letter"; diff --git a/plugins/attachment_reminder/localization/es_AR.inc b/plugins/attachment_reminder/localization/es_AR.inc new file mode 100644 index 000000000..2a7418348 --- /dev/null +++ b/plugins/attachment_reminder/localization/es_AR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Has olvidado adjuntar un archivo?"; +$messages['reminderoption'] = "Recordar sobre archivos adjuntos olvidados"; +$messages['keywords'] = "adjunto,archivo,adjuntar,adjuntado,adjuntando,"; diff --git a/plugins/attachment_reminder/localization/es_ES.inc b/plugins/attachment_reminder/localization/es_ES.inc new file mode 100644 index 000000000..2e4ffdf28 --- /dev/null +++ b/plugins/attachment_reminder/localization/es_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "¿Olvidó adjuntar un fichero al mensaje?"; +$messages['reminderoption'] = "Recordatorio sobre adjuntos olvidados"; +$messages['keywords'] = "adjunto, archivo, adjuntar, unido, adjuntando, cerrado, CV, carta de presentación"; diff --git a/plugins/attachment_reminder/localization/et_EE.inc b/plugins/attachment_reminder/localization/et_EE.inc new file mode 100644 index 000000000..c8be2af6d --- /dev/null +++ b/plugins/attachment_reminder/localization/et_EE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Unustasid faili lisada?"; +$messages['reminderoption'] = "Tuleta mulle meelde kui unustasin manuse lisada"; +$messages['keywords'] = "manus,manuses,lisatud,lisasin,fail,file,failis,attachment,file,attach,attached,attaching,enclosed,CV,cover letter"; diff --git a/plugins/attachment_reminder/localization/eu_ES.inc b/plugins/attachment_reminder/localization/eu_ES.inc new file mode 100644 index 000000000..f658990e5 --- /dev/null +++ b/plugins/attachment_reminder/localization/eu_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Ahaztu zaizu fitxategia eranstea?"; +$messages['reminderoption'] = "Ohartarazi ahaztutako erankinez"; +$messages['keywords'] = "eranskin,fitxategia,erantzi,erantzita,eransten,atxikita"; diff --git a/plugins/attachment_reminder/localization/fa_AF.inc b/plugins/attachment_reminder/localization/fa_AF.inc new file mode 100644 index 000000000..1c47737f1 --- /dev/null +++ b/plugins/attachment_reminder/localization/fa_AF.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "آیا فراموش کردید که فایل را الصاق کرده اید؟"; +$messages['reminderoption'] = "یاد آوری درمورد ضمایم فراموش شده"; +$messages['keywords'] = "ضمیمه،فایل،ضمیمه کردن،ضمیمه شده،در حال ضمیمه کردن، الصاق شده،CV، عنوان نامه"; diff --git a/plugins/attachment_reminder/localization/fa_IR.inc b/plugins/attachment_reminder/localization/fa_IR.inc new file mode 100644 index 000000000..fd1c40117 --- /dev/null +++ b/plugins/attachment_reminder/localization/fa_IR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "آیا شما پیوست کردن پرونده را فراموش کردهاید؟"; +$messages['reminderoption'] = "یادآوری فراموشی پیوستها"; +$messages['keywords'] = "پیوست،پرونده،پیوست کردن، پیوست شده، CV"; diff --git a/plugins/attachment_reminder/localization/fi_FI.inc b/plugins/attachment_reminder/localization/fi_FI.inc new file mode 100644 index 000000000..a39d8b28d --- /dev/null +++ b/plugins/attachment_reminder/localization/fi_FI.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Unohditko liittää tiedoston?"; +$messages['reminderoption'] = "Muistuta mahdollisesti unohtuneista liitteistä"; +$messages['keywords'] = "attachment,file,attach,attached,attaching,enclosed,CV,cover letter,liite,tiedosto,liitteenä,liitetiedosto,ansioluettelo"; diff --git a/plugins/attachment_reminder/localization/fo_FO.inc b/plugins/attachment_reminder/localization/fo_FO.inc new file mode 100644 index 000000000..260ec0361 --- /dev/null +++ b/plugins/attachment_reminder/localization/fo_FO.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Gloymdi tú at viðhefta ein fíl?"; +$messages['reminderoption'] = "Áminn um gloymdar viðheftingar"; +$messages['keywords'] = "viðhefting,fílur,heft,viðheft,heftir,lagt inní,CV,fylgi skriv"; diff --git a/plugins/attachment_reminder/localization/fr_FR.inc b/plugins/attachment_reminder/localization/fr_FR.inc new file mode 100644 index 000000000..999affccb --- /dev/null +++ b/plugins/attachment_reminder/localization/fr_FR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Avez-vous oublié de joindre un fichier ?"; +$messages['reminderoption'] = "Rappel sur les pièces jointes oubliées"; +$messages['keywords'] = "pièce jointe,fichier,joindre,joins,joint,attaché,inclus,ci-inclus,CV, lettre d'accompagnement"; diff --git a/plugins/attachment_reminder/localization/gl_ES.inc b/plugins/attachment_reminder/localization/gl_ES.inc new file mode 100644 index 000000000..a45f63bd1 --- /dev/null +++ b/plugins/attachment_reminder/localization/gl_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Esqueceches adxuntar un ficheiro?"; +$messages['reminderoption'] = "Lembrete de adxuntos esquecidos"; +$messages['keywords'] = "anexo, arquivo, engadir, anexo, anexando, pechado, CV, carta de presentación"; diff --git a/plugins/attachment_reminder/localization/he_IL.inc b/plugins/attachment_reminder/localization/he_IL.inc new file mode 100644 index 000000000..2c348afb6 --- /dev/null +++ b/plugins/attachment_reminder/localization/he_IL.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "האם שכחת לצרף קובץ?"; +$messages['reminderoption'] = "להזכיר לצרף נספח"; +$messages['keywords'] = "נספח,קובץ,לצרף,מצורף,מצרף,מצרפת,רצ\"ב,קו\"ח,קורות חיים"; diff --git a/plugins/attachment_reminder/localization/hr_HR.inc b/plugins/attachment_reminder/localization/hr_HR.inc new file mode 100644 index 000000000..4037b16e9 --- /dev/null +++ b/plugins/attachment_reminder/localization/hr_HR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Jeste li zaboravili dodati privitak?"; +$messages['reminderoption'] = "Podsjeti na zaboravljen privitak"; +$messages['keywords'] = "privitak,datoteka,dodati,dodano,dodajem,u privitku,CV,motivacijsko pismo"; diff --git a/plugins/attachment_reminder/localization/hu_HU.inc b/plugins/attachment_reminder/localization/hu_HU.inc new file mode 100644 index 000000000..b76a8cf9b --- /dev/null +++ b/plugins/attachment_reminder/localization/hu_HU.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Nem felejtetted el a csatolandó file-t?"; +$messages['reminderoption'] = "Emlékeztessen a csatolandó csatolmányra"; +$messages['keywords'] = "csatolmány, file, csatolás, csatolt, csatolni, közrezárt, CV, kisérőlevél"; diff --git a/plugins/attachment_reminder/localization/ia.inc b/plugins/attachment_reminder/localization/ia.inc new file mode 100644 index 000000000..3b7af087d --- /dev/null +++ b/plugins/attachment_reminder/localization/ia.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Ha vos oblidate de attachar un file?"; +$messages['reminderoption'] = "Rememorar de attachamentos oblidate"; +$messages['keywords'] = "attachamento,file,attachar,attachate,attachante,annexo,annexe,annexate,CV,curriculo de vita"; diff --git a/plugins/attachment_reminder/localization/id_ID.inc b/plugins/attachment_reminder/localization/id_ID.inc new file mode 100644 index 000000000..e2a606aa2 --- /dev/null +++ b/plugins/attachment_reminder/localization/id_ID.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Apakah anda lupa melampirkan sebuah file?"; +$messages['reminderoption'] = "Ingatkan tentang lampiran yang terlupakan"; +$messages['keywords'] = "attachment,file,attach,attached,attaching,enclosed,CV,cover letter"; diff --git a/plugins/attachment_reminder/localization/it_IT.inc b/plugins/attachment_reminder/localization/it_IT.inc new file mode 100644 index 000000000..2a9772dcb --- /dev/null +++ b/plugins/attachment_reminder/localization/it_IT.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Sembra che tu abbia dimenticato di allegare un file!\nPremere Annulla per inviare lo stesso.\nOK per tornare al messaggio senza inviare."; +$messages['reminderoption'] = "Ricorda per gli allegati dimenticati"; +$messages['keywords'] = "allegato,allegati,allegata,allegate,allega,allego,alleghi,attaccato,file,attachment,attach"; diff --git a/plugins/attachment_reminder/localization/ja_JP.inc b/plugins/attachment_reminder/localization/ja_JP.inc new file mode 100644 index 000000000..5ba55d446 --- /dev/null +++ b/plugins/attachment_reminder/localization/ja_JP.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "ファイルの添付を忘れていませんか?"; +$messages['reminderoption'] = "添付ファイルの付け忘れを確認"; +$messages['keywords'] = "添付,ファイル,添付ファイル,同封,添え状"; diff --git a/plugins/attachment_reminder/localization/km_KH.inc b/plugins/attachment_reminder/localization/km_KH.inc new file mode 100644 index 000000000..f6b207c1a --- /dev/null +++ b/plugins/attachment_reminder/localization/km_KH.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "តើអ្នកភ្លេចភ្ជាប់ឯកសារឬ?"; +$messages['reminderoption'] = "រំលឹងអំពីឯកសារភ្ជាប់ដែលបានភ្លេច"; +$messages['keywords'] = "attachment,file,attach,attached,attaching,enclosed,CV,cover letter"; diff --git a/plugins/attachment_reminder/localization/kn_IN.inc b/plugins/attachment_reminder/localization/kn_IN.inc new file mode 100644 index 000000000..e6aff0334 --- /dev/null +++ b/plugins/attachment_reminder/localization/kn_IN.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "ನೀವು ಫೈಲ್ ಅಟ್ಯಾಚ್ ಮಾಡಲು ಮರೆತಿರುವಿರಾ?"; diff --git a/plugins/attachment_reminder/localization/ko_KR.inc b/plugins/attachment_reminder/localization/ko_KR.inc new file mode 100644 index 000000000..58391a886 --- /dev/null +++ b/plugins/attachment_reminder/localization/ko_KR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "파일을 첨부하는 것을 잊으셨습니까?"; +$messages['reminderoption'] = "잊었던 첨부파일 추가에 대해 알림"; +$messages['keywords'] = "attachment,file,attach,attached,attaching,enclosed,CV,cover letter"; diff --git a/plugins/attachment_reminder/localization/ku.inc b/plugins/attachment_reminder/localization/ku.inc new file mode 100644 index 000000000..310179884 --- /dev/null +++ b/plugins/attachment_reminder/localization/ku.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Te ji bîr kir da pelekê pêve bikî?"; +$messages['reminderoption'] = "Pêvekên jibîrkirî bi bîr bixe"; +$messages['keywords'] = "pêvek, pel, pêve bike, pêvekirî, pêve dike, rapêçandî, CV, tîpa bergê"; diff --git a/plugins/attachment_reminder/localization/ku_IQ.inc b/plugins/attachment_reminder/localization/ku_IQ.inc new file mode 100644 index 000000000..e8e32cead --- /dev/null +++ b/plugins/attachment_reminder/localization/ku_IQ.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "ئایا لەبیرت کرد پەڕگەیەک هاوپێچ بکەی؟"; +$messages['reminderoption'] = "بیرهێنانەوە دەربارەی هاوپێچە لەبیرکراوەکان"; diff --git a/plugins/attachment_reminder/localization/lb_LU.inc b/plugins/attachment_reminder/localization/lb_LU.inc new file mode 100644 index 000000000..f91f3d129 --- /dev/null +++ b/plugins/attachment_reminder/localization/lb_LU.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Hues du vergiess e Fichier drunzehänken?"; +$messages['reminderoption'] = "U vergiessen Unhäng erënneren"; +$messages['keywords'] = "Attachment,Fichier,Unhank,Unhang,Unhäng,ugehaangen,unhänken,attachment,file,attach,attached,attaching,enclosed,CV,cover letter,fichier joint"; diff --git a/plugins/attachment_reminder/localization/lt_LT.inc b/plugins/attachment_reminder/localization/lt_LT.inc new file mode 100644 index 000000000..a8ba0b883 --- /dev/null +++ b/plugins/attachment_reminder/localization/lt_LT.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Ar nepamiršote prisegti priedo?"; +$messages['reminderoption'] = "Priminti apie neprisegtus priedus"; +$messages['keywords'] = "priedas, byla, prisegti, prisegta, prisegama, uždaras, CV, laiškas"; diff --git a/plugins/attachment_reminder/localization/lv_LV.inc b/plugins/attachment_reminder/localization/lv_LV.inc new file mode 100644 index 000000000..ee4feeb24 --- /dev/null +++ b/plugins/attachment_reminder/localization/lv_LV.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Vai Jūs nepiemirsāt pievienot failu?"; +$messages['reminderoption'] = "Atgādināt par nepievienotajiem pielikumiem"; +$messages['keywords'] = "pielikums,fails,pievienot,pielikt,pievienots,pielikts,ievietot,ievietots,CV"; diff --git a/plugins/attachment_reminder/localization/ml_IN.inc b/plugins/attachment_reminder/localization/ml_IN.inc new file mode 100644 index 000000000..74c86c923 --- /dev/null +++ b/plugins/attachment_reminder/localization/ml_IN.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "താങ്കൾ ഒരു ഫയൽ ചേർക്കാൻ മറന്നുപോയി"; +$messages['reminderoption'] = "ചേർക്കാൻ മറന്നുപോയ ഫയലുകളെ പറ്റി ഓർമ്മപ്പെടുത്തുക"; diff --git a/plugins/attachment_reminder/localization/nb_NO.inc b/plugins/attachment_reminder/localization/nb_NO.inc new file mode 100644 index 000000000..1462837d5 --- /dev/null +++ b/plugins/attachment_reminder/localization/nb_NO.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Glemte du å legge ved en fil?"; +$messages['reminderoption'] = "Gi meg en påminnelse om glemte vedlegg"; +$messages['keywords'] = "vedlegg, fil, legg ved, lagt ved, legger ved, lukket, CV, følgebrev"; diff --git a/plugins/attachment_reminder/localization/nl_NL.inc b/plugins/attachment_reminder/localization/nl_NL.inc new file mode 100644 index 000000000..293ad174f --- /dev/null +++ b/plugins/attachment_reminder/localization/nl_NL.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Bent u vergeten het bestand bij te voegen?"; +$messages['reminderoption'] = "Herinner mij aan vergeten bijlagen"; +$messages['keywords'] = "attachment,bestand,bijgaand,bijgaande,brief,bijgevoegd,bijgesloten,CV,document,bijgesloten"; diff --git a/plugins/attachment_reminder/localization/pl_PL.inc b/plugins/attachment_reminder/localization/pl_PL.inc new file mode 100644 index 000000000..06cede5d9 --- /dev/null +++ b/plugins/attachment_reminder/localization/pl_PL.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Czy nie zapomniałeś załączyć pliku?"; +$messages['reminderoption'] = "Włącz przypominanie o brakującym załączniku"; +$messages['keywords'] = "załącznik,plik,załącz,CV"; diff --git a/plugins/attachment_reminder/localization/pt_BR.inc b/plugins/attachment_reminder/localization/pt_BR.inc new file mode 100644 index 000000000..4b61e951c --- /dev/null +++ b/plugins/attachment_reminder/localization/pt_BR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Você esqueceu-se de anexar um arquivo?"; +$messages['reminderoption'] = "Alertar sobre o possível esquecimento de anexos"; +$messages['keywords'] = "anexo,arquivo,anexar,anexado,anexando,incluso,CV,currículo"; diff --git a/plugins/attachment_reminder/localization/pt_PT.inc b/plugins/attachment_reminder/localization/pt_PT.inc new file mode 100644 index 000000000..de2d04efd --- /dev/null +++ b/plugins/attachment_reminder/localization/pt_PT.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Você esqueceu-se de anexar um ficheiro?"; +$messages['reminderoption'] = "Lembrar sobre anexos esquecidos"; +$messages['keywords'] = "anexo,ficheiro,anexar,anexado,a anexar,em anexo,currículo,carta de apresentação"; diff --git a/plugins/attachment_reminder/localization/ro_RO.inc b/plugins/attachment_reminder/localization/ro_RO.inc new file mode 100644 index 000000000..ff1153908 --- /dev/null +++ b/plugins/attachment_reminder/localization/ro_RO.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Ați uitat să atașati ?"; +$messages['reminderoption'] = "Adu-mi aminte de atașamente"; +$messages['keywords'] = "atașament,atasament,atas,atasat,ataș,attach,fisier,fișier,attach,atach,attache"; diff --git a/plugins/attachment_reminder/localization/ru_RU.inc b/plugins/attachment_reminder/localization/ru_RU.inc new file mode 100644 index 000000000..d592b1e30 --- /dev/null +++ b/plugins/attachment_reminder/localization/ru_RU.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Вы не забыли прикрепить файл?"; +$messages['reminderoption'] = "Напоминать о забытых вложениях"; +$messages['keywords'] = "вложение,файл, вложенный, прикрепленный,резюме,документ"; diff --git a/plugins/attachment_reminder/localization/sk_SK.inc b/plugins/attachment_reminder/localization/sk_SK.inc new file mode 100644 index 000000000..344d1e6a7 --- /dev/null +++ b/plugins/attachment_reminder/localization/sk_SK.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Nezabudli ste pridať prílohu?"; +$messages['reminderoption'] = "Pripomenúť zabudnuté prílohy"; +$messages['keywords'] = "príloha,súbor,pripojiť,priložená,priložený,priložené,v prílohe,životopis,sprievodný list"; diff --git a/plugins/attachment_reminder/localization/sl_SI.inc b/plugins/attachment_reminder/localization/sl_SI.inc new file mode 100644 index 000000000..9531f8ed0 --- /dev/null +++ b/plugins/attachment_reminder/localization/sl_SI.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Ste pozabili pripeti datoteko?"; +$messages['reminderoption'] = "Opozorilo za dodajanje priponk"; +$messages['keywords'] = "priponka,datoteka,pripeti,pripeta,pripenjati,priložen,priložiti,CV,spremno pismo"; diff --git a/plugins/attachment_reminder/localization/sv_SE.inc b/plugins/attachment_reminder/localization/sv_SE.inc new file mode 100644 index 000000000..744a9618e --- /dev/null +++ b/plugins/attachment_reminder/localization/sv_SE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Glömde du att bifoga en fil?"; +$messages['reminderoption'] = "Påminn om glömda bilagor"; +$messages['keywords'] = "bilaga,fil,bifoga,bifogad,bifogar,infogad,CV,personligt brev"; diff --git a/plugins/attachment_reminder/localization/tr_TR.inc b/plugins/attachment_reminder/localization/tr_TR.inc new file mode 100644 index 000000000..6d0d5c027 --- /dev/null +++ b/plugins/attachment_reminder/localization/tr_TR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Dosya eklemeyi mi unuttunuz?"; +$messages['reminderoption'] = "Dosya ek(ler)i unutulduysa hatırlat."; +$messages['keywords'] = "ekleme,dosya,ek,eklenildi,ekleniliyor,ekteki,CV,mektup"; diff --git a/plugins/attachment_reminder/localization/uk_UA.inc b/plugins/attachment_reminder/localization/uk_UA.inc new file mode 100644 index 000000000..22de70d27 --- /dev/null +++ b/plugins/attachment_reminder/localization/uk_UA.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Ви забули прикріпити файл?"; +$messages['reminderoption'] = "Нагадати про забуте вкладення"; diff --git a/plugins/attachment_reminder/localization/vi_VN.inc b/plugins/attachment_reminder/localization/vi_VN.inc new file mode 100644 index 000000000..b5604302b --- /dev/null +++ b/plugins/attachment_reminder/localization/vi_VN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "Bạn đã quên không đính kèm tệp tin?"; +$messages['reminderoption'] = "Nhắc về tệp tin đính kèm bị quên"; +$messages['keywords'] = "tệp đính kèm,tệp tin,đính kèm,đã đính kèm,đang đính kèm tập tin,đính kèm,CV,thư mở đầu"; diff --git a/plugins/attachment_reminder/localization/zh_CN.inc b/plugins/attachment_reminder/localization/zh_CN.inc new file mode 100644 index 000000000..6c44fe948 --- /dev/null +++ b/plugins/attachment_reminder/localization/zh_CN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "您似乎忘记添加附件了,是否继续发送?"; +$messages['reminderoption'] = "忘记添加附件提醒"; +$messages['keywords'] = "attachment,file,attach,attached,attaching,enclosed,CV,cover letter"; diff --git a/plugins/attachment_reminder/localization/zh_TW.inc b/plugins/attachment_reminder/localization/zh_TW.inc new file mode 100644 index 000000000..aaa91cd24 --- /dev/null +++ b/plugins/attachment_reminder/localization/zh_TW.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/attachment_reminder/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Archive plugin | + | Copyright (C) 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-attachment_reminder/ +*/ +$messages['forgotattachment'] = "您似乎忘記加入附件了,你確定要寄出?"; +$messages['reminderoption'] = "提醒加入附件"; +$messages['keywords'] = "附件,附加,附檔,附上,附加檔案"; diff --git a/plugins/autologon/autologon.php b/plugins/autologon/autologon.php new file mode 100644 index 000000000..9c7d5b6fc --- /dev/null +++ b/plugins/autologon/autologon.php @@ -0,0 +1,48 @@ +<?php + +/** + * Sample plugin to try out some hooks. + * This performs an automatic login if accessed from localhost + * + * @license GNU GPLv3+ + * @author Thomas Bruederli + */ +class autologon extends rcube_plugin +{ + public $task = 'login'; + + function init() + { + $this->add_hook('startup', array($this, 'startup')); + $this->add_hook('authenticate', array($this, 'authenticate')); + } + + function startup($args) + { + // change action to login + if (empty($_SESSION['user_id']) && !empty($_GET['_autologin']) && $this->is_localhost()) + $args['action'] = 'login'; + + return $args; + } + + function authenticate($args) + { + if (!empty($_GET['_autologin']) && $this->is_localhost()) { + $args['user'] = 'me'; + $args['pass'] = '******'; + $args['host'] = 'localhost'; + $args['cookiecheck'] = false; + $args['valid'] = true; + } + + return $args; + } + + function is_localhost() + { + return $_SERVER['REMOTE_ADDR'] == '::1' || $_SERVER['REMOTE_ADDR'] == '127.0.0.1'; + } + +} + diff --git a/plugins/autologon/composer.json b/plugins/autologon/composer.json new file mode 100644 index 000000000..c332d3bd7 --- /dev/null +++ b/plugins/autologon/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/autologon", + "type": "roundcube-plugin", + "description": "Sample plugin to try out some hooks", + "license": "GPLv3+", + "version": "1.0", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/autologon/tests/Autologon.php b/plugins/autologon/tests/Autologon.php new file mode 100644 index 000000000..f3f6b4206 --- /dev/null +++ b/plugins/autologon/tests/Autologon.php @@ -0,0 +1,23 @@ +<?php + +class Autologon_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../autologon.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new autologon($rcube->api); + + $this->assertInstanceOf('autologon', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/database_attachments/composer.json b/plugins/database_attachments/composer.json new file mode 100644 index 000000000..d0df987eb --- /dev/null +++ b/plugins/database_attachments/composer.json @@ -0,0 +1,30 @@ +{ + "name": "roundcube/database_attachments", + "type": "roundcube-plugin", + "description": "This plugin which provides database backed storage for temporary attachment file handling. The primary advantage of this plugin is its compatibility with round-robin dns multi-server Roundcube installations.", + "license": "GPLv2", + "version": "1.1", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + }, + { + "name": "Ziba Scott", + "email": "ziba@umich.edu", + "role": "Developer" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3", + "roundcube/filesystem_attachments": ">=1.0.0" + } +} diff --git a/plugins/database_attachments/config.inc.php.dist b/plugins/database_attachments/config.inc.php.dist new file mode 100644 index 000000000..c371cbbb7 --- /dev/null +++ b/plugins/database_attachments/config.inc.php.dist @@ -0,0 +1,12 @@ +<?php + +// By default this plugin stores attachments in filesystem +// and copies them into sql database. +// You can change it to use 'memcache' or 'apc'. +$config['database_attachments_cache'] = 'db'; + +// Attachment data expires after specied TTL time in seconds (max.2592000). +// Default is 12 hours. +$config['database_attachments_cache_ttl'] = 12 * 60 * 60; + +?> diff --git a/plugins/database_attachments/database_attachments.php b/plugins/database_attachments/database_attachments.php new file mode 100644 index 000000000..e4abf937e --- /dev/null +++ b/plugins/database_attachments/database_attachments.php @@ -0,0 +1,163 @@ +<?php +/** + * Database Attachments + * + * This plugin which provides database backed storage for temporary + * attachment file handling. The primary advantage of this plugin + * is its compatibility with round-robin dns multi-server roundcube + * installations. + * + * This plugin relies on the core filesystem_attachments plugin + * + * @author Ziba Scott <ziba@umich.edu> + * @author Aleksander Machniak <alec@alec.pl> + * @version @package_version@ + */ + +require_once INSTALL_PATH . 'plugins/filesystem_attachments/filesystem_attachments.php'; + +class database_attachments extends filesystem_attachments +{ + // Cache object + protected $cache; + + // A prefix for the cache key used in the session and in the key field of the cache table + protected $prefix = "db_attach"; + + /** + * Save a newly uploaded attachment + */ + function upload($args) + { + $args['status'] = false; + + $cache = $this->get_cache(); + $key = $this->_key($args); + $data = file_get_contents($args['path']); + + if ($data === false) { + return $args; + } + + $data = base64_encode($data); + $status = $cache->write($key, $data); + + if ($status) { + $args['id'] = $key; + $args['status'] = true; + unset($args['path']); + } + + return $args; + } + + /** + * Save an attachment from a non-upload source (draft or forward) + */ + function save($args) + { + $args['status'] = false; + + $cache = $this->get_cache(); + $key = $this->_key($args); + + if ($args['path']) { + $args['data'] = file_get_contents($args['path']); + + if ($args['data'] === false) { + return $args; + } + } + + $data = base64_encode($args['data']); + $status = $cache->write($key, $data); + + if ($status) { + $args['id'] = $key; + $args['status'] = true; + } + + return $args; + } + + /** + * Remove an attachment from storage + * This is triggered by the remove attachment button on the compose screen + */ + function remove($args) + { + $cache = $this->get_cache(); + $status = $cache->remove($args['id']); + + $args['status'] = true; + + return $args; + } + + /** + * When composing an html message, image attachments may be shown + * For this plugin, $this->get() will check the file and + * return it's contents + */ + function display($args) + { + return $this->get($args); + } + + /** + * When displaying or sending the attachment the file contents are fetched + * using this method. This is also called by the attachment_display hook. + */ + function get($args) + { + $cache = $this->get_cache(); + $data = $cache->read($args['id']); + + if ($data) { + $args['data'] = base64_decode($data); + $args['status'] = true; + } + + return $args; + } + + /** + * Delete all temp files associated with this user + */ + function cleanup($args) + { + // check if cache object exist, it may be empty on session_destroy (#1489726) + if ($cache = $this->get_cache()) { + $cache->remove($args['group'], true); + } + } + + /** + * Helper method to generate a unique key for the given attachment file + */ + protected function _key($args) + { + $uname = $args['path'] ? $args['path'] : $args['name']; + return $args['group'] . md5(mktime() . $uname . $_SESSION['user_id']); + } + + /** + * Initialize and return cache object + */ + protected function get_cache() + { + if (!$this->cache) { + $this->load_config(); + + $rcmail = rcube::get_instance(); + $ttl = 12 * 60 * 60; // default: 12 hours + $ttl = $rcmail->config->get('database_attachments_cache_ttl', $ttl); + $type = $rcmail->config->get('database_attachments_cache', 'db'); + + // Init SQL cache (disable cache data serialization) + $this->cache = $rcmail->get_cache($this->prefix, 'db', $ttl, false); + } + + return $this->cache; + } +} diff --git a/plugins/database_attachments/tests/DatabaseAttachments.php b/plugins/database_attachments/tests/DatabaseAttachments.php new file mode 100644 index 000000000..15ea5f44e --- /dev/null +++ b/plugins/database_attachments/tests/DatabaseAttachments.php @@ -0,0 +1,23 @@ +<?php + +class DatabaseAttachments_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../database_attachments.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new database_attachments($rcube->api); + + $this->assertInstanceOf('database_attachments', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/debug_logger/composer.json b/plugins/debug_logger/composer.json new file mode 100644 index 000000000..af7e1c1f8 --- /dev/null +++ b/plugins/debug_logger/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/debug_logger", + "type": "roundcube-plugin", + "description": "Enhanced logging for debugging purposes. It is not recommened to be enabled on production systems without testing because of the somewhat increased memory, cpu and disk i/o overhead.", + "license": "GPLv2", + "version": "1.0", + "authors": [ + { + "name": "Ziba Scott", + "email": "ziba@umich.edu", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/debug_logger/debug_logger.php b/plugins/debug_logger/debug_logger.php new file mode 100644 index 000000000..07190e5a1 --- /dev/null +++ b/plugins/debug_logger/debug_logger.php @@ -0,0 +1,150 @@ +<?php + +/** + * Debug Logger + * + * Enhanced logging for debugging purposes. It is not recommened + * to be enabled on production systems without testing because of + * the somewhat increased memory, cpu and disk i/o overhead. + * + * Debug Logger listens for existing console("message") calls and + * introduces start and end tags as well as free form tagging + * which can redirect messages to files. The resulting log files + * provide timing and tag quantity results. + * + * Enable the plugin in config.inc.php and add your desired + * log types and files. + * + * @version @package_version@ + * @author Ziba Scott + * @website http://roundcube.net + * + * Example: + * + * config.inc.php: + * + * // $config['debug_logger'][type of logging] = name of file in log_dir + * // The 'master' log includes timing information + * $config['debug_logger']['master'] = 'master'; + * // If you want sql messages to also go into a separate file + * $config['debug_logger']['sql'] = 'sql'; + * + * index.php (just after $RCMAIL->plugins->init()): + * + * console("my test","start"); + * console("my message"); + * console("my sql calls","start"); + * console("cp -r * /dev/null","shell exec"); + * console("select * from example","sql"); + * console("select * from example","sql"); + * console("select * from example","sql"); + * console("end"); + * console("end"); + * + * + * logs/master (after reloading the main page): + * + * [17-Feb-2009 16:51:37 -0500] start: Task: mail. + * [17-Feb-2009 16:51:37 -0500] start: my test + * [17-Feb-2009 16:51:37 -0500] my message + * [17-Feb-2009 16:51:37 -0500] shell exec: cp -r * /dev/null + * [17-Feb-2009 16:51:37 -0500] start: my sql calls + * [17-Feb-2009 16:51:37 -0500] sql: select * from example + * [17-Feb-2009 16:51:37 -0500] sql: select * from example + * [17-Feb-2009 16:51:37 -0500] sql: select * from example + * [17-Feb-2009 16:51:37 -0500] end: my sql calls - 0.0018 seconds shell exec: 1, sql: 3, + * [17-Feb-2009 16:51:37 -0500] end: my test - 0.0055 seconds shell exec: 1, sql: 3, + * [17-Feb-2009 16:51:38 -0500] end: Task: mail. - 0.8854 seconds shell exec: 1, sql: 3, + * + * logs/sql (after reloading the main page): + * + * [17-Feb-2009 16:51:37 -0500] sql: select * from example + * [17-Feb-2009 16:51:37 -0500] sql: select * from example + * [17-Feb-2009 16:51:37 -0500] sql: select * from example + */ +class debug_logger extends rcube_plugin +{ + function init() + { + require_once(__DIR__ . '/runlog/runlog.php'); + $this->runlog = new runlog(); + + if(!rcmail::get_instance()->config->get('log_dir')){ + rcmail::get_instance()->config->set('log_dir',INSTALL_PATH.'logs'); + } + + $log_config = rcmail::get_instance()->config->get('debug_logger',array()); + + foreach($log_config as $type=>$file){ + $this->runlog->set_file(rcmail::get_instance()->config->get('log_dir').'/'.$file, $type); + } + + $start_string = ""; + $action = rcmail::get_instance()->action; + $task = rcmail::get_instance()->task; + if($action){ + $start_string .= "Action: ".$action.". "; + } + if($task){ + $start_string .= "Task: ".$task.". "; + } + $this->runlog->start($start_string); + + $this->add_hook('console', array($this, 'console')); + $this->add_hook('authenticate', array($this, 'authenticate')); + } + + function authenticate($args){ + $this->runlog->note('Authenticating '.$args['user'].'@'.$args['host']); + return $args; + } + + function console($args){ + $note = $args[0]; + $type = $args[1]; + + + if(!isset($args[1])){ + // This could be extended to detect types based on the + // file which called console. For now only rcube_imap/rcube_storage is supported + $bt = debug_backtrace(); + $file = $bt[3]['file']; + switch(basename($file)){ + case 'rcube_imap.php': + $type = 'imap'; + break; + case 'rcube_storage.php': + $type = 'storage'; + break; + default: + $type = FALSE; + break; + } + } + switch($note){ + case 'end': + $type = 'end'; + break; + } + + + switch($type){ + case 'start': + $this->runlog->start($note); + break; + case 'end': + $this->runlog->end(); + break; + default: + $this->runlog->note($note, $type); + break; + } + return $args; + } + + function __destruct() + { + if ($this->runlog) + $this->runlog->end(); + } +} diff --git a/plugins/debug_logger/runlog/runlog.php b/plugins/debug_logger/runlog/runlog.php new file mode 100644 index 000000000..0c766a13c --- /dev/null +++ b/plugins/debug_logger/runlog/runlog.php @@ -0,0 +1,227 @@ +<?php + +/** + * runlog + * + * @author Ziba Scott <ziba@umich.edu> + */ +class runlog { + + private $start_time = FALSE; + + private $parent_stack = array(); + + public $print_to_console = FALSE; + + private $file_handles = array(); + + private $indent = 0; + + public $threshold = 0; + + public $tag_count = array(); + + public $timestamp = "d-M-Y H:i:s O"; + + public $max_line_size = 150; + + private $run_log = array(); + + function runlog() + { + $this->start_time = microtime( TRUE ); + } + + public function start( $name, $tag = FALSE ) + { + $this->run_log[] = array( 'type' => 'start', + 'tag' => $tag, + 'index' => count($this->run_log), + 'value' => $name, + 'time' => microtime( TRUE ), + 'parents' => $this->parent_stack, + 'ended' => false, + ); + $this->parent_stack[] = $name; + + $this->print_to_console("start: ".$name, $tag, 'start'); + $this->print_to_file("start: ".$name, $tag, 'start'); + $this->indent++; + } + + public function end() + { + $name = array_pop( $this->parent_stack ); + foreach ( $this->run_log as $k => $entry ) { + if ( $entry['value'] == $name && $entry['type'] == 'start' && $entry['ended'] == false) { + $lastk = $k; + } + } + $start = $this->run_log[$lastk]['time']; + $this->run_log[$lastk]['duration'] = microtime( TRUE ) - $start; + $this->run_log[$lastk]['ended'] = true; + + $this->run_log[] = array( 'type' => 'end', + 'tag' => $this->run_log[$lastk]['tag'], + 'index' => $lastk, + 'value' => $name, + 'time' => microtime( TRUE ), + 'duration' => microtime( TRUE ) - $start, + 'parents' => $this->parent_stack, + ); + $this->indent--; + if($this->run_log[$lastk]['duration'] >= $this->threshold){ + $tag_report = ""; + foreach($this->tag_count as $tag=>$count){ + $tag_report .= "$tag: $count, "; + } + if(!empty($tag_report)){ +// $tag_report = "\n$tag_report\n"; + } + $end_txt = sprintf("end: $name - %0.4f seconds $tag_report", $this->run_log[$lastk]['duration'] ); + $this->print_to_console($end_txt, $this->run_log[$lastk]['tag'] , 'end'); + $this->print_to_file($end_txt, $this->run_log[$lastk]['tag'], 'end'); + } + } + + public function increase_tag_count($tag){ + if(!isset($this->tag_count[$tag])){ + $this->tag_count[$tag] = 0; + } + $this->tag_count[$tag]++; + } + + public function get_text(){ + $text = ""; + foreach($this->run_log as $entry){ + $text .= str_repeat(" ",count($entry['parents'])); + if($entry['tag'] != 'text'){ + $text .= $entry['tag'].': '; + } + $text .= $entry['value']; + + if($entry['tag'] == 'end'){ + $text .= sprintf(" - %0.4f seconds", $entry['duration'] ); + } + + $text .= "\n"; + } + return $text; + } + + public function set_file($filename, $tag = 'master'){ + if(!isset($this->file_handle[$tag])){ + $this->file_handles[$tag] = fopen($filename, 'a'); + if(!$this->file_handles[$tag]){ + trigger_error('Could not open file for writing: '.$filename); + } + } + } + + public function note( $msg, $tag = FALSE ) + { + if($tag){ + $this->increase_tag_count($tag); + } + if ( is_array( $msg )) { + $msg = '<pre>' . print_r( $msg, TRUE ) . '</pre>'; + } + $this->debug_messages[] = $msg; + $this->run_log[] = array( 'type' => 'note', + 'tag' => $tag ? $tag:"text", + 'value' => htmlentities($msg), + 'time' => microtime( TRUE ), + 'parents' => $this->parent_stack, + ); + + $this->print_to_file($msg, $tag); + $this->print_to_console($msg, $tag); + + } + + public function print_to_file($msg, $tag = FALSE, $type = FALSE){ + if(!$tag){ + $file_handle_tag = 'master'; + } + else{ + $file_handle_tag = $tag; + } + if($file_handle_tag != 'master' && isset($this->file_handles[$file_handle_tag])){ + $buffer = $this->get_indent(); + $buffer .= "$msg\n"; + if(!empty($this->timestamp)){ + $buffer = sprintf("[%s] %s",date($this->timestamp, mktime()), $buffer); + } + fwrite($this->file_handles[$file_handle_tag], wordwrap($buffer, $this->max_line_size, "\n ")); + } + if(isset($this->file_handles['master']) && $this->file_handles['master']){ + $buffer = $this->get_indent(); + if($tag){ + $buffer .= "$tag: "; + } + $msg = str_replace("\n","",$msg); + $buffer .= "$msg"; + if(!empty($this->timestamp)){ + $buffer = sprintf("[%s] %s",date($this->timestamp, mktime()), $buffer); + } + if(strlen($buffer) > $this->max_line_size){ + $buffer = substr($buffer,0,$this->max_line_size - 3)."..."; + } + fwrite($this->file_handles['master'], $buffer."\n"); + } + } + + public function print_to_console($msg, $tag=FALSE){ + if($this->print_to_console){ + if(is_array($this->print_to_console)){ + if(in_array($tag, $this->print_to_console)){ + echo $this->get_indent(); + if($tag){ + echo "$tag: "; + } + echo "$msg\n"; + } + } + else{ + echo $this->get_indent(); + if($tag){ + echo "$tag: "; + } + echo "$msg\n"; + } + } + } + + public function print_totals(){ + $totals = array(); + foreach ($this->run_log as $entry) { + if ( $entry['type'] == 'start' && $entry['ended'] == true) { + $totals[$entry['value']]['duration'] += $entry['duration']; + $totals[$entry['value']]['count'] += 1; + } + } + if($this->file_handle){ + foreach($totals as $name=>$details){ + fwrite($this->file_handle,$name.": ".number_format($details['duration'],4)."sec, ".$details['count']." calls \n"); + } + } + } + + private function get_indent(){ + $buf = ""; + for($i = 0; $i < $this->indent; $i++){ + $buf .= " "; + } + return $buf; + } + + + function __destruct(){ + foreach($this->file_handles as $handle){ + fclose($handle); + } + } + +} + +?> diff --git a/plugins/debug_logger/tests/DebugLogger.php b/plugins/debug_logger/tests/DebugLogger.php new file mode 100644 index 000000000..8dd0c03fe --- /dev/null +++ b/plugins/debug_logger/tests/DebugLogger.php @@ -0,0 +1,23 @@ +<?php + +class DebugLogger_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../debug_logger.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new debug_logger($rcube->api); + + $this->assertInstanceOf('debug_logger', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/emoticons/composer.json b/plugins/emoticons/composer.json new file mode 100644 index 000000000..8e7b90ae9 --- /dev/null +++ b/plugins/emoticons/composer.json @@ -0,0 +1,29 @@ +{ + "name": "roundcube/emoticons", + "type": "roundcube-plugin", + "description": "Sample plugin to replace emoticons in plain text message body with real icons.", + "license": "GPLv3+", + "version": "1.3", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + }, + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Developer" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/emoticons/emoticons.php b/plugins/emoticons/emoticons.php new file mode 100644 index 000000000..187e83827 --- /dev/null +++ b/plugins/emoticons/emoticons.php @@ -0,0 +1,78 @@ +<?php + +/** + * Display Emoticons + * + * Sample plugin to replace emoticons in plain text message body with real icons + * + * @version @package_version@ + * @license GNU GPLv3+ + * @author Thomas Bruederli + * @author Aleksander Machniak + * @website http://roundcube.net + */ +class emoticons extends rcube_plugin +{ + public $task = 'mail'; + + function init() + { + $this->add_hook('message_part_after', array($this, 'replace')); + } + + function replace($args) + { + // This is a lookbehind assertion which will exclude html entities + // E.g. situation when ";)" in "")" shouldn't be replaced by the icon + // It's so long because of assertion format restrictions + $entity = '(?<!&' + . '[a-zA-Z0-9]{2}' . '|' . '#[0-9]{2}' . '|' + . '[a-zA-Z0-9]{3}' . '|' . '#[0-9]{3}' . '|' + . '[a-zA-Z0-9]{4}' . '|' . '#[0-9]{4}' . '|' + . '[a-zA-Z0-9]{5}' . '|' + . '[a-zA-Z0-9]{6}' . '|' + . '[a-zA-Z0-9]{7}' + . ')'; + + // map of emoticon replacements + $map = array( + '/:\)/' => $this->img_tag('smiley-smile.gif', ':)' ), + '/:-\)/' => $this->img_tag('smiley-smile.gif', ':-)' ), + '/(?<!mailto):D/' => $this->img_tag('smiley-laughing.gif', ':D' ), + '/:-D/' => $this->img_tag('smiley-laughing.gif', ':-D' ), + '/:\(/' => $this->img_tag('smiley-frown.gif', ':(' ), + '/:-\(/' => $this->img_tag('smiley-frown.gif', ':-(' ), + '/'.$entity.';\)/' => $this->img_tag('smiley-wink.gif', ';)' ), + '/'.$entity.';-\)/' => $this->img_tag('smiley-wink.gif', ';-)' ), + '/8\)/' => $this->img_tag('smiley-cool.gif', '8)' ), + '/8-\)/' => $this->img_tag('smiley-cool.gif', '8-)' ), + '/(?<!mailto):O/i' => $this->img_tag('smiley-surprised.gif', ':O' ), + '/(?<!mailto):-O/i' => $this->img_tag('smiley-surprised.gif', ':-O' ), + '/(?<!mailto):P/i' => $this->img_tag('smiley-tongue-out.gif', ':P' ), + '/(?<!mailto):-P/i' => $this->img_tag('smiley-tongue-out.gif', ':-P' ), + '/(?<!mailto):@/i' => $this->img_tag('smiley-yell.gif', ':@' ), + '/(?<!mailto):-@/i' => $this->img_tag('smiley-yell.gif', ':-@' ), + '/O:\)/i' => $this->img_tag('smiley-innocent.gif', 'O:)' ), + '/O:-\)/i' => $this->img_tag('smiley-innocent.gif', 'O:-)' ), + '/(?<!mailto):$/' => $this->img_tag('smiley-embarassed.gif', ':$' ), + '/(?<!mailto):-$/' => $this->img_tag('smiley-embarassed.gif', ':-$' ), + '/(?<!mailto):\*/i' => $this->img_tag('smiley-kiss.gif', ':*' ), + '/(?<!mailto):-\*/i' => $this->img_tag('smiley-kiss.gif', ':-*' ), + '/(?<!mailto):S/i' => $this->img_tag('smiley-undecided.gif', ':S' ), + '/(?<!mailto):-S/i' => $this->img_tag('smiley-undecided.gif', ':-S' ), + ); + + if ($args['type'] == 'plain') { + $args['body'] = preg_replace( + array_keys($map), array_values($map), $args['body']); + } + + return $args; + } + + private function img_tag($ico, $title) + { + $path = './program/js/tinymce/plugins/emoticons/img/'; + return html::img(array('src' => $path.$ico, 'title' => $title)); + } +} diff --git a/plugins/emoticons/tests/Emoticons.php b/plugins/emoticons/tests/Emoticons.php new file mode 100644 index 000000000..e04502285 --- /dev/null +++ b/plugins/emoticons/tests/Emoticons.php @@ -0,0 +1,23 @@ +<?php + +class Emoticons_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../emoticons.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new emoticons($rcube->api); + + $this->assertInstanceOf('emoticons', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/enigma/README b/plugins/enigma/README new file mode 100644 index 000000000..0566069ff --- /dev/null +++ b/plugins/enigma/README @@ -0,0 +1,66 @@ +Enigma Plugin for Roundcube + +This plugin adds support for viewing and sending of signed and encrypted +messages in PGP (RFC 2440) and PGP/MIME (RFC 3156) format. + +The plugin uses gpg binary on the server and stores all keys +(including private keys of the users) on the server. +Encryption/decryption is done server-side. So, this plugin +is for users that trust the server. + +WARNING! The plugin is in very early state. See below for a list +of missing features and known issues. + + +Implemented features: +--------------------- ++ PGP: signatures verification ++ PGP: messages decryption ++ PGP: Sending of encrypted/signed messages ++ PGP: keys management UI (keys import and delete) ++ Handling of PGP keys attached to incoming messages ++ User preferences to disable plugin features + +TODO (must have): +----------------- +- Keys export to file +- Disable Reply/Forward options when viewing encrypted messages + until they are decrypted successfully +- Handling of replying/forwarding of encrypted/signed messages +- Client-side keys generation (with OpenPGP.js?) + +TODO (later): +------------- +- Handling of big messages with temp files +- Server-side keys generation (warning: no-entropy issue, max_execution_time issue) +- Key info in contact details page (optional) +- Extended key management: + - disable, + - revoke, + - change expiration date, change passphrase, add photo, + - manage user IDs +- Generate revocation certs +- Search filter to see invalid/expired keys +- Key server(s) support (search, import, upload, refresh) +- Attaching public keys to email +- Mark keys as trusted/untrasted, display appropriate message in verify/decrypt status +- Change attachment icon on messages list for encrypted messages (like vcard_attachment plugin does) +- Support for multi-server installations (store keys in sql database?) +- Per-Identity settings (including keys/certs) +- Performance improvements: + - cache decrypted message key id so we can skip decryption if we have no password in session + - cache (last or successful only?) sig verification status to not verify on every msg preview (optional) +- S/MIME: Certs generation +- S/MIME: Certs management +- S/MIME: signed messages verification +- S/MIME: encrypted messages decryption +- S/MIME: Sending signed/encrypted messages +- S/MIME: Handling of certs attached to incoming messages +- S/MIME: Certificate info in Contacts details page (optional) + +Known issues: +------------- +1. There are Crypt_GPG issues when using gnupg >= 2.0 + - http://pear.php.net/bugs/bug.php?id=19914 + - http://pear.php.net/bugs/bug.php?id=20453 + - http://pear.php.net/bugs/bug.php?id=20527 diff --git a/plugins/enigma/composer.json b/plugins/enigma/composer.json new file mode 100644 index 000000000..8e28d64a0 --- /dev/null +++ b/plugins/enigma/composer.json @@ -0,0 +1,29 @@ +{ + "name": "roundcube/enigma", + "type": "roundcube-plugin", + "description": "PGP Encryption for Roundcube", + "license": "GPLv3+", + "version": "0.1", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "pear", + "url": "http://pear.php.net/" + }, + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3", + "pear-pear.php.net/crypt_gpg": "*" + } +} diff --git a/plugins/enigma/config.inc.php.dist b/plugins/enigma/config.inc.php.dist new file mode 100644 index 000000000..832f355b1 --- /dev/null +++ b/plugins/enigma/config.inc.php.dist @@ -0,0 +1,30 @@ +<?php + +// Enigma Plugin options +// -------------------- + +// A driver to use for PGP. Default: "gnupg". +$config['enigma_pgp_driver'] = 'gnupg'; + +// A driver to use for S/MIME. Default: "phpssl". +$config['enigma_smime_driver'] = 'phpssl'; + +// Keys directory for all users. Default 'enigma/home'. +// Must be writeable by PHP process +$config['enigma_pgp_homedir'] = null; + +// Enables signatures verification feature. +$config['enigma_signatures'] = true; + +// Enables messages decryption feature. +$config['enigma_decryption'] = true; + +// Enable signing all messages by default +$config['enigma_sign_all'] = false; + +// Enable encrypting all messages by default +$config['enigma_encrypt_all'] = false; + +// Default for how long to store private key passwords (in minutes). +// When set to 0 passwords will be stored for the whole session. +$config['enigma_password_time'] = 5; diff --git a/plugins/enigma/enigma.js b/plugins/enigma/enigma.js new file mode 100644 index 000000000..4048d8d85 --- /dev/null +++ b/plugins/enigma/enigma.js @@ -0,0 +1,386 @@ +/* Enigma Plugin */ + +window.rcmail && rcmail.addEventListener('init', function(evt) { + if (rcmail.env.task == 'settings') { + rcmail.register_command('plugin.enigma', function() { rcmail.goto_url('plugin.enigma') }, true); + rcmail.register_command('plugin.enigma-key-import', function() { rcmail.enigma_key_import() }, true); +// rcmail.register_command('plugin.enigma-key-export', function() { rcmail.enigma_key_export() }, true); + rcmail.register_command('plugin.enigma-key-delete', function(props) { return rcmail.enigma_key_delete(); }); + + if (rcmail.gui_objects.keyslist) { + rcmail.keys_list = new rcube_list_widget(rcmail.gui_objects.keyslist, + {multiselect:false, draggable:false, keyboard:false}); + rcmail.keys_list + .addEventListener('select', function(o) { rcmail.enigma_keylist_select(o); }) + .addEventListener('keypress', function(o) { rcmail.enigma_keylist_keypress(o); }) + .init() + .focus(); + + rcmail.enigma_list(); + + rcmail.register_command('firstpage', function(props) { return rcmail.enigma_list_page('first'); }); + rcmail.register_command('previouspage', function(props) { return rcmail.enigma_list_page('previous'); }); + rcmail.register_command('nextpage', function(props) { return rcmail.enigma_list_page('next'); }); + rcmail.register_command('lastpage', function(props) { return rcmail.enigma_list_page('last'); }); + } + + if (rcmail.env.action == 'plugin.enigmakeys') { + rcmail.register_command('search', function(props) {return rcmail.enigma_search(props); }, true); + rcmail.register_command('reset-search', function(props) {return rcmail.enigma_search_reset(props); }, true); + rcmail.register_command('plugin.enigma-import', function() { rcmail.enigma_import(); }, true); +// rcmail.register_command('plugin.enigma-export', function() { rcmail.enigma_export(); }, true); + } + } + else if (rcmail.env.task == 'mail') { + if (rcmail.env.action == 'compose') { + rcmail.addEventListener('beforesend', function(props) { rcmail.enigma_beforesend_handler(props); }) + .addEventListener('beforesavedraft', function(props) { rcmail.enigma_beforesavedraft_handler(props); }); + + $('input,label', $('#enigmamenu')).mouseup(function(e) { + // don't close the menu on mouse click inside + e.stopPropagation(); + }); + } + else if (rcmail.env.action == 'show' || rcmail.env.action == 'preview') { + if (rcmail.env.enigma_password_request) { + rcmail.enigma_password_request(rcmail.env.enigma_password_request); + } + } + } +}); + + +/*********************************************************/ +/********* Enigma Settings/Keys/Certs UI *********/ +/*********************************************************/ + +// Display key(s) import form +rcube_webmail.prototype.enigma_key_import = function() +{ + this.enigma_loadframe('&_action=plugin.enigmakeys&_a=import'); +}; + +// Delete key(s) +rcube_webmail.prototype.enigma_key_delete = function() +{ + var keys = this.keys_list.get_selection(); + + if (!keys.length || !confirm(this.get_label('enigma.keyremoveconfirm'))) + return; + + var lock = this.display_message(this.get_label('enigma.keyremoving'), 'loading'), + post = {_a: 'delete', _keys: keys}; + + // send request to server + this.http_post('plugin.enigmakeys', post, lock); +}; + +// Submit key(s) import form +rcube_webmail.prototype.enigma_import = function() +{ + var form, file; + + if (form = this.gui_objects.importform) { + file = document.getElementById('rcmimportfile'); + if (file && !file.value) { + alert(this.get_label('selectimportfile')); + return; + } + + var lock = this.set_busy(true, 'importwait'); + + form.action = this.add_url(form.action, '_unlock', lock); + form.submit(); + + this.lock_form(form, true); + } +}; + +// list row selection handler +rcube_webmail.prototype.enigma_keylist_select = function(list) +{ + var id; + if (id = list.get_single_selection()) + this.enigma_loadframe('&_action=plugin.enigmakeys&_a=info&_id=' + id); + + this.enable_command('plugin.enigma-key-delete', list.selection.length > 0); +}; + +rcube_webmail.prototype.enigma_keylist_keypress = function(list) +{ + if (list.modkey == CONTROL_KEY) + return; + + if (list.key_pressed == list.DELETE_KEY || list.key_pressed == list.BACKSPACE_KEY) + this.command('plugin.enigma-key-delete'); + else if (list.key_pressed == 33) + this.command('previouspage'); + else if (list.key_pressed == 34) + this.command('nextpage'); +}; + +// load key frame +rcube_webmail.prototype.enigma_loadframe = function(url) +{ + var frm, win; + + if (this.env.contentframe && window.frames && (frm = window.frames[this.env.contentframe])) { + if (!url && (win = window.frames[this.env.contentframe])) { + if (win.location && win.location.href.indexOf(this.env.blankpage) < 0) + win.location.href = this.env.blankpage; + return; + } + + this.set_busy(true); + frm.location.href = this.env.comm_path + '&_framed=1' + url; + } +}; + +// Search keys/certs +rcube_webmail.prototype.enigma_search = function(props) +{ + if (!props && this.gui_objects.qsearchbox) + props = this.gui_objects.qsearchbox.value; + + if (props || this.env.search_request) { + var params = {'_a': 'search', '_q': urlencode(props)}, + lock = this.set_busy(true, 'searching'); +// if (this.gui_objects.search_filter) + // addurl += '&_filter=' + this.gui_objects.search_filter.value; + this.env.current_page = 1; + this.enigma_loadframe(); + this.enigma_clear_list(); + this.http_post('plugin.enigmakeys', params, lock); + } + + return false; +} + +// Reset search filter and the list +rcube_webmail.prototype.enigma_search_reset = function(props) +{ + var s = this.env.search_request; + this.reset_qsearch(); + + if (s) { + this.enigma_loadframe(); + this.enigma_clear_list(); + + // refresh the list + this.enigma_list(); + } + + return false; +} + +// Keys/certs listing +rcube_webmail.prototype.enigma_list = function(page) +{ + var params = {'_a': 'list'}, + lock = this.set_busy(true, 'loading'); + + this.env.current_page = page ? page : 1; + + if (this.env.search_request) + params._q = this.env.search_request; + if (page) + params._p = page; + + this.enigma_clear_list(); + this.http_post('plugin.enigmakeys', params, lock); +} + +// Change list page +rcube_webmail.prototype.enigma_list_page = function(page) +{ + if (page == 'next') + page = this.env.current_page + 1; + else if (page == 'last') + page = this.env.pagecount; + else if (page == 'prev' && this.env.current_page > 1) + page = this.env.current_page - 1; + else if (page == 'first' && this.env.current_page > 1) + page = 1; + + this.enigma_list(page); +} + +// Remove list rows +rcube_webmail.prototype.enigma_clear_list = function() +{ + this.enigma_loadframe(); + if (this.keys_list) + this.keys_list.clear(true); +} + +// Adds a row to the list +rcube_webmail.prototype.enigma_add_list_row = function(r) +{ + if (!this.gui_objects.keyslist || !this.keys_list) + return false; + + var list = this.keys_list, + tbody = this.gui_objects.keyslist.tBodies[0], + rowcount = tbody.rows.length, + even = rowcount%2, + css_class = 'message' + + (even ? ' even' : ' odd'), + // for performance use DOM instead of jQuery here + row = document.createElement('tr'), + col = document.createElement('td'); + + row.id = 'rcmrow' + r.id; + row.className = css_class; + + col.innerHTML = r.name; + row.appendChild(col); + list.insert_row(row); +} + + +/*********************************************************/ +/********* Enigma Message methods *********/ +/*********************************************************/ + +// handle message send/save action +rcube_webmail.prototype.enigma_beforesend_handler = function(props) +{ + this.env.last_action = 'send'; + this.enigma_compose_handler(props); +} + +rcube_webmail.prototype.enigma_beforesavedraft_handler = function(props) +{ + this.env.last_action = 'savedraft'; + this.enigma_compose_handler(props); +} + +rcube_webmail.prototype.enigma_compose_handler = function(props) +{ + var form = this.gui_objects.messageform; + + // copy inputs from enigma menu to the form + $('#enigmamenu input').each(function() { + var id = this.id + '_cpy', input = $('#' + id); + + if (!input.length) { + input = $(this).clone(); + input.prop({id: id, type: 'hidden'}).appendTo(form); + } + + input.val(this.checked ? '1' : ''); + }); + + // disable signing when saving drafts + if (this.env.last_action == 'savedraft') { + $('input[name="_enigma_sign"]', form).val(0); + } +} + +// Import attached keys/certs file +rcube_webmail.prototype.enigma_import_attachment = function(mime_id) +{ + var lock = this.set_busy(true, 'loading'), + post = {_uid: this.env.uid, _mbox: this.env.mailbox, _part: mime_id}; + + this.http_post('plugin.enigmaimport', post, lock); + + return false; +} + +// password request popup +rcube_webmail.prototype.enigma_password_request = function(data) +{ + if (!data || !data.keyid) { + return; + } + + var ref = this, + msg = this.get_label('enigma.enterkeypass'), + myprompt = $('<div class="prompt">'), + myprompt_content = $('<div class="message">') + .appendTo(myprompt), + myprompt_input = $('<input>').attr({type: 'password', size: 30}) + .keypress(function(e) { + if (e.which == 13) + (ref.is_framed() ? window.parent.$ : $)('.ui-dialog-buttonpane button.mainaction:visible').click(); + }) + .appendTo(myprompt); + + data.key = data.keyid; + if (data.keyid.length > 8) + data.keyid = data.keyid.substr(data.keyid.length - 8); + + $.each(['keyid', 'user'], function() { + msg = msg.replace('$' + this, data[this]); + }); + + myprompt_content.text(msg); + + this.show_popup_dialog(myprompt, this.get_label('enigma.enterkeypasstitle'), + [{ + text: this.get_label('save'), + 'class': 'mainaction', + click: function(e) { + e.stopPropagation(); + + var jq = ref.is_framed() ? window.parent.$ : $, + pass = myprompt_input.val(); + + if (!pass) { + myprompt_input.focus(); + return; + } + + ref.enigma_password_submit(data.key, pass); + jq(this).remove(); + } + }, + { + text: this.get_label('cancel'), + click: function(e) { + var jq = ref.is_framed() ? window.parent.$ : $; + e.stopPropagation(); + jq(this).remove(); + } + }], {width: 400}); + + if (this.is_framed() && parent.rcmail.message_list) { + // this fixes bug when pressing Enter on "Save" button in the dialog + parent.rcmail.message_list.blur(); + } +} + +// submit entered password +rcube_webmail.prototype.enigma_password_submit = function(keyid, password) +{ + if (this.env.action == 'compose') { + return this.enigma_password_compose_submit(keyid, password); + } + + // message preview + var form = $('<form>').attr({method: 'post', action: location.href, style: 'display:none'}) + .append($('<input>').attr({type: 'hidden', name: '_keyid', value: keyid})) + .append($('<input>').attr({type: 'hidden', name: '_passwd', value: password})) + .append($('<input>').attr({type: 'hidden', name: '_token', value: this.env.request_token})) + .appendTo(document.body); + + form.submit(); +} + +// submit entered password - in mail compose page +rcube_webmail.prototype.enigma_password_compose_submit = function(keyid, password) +{ + var form = this.gui_objects.messageform; + + if (!$('input[name="_keyid"]', form).length) { + $(form).append($('<input>').attr({type: 'hidden', name: '_keyid', value: keyid})) + .append($('<input>').attr({type: 'hidden', name: '_passwd', value: password})); + } + else { + $('input[name="_keyid"]', form).val(keyid); + $('input[name="_passwd"]', form).val(password); + } + + this.submit_messageform(this.env.last_action == 'savedraft'); +} diff --git a/plugins/enigma/enigma.php b/plugins/enigma/enigma.php new file mode 100644 index 000000000..3b9aa0bb9 --- /dev/null +++ b/plugins/enigma/enigma.php @@ -0,0 +1,451 @@ +<?php +/* + +-------------------------------------------------------------------------+ + | Enigma Plugin for Roundcube | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +/* + This class contains only hooks and action handlers. + Most plugin logic is placed in enigma_engine and enigma_ui classes. +*/ + +class enigma extends rcube_plugin +{ + public $task = 'mail|settings'; + public $rc; + public $engine; + public $ui; + + private $env_loaded = false; + + + /** + * Plugin initialization. + */ + function init() + { + $this->rc = rcube::get_instance(); + + if ($this->rc->task == 'mail') { + // message parse/display hooks + $this->add_hook('message_part_structure', array($this, 'part_structure')); + $this->add_hook('message_part_body', array($this, 'part_body')); + $this->add_hook('message_body_prefix', array($this, 'status_message')); + + $this->register_action('plugin.enigmaimport', array($this, 'import_file')); + + // message displaying + if ($this->rc->action == 'show' || $this->rc->action == 'preview') { + $this->add_hook('message_load', array($this, 'message_load')); + $this->add_hook('template_object_messagebody', array($this, 'message_output')); + } + // message composing + else if ($this->rc->action == 'compose') { + $this->load_ui(); + $this->ui->init(); + } + // message sending (and draft storing) + else if ($this->rc->action == 'send') { + $this->add_hook('message_ready', array($this, 'message_ready')); + } + + $this->password_handler(); + } + else if ($this->rc->task == 'settings') { + // add hooks for Enigma settings + $this->add_hook('settings_actions', array($this, 'settings_actions')); + $this->add_hook('preferences_sections_list', array($this, 'preferences_sections_list')); + $this->add_hook('preferences_list', array($this, 'preferences_list')); + $this->add_hook('preferences_save', array($this, 'preferences_save')); + + // register handler for keys/certs management + $this->register_action('plugin.enigmakeys', array($this, 'preferences_ui')); +// $this->register_action('plugin.enigmacerts', array($this, 'preferences_ui')); + + $this->load_ui(); + $this->ui->add_css(); + } + + $this->add_hook('refresh', array($this, 'refresh')); + } + + /** + * Plugin environment initialization. + */ + function load_env() + { + if ($this->env_loaded) { + return; + } + + $this->env_loaded = true; + + // Add include path for Enigma classes and drivers + $include_path = $this->home . '/lib' . PATH_SEPARATOR; + $include_path .= ini_get('include_path'); + set_include_path($include_path); + + // load the Enigma plugin configuration + $this->load_config(); + + // include localization (if wasn't included before) + $this->add_texts('localization/'); + } + + /** + * Plugin UI initialization. + */ + function load_ui($all = false) + { + if (!$this->ui) { + // load config/localization + $this->load_env(); + + // Load UI + $this->ui = new enigma_ui($this, $this->home); + } + + if ($all) { + $this->ui->add_css(); + $this->ui->add_js(); + } + } + + /** + * Plugin engine initialization. + */ + function load_engine() + { + if ($this->engine) { + return $this->engine; + } + + // load config/localization + $this->load_env(); + + return $this->engine = new enigma_engine($this); + } + + /** + * Handler for message_part_structure hook. + * Called for every part of the message. + * + * @param array Original parameters + * + * @return array Modified parameters + */ + function part_structure($p) + { + $this->load_engine(); + + return $this->engine->part_structure($p); + } + + /** + * Handler for message_part_body hook. + * Called to get body of a message part. + * + * @param array Original parameters + * + * @return array Modified parameters + */ + function part_body($p) + { + $this->load_engine(); + + return $this->engine->part_body($p); + } + + /** + * Handler for settings_actions hook. + * Adds Enigma settings section into preferences. + * + * @param array Original parameters + * + * @return array Modified parameters + */ + function settings_actions($args) + { + // add labels + $this->add_texts('localization/'); + + // register as settings action + $args['actions'][] = array( + 'action' => 'plugin.enigmakeys', + 'class' => 'enigma keys', + 'label' => 'enigmakeys', + 'title' => 'enigmakeys', + 'domain' => 'enigma', + ); +/* + $args['actions'][] = array( + 'action' => 'plugin.enigmacerts', + 'class' => 'enigma certs', + 'label' => 'enigmacerts', + 'title' => 'enigmacerts', + 'domain' => 'enigma', + ); +*/ + return $args; + } + + /** + * Handler for preferences_sections_list hook. + * Adds Encryption settings section into preferences sections list. + * + * @param array Original parameters + * + * @return array Modified parameters + */ + function preferences_sections_list($p) + { + $p['list']['enigma'] = array( + 'id' => 'enigma', 'section' => $this->gettext('encryption'), + ); + + return $p; + } + + /** + * Handler for preferences_list hook. + * Adds options blocks into Enigma settings sections in Preferences. + * + * @param array Original parameters + * + * @return array Modified parameters + */ + function preferences_list($p) + { + if ($p['section'] != 'enigma') { + return $p; + } + + $no_override = array_flip((array)$this->rc->config->get('dont_override')); + + $p['blocks']['main']['name'] = $this->gettext('mainoptions'); + + if (!isset($no_override['enigma_signatures'])) { + if (!$p['current']) { + $p['blocks']['main']['content'] = true; + return $p; + } + + $field_id = 'rcmfd_enigma_signatures'; + $input = new html_checkbox(array( + 'name' => '_enigma_signatures', + 'id' => $field_id, + 'value' => 1, + )); + + $p['blocks']['main']['options']['enigma_signatures'] = array( + 'title' => html::label($field_id, $this->gettext('supportsignatures')), + 'content' => $input->show(intval($this->rc->config->get('enigma_signatures'))), + ); + } + + if (!isset($no_override['enigma_decryption'])) { + if (!$p['current']) { + $p['blocks']['main']['content'] = true; + return $p; + } + + $field_id = 'rcmfd_enigma_decryption'; + $input = new html_checkbox(array( + 'name' => '_enigma_decryption', + 'id' => $field_id, + 'value' => 1, + )); + + $p['blocks']['main']['options']['enigma_decryption'] = array( + 'title' => html::label($field_id, $this->gettext('supportdecryption')), + 'content' => $input->show(intval($this->rc->config->get('enigma_decryption'))), + ); + } + + if (!isset($no_override['enigma_sign_all'])) { + if (!$p['current']) { + $p['blocks']['main']['content'] = true; + return $p; + } + + $field_id = 'rcmfd_enigma_sign_all'; + $input = new html_checkbox(array( + 'name' => '_enigma_sign_all', + 'id' => $field_id, + 'value' => 1, + )); + + $p['blocks']['main']['options']['enigma_sign_all'] = array( + 'title' => html::label($field_id, $this->gettext('signdefault')), + 'content' => $input->show($this->rc->config->get('enigma_sign_all') ? 1 : 0), + ); + } + + if (!isset($no_override['enigma_encrypt_all'])) { + if (!$p['current']) { + $p['blocks']['main']['content'] = true; + return $p; + } + + $field_id = 'rcmfd_enigma_encrypt_all'; + $input = new html_checkbox(array( + 'name' => '_enigma_encrypt_all', + 'id' => $field_id, + 'value' => 1, + )); + + $p['blocks']['main']['options']['enigma_encrypt_all'] = array( + 'title' => html::label($field_id, $this->gettext('encryptdefault')), + 'content' => $input->show($this->rc->config->get('enigma_encrypt_all') ? 1 : 0), + ); + } + + if (!isset($no_override['enigma_password_time'])) { + if (!$p['current']) { + $p['blocks']['main']['content'] = true; + return $p; + } + + $field_id = 'rcmfd_enigma_password_time'; + $select = new html_select(array('name' => '_enigma_password_time', 'id' => $field_id)); + + foreach (array(1, 5, 10, 15, 30) as $m) { + $label = $this->gettext(array('name' => 'nminutes', 'vars' => array('m' => $m))); + $select->add($label, $m); + } + $select->add($this->gettext('wholesession'), 0); + + $p['blocks']['main']['options']['enigma_password_time'] = array( + 'title' => html::label($field_id, $this->gettext('passwordtime')), + 'content' => $select->show(intval($this->rc->config->get('enigma_password_time'))), + ); + } + + return $p; + } + + /** + * Handler for preferences_save hook. + * Executed on Enigma settings form submit. + * + * @param array Original parameters + * + * @return array Modified parameters + */ + function preferences_save($p) + { + if ($p['section'] == 'enigma') { + $p['prefs'] = array( + 'enigma_signatures' => (bool) rcube_utils::get_input_value('_enigma_signatures', rcube_utils::INPUT_POST), + 'enigma_decryption' => (bool) rcube_utils::get_input_value('_enigma_decryption', rcube_utils::INPUT_POST), + 'enigma_sign_all' => intval(rcube_utils::get_input_value('_enigma_sign_all', rcube_utils::INPUT_POST)), + 'enigma_encrypt_all' => intval(rcube_utils::get_input_value('_enigma_encrypt_all', rcube_utils::INPUT_POST)), + 'enigma_password_time' => intval(rcube_utils::get_input_value('_enigma_password_time', rcube_utils::INPUT_POST)), + ); + } + + return $p; + } + + /** + * Handler for keys/certs management UI template. + */ + function preferences_ui() + { + $this->load_ui(); + + $this->ui->init(); + } + + /** + * Handler for message_body_prefix hook. + * Called for every displayed (content) part of the message. + * Adds infobox about signature verification and/or decryption + * status above the body. + * + * @param array Original parameters + * + * @return array Modified parameters + */ + function status_message($p) + { + $this->load_ui(); + + return $this->ui->status_message($p); + } + + /** + * Handler for message_load hook. + * Check message bodies and attachments for keys/certs. + */ + function message_load($p) + { + $this->load_ui(); + + return $this->ui->message_load($p); + } + + /** + * Handler for template_object_messagebody hook. + * This callback function adds a box below the message content + * if there is a key/cert attachment available + */ + function message_output($p) + { + $this->load_ui(); + + return $this->ui->message_output($p); + } + + /** + * Handler for attached keys/certs import + */ + function import_file() + { + $this->load_engine(); + + $this->engine->import_file(); + } + + /** + * Handle password submissions + */ + function password_handler() + { + $this->load_engine(); + + $this->engine->password_handler(); + } + + /** + * Handle message_ready hook (encryption/signing) + */ + function message_ready($p) + { + $this->load_ui(); + + return $this->ui->message_ready($p); + } + + /** + * Handler for refresh hook. + */ + function refresh($p) + { + // calling enigma_engine constructor to remove passwords + // stored in session after expiration time + $this->load_engine(); + + return $p; + } +} diff --git a/plugins/enigma/home/.htaccess b/plugins/enigma/home/.htaccess new file mode 100644 index 000000000..8e6a345dc --- /dev/null +++ b/plugins/enigma/home/.htaccess @@ -0,0 +1,2 @@ +Order allow,deny +Deny from all
\ No newline at end of file diff --git a/plugins/enigma/lib/enigma_driver.php b/plugins/enigma/lib/enigma_driver.php new file mode 100644 index 000000000..49208b39d --- /dev/null +++ b/plugins/enigma/lib/enigma_driver.php @@ -0,0 +1,103 @@ +<?php + +/* + +-------------------------------------------------------------------------+ + | Abstract driver for the Enigma Plugin | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +abstract class enigma_driver +{ + /** + * Class constructor. + * + * @param string User name (email address) + */ + abstract function __construct($user); + + /** + * Driver initialization. + * + * @return mixed NULL on success, enigma_error on failure + */ + abstract function init(); + + /** + * Encryption. + */ + abstract function encrypt($text, $keys); + + /** + * Decryption.. + * + * @param string Encrypted message + * @param array List of key-password mapping + */ + abstract function decrypt($text, $keys = array()); + + /** + * Signing. + */ + abstract function sign($text, $key, $passwd, $mode = null); + + /** + * Signature verification. + * + * @param string Message body + * @param string Signature, if message is of type PGP/MIME and body doesn't contain it + * + * @return mixed Signature information (enigma_signature) or enigma_error + */ + abstract function verify($text, $signature); + + /** + * Key/Cert file import. + * + * @param string File name or file content + * @param bollean True if first argument is a filename + * + * @return mixed Import status array or enigma_error + */ + abstract function import($content, $isfile=false); + + /** + * Keys listing. + * + * @param string Optional pattern for key ID, user ID or fingerprint + * + * @return mixed Array of enigma_key objects or enigma_error + */ + abstract function list_keys($pattern=''); + + /** + * Single key information. + * + * @param string Key ID, user ID or fingerprint + * + * @return mixed Key (enigma_key) object or enigma_error + */ + abstract function get_key($keyid); + + /** + * Key pair generation. + * + * @param array Key/User data + * + * @return mixed Key (enigma_key) object or enigma_error + */ + abstract function gen_key($data); + + /** + * Key deletion. + */ + abstract function delete_key($keyid); +} diff --git a/plugins/enigma/lib/enigma_driver_gnupg.php b/plugins/enigma/lib/enigma_driver_gnupg.php new file mode 100644 index 000000000..52a0ad66c --- /dev/null +++ b/plugins/enigma/lib/enigma_driver_gnupg.php @@ -0,0 +1,326 @@ +<?php +/* + +-------------------------------------------------------------------------+ + | GnuPG (PGP) driver for the Enigma Plugin | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +require_once 'Crypt/GPG.php'; + +class enigma_driver_gnupg extends enigma_driver +{ + private $rc; + private $gpg; + private $homedir; + private $user; + + + function __construct($user) + { + $this->rc = rcmail::get_instance(); + $this->user = $user; + } + + /** + * Driver initialization and environment checking. + * Should only return critical errors. + * + * @return mixed NULL on success, enigma_error on failure + */ + function init() + { + $homedir = $this->rc->config->get('enigma_pgp_homedir', INSTALL_PATH . 'plugins/enigma/home'); + + if (!$homedir) + return new enigma_error(enigma_error::E_INTERNAL, + "Option 'enigma_pgp_homedir' not specified"); + + // check if homedir exists (create it if not) and is readable + if (!file_exists($homedir)) + return new enigma_error(enigma_error::E_INTERNAL, + "Keys directory doesn't exists: $homedir"); + if (!is_writable($homedir)) + return new enigma_error(enigma_error::E_INTERNAL, + "Keys directory isn't writeable: $homedir"); + + $homedir = $homedir . '/' . $this->user; + + // check if user's homedir exists (create it if not) and is readable + if (!file_exists($homedir)) + mkdir($homedir, 0700); + + if (!file_exists($homedir)) + return new enigma_error(enigma_error::E_INTERNAL, + "Unable to create keys directory: $homedir"); + if (!is_writable($homedir)) + return new enigma_error(enigma_error::E_INTERNAL, + "Unable to write to keys directory: $homedir"); + + $this->homedir = $homedir; + + // Create Crypt_GPG object + try { + $this->gpg = new Crypt_GPG(array( + 'homedir' => $this->homedir, + // 'binary' => '/usr/bin/gpg2', + // 'debug' => true, + )); + } + catch (Exception $e) { + return $this->get_error_from_exception($e); + } + } + + /** + * Encrypt a message + * + * @param string The message + * @param array List of keys + */ + function encrypt($text, $keys) + { + try { + foreach ($keys as $key) { + $this->gpg->addEncryptKey($key); + } + + $dec = $this->gpg->encrypt($text, true); + return $dec; + } + catch (Exception $e) { + return $this->get_error_from_exception($e); + } + } + + /** + * Decrypt a message + * + * @param string Encrypted message + * @param array List of key-password mapping + */ + function decrypt($text, $keys = array()) + { + try { + foreach ($keys as $key => $password) { + $this->gpg->addDecryptKey($key, $password); + } + + $dec = $this->gpg->decrypt($text); + return $dec; + } + catch (Exception $e) { + return $this->get_error_from_exception($e); + } + } + + function sign($text, $key, $passwd, $mode = null) + { + try { + $this->gpg->addSignKey($key, $passwd); + return $this->gpg->sign($text, $mode, CRYPT_GPG::ARMOR_ASCII, true); + } + catch (Exception $e) { + return $this->get_error_from_exception($e); + } + } + + function verify($text, $signature) + { + try { + $verified = $this->gpg->verify($text, $signature); + return $this->parse_signature($verified[0]); + } + catch (Exception $e) { + return $this->get_error_from_exception($e); + } + } + + public function import($content, $isfile=false) + { + try { + if ($isfile) + return $this->gpg->importKeyFile($content); + else + return $this->gpg->importKey($content); + } + catch (Exception $e) { + return $this->get_error_from_exception($e); + } + } + + public function list_keys($pattern='') + { + try { + $keys = $this->gpg->getKeys($pattern); + $result = array(); + + foreach ($keys as $idx => $key) { + $result[] = $this->parse_key($key); + unset($keys[$idx]); + } + + return $result; + } + catch (Exception $e) { + return $this->get_error_from_exception($e); + } + } + + public function get_key($keyid) + { + $list = $this->list_keys($keyid); + + if (is_array($list)) + return array_shift($list); + + // error + return $list; + } + + public function gen_key($data) + { + } + + public function delete_key($keyid) + { + // delete public key + $result = $this->delete_pubkey($keyid); + + // if not found, delete private key + if ($result !== true && $result->getCode() == enigma_error::E_KEYNOTFOUND) { + $result = $this->delete_privkey($keyid); + } + + return $result; + } + + public function delete_privkey($keyid) + { + try { + $this->gpg->deletePrivateKey($keyid); + return true; + } + catch (Exception $e) { + return $this->get_error_from_exception($e); + } + } + + public function delete_pubkey($keyid) + { + try { + $this->gpg->deletePublicKey($keyid); + return true; + } + catch (Exception $e) { + return $this->get_error_from_exception($e); + } + } + + /** + * Converts Crypt_GPG exception into Enigma's error object + * + * @param mixed Exception object + * + * @return enigma_error Error object + */ + private function get_error_from_exception($e) + { + $data = array(); + + if ($e instanceof Crypt_GPG_KeyNotFoundException) { + $error = enigma_error::E_KEYNOTFOUND; + $data['id'] = $e->getKeyId(); + } + else if ($e instanceof Crypt_GPG_BadPassphraseException) { + $error = enigma_error::E_BADPASS; + $data['bad'] = $e->getBadPassphrases(); + $data['missing'] = $e->getMissingPassphrases(); + } + else if ($e instanceof Crypt_GPG_NoDataException) + $error = enigma_error::E_NODATA; + else if ($e instanceof Crypt_GPG_DeletePrivateKeyException) + $error = enigma_error::E_DELKEY; + else + $error = enigma_error::E_INTERNAL; + + $msg = $e->getMessage(); + + return new enigma_error($error, $msg, $data); + } + + /** + * Converts Crypt_GPG_Signature object into Enigma's signature object + * + * @param Crypt_GPG_Signature Signature object + * + * @return enigma_signature Signature object + */ + private function parse_signature($sig) + { + $user = $sig->getUserId(); + + $data = new enigma_signature(); + $data->id = $sig->getId(); + $data->valid = $sig->isValid(); + $data->fingerprint = $sig->getKeyFingerprint(); + $data->created = $sig->getCreationDate(); + $data->expires = $sig->getExpirationDate(); + $data->name = $user->getName(); + $data->comment = $user->getComment(); + $data->email = $user->getEmail(); + + return $data; + } + + /** + * Converts Crypt_GPG_Key object into Enigma's key object + * + * @param Crypt_GPG_Key Key object + * + * @return enigma_key Key object + */ + private function parse_key($key) + { + $ekey = new enigma_key(); + + foreach ($key->getUserIds() as $idx => $user) { + $id = new enigma_userid(); + $id->name = $user->getName(); + $id->comment = $user->getComment(); + $id->email = $user->getEmail(); + $id->valid = $user->isValid(); + $id->revoked = $user->isRevoked(); + + $ekey->users[$idx] = $id; + } + + $ekey->name = trim($ekey->users[0]->name . ' <' . $ekey->users[0]->email . '>'); + + foreach ($key->getSubKeys() as $idx => $subkey) { + $skey = new enigma_subkey(); + $skey->id = $subkey->getId(); + $skey->revoked = $subkey->isRevoked(); + $skey->created = $subkey->getCreationDate(); + $skey->expires = $subkey->getExpirationDate(); + $skey->fingerprint = $subkey->getFingerprint(); + $skey->has_private = $subkey->hasPrivate(); + $skey->can_sign = $subkey->canSign(); + $skey->can_encrypt = $subkey->canEncrypt(); + + $ekey->subkeys[$idx] = $skey; + }; + + $ekey->id = $ekey->subkeys[0]->id; + + return $ekey; + } +} diff --git a/plugins/enigma/lib/enigma_driver_phpssl.php b/plugins/enigma/lib/enigma_driver_phpssl.php new file mode 100644 index 000000000..0250893d2 --- /dev/null +++ b/plugins/enigma/lib/enigma_driver_phpssl.php @@ -0,0 +1,230 @@ +<?php +/* + +-------------------------------------------------------------------------+ + | S/MIME driver for the Enigma Plugin | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +class enigma_driver_phpssl extends enigma_driver +{ + private $rc; + private $homedir; + private $user; + + function __construct($user) + { + $rcmail = rcmail::get_instance(); + $this->rc = $rcmail; + $this->user = $user; + } + + /** + * Driver initialization and environment checking. + * Should only return critical errors. + * + * @return mixed NULL on success, enigma_error on failure + */ + function init() + { + $homedir = $this->rc->config->get('enigma_smime_homedir', INSTALL_PATH . '/plugins/enigma/home'); + + if (!$homedir) + return new enigma_error(enigma_error::E_INTERNAL, + "Option 'enigma_smime_homedir' not specified"); + + // check if homedir exists (create it if not) and is readable + if (!file_exists($homedir)) + return new enigma_error(enigma_error::E_INTERNAL, + "Keys directory doesn't exists: $homedir"); + if (!is_writable($homedir)) + return new enigma_error(enigma_error::E_INTERNAL, + "Keys directory isn't writeable: $homedir"); + + $homedir = $homedir . '/' . $this->user; + + // check if user's homedir exists (create it if not) and is readable + if (!file_exists($homedir)) + mkdir($homedir, 0700); + + if (!file_exists($homedir)) + return new enigma_error(enigma_error::E_INTERNAL, + "Unable to create keys directory: $homedir"); + if (!is_writable($homedir)) + return new enigma_error(enigma_error::E_INTERNAL, + "Unable to write to keys directory: $homedir"); + + $this->homedir = $homedir; + + } + + function encrypt($text, $keys) + { + } + + function decrypt($text, $keys = array()) + { + } + + function sign($text, $key, $passwd, $mode = null) + { + } + + function verify($struct, $message) + { + // use common temp dir + $temp_dir = $this->rc->config->get('temp_dir'); + $msg_file = tempnam($temp_dir, 'rcmMsg'); + $cert_file = tempnam($temp_dir, 'rcmCert'); + + $fh = fopen($msg_file, "w"); + if ($struct->mime_id) { + $message->get_part_body($struct->mime_id, false, 0, $fh); + } + else { + $this->rc->storage->get_raw_body($message->uid, $fh); + } + fclose($fh); + + // @TODO: use stored certificates + + // try with certificate verification + $sig = openssl_pkcs7_verify($msg_file, 0, $cert_file); + $validity = true; + + if ($sig !== true) { + // try without certificate verification + $sig = openssl_pkcs7_verify($msg_file, PKCS7_NOVERIFY, $cert_file); + $validity = enigma_error::E_UNVERIFIED; + } + + if ($sig === true) { + $sig = $this->parse_sig_cert($cert_file, $validity); + } + else { + $errorstr = $this->get_openssl_error(); + $sig = new enigma_error(enigma_error::E_INTERNAL, $errorstr); + } + + // remove temp files + @unlink($msg_file); + @unlink($cert_file); + + return $sig; + } + + public function import($content, $isfile=false) + { + } + + public function list_keys($pattern='') + { + } + + public function get_key($keyid) + { + } + + public function gen_key($data) + { + } + + public function delete_key($keyid) + { + } + + public function delete_privkey($keyid) + { + } + + public function delete_pubkey($keyid) + { + } + + /** + * Converts Crypt_GPG_Key object into Enigma's key object + * + * @param Crypt_GPG_Key Key object + * + * @return enigma_key Key object + */ + private function parse_key($key) + { +/* + $ekey = new enigma_key(); + + foreach ($key->getUserIds() as $idx => $user) { + $id = new enigma_userid(); + $id->name = $user->getName(); + $id->comment = $user->getComment(); + $id->email = $user->getEmail(); + $id->valid = $user->isValid(); + $id->revoked = $user->isRevoked(); + + $ekey->users[$idx] = $id; + } + + $ekey->name = trim($ekey->users[0]->name . ' <' . $ekey->users[0]->email . '>'); + + foreach ($key->getSubKeys() as $idx => $subkey) { + $skey = new enigma_subkey(); + $skey->id = $subkey->getId(); + $skey->revoked = $subkey->isRevoked(); + $skey->created = $subkey->getCreationDate(); + $skey->expires = $subkey->getExpirationDate(); + $skey->fingerprint = $subkey->getFingerprint(); + $skey->has_private = $subkey->hasPrivate(); + $skey->can_sign = $subkey->canSign(); + $skey->can_encrypt = $subkey->canEncrypt(); + + $ekey->subkeys[$idx] = $skey; + }; + + $ekey->id = $ekey->subkeys[0]->id; + + return $ekey; +*/ + } + + private function get_openssl_error() + { + $tmp = array(); + while ($errorstr = openssl_error_string()) { + $tmp[] = $errorstr; + } + + return join("\n", array_values($tmp)); + } + + private function parse_sig_cert($file, $validity) + { + $cert = openssl_x509_parse(file_get_contents($file)); + + if (empty($cert) || empty($cert['subject'])) { + $errorstr = $this->get_openssl_error(); + return new enigma_error(enigm_error::E_INTERNAL, $errorstr); + } + + $data = new enigma_signature(); + + $data->id = $cert['hash']; //? + $data->valid = $validity; + $data->fingerprint = $cert['serialNumber']; + $data->created = $cert['validFrom_time_t']; + $data->expires = $cert['validTo_time_t']; + $data->name = $cert['subject']['CN']; +// $data->comment = ''; + $data->email = $cert['subject']['emailAddress']; + + return $data; + } + +} diff --git a/plugins/enigma/lib/enigma_engine.php b/plugins/enigma/lib/enigma_engine.php new file mode 100644 index 000000000..0111d9388 --- /dev/null +++ b/plugins/enigma/lib/enigma_engine.php @@ -0,0 +1,1137 @@ +<?php +/* + +-------------------------------------------------------------------------+ + | Engine of the Enigma Plugin | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +/* + RFC2440: OpenPGP Message Format + RFC3156: MIME Security with OpenPGP + RFC3851: S/MIME +*/ + +class enigma_engine +{ + private $rc; + private $enigma; + private $pgp_driver; + private $smime_driver; + private $password_time; + + public $decryptions = array(); + public $signatures = array(); + public $signed_parts = array(); + public $encrypted_parts = array(); + + const SIGN_MODE_BODY = 1; + const SIGN_MODE_SEPARATE = 2; + const SIGN_MODE_MIME = 3; + + const ENCRYPT_MODE_BODY = 1; + const ENCRYPT_MODE_MIME = 2; + + + /** + * Plugin initialization. + */ + function __construct($enigma) + { + $this->rc = rcmail::get_instance(); + $this->enigma = $enigma; + + $this->password_time = $this->rc->config->get('enigma_password_time'); + + // this will remove passwords from session after some time + if ($this->password_time) { + $this->get_passwords(); + } + } + + /** + * PGP driver initialization. + */ + function load_pgp_driver() + { + if ($this->pgp_driver) { + return; + } + + $driver = 'enigma_driver_' . $this->rc->config->get('enigma_pgp_driver', 'gnupg'); + $username = $this->rc->user->get_username(); + + // Load driver + $this->pgp_driver = new $driver($username); + + if (!$this->pgp_driver) { + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: Unable to load PGP driver: $driver" + ), true, true); + } + + // Initialise driver + $result = $this->pgp_driver->init(); + + if ($result instanceof enigma_error) { + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: ".$result->getMessage() + ), true, true); + } + } + + /** + * S/MIME driver initialization. + */ + function load_smime_driver() + { + if ($this->smime_driver) { + return; + } + + $driver = 'enigma_driver_' . $this->rc->config->get('enigma_smime_driver', 'phpssl'); + $username = $this->rc->user->get_username(); + + // Load driver + $this->smime_driver = new $driver($username); + + if (!$this->smime_driver) { + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: Unable to load S/MIME driver: $driver" + ), true, true); + } + + // Initialise driver + $result = $this->smime_driver->init(); + + if ($result instanceof enigma_error) { + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: ".$result->getMessage() + ), true, true); + } + } + + /** + * Handler for message signing + * + * @param Mail_mime Original message + * @param int Encryption mode + * + * @return enigma_error On error returns error object + */ + function sign_message(&$message, $mode = null) + { + $mime = new enigma_mime_message($message, enigma_mime_message::PGP_SIGNED); + $from = $mime->getFromAddress(); + + // find private key + $key = $this->find_key($from, true); + + if (empty($key)) { + return new enigma_error(enigma_error::E_KEYNOTFOUND); + } + + // check if we have password for this key + $passwords = $this->get_passwords(); + $pass = $passwords[$key->id]; + + if ($pass === null) { + // ask for password + $error = array('missing' => array($key->id => $key->name)); + return new enigma_error(enigma_error::E_BADPASS, '', $error); + } + + // select mode + switch ($mode) { + case self::SIGN_MODE_BODY: + $pgp_mode = Crypt_GPG::SIGN_MODE_CLEAR; + break; + + case self::SIGN_MODE_MIME: + $pgp_mode = Crypt_GPG::SIGN_MODE_DETACHED; + break; +/* + case self::SIGN_MODE_SEPARATE: + $pgp_mode = Crypt_GPG::SIGN_MODE_NORMAL; + break; +*/ + default: + if ($mime->isMultipart()) { + $pgp_mode = Crypt_GPG::SIGN_MODE_DETACHED; + } + else { + $pgp_mode = Crypt_GPG::SIGN_MODE_CLEAR; + } + } + + // get message body + if ($pgp_mode == Crypt_GPG::SIGN_MODE_CLEAR) { + // in this mode we'll replace text part + // with the one containing signature + $body = $message->getTXTBody(); + } + else { + // here we'll build PGP/MIME message + $body = $mime->getOrigBody(); + } + + // sign the body + $result = $this->pgp_sign($body, $key->id, $pass, $pgp_mode); + + if ($result !== true) { + if ($result->getCode() == enigma_error::E_BADPASS) { + // ask for password + $error = array('missing' => array($key->id => $key->name)); + return new enigma_error(enigma_error::E_BADPASS, '', $error); + } + + return $result; + } + + // replace message body + if ($pgp_mode == Crypt_GPG::SIGN_MODE_CLEAR) { + $message->setTXTBody($body); + } + else { + $mime->addPGPSignature($body); + $message = $mime; + } + } + + /** + * Handler for message encryption + * + * @param Mail_mime Original message + * @param int Encryption mode + * @param bool Is draft-save action - use only sender's key for encryption + * + * @return enigma_error On error returns error object + */ + function encrypt_message(&$message, $mode = null, $is_draft = false) + { + $mime = new enigma_mime_message($message, enigma_mime_message::PGP_ENCRYPTED); + + // always use sender's key + $recipients = array($mime->getFromAddress()); + + // if it's not a draft we add all recipients' keys + if (!$is_draft) { + $recipients = array_merge($recipients, $mime->getRecipients()); + } + + if (empty($recipients)) { + return new enigma_error(enigma_error::E_KEYNOTFOUND); + } + + $recipients = array_unique($recipients); + + // find recipient public keys + foreach ((array) $recipients as $email) { + $key = $this->find_key($email); + + if (empty($key)) { + return new enigma_error(enigma_error::E_KEYNOTFOUND, '', array( + 'missing' => $email + )); + } + + $keys[] = $key->id; + } + + // select mode + switch ($mode) { + case self::ENCRYPT_MODE_BODY: + $encrypt_mode = $mode; + break; + + case self::ENCRYPT_MODE_MIME: + $encrypt_mode = $mode; + break; + + default: + $encrypt_mode = $mime->isMultipart() ? self::ENCRYPT_MODE_MIME : self::ENCRYPT_MODE_BODY; + } + + // get message body + if ($encrypt_mode == self::ENCRYPT_MODE_BODY) { + // in this mode we'll replace text part + // with the one containing encrypted message + $body = $message->getTXTBody(); + } + else { + // here we'll build PGP/MIME message + $body = $mime->getOrigBody(); + } + + // sign the body + $result = $this->pgp_encrypt($body, $keys); + + if ($result !== true) { + return $result; + } + + // replace message body + if ($encrypt_mode == self::ENCRYPT_MODE_BODY) { + $message->setTXTBody($body); + } + else { + $mime->setPGPEncryptedBody($body); + $message = $mime; + } + } + + /** + * Handler for message_part_structure hook. + * Called for every part of the message. + * + * @param array Original parameters + * + * @return array Modified parameters + */ + function part_structure($p) + { + if ($p['mimetype'] == 'text/plain' || $p['mimetype'] == 'application/pgp') { + $this->parse_plain($p); + } + else if ($p['mimetype'] == 'multipart/signed') { + $this->parse_signed($p); + } + else if ($p['mimetype'] == 'multipart/encrypted') { + $this->parse_encrypted($p); + } + else if ($p['mimetype'] == 'application/pkcs7-mime') { + $this->parse_encrypted($p); + } + + return $p; + } + + /** + * Handler for message_part_body hook. + * + * @param array Original parameters + * + * @return array Modified parameters + */ + function part_body($p) + { + // encrypted attachment, see parse_plain_encrypted() + if ($p['part']->need_decryption && $p['part']->body === null) { + $this->load_pgp_driver(); + + $storage = $this->rc->get_storage(); + $body = $storage->get_message_part($p['object']->uid, $p['part']->mime_id, $p['part'], null, null, true, 0, false); + $result = $this->pgp_decrypt($body); + + // @TODO: what to do on error? + if ($result === true) { + $p['part']->body = $body; + $p['part']->size = strlen($body); + $p['part']->body_modified = true; + } + } + + return $p; + } + + /** + * Handler for plain/text message. + * + * @param array Reference to hook's parameters + */ + function parse_plain(&$p) + { + $part = $p['structure']; + + // exit, if we're already inside a decrypted message + if (in_array($part->mime_id, $this->encrypted_parts)) { + return; + } + + // Get message body from IMAP server + $body = $this->get_part_body($p['object'], $part->mime_id); + + // @TODO: big message body could be a file resource + // PGP signed message + if (preg_match('/^-----BEGIN PGP SIGNED MESSAGE-----/', $body)) { + $this->parse_plain_signed($p, $body); + } + // PGP encrypted message + else if (preg_match('/^-----BEGIN PGP MESSAGE-----/', $body)) { + $this->parse_plain_encrypted($p, $body); + } + } + + /** + * Handler for multipart/signed message. + * + * @param array Reference to hook's parameters + */ + function parse_signed(&$p) + { + $struct = $p['structure']; + + // S/MIME + if ($struct->parts[1] && $struct->parts[1]->mimetype == 'application/pkcs7-signature') { + $this->parse_smime_signed($p); + } + // PGP/MIME: RFC3156 + // The multipart/signed body MUST consist of exactly two parts. + // The first part contains the signed data in MIME canonical format, + // including a set of appropriate content headers describing the data. + // The second body MUST contain the PGP digital signature. It MUST be + // labeled with a content type of "application/pgp-signature". + else if ($struct->ctype_parameters['protocol'] == 'application/pgp-signature' + && count($struct->parts) == 2 + && $struct->parts[1] && $struct->parts[1]->mimetype == 'application/pgp-signature' + ) { + $this->parse_pgp_signed($p); + } + } + + /** + * Handler for multipart/encrypted message. + * + * @param array Reference to hook's parameters + */ + function parse_encrypted(&$p) + { + $struct = $p['structure']; + + // S/MIME + if ($struct->mimetype == 'application/pkcs7-mime') { + $this->parse_smime_encrypted($p); + } + // PGP/MIME: RFC3156 + // The multipart/encrypted MUST consist of exactly two parts. The first + // MIME body part must have a content type of "application/pgp-encrypted". + // This body contains the control information. + // The second MIME body part MUST contain the actual encrypted data. It + // must be labeled with a content type of "application/octet-stream". + else if ($struct->ctype_parameters['protocol'] == 'application/pgp-encrypted' + && count($struct->parts) == 2 + && $struct->parts[0] && $struct->parts[0]->mimetype == 'application/pgp-encrypted' + && $struct->parts[1] && $struct->parts[1]->mimetype == 'application/octet-stream' + ) { + $this->parse_pgp_encrypted($p); + } + } + + /** + * Handler for plain signed message. + * Excludes message and signature bodies and verifies signature. + * + * @param array Reference to hook's parameters + * @param string Message (part) body + */ + private function parse_plain_signed(&$p, $body) + { + $this->load_pgp_driver(); + $part = $p['structure']; + + // Verify signature + if ($this->rc->action == 'show' || $this->rc->action == 'preview') { + if ($this->rc->config->get('enigma_signatures', true)) { + $sig = $this->pgp_verify($body); + } + } + + // @TODO: Handle big bodies using (temp) files + + // In this way we can use fgets on string as on file handle + $fh = fopen('php://memory', 'br+'); + // @TODO: fopen/fwrite errors handling + if ($fh) { + fwrite($fh, $body); + rewind($fh); + } + + $body = $part->body = null; + $part->body_modified = true; + + // Extract body (and signature?) + while (!feof($fh)) { + $line = fgets($fh, 1024); + + if ($part->body === null) + $part->body = ''; + else if (preg_match('/^-----BEGIN PGP SIGNATURE-----/', $line)) + break; + else + $part->body .= $line; + } + + // Remove "Hash" Armor Headers + $part->body = preg_replace('/^.*\r*\n\r*\n/', '', $part->body); + // de-Dash-Escape (RFC2440) + $part->body = preg_replace('/(^|\n)- -/', '\\1-', $part->body); + + // Store signature data for display + if (!empty($sig)) { + $this->signed_parts[$part->mime_id] = $part->mime_id; + $this->signatures[$part->mime_id] = $sig; + } + + fclose($fh); + } + + /** + * Handler for PGP/MIME signed message. + * Verifies signature. + * + * @param array Reference to hook's parameters + */ + private function parse_pgp_signed(&$p) + { + if (!$this->rc->config->get('enigma_signatures', true)) { + return; + } + + // Verify signature + if ($this->rc->action == 'show' || $this->rc->action == 'preview') { + $this->load_pgp_driver(); + $struct = $p['structure']; + + $msg_part = $struct->parts[0]; + $sig_part = $struct->parts[1]; + + // Get bodies + // Note: The first part body need to be full part body with headers + // it also cannot be decoded + $msg_body = $this->get_part_body($p['object'], $msg_part->mime_id, true); + $sig_body = $this->get_part_body($p['object'], $sig_part->mime_id); + + // Verify + $sig = $this->pgp_verify($msg_body, $sig_body); + + // Store signature data for display + $this->signatures[$struct->mime_id] = $sig; + + // Message can be multipart (assign signature to each subpart) + if (!empty($msg_part->parts)) { + foreach ($msg_part->parts as $part) + $this->signed_parts[$part->mime_id] = $struct->mime_id; + } + else { + $this->signed_parts[$msg_part->mime_id] = $struct->mime_id; + } + } + } + + /** + * Handler for S/MIME signed message. + * Verifies signature. + * + * @param array Reference to hook's parameters + */ + private function parse_smime_signed(&$p) + { + return; // @TODO + + if (!$this->rc->config->get('enigma_signatures', true)) { + return; + } + + // Verify signature + if ($this->rc->action == 'show' || $this->rc->action == 'preview') { + $this->load_smime_driver(); + + $struct = $p['structure']; + $msg_part = $struct->parts[0]; + + // Verify + $sig = $this->smime_driver->verify($struct, $p['object']); + + // Store signature data for display + $this->signatures[$struct->mime_id] = $sig; + + // Message can be multipart (assign signature to each subpart) + if (!empty($msg_part->parts)) { + foreach ($msg_part->parts as $part) + $this->signed_parts[$part->mime_id] = $struct->mime_id; + } + else { + $this->signed_parts[$msg_part->mime_id] = $struct->mime_id; + } + } + } + + /** + * Handler for plain encrypted message. + * + * @param array Reference to hook's parameters + * @param string Message (part) body + */ + private function parse_plain_encrypted(&$p, $body) + { + if (!$this->rc->config->get('enigma_decryption', true)) { + return; + } + + $this->load_pgp_driver(); + $part = $p['structure']; + + // Decrypt + $result = $this->pgp_decrypt($body); + + // Store decryption status + $this->decryptions[$part->mime_id] = $result; + + // find parent part ID + if (strpos($part->mime_id, '.')) { + $items = explode('.', $part->mime_id); + array_pop($items); + $parent = implode('.', $items); + } + else { + $parent = 0; + } + + // Parse decrypted message + if ($result === true) { + $part->body = $body; + $part->body_modified = true; + + // Remember it was decrypted + $this->encrypted_parts[] = $part->mime_id; + + // PGP signed inside? verify signature + if (preg_match('/^-----BEGIN PGP SIGNED MESSAGE-----/', $body)) { + $this->parse_plain_signed($p, $body); + } + + // Encrypted plain message may contain encrypted attachments + // in such case attachments have .pgp extension and type application/octet-stream. + // This is what happens when you select "Encrypt each attachment separately + // and send the message using inline PGP" in Thunderbird's Enigmail. + + if ($p['object']->mime_parts[$parent]) { + foreach ((array)$p['object']->mime_parts[$parent]->parts as $p) { + if ($p->disposition == 'attachment' && $p->mimetype == 'application/octet-stream' + && preg_match('/^(.*)\.pgp$/i', $p->filename, $m) + ) { + // modify filename + $p->filename = $m[1]; + // flag the part, it will be decrypted when needed + $p->need_decryption = true; + // disable caching + $p->body_modified = true; + } + } + } + } + // decryption failed, but the message may have already + // been cached with the modified parts (see above), + // let's bring the original state back + else if ($p['object']->mime_parts[$parent]) { + foreach ((array)$p['object']->mime_parts[$parent]->parts as $p) { + if ($p->need_decryption && !preg_match('/^(.*)\.pgp$/i', $p->filename, $m)) { + // modify filename + $p->filename .= '.pgp'; + // flag the part, it will be decrypted when needed + unset($p->need_decryption); + } + } + } + } + + /** + * Handler for PGP/MIME encrypted message. + * + * @param array Reference to hook's parameters + */ + private function parse_pgp_encrypted(&$p) + { + if (!$this->rc->config->get('enigma_decryption', true)) { + return; + } + + $this->load_pgp_driver(); + + $struct = $p['structure']; + $part = $struct->parts[1]; + + // Get body + $body = $this->get_part_body($p['object'], $part->mime_id); + + // Decrypt + $result = $this->pgp_decrypt($body); + + if ($result === true) { + // Parse decrypted message + $struct = $this->parse_body($body); + + // Modify original message structure + $this->modify_structure($p, $struct); + + // Attach the decryption message to all parts + $this->decryptions[$struct->mime_id] = $result; + foreach ((array) $struct->parts as $sp) { + $this->decryptions[$sp->mime_id] = $result; + } + } + else { + $this->decryptions[$part->mime_id] = $result; + + // Make sure decryption status message will be displayed + $part->type = 'content'; + $p['object']->parts[] = $part; + } + } + + /** + * Handler for S/MIME encrypted message. + * + * @param array Reference to hook's parameters + */ + private function parse_smime_encrypted(&$p) + { + if (!$this->rc->config->get('enigma_decryption', true)) { + return; + } + +// $this->load_smime_driver(); + } + + /** + * PGP signature verification. + * + * @param mixed Message body + * @param mixed Signature body (for MIME messages) + * + * @return mixed enigma_signature or enigma_error + */ + private function pgp_verify(&$msg_body, $sig_body=null) + { + // @TODO: Handle big bodies using (temp) files + $sig = $this->pgp_driver->verify($msg_body, $sig_body); + + if (($sig instanceof enigma_error) && $sig->getCode() != enigma_error::E_KEYNOTFOUND) + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: " . $sig->getMessage() + ), true, false); + + return $sig; + } + + /** + * PGP message decryption. + * + * @param mixed Message body + * + * @return mixed True or enigma_error + */ + private function pgp_decrypt(&$msg_body) + { + // @TODO: Handle big bodies using (temp) files + $keys = $this->get_passwords(); + $result = $this->pgp_driver->decrypt($msg_body, $keys); + + if ($result instanceof enigma_error) { + $err_code = $result->getCode(); + if (!in_array($err_code, array(enigma_error::E_KEYNOTFOUND, enigma_error::E_BADPASS))) + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: " . $result->getMessage() + ), true, false); + return $result; + } + + $msg_body = $result; + + return true; + } + + /** + * PGP message signing + * + * @param mixed Message body + * @param string Key ID + * @param string Key passphrase + * @param int Signing mode + * + * @return mixed True or enigma_error + */ + private function pgp_sign(&$msg_body, $keyid, $password, $mode = null) + { + // @TODO: Handle big bodies using (temp) files + $result = $this->pgp_driver->sign($msg_body, $keyid, $password, $mode); + + if ($result instanceof enigma_error) { + $err_code = $result->getCode(); + if (!in_array($err_code, array(enigma_error::E_KEYNOTFOUND, enigma_error::E_BADPASS))) + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: " . $result->getMessage() + ), true, false); + return $result; + } + + $msg_body = $result; + + return true; + } + + /** + * PGP message encrypting + * + * @param mixed Message body + * @param array Keys + * + * @return mixed True or enigma_error + */ + private function pgp_encrypt(&$msg_body, $keys) + { + // @TODO: Handle big bodies using (temp) files + $result = $this->pgp_driver->encrypt($msg_body, $keys); + + if ($result instanceof enigma_error) { + $err_code = $result->getCode(); + if (!in_array($err_code, array(enigma_error::E_KEYNOTFOUND, enigma_error::E_BADPASS))) + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: " . $result->getMessage() + ), true, false); + return $result; + } + + $msg_body = $result; + + return true; + } + + /** + * PGP keys listing. + * + * @param mixed Key ID/Name pattern + * + * @return mixed Array of keys or enigma_error + */ + function list_keys($pattern = '') + { + $this->load_pgp_driver(); + $result = $this->pgp_driver->list_keys($pattern); + + if ($result instanceof enigma_error) { + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: " . $result->getMessage() + ), true, false); + } + + return $result; + } + + /** + * Find PGP private/public key + * + * @param string E-mail address + * @param bool Need a key for signing? + * + * @return enigma_key The key + */ + function find_key($email, $can_sign = false) + { + $this->load_pgp_driver(); + $result = $this->pgp_driver->list_keys($email); + + if ($result instanceof enigma_error) { + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: " . $result->getMessage() + ), true, false); + + return; + } + + $mode = $can_sign ? enigma_key::CAN_SIGN : enigma_key::CAN_ENCRYPT; + + // check key validity and type + foreach ($result as $key) { + if ($keyid = $key->find_subkey($email, $mode)) { + return $key; + } + } + } + + /** + * PGP key details. + * + * @param mixed Key ID + * + * @return mixed enigma_key or enigma_error + */ + function get_key($keyid) + { + $this->load_pgp_driver(); + $result = $this->pgp_driver->get_key($keyid); + + if ($result instanceof enigma_error) { + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: " . $result->getMessage() + ), true, false); + } + + return $result; + } + + /** + * PGP key delete. + * + * @param string Key ID + * + * @return enigma_error|bool True on success + */ + function delete_key($keyid) + { + $this->load_pgp_driver(); + $result = $this->pgp_driver->delete_key($keyid); + + if ($result instanceof enigma_error) { + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: " . $result->getMessage() + ), true, false); + } + + return $result; + } + + /** + * PGP keys/certs importing. + * + * @param mixed Import file name or content + * @param boolean True if first argument is a filename + * + * @return mixed Import status data array or enigma_error + */ + function import_key($content, $isfile=false) + { + $this->load_pgp_driver(); + $result = $this->pgp_driver->import($content, $isfile); + + if ($result instanceof enigma_error) { + rcube::raise_error(array( + 'code' => 600, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Enigma plugin: " . $result->getMessage() + ), true, false); + } + else { + $result['imported'] = $result['public_imported'] + $result['private_imported']; + $result['unchanged'] = $result['public_unchanged'] + $result['private_unchanged']; + } + + return $result; + } + + /** + * Handler for keys/certs import request action + */ + function import_file() + { + $uid = rcube_utils::get_input_value('_uid', rcube_utils::INPUT_POST); + $mbox = rcube_utils::get_input_value('_mbox', rcube_utils::INPUT_POST); + $mime_id = rcube_utils::get_input_value('_part', rcube_utils::INPUT_POST); + $storage = $this->rc->get_storage(); + + if ($uid && $mime_id) { + $storage->set_folder($mbox); + $part = $storage->get_message_part($uid, $mime_id); + } + + if ($part && is_array($result = $this->import_key($part))) { + $this->rc->output->show_message('enigma.keysimportsuccess', 'confirmation', + array('new' => $result['imported'], 'old' => $result['unchanged'])); + } + else + $this->rc->output->show_message('enigma.keysimportfailed', 'error'); + + $this->rc->output->send(); + } + + function password_handler() + { + $keyid = rcube_utils::get_input_value('_keyid', rcube_utils::INPUT_POST); + $passwd = rcube_utils::get_input_value('_passwd', rcube_utils::INPUT_POST, true); + + if ($keyid && $passwd !== null && strlen($passwd)) { + $this->save_password($keyid, $passwd); + } + } + + function save_password($keyid, $password) + { + // we store passwords in session for specified time + if ($config = $_SESSION['enigma_pass']) { + $config = $this->rc->decrypt($config); + $config = @unserialize($config); + } + + $config[$keyid] = array($password, time()); + + $_SESSION['enigma_pass'] = $this->rc->encrypt(serialize($config)); + } + + function get_passwords() + { + if ($config = $_SESSION['enigma_pass']) { + $config = $this->rc->decrypt($config); + $config = @unserialize($config); + } + + $threshold = time() - $this->password_time; + $keys = array(); + + // delete expired passwords + foreach ((array) $config as $key => $value) { + if ($pass_time && $value[1] < $threshold) { + unset($config[$key]); + $modified = true; + } + else { + $keys[$key] = $value[0]; + } + } + + if ($modified) { + $_SESSION['enigma_pass'] = $this->rc->encrypt(serialize($config)); + } + + return $keys; + } + + /** + * Get message part body. + * + * @param rcube_message Message object + * @param string Message part ID + * @param bool Return raw body with headers + */ + private function get_part_body($msg, $part_id, $full = false) + { + // @TODO: Handle big bodies using file handles + if ($full) { + $storage = $this->rc->get_storage(); + $body = $storage->get_raw_headers($msg->uid, $part_id); + $body .= $storage->get_raw_body($msg->uid, null, $part_id); + } + else { + $body = $msg->get_part_body($part_id, false); + } + + return $body; + } + + /** + * Parse decrypted message body into structure + * + * @param string Message body + * + * @return array Message structure + */ + private function parse_body(&$body) + { + // Mail_mimeDecode need \r\n end-line, but gpg may return \n + $body = preg_replace('/\r?\n/', "\r\n", $body); + + // parse the body into structure + $struct = rcube_mime::parse_message($body); + + return $struct; + } + + /** + * Replace message encrypted structure with decrypted message structure + * + * @param array + * @param rcube_message_part + */ + private function modify_structure(&$p, $struct) + { + // modify mime_parts property of the message object + $old_id = $p['structure']->mime_id; + foreach (array_keys($p['object']->mime_parts) as $idx) { + if (!$old_id || $idx == $old_id || strpos($idx, $old_id . '.') === 0) { + unset($p['object']->mime_parts[$idx]); + } + } + + // modify the new structure to be correctly handled by Roundcube + $this->modify_structure_part($struct, $p['object'], $old_id); + + // replace old structure with the new one + $p['structure'] = $struct; + $p['mimetype'] = $struct->mimetype; + } + + /** + * Modify decrypted message part + * + * @param rcube_message_part + * @param rcube_message + */ + private function modify_structure_part($part, $msg, $old_id) + { + // never cache the body + $part->body_modified = true; + $part->encoding = 'stream'; + + // modify part identifier + if ($old_id) { + $part->mime_id = !$part->mime_id ? $old_id : ($old_id . '.' . $part->mime_id); + } + + // Cache the fact it was decrypted + $this->encrypted_parts[] = $part->mime_id; + + $msg->mime_parts[$part->mime_id] = $part; + + // modify sub-parts + foreach ((array) $part->parts as $p) { + $this->modify_structure_part($p, $msg, $old_id); + } + } + + /** + * Checks if specified message part is a PGP-key or S/MIME cert data + * + * @param rcube_message_part Part object + * + * @return boolean True if part is a key/cert + */ + public function is_keys_part($part) + { + // @TODO: S/MIME + return ( + // Content-Type: application/pgp-keys + $part->mimetype == 'application/pgp-keys' + ); + } +} diff --git a/plugins/enigma/lib/enigma_error.php b/plugins/enigma/lib/enigma_error.php new file mode 100644 index 000000000..1717a7c46 --- /dev/null +++ b/plugins/enigma/lib/enigma_error.php @@ -0,0 +1,60 @@ +<?php +/* + +-------------------------------------------------------------------------+ + | Error class for the Enigma Plugin | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +class enigma_error +{ + private $code; + private $message; + private $data = array(); + + // error codes + const E_OK = 0; + const E_INTERNAL = 1; + const E_NODATA = 2; + const E_KEYNOTFOUND = 3; + const E_DELKEY = 4; + const E_BADPASS = 5; + const E_EXPIRED = 6; + const E_UNVERIFIED = 7; + + + function __construct($code = null, $message = '', $data = array()) + { + $this->code = $code; + $this->message = $message; + $this->data = $data; + } + + function getCode() + { + return $this->code; + } + + function getMessage() + { + return $this->message; + } + + function getData($name) + { + if ($name) { + return $this->data[$name]; + } + else { + return $this->data; + } + } +} diff --git a/plugins/enigma/lib/enigma_key.php b/plugins/enigma/lib/enigma_key.php new file mode 100644 index 000000000..8c61cbd99 --- /dev/null +++ b/plugins/enigma/lib/enigma_key.php @@ -0,0 +1,150 @@ +<?php +/* + +-------------------------------------------------------------------------+ + | Key class for the Enigma Plugin | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +class enigma_key +{ + public $id; + public $name; + public $users = array(); + public $subkeys = array(); + + const TYPE_UNKNOWN = 0; + const TYPE_KEYPAIR = 1; + const TYPE_PUBLIC = 2; + + const CAN_SIGN = 1; + const CAN_ENCRYPT = 2; + + /** + * Keys list sorting callback for usort() + */ + static function cmp($a, $b) + { + return strcmp($a->name, $b->name); + } + + /** + * Returns key type + */ + function get_type() + { + if ($this->subkeys[0]->has_private) + return enigma_key::TYPE_KEYPAIR; + else if (!empty($this->subkeys[0])) + return enigma_key::TYPE_PUBLIC; + + return enigma_key::TYPE_UNKNOWN; + } + + /** + * Returns true if all user IDs are revoked + */ + function is_revoked() + { + foreach ($this->subkeys as $subkey) + if (!$subkey->revoked) + return false; + + return true; + } + + /** + * Returns true if any user ID is valid + */ + function is_valid() + { + foreach ($this->users as $user) + if ($user->valid) + return true; + + return false; + } + + /** + * Returns true if any of subkeys is not expired + */ + function is_expired() + { + $now = time(); + + foreach ($this->subkeys as $subkey) + if (!$subkey->expires || $subkey->expires > $now) + return true; + + return false; + } + + /** + * Get key ID by user email + */ + function find_subkey($email, $mode) + { + $now = time(); + + foreach ($this->users as $user) { + if ($user->email === $email && $user->valid && !$user->revoked) { + foreach ($this->subkeys as $subkey) { + if (!$subkey->revoked && (!$subkey->expires || $subkey->expires > $now)) { + if (($mode == self::CAN_ENCRYPT && $subkey->can_encrypt) + || ($mode == self::CAN_SIGN && $subkey->has_private) + ) { + return $subkey; + } + } + } + } + } + } + + /** + * Converts long ID or Fingerprint to short ID + * Crypt_GPG uses internal, but e.g. Thunderbird's Enigmail displays short ID + * + * @param string Key ID or fingerprint + * @return string Key short ID + */ + static function format_id($id) + { + // E.g. 04622F2089E037A5 => 89E037A5 + + return substr($id, -8); + } + + /** + * Formats fingerprint string + * + * @param string Key fingerprint + * + * @return string Formatted fingerprint (with spaces) + */ + static function format_fingerprint($fingerprint) + { + if (!$fingerprint) { + return ''; + } + + $result = ''; + for ($i=0; $i<40; $i++) { + if ($i % 4 == 0) { + $result .= ' '; + } + $result .= $fingerprint[$i]; + } + + return $result; + } + +} diff --git a/plugins/enigma/lib/enigma_mime_message.php b/plugins/enigma/lib/enigma_mime_message.php new file mode 100644 index 000000000..feed78e03 --- /dev/null +++ b/plugins/enigma/lib/enigma_mime_message.php @@ -0,0 +1,299 @@ +<?php +/* + +-------------------------------------------------------------------------+ + | Mail_mime wrapper for the Enigma Plugin | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +class enigma_mime_message extends Mail_mime +{ + const PGP_SIGNED = 1; + const PGP_ENCRYPTED = 2; + + protected $_type; + protected $_message; + protected $_body; + protected $_signature; + protected $_encrypted; + + + /** + * Object constructor + * + * @param Mail_mime Original message + * @param int Output message type + */ + function __construct($message, $type) + { + $this->_message = $message; + $this->_type = $type; + + // clone parameters + foreach (array_keys($this->_build_params) as $param) { + $this->_build_params[$param] = $message->getParam($param); + } + + // clone headers + $this->_headers = $message->_headers; + +/* + if ($message->getParam('delay_file_io')) { + // use common temp dir + $temp_dir = $this->config->get('temp_dir'); + $body_file = tempnam($temp_dir, 'rcmMsg'); + $mime_result = $message->saveMessageBody($body_file); + + if (is_a($mime_result, 'PEAR_Error')) { + self::raise_error(array('code' => 650, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Could not create message: ".$mime_result->getMessage()), + true, false); + return false; + } + + $msg_body = fopen($body_file, 'r'); + } + else { +*/ + // \r\n is must-have here + $this->_body = $message->get() . "\r\n"; +/* + } +*/ + } + + /** + * Check if the message is multipart (requires PGP/MIME) + * + * @return bool True if it is multipart, otherwise False + */ + function isMultipart() + { + return $this->_message instanceof enigma_mime_message + || !empty($this->_message->_parts) || $this->_message->getHTMLBody(); + } + + /** + * Get e-mail address of message sender + * + * @return string Sender address + */ + function getFromAddress() + { + // get sender address + $headers = $this->_message->headers(); + $from = rcube_mime::decode_address_list($headers['From'], 1, false, null, true); + $from = $from[1]; + + return $from; + } + + /** + * Get recipients' e-mail addresses + * + * @return array Recipients' addresses + */ + function getRecipients() + { + // get sender address + $headers = $this->_message->headers(); + $to = rcube_mime::decode_address_list($headers['To'], null, false, null, true); + $cc = rcube_mime::decode_address_list($headers['Cc'], null, false, null, true); + $bcc = rcube_mime::decode_address_list($headers['Bcc'], null, false, null, true); + + $recipients = array_unique(array_merge($to, $cc, $bcc)); + $recipients = array_diff($recipients, array('undisclosed-recipients:')); + + return $recipients; + } + + /** + * Get original message body, to be encrypted/signed + * + * @return string Message body + */ + function getOrigBody() + { + $_headers = $this->_message->headers(); + $headers = array(); + + if ($_headers['Content-Transfer-Encoding']) { + $headers[] = 'Content-Transfer-Encoding: ' . $_headers['Content-Transfer-Encoding']; + } + $headers[] = 'Content-Type: ' . $_headers['Content-Type']; + + return implode("\r\n", $headers) . "\r\n\r\n" . $this->_body; + } + + /** + * Register signature attachment + * + * @param string Signature body + */ + function addPGPSignature($body) + { + $this->_signature = $body; + } + + /** + * Register encrypted body + * + * @param string Encrypted body + */ + function setPGPEncryptedBody($body) + { + $this->_encrypted = $body; + } + + /** + * Builds the multipart message. + * + * @param array $params Build parameters that change the way the email + * is built. Should be associative. See $_build_params. + * @param resource $filename Output file where to save the message instead of + * returning it + * @param boolean $skip_head True if you want to return/save only the message + * without headers + * + * @return mixed The MIME message content string, null or PEAR error object + * @access public + */ + function get($params = null, $filename = null, $skip_head = false) + { + if (isset($params)) { + while (list($key, $value) = each($params)) { + $this->_build_params[$key] = $value; + } + } + + $this->_checkParams(); + + if ($this->_type == self::PGP_SIGNED) { + $body = "This is an OpenPGP/MIME signed message (RFC 4880 and 3156)"; + $params = array( + 'content_type' => "multipart/signed; micalg=pgp-sha1; protocol=\"application/pgp-signature\"", + 'eol' => $this->_build_params['eol'], + ); + + $message = new Mail_mimePart($body, $params); + + if (!empty($this->_body)) { + $headers = $this->_message->headers(); + $params = array('content_type' => $headers['Content-Type']); + + if ($headers['Content-Transfer-Encoding']) { + $params['encoding'] = $headers['Content-Transfer-Encoding']; + } + + $message->addSubpart($this->_body, $params); + } + + if (!empty($this->_signature)) { + $message->addSubpart($this->_signature, array( + 'filename' => 'signature.asc', + 'content_type' => 'application/pgp-signature', + 'disposition' => 'attachment', + 'description' => 'OpenPGP digital signature', + )); + } + } + else if ($this->_type == self::PGP_ENCRYPTED) { + $body = "This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156)"; + $params = array( + 'content_type' => "multipart/encrypted; protocol=\"application/pgp-encrypted\"", + 'eol' => $this->_build_params['eol'], + ); + + $message = new Mail_mimePart($body, $params); + + $message->addSubpart('Version: 1', array( + 'content_type' => 'application/pgp-encrypted', + 'description' => 'PGP/MIME version identification', + )); + + $message->addSubpart($this->_encrypted, array( + 'content_type' => 'application/octet-stream', + 'description' => 'PGP/MIME encrypted message', + 'disposition' => 'inline', + 'filename' => 'encrypted.asc', + )); + } + + // Use saved boundary + if (!empty($this->_build_params['boundary'])) { + $boundary = $this->_build_params['boundary']; + } + else { + $boundary = null; + } + + // Write output to file + if ($filename) { + // Append mimePart message headers and body into file + $headers = $message->encodeToFile($filename, $boundary, $skip_head); + if ($this->_isError($headers)) { + return $headers; + } + $this->_headers = array_merge($this->_headers, $headers); + return null; + } + else { + $output = $message->encode($boundary, $skip_head); + if ($this->_isError($output)) { + return $output; + } + $this->_headers = array_merge($this->_headers, $output['headers']); + return $output['body']; + } + } + + /** + * Get Content-Type and Content-Transfer-Encoding headers of the message + * + * @return array Headers array + * @access private + */ + function _contentHeaders() + { + $this->_checkParams(); + + $eol = !empty($this->_build_params['eol']) ? $this->_build_params['eol'] : "\r\n"; + + // multipart message: and boundary + if (!empty($this->_build_params['boundary'])) { + $boundary = $this->_build_params['boundary']; + } + else if (!empty($this->_headers['Content-Type']) + && preg_match('/boundary="([^"]+)"/', $this->_headers['Content-Type'], $m) + ) { + $boundary = $m[1]; + } + else { + $boundary = '=_' . md5(rand() . microtime()); + } + + $this->_build_params['boundary'] = $boundary; + + if ($this->_type == self::PGP_SIGNED) { + $headers['Content-Type'] = "multipart/signed; micalg=pgp-sha1;$eol" + ." protocol=\"application/pgp-signature\";$eol" + ." boundary=\"$boundary\""; + } + else if ($this->_type == self::PGP_ENCRYPTED) { + $headers['Content-Type'] = "multipart/encrypted;$eol" + ." protocol=\"application/pgp-encrypted\";$eol" + ." boundary=\"$boundary\""; + } + + return $headers; + } +} diff --git a/plugins/enigma/lib/enigma_signature.php b/plugins/enigma/lib/enigma_signature.php new file mode 100644 index 000000000..2e63a80f4 --- /dev/null +++ b/plugins/enigma/lib/enigma_signature.php @@ -0,0 +1,27 @@ +<?php +/* + +-------------------------------------------------------------------------+ + | Signature class for the Enigma Plugin | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +class enigma_signature +{ + public $id; + public $valid; + public $fingerprint; + public $created; + public $expires; + public $name; + public $comment; + public $email; +} diff --git a/plugins/enigma/lib/enigma_subkey.php b/plugins/enigma/lib/enigma_subkey.php new file mode 100644 index 000000000..cd57611c0 --- /dev/null +++ b/plugins/enigma/lib/enigma_subkey.php @@ -0,0 +1,50 @@ +<?php +/* + +-------------------------------------------------------------------------+ + | SubKey class for the Enigma Plugin | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +class enigma_subkey +{ + public $id; + public $fingerprint; + public $expires; + public $created; + public $revoked; + public $has_private; + public $can_sign; + public $can_encrypt; + + /** + * Converts internal ID to short ID + * Crypt_GPG uses internal, but e.g. Thunderbird's Enigmail displays short ID + * + * @return string Key ID + */ + function get_short_id() + { + // E.g. 04622F2089E037A5 => 89E037A5 + return enigma_key::format_id($this->id); + } + + /** + * Getter for formatted fingerprint + * + * @return string Formatted fingerprint + */ + function get_fingerprint() + { + return enigma_key::format_fingerprint($this->fingerprint); + } + +} diff --git a/plugins/enigma/lib/enigma_ui.php b/plugins/enigma/lib/enigma_ui.php new file mode 100644 index 000000000..e866ba335 --- /dev/null +++ b/plugins/enigma/lib/enigma_ui.php @@ -0,0 +1,749 @@ +<?php +/* + +-------------------------------------------------------------------------+ + | User Interface for the Enigma Plugin | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +class enigma_ui +{ + private $rc; + private $enigma; + private $home; + private $css_loaded; + private $js_loaded; + private $data; + private $keys_parts = array(); + private $keys_bodies = array(); + + + function __construct($enigma_plugin, $home='') + { + $this->enigma = $enigma_plugin; + $this->rc = $enigma_plugin->rc; + $this->home = $home; // we cannot use $enigma_plugin->home here + } + + /** + * UI initialization and requests handlers. + * + * @param string Preferences section + */ + function init() + { + $this->add_js(); + + $action = rcube_utils::get_input_value('_a', rcube_utils::INPUT_GPC); + + if ($this->rc->action == 'plugin.enigmakeys') { + switch ($action) { + case 'delete': + $this->key_delete(); + break; +/* + case 'edit': + $this->key_edit(); + break; +*/ + case 'import': + $this->key_import(); + break; + + case 'search': + case 'list': + $this->key_list(); + break; + + case 'info': + $this->key_info(); + break; + } + + $this->rc->output->add_handlers(array( + 'keyslist' => array($this, 'tpl_keys_list'), + 'keyframe' => array($this, 'tpl_key_frame'), + 'countdisplay' => array($this, 'tpl_keys_rowcount'), + 'searchform' => array($this->rc->output, 'search_form'), + )); + + $this->rc->output->set_pagetitle($this->enigma->gettext('enigmakeys')); + $this->rc->output->send('enigma.keys'); + } +/* + // Preferences UI + else if ($this->rc->action == 'plugin.enigmacerts') { + $this->rc->output->add_handlers(array( + 'keyslist' => array($this, 'tpl_certs_list'), + 'keyframe' => array($this, 'tpl_cert_frame'), + 'countdisplay' => array($this, 'tpl_certs_rowcount'), + 'searchform' => array($this->rc->output, 'search_form'), + )); + + $this->rc->output->set_pagetitle($this->enigma->gettext('enigmacerts')); + $this->rc->output->send('enigma.certs'); + } +*/ + // Message composing UI + else if ($this->rc->action == 'compose') { + $this->compose_ui(); + } + } + + /** + * Adds CSS style file to the page header. + */ + function add_css() + { + if ($this->css_loaded) + return; + + $skin_path = $this->enigma->local_skin_path(); + if (is_file($this->home . "/$skin_path/enigma.css")) { + $this->enigma->include_stylesheet("$skin_path/enigma.css"); + } + + $this->css_loaded = true; + } + + /** + * Adds javascript file to the page header. + */ + function add_js() + { + if ($this->js_loaded) { + return; + } + + $this->enigma->include_script('enigma.js'); + + $this->js_loaded = true; + } + + /** + * Initializes key password prompt + * + * @param enigma_error Error object with key info + */ + function password_prompt($status) + { + $data = $status->getData('missing'); + + if (empty($data)) { + $data = $status->getData('bad'); + } + + $data = array('keyid' => key($data), 'user' => $data[key($data)]); + + if ($this->rc->action == 'send') { + $this->rc->output->command('enigma_password_request', $data); + } + else { + $this->rc->output->set_env('enigma_password_request', $data); + } + + // add some labels to client + $this->rc->output->add_label('enigma.enterkeypasstitle', 'enigma.enterkeypass', + 'save', 'cancel'); + + $this->add_css(); + $this->add_js(); + } + + /** + * Template object for key info/edit frame. + * + * @param array Object attributes + * + * @return string HTML output + */ + function tpl_key_frame($attrib) + { + if (!$attrib['id']) { + $attrib['id'] = 'rcmkeysframe'; + } + + $attrib['name'] = $attrib['id']; + + $this->rc->output->set_env('contentframe', $attrib['name']); + $this->rc->output->set_env('blankpage', $attrib['src'] ? + $this->rc->output->abs_url($attrib['src']) : 'program/resources/blank.gif'); + + return $this->rc->output->frame($attrib); + } + + /** + * Template object for list of keys. + * + * @param array Object attributes + * + * @return string HTML content + */ + function tpl_keys_list($attrib) + { + // add id to message list table if not specified + if (!strlen($attrib['id'])) { + $attrib['id'] = 'rcmenigmakeyslist'; + } + + // define list of cols to be displayed + $a_show_cols = array('name'); + + // create XHTML table + $out = $this->rc->table_output($attrib, array(), $a_show_cols, 'id'); + + // set client env + $this->rc->output->add_gui_object('keyslist', $attrib['id']); + $this->rc->output->include_script('list.js'); + + // add some labels to client + $this->rc->output->add_label('enigma.keyremoveconfirm', 'enigma.keyremoving'); + + return $out; + } + + /** + * Key listing (and searching) request handler + */ + private function key_list() + { + $this->enigma->load_engine(); + + $pagesize = $this->rc->config->get('pagesize', 100); + $page = max(intval(rcube_utils::get_input_value('_p', rcube_utils::INPUT_GPC)), 1); + $search = rcube_utils::get_input_value('_q', rcube_utils::INPUT_GPC); + + // Get the list + $list = $this->enigma->engine->list_keys($search); + + if ($list && ($list instanceof enigma_error)) + $this->rc->output->show_message('enigma.keylisterror', 'error'); + else if (empty($list)) + $this->rc->output->show_message('enigma.nokeysfound', 'notice'); + else if (is_array($list)) { + // Save the size + $listsize = count($list); + + // Sort the list by key (user) name + usort($list, array('enigma_key', 'cmp')); + + // Slice current page + $list = array_slice($list, ($page - 1) * $pagesize, $pagesize); + $size = count($list); + + // Add rows + foreach ($list as $key) { + $this->rc->output->command('enigma_add_list_row', + array('name' => rcube::Q($key->name), 'id' => $key->id)); + } + } + + $this->rc->output->set_env('search_request', $search); + $this->rc->output->set_env('pagecount', ceil($listsize/$pagesize)); + $this->rc->output->set_env('current_page', $page); + $this->rc->output->command('set_rowcount', + $this->get_rowcount_text($listsize, $size, $page)); + + $this->rc->output->send(); + } + + /** + * Template object for list records counter. + * + * @param array Object attributes + * + * @return string HTML output + */ + function tpl_keys_rowcount($attrib) + { + if (!$attrib['id']) + $attrib['id'] = 'rcmcountdisplay'; + + $this->rc->output->add_gui_object('countdisplay', $attrib['id']); + + return html::span($attrib, $this->get_rowcount_text()); + } + + /** + * Returns text representation of list records counter + */ + private function get_rowcount_text($all=0, $curr_count=0, $page=1) + { + if (!$curr_count) { + $out = $this->enigma->gettext('nokeysfound'); + } + else { + $pagesize = $this->rc->config->get('pagesize', 100); + $first = ($page - 1) * $pagesize; + + $out = $this->enigma->gettext(array( + 'name' => 'keysfromto', + 'vars' => array( + 'from' => $first + 1, + 'to' => $first + $curr_count, + 'count' => $all) + )); + } + + return $out; + } + + /** + * Key information page handler + */ + private function key_info() + { + $this->enigma->load_engine(); + + $id = rcube_utils::get_input_value('_id', rcube_utils::INPUT_GET); + $res = $this->enigma->engine->get_key($id); + + if ($res instanceof enigma_key) { + $this->data = $res; + } + else { // error + $this->rc->output->show_message('enigma.keyopenerror', 'error'); + $this->rc->output->command('parent.enigma_loadframe'); + $this->rc->output->send('iframe'); + } + + $this->rc->output->add_handlers(array( + 'keyname' => array($this, 'tpl_key_name'), + 'keydata' => array($this, 'tpl_key_data'), + )); + + $this->rc->output->set_pagetitle($this->enigma->gettext('keyinfo')); + $this->rc->output->send('enigma.keyinfo'); + } + + /** + * Template object for key name + */ + function tpl_key_name($attrib) + { + return rcube::Q($this->data->name); + } + + /** + * Template object for key information page content + */ + function tpl_key_data($attrib) + { + $out = ''; + $table = new html_table(array('cols' => 2)); + + // Key user ID + $table->add('title', $this->enigma->gettext('keyuserid')); + $table->add(null, rcube::Q($this->data->name)); + // Key ID + $table->add('title', $this->enigma->gettext('keyid')); + $table->add(null, $this->data->subkeys[0]->get_short_id()); + // Key type + $keytype = $this->data->get_type(); + if ($keytype == enigma_key::TYPE_KEYPAIR) + $type = $this->enigma->gettext('typekeypair'); + else if ($keytype == enigma_key::TYPE_PUBLIC) + $type = $this->enigma->gettext('typepublickey'); + $table->add('title', $this->enigma->gettext('keytype')); + $table->add(null, $type); + // Key fingerprint + $table->add('title', $this->enigma->gettext('fingerprint')); + $table->add(null, $this->data->subkeys[0]->get_fingerprint()); + + $out .= html::tag('fieldset', null, + html::tag('legend', null, + $this->enigma->gettext('basicinfo')) . $table->show($attrib)); +/* + // Subkeys + $table = new html_table(array('cols' => 6)); + // Columns: Type, ID, Algorithm, Size, Created, Expires + + $out .= html::tag('fieldset', null, + html::tag('legend', null, + $this->enigma->gettext('subkeys')) . $table->show($attrib)); + + // Additional user IDs + $table = new html_table(array('cols' => 2)); + // Columns: User ID, Validity + + $out .= html::tag('fieldset', null, + html::tag('legend', null, + $this->enigma->gettext('userids')) . $table->show($attrib)); +*/ + return $out; + } + + /** + * Key import page handler + */ + private function key_import() + { + // Import process + if ($_FILES['_file']['tmp_name'] && is_uploaded_file($_FILES['_file']['tmp_name'])) { + $this->enigma->load_engine(); + $result = $this->enigma->engine->import_key($_FILES['_file']['tmp_name'], true); + + if (is_array($result)) { + // reload list if any keys has been added + if ($result['imported']) { + $this->rc->output->command('parent.enigma_list', 1); + } + else + $this->rc->output->command('parent.enigma_loadframe'); + + $this->rc->output->show_message('enigma.keysimportsuccess', 'confirmation', + array('new' => $result['imported'], 'old' => $result['unchanged'])); + + $this->rc->output->send('iframe'); + } + else { + $this->rc->output->show_message('enigma.keysimportfailed', 'error'); + } + } + else if ($err = $_FILES['_file']['error']) { + if ($err == UPLOAD_ERR_INI_SIZE || $err == UPLOAD_ERR_FORM_SIZE) { + $this->rc->output->show_message('filesizeerror', 'error', + array('size' => $this->rc->show_bytes(parse_bytes(ini_get('upload_max_filesize'))))); + } else { + $this->rc->output->show_message('fileuploaderror', 'error'); + } + } + + $this->rc->output->add_handlers(array( + 'importform' => array($this, 'tpl_key_import_form'), + )); + + $this->rc->output->set_pagetitle($this->enigma->gettext('keyimport')); + $this->rc->output->send('enigma.keyimport'); + } + + /** + * Template object for key import (upload) form + */ + function tpl_key_import_form($attrib) + { + $attrib += array('id' => 'rcmKeyImportForm'); + + $upload = new html_inputfield(array('type' => 'file', 'name' => '_file', + 'id' => 'rcmimportfile', 'size' => 30)); + + $form = html::p(null, + rcube::Q($this->enigma->gettext('keyimporttext'), 'show') + . html::br() . html::br() . $upload->show() + ); + + $this->rc->output->add_label('selectimportfile', 'importwait'); + $this->rc->output->add_gui_object('importform', $attrib['id']); + + $out = $this->rc->output->form_tag(array( + 'action' => $this->rc->url(array('action' => $this->rc->action, 'a' => 'import')), + 'method' => 'post', + 'enctype' => 'multipart/form-data') + $attrib, + $form); + + return $out; + } + + /** + * Key deleting + */ + private function key_delete() + { + $keys = rcube_utils::get_input_value('_keys', rcube_utils::INPUT_POST); + + $this->enigma->load_engine(); + + foreach ((array)$keys as $key) { + $res = $this->enigma->engine->delete_key($key); + + if ($res !== true) { + $this->rc->output->show_message('enigma.keyremoveerror', 'error'); + $this->rc->output->command('enigma_list'); + $this->rc->output->send(); + } + } + + $this->rc->output->command('enigma_list'); + $this->rc->output->show_message('enigma.keyremovesuccess', 'confirmation'); + $this->rc->output->send(); + } + + private function compose_ui() + { + $this->add_css(); + + // Options menu button + $this->enigma->add_button(array( + 'type' => 'link', + 'command' => 'plugin.enigma', + 'onclick' => "rcmail.command('menu-open', 'enigmamenu', event.target, event)", + 'class' => 'button enigma', + 'title' => 'encryptionoptions', + 'label' => 'encryption', + 'domain' => $this->enigma->ID, + 'width' => 32, + 'height' => 32 + ), 'toolbar'); + + // Options menu contents + $this->enigma->add_hook('render_page', array($this, 'compose_menu')); + } + + function compose_menu($p) + { + $menu = new html_table(array('cols' => 2)); + $chbox = new html_checkbox(array('value' => 1)); + + $menu->add(null, html::label(array('for' => 'enigmasignopt'), + rcube::Q($this->enigma->gettext('signmsg')))); + $menu->add(null, $chbox->show($this->rc->config->get('enigma_sign_all') ? 1 : 0, + array('name' => '_enigma_sign', 'id' => 'enigmasignopt'))); + + $menu->add(null, html::label(array('for' => 'enigmaencryptopt'), + rcube::Q($this->enigma->gettext('encryptmsg')))); + $menu->add(null, $chbox->show($this->rc->config->get('enigma_encrypt_all') ? 1 : 0, + array('name' => '_enigma_encrypt', 'id' => 'enigmaencryptopt'))); + + $menu = html::div(array('id' => 'enigmamenu', 'class' => 'popupmenu'), + $menu->show()); + + $p['content'] .= $menu; + + return $p; + } + + /** + * Handler for message_body_prefix hook. + * Called for every displayed (content) part of the message. + * Adds infobox about signature verification and/or decryption + * status above the body. + * + * @param array Original parameters + * + * @return array Modified parameters + */ + function status_message($p) + { + // skip: not a message part + if ($p['part'] instanceof rcube_message) { + return $p; + } + + // skip: message has no signed/encoded content + if (!$this->enigma->engine) { + return $p; + } + + $engine = $this->enigma->engine; + $part_id = $p['part']->mime_id; + + // Decryption status + if (isset($engine->decryptions[$part_id])) { + $attach_scripts = true; + + // get decryption status + $status = $engine->decryptions[$part_id]; + + // display status info + $attrib['id'] = 'enigma-message'; + + if ($status instanceof enigma_error) { + $attrib['class'] = 'enigmaerror'; + $code = $status->getCode(); + + if ($code == enigma_error::E_KEYNOTFOUND) { + $msg = rcube::Q(str_replace('$keyid', enigma_key::format_id($status->getData('id')), + $this->enigma->gettext('decryptnokey'))); + } + else if ($code == enigma_error::E_BADPASS) { + $msg = rcube::Q($this->enigma->gettext('decryptbadpass')); + $this->password_prompt($status); + } + else { + $msg = rcube::Q($this->enigma->gettext('decrypterror')); + } + } + else { + $attrib['class'] = 'enigmanotice'; + $msg = rcube::Q($this->enigma->gettext('decryptok')); + } + + $p['prefix'] .= html::div($attrib, $msg); + } + + // Signature verification status + if (isset($engine->signed_parts[$part_id]) + && ($sig = $engine->signatures[$engine->signed_parts[$part_id]]) + ) { + $attach_scripts = true; + + // display status info + $attrib['id'] = 'enigma-message'; + + if ($sig instanceof enigma_signature) { + $sender = ($sig->name ? $sig->name . ' ' : '') . '<' . $sig->email . '>'; + + if ($sig->valid === enigma_error::E_UNVERIFIED) { + $attrib['class'] = 'enigmawarning'; + $msg = str_replace('$sender', $sender, $this->enigma->gettext('sigunverified')); + $msg = str_replace('$keyid', $sig->id, $msg); + $msg = rcube::Q($msg); + } + else if ($sig->valid) { + $attrib['class'] = 'enigmanotice'; + $msg = rcube::Q(str_replace('$sender', $sender, $this->enigma->gettext('sigvalid'))); + } + else { + $attrib['class'] = 'enigmawarning'; + $msg = rcube::Q(str_replace('$sender', $sender, $this->enigma->gettext('siginvalid'))); + } + } + else if ($sig && $sig->getCode() == enigma_error::E_KEYNOTFOUND) { + $attrib['class'] = 'enigmawarning'; + $msg = rcube::Q(str_replace('$keyid', enigma_key::format_id($sig->getData('id')), + $this->enigma->gettext('signokey'))); + } + else { + $attrib['class'] = 'enigmaerror'; + $msg = rcube::Q($this->enigma->gettext('sigerror')); + } +/* + $msg .= ' ' . html::a(array('href' => "#sigdetails", + 'onclick' => rcmail_output::JS_OBJECT_NAME.".command('enigma-sig-details')"), + rcube::Q($this->enigma->gettext('showdetails'))); +*/ + // test +// $msg .= '<br /><pre>'.$sig->body.'</pre>'; + + $p['prefix'] .= html::div($attrib, $msg); + + // Display each signature message only once + unset($engine->signatures[$engine->signed_parts[$part_id]]); + } + + if ($attach_scripts) { + // add css and js script + $this->add_css(); + $this->add_js(); + } + + return $p; + } + + /** + * Handler for message_load hook. + * Check message bodies and attachments for keys/certs. + */ + function message_load($p) + { + $engine = $this->enigma->load_engine(); + + // handle attachments vcard attachments + foreach ((array) $p['object']->attachments as $attachment) { + if ($engine->is_keys_part($attachment)) { + $this->keys_parts[] = $attachment->mime_id; + } + } + + // the same with message bodies + foreach ((array) $p['object']->parts as $part) { + if ($engine->is_keys_part($part)) { + $this->keys_parts[] = $part->mime_id; + $this->keys_bodies[] = $part->mime_id; + } + } + + // @TODO: inline PGP keys + + if ($this->keys_parts) { + $this->enigma->add_texts('localization'); + } + + return $p; + } + + /** + * Handler for template_object_messagebody hook. + * This callback function adds a box below the message content + * if there is a key/cert attachment available + */ + function message_output($p) + { + foreach ($this->keys_parts as $part) { + // remove part's body + if (in_array($part, $this->keys_bodies)) { + $p['content'] = ''; + } + + // add box below message body + $p['content'] .= html::p(array('class' => 'enigmaattachment'), + html::a(array( + 'href' => "#", + 'onclick' => "return ".rcmail_output::JS_OBJECT_NAME.".enigma_import_attachment('".rcube::JQ($part)."')", + 'title' => $this->enigma->gettext('keyattimport')), + html::span(null, $this->enigma->gettext('keyattfound')))); + + $attach_scripts = true; + } + + if ($attach_scripts) { + // add css and js script + $this->add_css(); + $this->add_js(); + } + + return $p; + } + + /** + * Handle message_ready hook (encryption/signing) + */ + function message_ready($p) + { + $savedraft = !empty($_POST['_draft']) && empty($_GET['_saveonly']); + + if (!$savedraft && rcube_utils::get_input_value('_enigma_sign', rcube_utils::INPUT_POST)) { + $this->enigma->load_engine(); + $status = $this->enigma->engine->sign_message($p['message']); + $mode = 'sign'; + } + + if ((!$status instanceof enigma_error) && rcube_utils::get_input_value('_enigma_encrypt', rcube_utils::INPUT_POST)) { + $this->enigma->load_engine(); + $status = $this->enigma->engine->encrypt_message($p['message'], null, $savedraft); + $mode = 'encrypt'; + } + + if ($mode && ($status instanceof enigma_error)) { + $code = $status->getCode(); + + if ($code == enigma_error::E_KEYNOTFOUND) { + $vars = array('email' => $status->getData('missing')); + $msg = 'enigma.' . $mode . 'nokey'; + } + else if ($code == enigma_error::E_BADPASS) { + $msg = 'enigma.' . $mode . 'badpass'; + $type = 'warning'; + + $this->password_prompt($status); + } + else { + $msg = 'enigma.' . $mode . 'error'; + } + + $this->rc->output->show_message($msg, $type ?: 'error', $vars); + $this->rc->output->send('iframe'); + } + + return $p; + } + +} diff --git a/plugins/enigma/lib/enigma_userid.php b/plugins/enigma/lib/enigma_userid.php new file mode 100644 index 000000000..da0358445 --- /dev/null +++ b/plugins/enigma/lib/enigma_userid.php @@ -0,0 +1,24 @@ +<?php +/* + +-------------------------------------------------------------------------+ + | User ID class for the Enigma Plugin | + | | + | Copyright (C) 2010-2015 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: Aleksander Machniak <alec@alec.pl> | + +-------------------------------------------------------------------------+ +*/ + +class enigma_userid +{ + public $revoked; + public $valid; + public $name; + public $comment; + public $email; +} diff --git a/plugins/enigma/localization/en_US.inc b/plugins/enigma/localization/en_US.inc new file mode 100644 index 000000000..410a52e56 --- /dev/null +++ b/plugins/enigma/localization/en_US.inc @@ -0,0 +1,72 @@ +<?php + +$labels = array(); +$labels['encryption'] = 'Encryption'; +$labels['enigmacerts'] = 'S/MIME Certificates'; +$labels['enigmakeys'] = 'PGP Keys'; +$labels['keysfromto'] = 'Keys $from to $to of $count'; +$labels['keyname'] = 'Name'; +$labels['keyid'] = 'Key ID'; +$labels['keyuserid'] = 'User ID'; +$labels['keytype'] = 'Key type'; +$labels['fingerprint'] = 'Fingerprint'; +$labels['subkeys'] = 'Subkeys'; +$labels['basicinfo'] = 'Basic Information'; +$labels['userids'] = 'Additional User IDs'; +$labels['typepublickey'] = 'public key'; +$labels['typekeypair'] = 'key pair'; +$labels['keyattfound'] = 'This message contains attached PGP key(s).'; +$labels['keyattimport'] = 'Import key(s)'; + +$labels['supportsignatures'] = 'Enable message signatures verification'; +$labels['supportdecryption'] = 'Enable message decryption'; +$labels['signdefault'] = 'Sign all messages by default'; +$labels['encryptdefault'] = 'Encrypt all messages by default'; +$labels['passwordtime'] = 'Keep private key passwords for'; +$labels['nminutes'] = '$m minute(s)'; +$labels['wholesession'] = 'the whole session'; + +$labels['createkeys'] = 'Create a new key pair'; +$labels['importkeys'] = 'Import key(s)'; +$labels['exportkeys'] = 'Export key(s)'; +$labels['keyactions'] = 'Key actions...'; +$labels['keyremove'] = 'Remove'; +$labels['keydisable'] = 'Disable'; +$labels['keyrevoke'] = 'Revoke'; +$labels['keysend'] = 'Send public key in a message'; +$labels['keychpass'] = 'Change password'; + +$labels['encryptionoptions'] = 'Encryption options...'; +$labels['encryptmsg'] = 'Encrypt this message'; +$labels['signmsg'] = 'Digitally sign this message'; + +$labels['enterkeypasstitle'] = 'Enter key passphrase'; +$labels['enterkeypass'] = 'A passphrase is needed to unlock the secret key ($keyid) for user: $user.'; + +$messages = array(); +$messages['sigvalid'] = 'Verified signature from $sender.'; +$messages['siginvalid'] = 'Invalid signature from $sender.'; +$messages['sigunverified'] = 'Unverified signature. Certificate not verified. Certificate ID: $keyid.'; +$messages['signokey'] = 'Unverified signature. Public key not found. Key ID: $keyid.'; +$messages['sigerror'] = 'Unverified signature. Internal error.'; +$messages['decryptok'] = 'Message decrypted.'; +$messages['decrypterror'] = 'Decryption failed.'; +$messages['decryptnokey'] = 'Decryption failed. Private key not found. Key ID: $keyid.'; +$messages['decryptbadpass'] = 'Decryption failed. Bad password.'; +$messages['signerror'] = 'Signing failed.'; +$messages['signnokey'] = 'Signing failed. Private key not found.'; +$messages['signbadpass'] = 'Signing failed. Bad password.'; +$messages['encrypterror'] = 'Encryption failed.'; +$messages['encryptnokey'] = 'Encryption failed. Public key not found for $email.'; +$messages['nokeysfound'] = 'No keys found'; +$messages['keyopenerror'] = 'Unable to get key information! Internal error.'; +$messages['keylisterror'] = 'Unable to list keys! Internal error.'; +$messages['keysimportfailed'] = 'Unable to import key(s)! Internal error.'; +$messages['keysimportsuccess'] = 'Key(s) imported successfully. Imported: $new, unchanged: $old.'; +$messages['keyremoving'] = 'Removing key(s)...'; +$messages['keyremoveconfirm'] = 'Are you sure, you want to delete selected key(s)?'; +$messages['keyremovesuccess'] = 'Key(s) deleted successfulyl'; +$messages['keyremoveerror'] = 'Unable to delete selected key(s).'; +$messages['keyimporttext'] = 'You can import private and public key(s) or revocation signatures in ASCII-Armor format.'; + +?> diff --git a/plugins/enigma/localization/ja_JP.inc b/plugins/enigma/localization/ja_JP.inc new file mode 100644 index 000000000..142e7f65d --- /dev/null +++ b/plugins/enigma/localization/ja_JP.inc @@ -0,0 +1,49 @@ +<?php + + + +$labels['enigmasettings'] = 'Enigma'; +$labels['enigmacerts'] = 'Enigma: 証明書 (S/MIME)'; +$labels['enigmakeys'] = 'Enigma: 鍵 (PGP)'; +$labels['keysfromto'] = '鍵の一覧 $from ~ $to (合計: $count )'; +$labels['keyname'] = '名前'; +$labels['keyid'] = '鍵 ID'; +$labels['keyuserid'] = 'ユーザー ID'; +$labels['keytype'] = '鍵の種類'; +$labels['fingerprint'] = '指紋'; +$labels['subkeys'] = 'Subkeys'; +$labels['basicinfo'] = '基本情報'; +$labels['userids'] = '追加のユーザー ID'; +$labels['typepublickey'] = '公開鍵'; +$labels['typekeypair'] = '鍵のペア'; +$labels['keyattfound'] = 'このメールは PGP 鍵の添付があります。'; +$labels['keyattimport'] = '鍵のインポート'; +$labels['createkeys'] = '新しい鍵のペアを作成する'; +$labels['importkeys'] = '鍵のインポート'; +$labels['exportkeys'] = '鍵のエクスポート'; +$labels['deletekeys'] = '鍵の削除'; +$labels['keyactions'] = '鍵の操作...'; +$labels['keydisable'] = '鍵を無効にする'; +$labels['keyrevoke'] = '鍵を取り消す'; +$labels['keysend'] = 'メッセージに公開鍵を含んで送信する'; +$labels['keychpass'] = 'パスワードの変更'; +$labels['securityoptions'] = 'メールのセキュリティ オプション...'; +$labels['identdefault'] = '選択した識別子の設定を使う'; +$labels['encryptmsg'] = 'このメールの暗号化'; +$labels['signmsg'] = 'このメールのデジタル署名'; +$messages['sigvalid'] = '$sender からの署名を検証しました。'; +$messages['siginvalid'] = '$sender からの署名が正しくありません。'; +$messages['signokey'] = '署名は未検証です。公開鍵が見つかりません。鍵 ID: $keyid'; +$messages['sigerror'] = '署名は未検証です。内部エラーです。'; +$messages['decryptok'] = 'メールを復号しました。'; +$messages['decrypterror'] = '復号に失敗しました。'; +$messages['decryptnokey'] = '復号に失敗しました。秘密鍵が見つかりません。鍵 ID: $keyid.'; +$messages['decryptbadpass'] = '復号に失敗しました。パスワードが正しくありません。'; +$messages['nokeysfound'] = '鍵が見つかりません。'; +$messages['keyopenerror'] = '鍵情報の取得に失敗しました! 内部エラーです。'; +$messages['keylisterror'] = '鍵情報のリストに失敗しました! 内部エラーです。'; +$messages['keysimportfailed'] = '鍵のインポートに失敗しました! 内部エラーです。'; +$messages['keysimportsuccess'] = '鍵をインポートしました。インポート: $new, 未変更: $old'; +$messages['keyconfirmdelete'] = '選択した鍵を本当に削除しますか?'; +$messages['keyimporttext'] = '秘密鍵と公開鍵のインポート、または ASCII 形式の署名を無効にできます。'; +?> diff --git a/plugins/enigma/localization/ru_RU.inc b/plugins/enigma/localization/ru_RU.inc new file mode 100644 index 000000000..e8240de30 --- /dev/null +++ b/plugins/enigma/localization/ru_RU.inc @@ -0,0 +1,58 @@ +<?php +/* + ++-----------------------------------------------------------------------+ +| plugins/enigma/localization/ru_RU.inc | +| | +| Russian translation for roundcube/enigma plugin | +| Copyright (C) 2010 | +| Licensed under the GNU GPL | +| | ++-----------------------------------------------------------------------+ +| Author: Sergey Dukachev <iam@dukess.ru> | +| Updates: | ++-----------------------------------------------------------------------+ + +@version 2010-12-23 + +*/ +$labels['enigmacerts'] = 'Enigma: Сертификаты (S/MIME)'; +$labels['enigmakeys'] = 'Enigma: Ключи (PGP)'; +$labels['keysfromto'] = 'Ключи от $from к $to в количестве $count'; +$labels['keyname'] = 'Имя'; +$labels['keyid'] = 'Идентификатор ключа'; +$labels['keyuserid'] = 'Идентификатор пользователя'; +$labels['keytype'] = 'Тип ключа'; +$labels['fingerprint'] = 'Отпечаток (хэш) ключа'; +$labels['subkeys'] = 'Подразделы'; +$labels['basicinfo'] = 'Основные сведения'; +$labels['userids'] = 'Дополнительные идентификаторы пользователя'; +$labels['typepublickey'] = 'Открытый ключ'; +$labels['typekeypair'] = 'пара ключей'; +$labels['keyattfound'] = 'Это сообщение содержит один или несколько ключей PGP.'; +$labels['keyattimport'] = 'Импортировать ключи'; +$labels['createkeys'] = 'Создать новую пару ключей'; +$labels['importkeys'] = 'Импортировать ключ(и)'; +$labels['exportkeys'] = 'Экспортировать ключ(и)'; +$labels['deletekeys'] = 'Удалить ключ(и)'; +$labels['keyactions'] = 'Действия с ключами...'; +$labels['keydisable'] = 'Отключить ключ'; +$labels['keyrevoke'] = 'Отозвать ключ'; +$labels['keysend'] = 'Отправить публичный ключ в собщении'; +$labels['keychpass'] = 'Изменить пароль'; +$messages['sigvalid'] = 'Проверенная подпись у $sender.'; +$messages['siginvalid'] = 'Неверная подпись у $sender.'; +$messages['signokey'] = 'Непроверяемая подпись. Открытый ключ не найден. Идентификатор ключа: $keyid.'; +$messages['sigerror'] = 'Непроверяемая подпись. Внутренняя ошибка.'; +$messages['decryptok'] = 'Сообщение расшифровано.'; +$messages['decrypterror'] = 'Расшифровка не удалась.'; +$messages['decryptnokey'] = 'Расшифровка не удалась. Секретный ключ не найден. Идентификатор ключа: $keyid.'; +$messages['decryptbadpass'] = 'Расшифровка не удалась. Неправильный пароль.'; +$messages['nokeysfound'] = 'Ключи не найдены'; +$messages['keyopenerror'] = 'Невозможно получить информацию о ключе! Внутренняя ошибка.'; +$messages['keylisterror'] = 'Невозможно сделать список ключей! Внутренняя ошибка.'; +$messages['keysimportfailed'] = 'Невозможно импортировать ключ(и)! Внутренняя ошибка.'; +$messages['keysimportsuccess'] = 'Ключи успешно импортированы. Импортировано: $new, без изменений: $old.'; +$messages['keyconfirmdelete'] = 'Вы точно хотите удалить выбранные ключи?'; +$messages['keyimporttext'] = 'Вы можете импортировать открытые и секретные ключи или сообщения об отзыве ключей в формате ASCII-Armor.'; +?> diff --git a/plugins/enigma/skins/classic/enigma.css b/plugins/enigma/skins/classic/enigma.css new file mode 100644 index 000000000..bbc4af99d --- /dev/null +++ b/plugins/enigma/skins/classic/enigma.css @@ -0,0 +1,208 @@ +/*** Style for Enigma plugin ***/ + +/***** Messages displaying *****/ + +#enigma-message, +/* fixes border-top */ +#messagebody div #enigma-message +{ + margin: 0; + margin-bottom: 5px; + min-height: 20px; + padding: 10px 10px 6px 46px; +} + +div.enigmaerror, +/* fixes border-top */ +#messagebody div.enigmaerror +{ + background: url(enigma_error.png) 6px 1px no-repeat; + background-color: #EF9398; + border: 1px solid #DC5757; +} + +div.enigmanotice, +/* fixes border-top */ +#messagebody div.enigmanotice +{ + background: url(enigma.png) 6px 1px no-repeat; + background-color: #A6EF7B; + border: 1px solid #76C83F; +} + +div.enigmawarning, +/* fixes border-top */ +#messagebody div.enigmawarning +{ + background: url(enigma.png) 6px 1px no-repeat; + background-color: #F7FDCB; + border: 1px solid #C2D071; +} + +#enigma-message a +{ + color: #666666; + padding-left: 10px; +} + +#enigma-message a:hover +{ + color: #333333; +} + +p.enigmaattachment +{ + margin: 0.5em 1em; + border: 1px solid #999; + border-radius: 4px; + width: auto; +} + +p.enigmaattachment a +{ + display: block; + background: url(key_add.png) 10px center no-repeat; + padding: 1em 0.5em 1em 50px; +} + + +/***** E-mail Compose Page *****/ + +#messagetoolbar a.button.enigma { + text-indent: -5000px; + background: url(enigma.png) 0 0 no-repeat; +} + +/***** Keys/Certs Management *****/ + +#mainscreen.enigma +{ + top: 80px; +} + +div.enigmascreen +{ + position: absolute; + top: 40px; + right: 0; + bottom: 0; + left: 0; +} + +.enigma #quicksearchbar +{ + top: 10px; + right: 0; +} + +#enigmacontent-box +{ + position: absolute; + top: 0px; + left: 290px; + right: 0px; + bottom: 0px; + border: 1px solid #999999; + overflow: hidden; +} + +#enigmakeyslist +{ + position: absolute; + top: 0; + bottom: 0; + left: 0; + border: 1px solid #999999; + background-color: #F9F9F9; + overflow: hidden; +} + +#keylistcountbar +{ + margin-top: 4px; + margin-left: 4px; +} + +#keys-table +{ + width: 100%; + table-layout: fixed; +} + +#keys-table td +{ + cursor: default; + text-overflow: ellipsis; + -o-text-overflow: ellipsis; +} + +#key-details table td.title +{ + font-weight: bold; + text-align: right; +} + +#keystoolbar +{ + position: absolute; + top: 0; + left: 10px; + height: 35px; +} + +#keystoolbar a +{ + padding-right: 10px; +} + +#keystoolbar a.button, +#keystoolbar a.buttonPas, +#keystoolbar span.separator { + display: block; + float: left; + width: 32px; + height: 32px; + padding: 0; + margin-right: 10px; + overflow: hidden; + background: url(keys_toolbar.png) 0 0 no-repeat transparent; + opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */ +} + +#keystoolbar a.buttonPas { + opacity: 0.35; +} + +#keystoolbar a.createSel { + background-position: 0 -32px; +} + +#keystoolbar a.create { + background-position: 0 0; +} + +#keystoolbar a.importSel { + background-position: -64px -32px; +} + +#keystoolbar a.import { + background-position: -64px 0; +} + +#keystoolbar a.exportSel { + background-position: -96px -32px; +} + +#keystoolbar a.export { + background-position: -96px 0; +} + +#keystoolbar a.keymenu { + background-position: -128px 0; + width: 36px; +} + +#keystoolbar span.separator { + width: 5px; + background-position: -166px 0; +} diff --git a/plugins/enigma/skins/classic/enigma.png b/plugins/enigma/skins/classic/enigma.png Binary files differnew file mode 100644 index 000000000..3ef106e2a --- /dev/null +++ b/plugins/enigma/skins/classic/enigma.png diff --git a/plugins/enigma/skins/classic/enigma_error.png b/plugins/enigma/skins/classic/enigma_error.png Binary files differnew file mode 100644 index 000000000..9bf100efd --- /dev/null +++ b/plugins/enigma/skins/classic/enigma_error.png diff --git a/plugins/enigma/skins/classic/key.png b/plugins/enigma/skins/classic/key.png Binary files differnew file mode 100644 index 000000000..ea1cbd11c --- /dev/null +++ b/plugins/enigma/skins/classic/key.png diff --git a/plugins/enigma/skins/classic/key_add.png b/plugins/enigma/skins/classic/key_add.png Binary files differnew file mode 100644 index 000000000..f22cc870a --- /dev/null +++ b/plugins/enigma/skins/classic/key_add.png diff --git a/plugins/enigma/skins/classic/keys_toolbar.png b/plugins/enigma/skins/classic/keys_toolbar.png Binary files differnew file mode 100644 index 000000000..7cc258cc8 --- /dev/null +++ b/plugins/enigma/skins/classic/keys_toolbar.png diff --git a/plugins/enigma/skins/classic/templates/keyimport.html b/plugins/enigma/skins/classic/templates/keyimport.html new file mode 100644 index 000000000..4e0b304a5 --- /dev/null +++ b/plugins/enigma/skins/classic/templates/keyimport.html @@ -0,0 +1,20 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/this/enigma.css" /> +</head> +<body class="iframe"> + +<div id="keyimport-title" class="boxtitle"><roundcube:label name="enigma.importkeys" /></div> + +<div id="import-form" class="boxcontent"> + <roundcube:object name="importform" /> + <p> + <br /><roundcube:button command="plugin.enigma-import" type="input" class="button mainaction" label="import" /> + </p> +</div> + +</body> +</html> diff --git a/plugins/enigma/skins/classic/templates/keyinfo.html b/plugins/enigma/skins/classic/templates/keyinfo.html new file mode 100644 index 000000000..2e8ed61db --- /dev/null +++ b/plugins/enigma/skins/classic/templates/keyinfo.html @@ -0,0 +1,17 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/this/enigma.css" /> +</head> +<body class="iframe"> + +<div id="keyinfo-title" class="boxtitle"><roundcube:object name="keyname" part="name" /></div> + +<div id="key-details" class="boxcontent"> + <roundcube:object name="keydata" /> +</div> + +</body> +</html> diff --git a/plugins/enigma/skins/classic/templates/keys.html b/plugins/enigma/skins/classic/templates/keys.html new file mode 100644 index 000000000..f64c7353a --- /dev/null +++ b/plugins/enigma/skins/classic/templates/keys.html @@ -0,0 +1,89 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/this/enigma.css" /> +<script type="text/javascript" src="/functions.js"></script> +<script type="text/javascript" src="/splitter.js"></script> +<style type="text/css"> +#enigmakeyslist { width: <roundcube:exp expression="!empty(cookie:enigmaviewsplitter) ? cookie:enigmaviewsplitter-5 : 210" />px; } +#enigmacontent-box { left: <roundcube:exp expression="!empty(cookie:enigmaviewsplitter) ? cookie:enigmaviewsplitter+5 : 220" />px; +<roundcube:exp expression="browser:ie ? ('width:expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:enigmaeviewsplitter) ? cookie:enigmaviewsplitter+5 : 220).')+\\'px\\');') : ''" /> +} +</style> +</head> +<body> + +<roundcube:include file="/includes/taskbar.html" /> +<roundcube:include file="/includes/header.html" /> +<roundcube:include file="/includes/settingstabs.html" /> + +<div id="mainscreen" class="enigma"> + +<div id="keystoolbar"> +<!-- + <roundcube:button command="plugin.enigma-key-create" type="link" class="buttonPas create" classAct="button create" classSel="button createSel" title="enigma.createkeys" content=" " /> + <span class="separator"> </span> +--> + <roundcube:button command="plugin.enigma-key-import" type="link" class="buttonPas import" classAct="button import" classSel="button importSel" title="enigma.importkeys" content=" " /> +<!-- + <roundcube:button command="plugin.enigma-key-export" type="link" class="buttonPas export" classAct="button export" classSel="button exportSel" title="enigma.exportkeys" content=" " /> +--> + <roundcube:button name="messagemenulink" id="messagemenulink" type="link" class="button keymenu" title="enigma.keyactions" onclick="rcmail_ui.show_popup('messagemenu');return false" content=" " /> +</div> + +<div id="quicksearchbar"> + <roundcube:button name="searchmenulink" id="searchmenulink" image="/images/icons/glass.png" /> + <roundcube:object name="searchform" id="quicksearchbox" /> + <roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" /> +</div> + +<div class="enigmascreen"> + +<div id="enigmakeyslist"> +<div class="boxtitle"><roundcube:label name="enigma.keyname" /></div> +<div class="boxlistcontent"> + <roundcube:object name="keyslist" id="keys-table" class="records-table" cellspacing="0" noheader="true" /> +</div> +<div class="boxfooter"> +<div id="keylistcountbar" class="pagenav"> + <roundcube:button command="firstpage" type="link" class="buttonPas firstpage" classAct="button firstpage" classSel="button firstpageSel" title="firstpage" content=" " /> + <roundcube:button command="previouspage" type="link" class="buttonPas prevpage" classAct="button prevpage" classSel="button prevpageSel" title="previouspage" content=" " /> + <roundcube:object name="countdisplay" style="padding:0 .5em; float:left" /> + <roundcube:button command="nextpage" type="link" class="buttonPas nextpage" classAct="button nextpage" classSel="button nextpageSel" title="nextpage" content=" " /> + <roundcube:button command="lastpage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastpage" content=" " /> +</div> +</div> +</div> + +<script type="text/javascript"> + var enigmaviewsplit = new rcube_splitter({id:'enigmaviewsplitter', p1: 'enigmakeyslist', p2: 'enigmacontent-box', orientation: 'v', relative: true, start: 215}); + rcmail.add_onload('enigmaviewsplit.init()'); +</script> + +<div id="enigmacontent-box"> + <roundcube:object name="keyframe" id="keyframe" width="100%" height="100%" frameborder="0" src="/watermark.html" /> +</div> + +</div> +</div> + +<div id="messagemenu" class="popupmenu"> + <ul> + <li><roundcube:button class="deletelink" command="plugin.enigma-key-delete" label="enigma.keyremove" classAct="deletelink active" /></li> +<!-- + <li><roundcube:button class="disablelink" command="plugin.enigma-key-disable" label="enigma.keydisable" classAct="disablelink active" /></li> + <li><roundcube:button class="revokelink" command="plugin.enigma-key-revoke" label="enigma.keyrevoke" classAct="revokelink active" /></li> + <li class="separator_below"><roundcube:button class="sendlink" command="plugin.enigma-key-send" label="enigma.keysend" classAct="sendlink active" /></li> + <li><roundcube:button class="chpasslink" command="plugin.enigma-key-chpass" label="enigma.keychpass" classAct="chpasslink active" /></li> +--> + </ul> +</div> + +<script type="text/javascript"> +rcube_init_mail_ui(); +</script> + +</body> +</html> diff --git a/plugins/enigma/skins/larry/enigma.css b/plugins/enigma/skins/larry/enigma.css new file mode 100644 index 000000000..0f393a022 --- /dev/null +++ b/plugins/enigma/skins/larry/enigma.css @@ -0,0 +1,165 @@ +/*** Style for Enigma plugin ***/ + +/***** Messages displaying *****/ + +#enigma-message, +#messagebody div #enigma-message +{ + margin: 0; + margin-bottom: 5px; + padding: 6px 12px 6px 30px; + font-weight: bold; +} + +div.enigmaerror, +#messagebody div.enigmaerror +{ + background: url(enigma_icons.png) 3px -201px no-repeat #f2cccd; + border: 1px solid #c00005; + color: #c00005; +} + +div.enigmanotice, +#messagebody div.enigmanotice +{ + background: url(enigma_icons.png) 3px -171px no-repeat #c9e6d3; + border: 1px solid #008a2e; + color: #008a2e; +} + +div.enigmawarning, +#messagebody div.enigmawarning +{ + background: url(enigma_icons.png) 3px -231px no-repeat #fef893; + border: 1px solid #ffdf0e; + color: #960; +} + +#enigma-message a +{ + color: #666666; + padding-left: 10px; +} + +#enigma-message a:hover +{ + color: #333333; +} + +p.enigmaattachment { + margin: 0.5em 1em; + width: auto; + background: #f9f9f9; + border: 1px solid #d3d3d3; + border-radius: 4px; + box-shadow: 0 0 2px #ccc; + -webkit-box-shadow: 0 0 2px #ccc; +} + +p.enigmaattachment a { + display: block; + background: url(enigma_icons.png) 8px -78px no-repeat; + padding: 1em 0.5em 1em 46px; +} + +/***** E-mail Compose Page *****/ + +#messagetoolbar a.button.enigma { + background: url(enigma_icons.png) center -122px no-repeat; +} + +#enigmamenu { + color: white; + padding: 2px 5px; +} + + +/***** Keys/Certs Management *****/ + +#settings-sections .enigma.keys a { + background-image: url(enigma_icons.png); + background-position: 7px -345px; + background-repeat: no-repeat; +} + +#settings-sections .enigma.keys.selected a { + background-image: url(enigma_icons.png); + background-position: 7px -368px; + background-repeat: no-repeat; +} + +#sections-table #rcmrowenigma .section { + background-image: url(enigma_icons.png); + background-position: 5px -297px; + background-repeat: no-repeat; +} + +#sections-table #rcmrowenigma.selected .section { + background-image: url(enigma_icons.png); + background-position: 5px -321px; + background-repeat: no-repeat; +} + +#mainscreen.enigma #settings-sections, +#mainscreen.enigma #settings-right +{ + top: 44px; +} + +#enigmacontent-box +{ + position: absolute; + top: 0px; + left: 272px; + right: 0px; + bottom: 0px; +} + +#enigmakeyslist +{ + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 260px; +} + +#keylistcountbar +{ + margin-top: 4px; + margin-left: 4px; +} + +#keys-table +{ + width: 100%; + table-layout: fixed; +} + +#keys-table td +{ + text-overflow: ellipsis; +} + +#keystoolbar +{ + position: absolute; + top: -6px; + left: 0; + height: 40px; + white-space: nowrap; + z-index: 10; +} + +#keystoolbar a.button +{ + background: url(enigma_icons.png) 0 0 no-repeat transparent; +} + +#keystoolbar a.import { + background-position: center 0; +} + +#keystoolbar a.export { + background-position: center 0; +} diff --git a/plugins/enigma/skins/larry/enigma_icons.png b/plugins/enigma/skins/larry/enigma_icons.png Binary files differnew file mode 100644 index 000000000..ce4d76fb7 --- /dev/null +++ b/plugins/enigma/skins/larry/enigma_icons.png diff --git a/plugins/enigma/skins/larry/templates/keyimport.html b/plugins/enigma/skins/larry/templates/keyimport.html new file mode 100644 index 000000000..83191184c --- /dev/null +++ b/plugins/enigma/skins/larry/templates/keyimport.html @@ -0,0 +1,23 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/this/enigma.css" /> +</head> +<body class="iframe"> + +<h1 class="boxtitle"><roundcube:label name="enigma.importkeys" /></h1> + +<div id="import-form" class="boxcontent"> + <roundcube:object name="importform" /> + <br> + <div class="formbuttons"> + <roundcube:button command="plugin.enigma-import" type="input" class="button mainaction" label="import" /> + </div> +</div> + +<roundcube:include file="/includes/footer.html" /> + +</body> +</html> diff --git a/plugins/enigma/skins/larry/templates/keyinfo.html b/plugins/enigma/skins/larry/templates/keyinfo.html new file mode 100644 index 000000000..3db760ad4 --- /dev/null +++ b/plugins/enigma/skins/larry/templates/keyinfo.html @@ -0,0 +1,19 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/this/enigma.css" /> +</head> +<body class="iframe"> + +<h1 class="boxtitle"><roundcube:object name="keyname" part="name" /></h1> + +<div id="key-details" class="boxcontent propform"> + <roundcube:object name="keydata" class="propform" /> +</div> + +<roundcube:include file="/includes/footer.html" /> + +</body> +</html> diff --git a/plugins/enigma/skins/larry/templates/keys.html b/plugins/enigma/skins/larry/templates/keys.html new file mode 100644 index 000000000..35d179933 --- /dev/null +++ b/plugins/enigma/skins/larry/templates/keys.html @@ -0,0 +1,83 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/this/enigma.css" /> +</head> +<roundcube:if condition="env:extwin" /><body class="noscroll extwin"><roundcube:else /><body class="noscroll"><roundcube:endif /> + +<roundcube:include file="/includes/header.html" /> + +<div id="mainscreen" class="enigma"> + <h1 class="voice"><roundcube:label name="settings" /> : <roundcube:label name="enigma.enigmakeys" /></h1> + + <!-- toolbar --> + <h2 id="aria-label-toolbar" class="voice"><roundcube:label name="arialabeltoolbar" /></h2> + <div id="keystoolbar" class="toolbar" role="toolbar" aria-labelledby="aria-label-toolbar"> + <roundcube:button command="plugin.enigma-key-import" type="link" class="button import disabled" classAct="button import" classSel="button import pressed" label="import" title="enigma.importkeys" /> +<!-- + <roundcube:button command="plugin.enigma-key-export" type="link" class="button export disabled" classAct="button export" classSel="button export pressed" label="export" title="enigma.exportkeys" /> +--> + </div> + + <div id="quicksearchbar" class="searchbox" role="search" aria-labelledby="aria-label-searchform"> + <h2 id="aria-label-searchform" class="voice"><roundcube:label name="enigma.arialabelkeysearchform" /></h2> + <label for="quicksearchbox" class="voice"><roundcube:label name="arialabelmailquicksearchbox" /></label> + <roundcube:object name="searchform" id="quicksearchbox" /> + <a id="searchmenulink" class="iconbutton searchicon" > </a> + <roundcube:button command="reset-search" id="searchreset" class="iconbutton reset" title="resetsearch" label="resetsearch" /> + </div> + + <roundcube:include file="/includes/settingstabs.html" /> + + <div id="settings-right" role="main" aria-labelledby="aria-label-enigmakeyslist"> + <div id="enigmakeyslist" class="uibox listbox" role="navigation" aria-labelledby="enigmakeyslist-header"> + <div id="enigmakeyslist-header" class="boxtitle"><roundcube:label name="enigma.enigmakeys" /></div> + <div class="scroller winfooter"> + <roundcube:object name="keyslist" id="keys-table" class="listing" role="listbox" cellspacing="0" noheader="true" /> + </div> + <div class="boxpagenav"> + <roundcube:button command="firstpage" type="link" class="icon firstpage disabled" classAct="icon firstpage" title="firstpage" label="first" /> + <roundcube:button command="previouspage" type="link" class="icon prevpage disabled" classAct="icon prevpage" title="previouspage" label="previous" /> + <roundcube:button command="nextpage" type="link" class="icon nextpage disabled" classAct="icon nextpage" title="nextpage" label="next" /> + <roundcube:button command="lastpage" type="link" class="icon lastpage disabled" classAct="icon lastpage" title="lastpage" label="last" /> + </div> + <div class="boxfooter"> + <roundcube:button command="plugin.enigma-key-create" type="link" title="enigma.keycreate" class="listbutton add disabled" classAct="listbutton add" innerClass="inner" label="enigma.keyadd" /><roundcube:button name="moreactions" id="keyoptionslink" type="link" title="enigma.keyactions" class="listbutton groupactions" onclick="return UI.toggle_popup('keyoptions',event)" innerClass="inner" label="enigma.arialabelkeyoptions" aria-haspopup="true" aria-expanded="false" aria-owns="keyoptionsmenu" /> + <span class="countdisplay" aria-live="polite" aria-relevant="text"> + <span class="voice"><roundcube:label name="enigma.enigmakeys" /></span> + <roundcube:object name="countdisplay" /> + </span> + </div> + </div> + + <div id="enigmacontent-box" class="uibox"> + <div class="iframebox"> + <roundcube:object name="keyframe" id="keyframe" width="100%" height="100%" frameborder="0" src="/watermark.html" /> + </div> + </div> + </div> +</div> + +<div id="keyoptions" class="popupmenu"> + <ul class="toolbarmenu"> + <li><roundcube:button class="deletelink" command="plugin.enigma-key-delete" label="enigma.keyremove" target="_blank" classAct="deletelink active" /></li> +<!-- + <li><roundcube:button class="disablelink" command="enigma.key-disable" label="enigma.keydisable" target="_blank" classAct="disablelink active" /></li> + <li><roundcube:button class="revokelink" command="enigma.key-revoke" label="enigma.keyrevoke" classAct="revokelink active" /></li> + <li class="separator_below"><roundcube:button class="sendlink" command="enigma.key-send" label="enigma.keysend" classAct="sendlink active" /></li> + <li><roundcube:button class="chpasslink" command="enigma.key-chpass" label="enigma.keychpass" classAct="chpasslink active" /></li> +--> + </ul> +</div> + +<roundcube:include file="/includes/footer.html" /> + +<script type="text/javascript"> + new rcube_splitter({ id:'enigmakeyssplitter', p1:'#enigmakeyslist', p2:'#enigmacontent-box', + orientation:'v', relative:true, start:266, min:180, size:12 }).init(); +</script> + +</body> +</html> diff --git a/plugins/enigma/tests/Enigma.php b/plugins/enigma/tests/Enigma.php new file mode 100644 index 000000000..3972694fc --- /dev/null +++ b/plugins/enigma/tests/Enigma.php @@ -0,0 +1,23 @@ +<?php + +class Enigma_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../enigma.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new enigma($rcube->api); + + $this->assertInstanceOf('enigma', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/example_addressbook/composer.json b/plugins/example_addressbook/composer.json new file mode 100644 index 000000000..fe06d6d9c --- /dev/null +++ b/plugins/example_addressbook/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/example_addressbook", + "type": "roundcube-plugin", + "description": "Sample plugin to add a new address book with just a static list of contacts", + "license": "GPLv3+", + "version": "1.0", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/example_addressbook/example_addressbook.php b/plugins/example_addressbook/example_addressbook.php new file mode 100644 index 000000000..22e230c6f --- /dev/null +++ b/plugins/example_addressbook/example_addressbook.php @@ -0,0 +1,53 @@ +<?php + +require_once(__DIR__ . '/example_addressbook_backend.php'); + +/** + * Sample plugin to add a new address book + * with just a static list of contacts + * + * @license GNU GPLv3+ + * @author Thomas Bruederli + */ +class example_addressbook extends rcube_plugin +{ + private $abook_id = 'static'; + private $abook_name = 'Static List'; + + public function init() + { + $this->add_hook('addressbooks_list', array($this, 'address_sources')); + $this->add_hook('addressbook_get', array($this, 'get_address_book')); + + // use this address book for autocompletion queries + // (maybe this should be configurable by the user?) + $config = rcmail::get_instance()->config; + $sources = (array) $config->get('autocomplete_addressbooks', array('sql')); + if (!in_array($this->abook_id, $sources)) { + $sources[] = $this->abook_id; + $config->set('autocomplete_addressbooks', $sources); + } + } + + public function address_sources($p) + { + $abook = new example_addressbook_backend($this->abook_name); + $p['sources'][$this->abook_id] = array( + 'id' => $this->abook_id, + 'name' => $this->abook_name, + 'readonly' => $abook->readonly, + 'groups' => $abook->groups, + ); + return $p; + } + + public function get_address_book($p) + { + if ($p['id'] === $this->abook_id) { + $p['instance'] = new example_addressbook_backend($this->abook_name); + } + + return $p; + } + +} diff --git a/plugins/example_addressbook/example_addressbook_backend.php b/plugins/example_addressbook/example_addressbook_backend.php new file mode 100644 index 000000000..8c143c25f --- /dev/null +++ b/plugins/example_addressbook/example_addressbook_backend.php @@ -0,0 +1,116 @@ +<?php + +/** + * Example backend class for a custom address book + * + * This one just holds a static list of address records + * + * @author Thomas Bruederli + */ +class example_addressbook_backend extends rcube_addressbook +{ + public $primary_key = 'ID'; + public $readonly = true; + public $groups = true; + + private $filter; + private $result; + private $name; + + public function __construct($name) + { + $this->ready = true; + $this->name = $name; + } + + public function get_name() + { + return $this->name; + } + + public function set_search_set($filter) + { + $this->filter = $filter; + } + + public function get_search_set() + { + return $this->filter; + } + + public function reset() + { + $this->result = null; + $this->filter = null; + } + + function list_groups($search = null) + { + return array( + array('ID' => 'testgroup1', 'name' => "Testgroup"), + array('ID' => 'testgroup2', 'name' => "Sample Group"), + ); + } + + public function list_records($cols=null, $subset=0) + { + $this->result = $this->count(); + $this->result->add(array('ID' => '111', 'name' => "Example Contact", 'firstname' => "Example", 'surname' => "Contact", 'email' => "example@roundcube.net")); + + return $this->result; + } + + public function search($fields, $value, $strict=false, $select=true, $nocount=false, $required=array()) + { + // no search implemented, just list all records + return $this->list_records(); + } + + public function count() + { + return new rcube_result_set(1, ($this->list_page-1) * $this->page_size); + } + + public function get_result() + { + return $this->result; + } + + public function get_record($id, $assoc=false) + { + $this->list_records(); + $first = $this->result->first(); + $sql_arr = $first['ID'] == $id ? $first : null; + + return $assoc && $sql_arr ? $sql_arr : $this->result; + } + + + function create_group($name) + { + $result = false; + + return $result; + } + + function delete_group($gid) + { + return false; + } + + function rename_group($gid, $newname) + { + return $newname; + } + + function add_to_group($group_id, $ids) + { + return false; + } + + function remove_from_group($group_id, $ids) + { + return false; + } + +} diff --git a/plugins/example_addressbook/tests/ExampleAddressbook.php b/plugins/example_addressbook/tests/ExampleAddressbook.php new file mode 100644 index 000000000..762ee7307 --- /dev/null +++ b/plugins/example_addressbook/tests/ExampleAddressbook.php @@ -0,0 +1,23 @@ +<?php + +class ExampleAddressbook_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../example_addressbook.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new example_addressbook($rcube->api); + + $this->assertInstanceOf('example_addressbook', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/filesystem_attachments/composer.json b/plugins/filesystem_attachments/composer.json new file mode 100644 index 000000000..f13901275 --- /dev/null +++ b/plugins/filesystem_attachments/composer.json @@ -0,0 +1,29 @@ +{ + "name": "roundcube/filesystem_attachments", + "type": "roundcube-plugin", + "description": "This is a core plugin which provides basic, filesystem based attachment temporary file handling. This includes storing attachments of messages currently being composed, writing attachments to disk when drafts with attachments are re-opened and writing attachments to disk for inline display in current html compositions.", + "license": "GPLv3+", + "version": "1.0", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + }, + { + "name": "Ziba Scott", + "email": "ziba@umich.edu", + "role": "Developer" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/filesystem_attachments/filesystem_attachments.php b/plugins/filesystem_attachments/filesystem_attachments.php new file mode 100644 index 000000000..50bd62465 --- /dev/null +++ b/plugins/filesystem_attachments/filesystem_attachments.php @@ -0,0 +1,185 @@ +<?php +/** + * Filesystem Attachments + * + * This is a core plugin which provides basic, filesystem based + * attachment temporary file handling. This includes storing + * attachments of messages currently being composed, writing attachments + * to disk when drafts with attachments are re-opened and writing + * attachments to disk for inline display in current html compositions. + * + * Developers may wish to extend this class when creating attachment + * handler plugins: + * require_once('plugins/filesystem_attachments/filesystem_attachments.php'); + * class myCustom_attachments extends filesystem_attachments + * + * @license GNU GPLv3+ + * @author Ziba Scott <ziba@umich.edu> + * @author Thomas Bruederli <roundcube@gmail.com> + */ +class filesystem_attachments extends rcube_plugin +{ + public $task = '?(?!login).*'; + + function init() + { + // Save a newly uploaded attachment + $this->add_hook('attachment_upload', array($this, 'upload')); + + // Save an attachment from a non-upload source (draft or forward) + $this->add_hook('attachment_save', array($this, 'save')); + + // Remove an attachment from storage + $this->add_hook('attachment_delete', array($this, 'remove')); + + // When composing an html message, image attachments may be shown + $this->add_hook('attachment_display', array($this, 'display')); + + // Get the attachment from storage and place it on disk to be sent + $this->add_hook('attachment_get', array($this, 'get')); + + // Delete all temp files associated with this user + $this->add_hook('attachments_cleanup', array($this, 'cleanup')); + $this->add_hook('session_destroy', array($this, 'cleanup')); + } + + /** + * Save a newly uploaded attachment + */ + function upload($args) + { + $args['status'] = false; + $group = $args['group']; + $rcmail = rcmail::get_instance(); + + // use common temp dir for file uploads + $temp_dir = $rcmail->config->get('temp_dir'); + $tmpfname = tempnam($temp_dir, 'rcmAttmnt'); + + if (move_uploaded_file($args['path'], $tmpfname) && file_exists($tmpfname)) { + $args['id'] = $this->file_id(); + $args['path'] = $tmpfname; + $args['status'] = true; + @chmod($tmpfname, 0600); // set correct permissions (#1488996) + + // Note the file for later cleanup + $_SESSION['plugins']['filesystem_attachments'][$group][$args['id']] = $tmpfname; + } + + return $args; + } + + /** + * Save an attachment from a non-upload source (draft or forward) + */ + function save($args) + { + $group = $args['group']; + $args['status'] = false; + + if (!$args['path']) { + $rcmail = rcmail::get_instance(); + $temp_dir = $rcmail->config->get('temp_dir'); + $tmp_path = tempnam($temp_dir, 'rcmAttmnt'); + + if ($fp = fopen($tmp_path, 'w')) { + fwrite($fp, $args['data']); + fclose($fp); + $args['path'] = $tmp_path; + } + else { + return $args; + } + } + + $args['id'] = $this->file_id(); + $args['status'] = true; + + // Note the file for later cleanup + $_SESSION['plugins']['filesystem_attachments'][$group][$args['id']] = $args['path']; + + return $args; + } + + /** + * Remove an attachment from storage + * This is triggered by the remove attachment button on the compose screen + */ + function remove($args) + { + $args['status'] = @unlink($args['path']); + return $args; + } + + /** + * When composing an html message, image attachments may be shown + * For this plugin, the file is already in place, just check for + * the existance of the proper metadata + */ + function display($args) + { + $args['status'] = file_exists($args['path']); + return $args; + } + + /** + * This attachment plugin doesn't require any steps to put the file + * on disk for use. This stub function is kept here to make this + * class handy as a parent class for other plugins which may need it. + */ + function get($args) + { + return $args; + } + + /** + * Delete all temp files associated with this user + */ + function cleanup($args) + { + // $_SESSION['compose']['attachments'] is not a complete record of + // temporary files because loading a draft or starting a forward copies + // the file to disk, but does not make an entry in that array + if (is_array($_SESSION['plugins']['filesystem_attachments'])) { + foreach ($_SESSION['plugins']['filesystem_attachments'] as $group => $files) { + if ($args['group'] && $args['group'] != $group) { + continue; + } + + foreach ((array)$files as $filename) { + if(file_exists($filename)) { + unlink($filename); + } + } + + unset($_SESSION['plugins']['filesystem_attachments'][$group]); + } + } + return $args; + } + + function file_id() + { + $userid = rcmail::get_instance()->user->ID; + list($usec, $sec) = explode(' ', microtime()); + $id = preg_replace('/[^0-9]/', '', $userid . $sec . $usec); + + // make sure the ID is really unique (#1489546) + while ($this->find_file_by_id($id)) { + // increment last four characters + $x = substr($id, -4) + 1; + $id = substr($id, 0, -4) . sprintf('%04d', ($x > 9999 ? $x - 9999 : $x)); + } + + return $id; + } + + private function find_file_by_id($id) + { + foreach ((array) $_SESSION['plugins']['filesystem_attachments'] as $group => $files) { + if (isset($files[$id])) { + return true; + } + } + } +} diff --git a/plugins/filesystem_attachments/tests/FilesystemAttachments.php b/plugins/filesystem_attachments/tests/FilesystemAttachments.php new file mode 100644 index 000000000..3b60e12c9 --- /dev/null +++ b/plugins/filesystem_attachments/tests/FilesystemAttachments.php @@ -0,0 +1,23 @@ +<?php + +class FilesystemAttachments_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../filesystem_attachments.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new filesystem_attachments($rcube->api); + + $this->assertInstanceOf('filesystem_attachments', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/help/composer.json b/plugins/help/composer.json new file mode 100644 index 000000000..53d413648 --- /dev/null +++ b/plugins/help/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/help", + "type": "roundcube-plugin", + "description": "Plugin adds a new item (Help) in taskbar.", + "license": "GPLv3+", + "version": "1.4", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/help/config.inc.php.dist b/plugins/help/config.inc.php.dist new file mode 100644 index 000000000..f135eef8e --- /dev/null +++ b/plugins/help/config.inc.php.dist @@ -0,0 +1,37 @@ +<?php + +// Help content iframe source +// %l will be replaced by the language code resolved using the 'help_language_map' option +$config['help_source'] = 'http://docs.roundcube.net/doc/help/1.0/%l/'; + +// Map task/action combinations to deep-links +// Use '<task>/<action>' or only '<task>' strings as keys +// The values will be appended to the 'help_source' URL +$config['help_index_map'] = array( + 'login' => 'login.html', + 'mail' => 'mail/index.html', + 'mail/compose' => 'mail/compose.html', + 'addressbook' => 'addressbook/index.html', + 'settings' => 'settings/index.html', + 'settings/preferences' => 'settings/preferences.html', + 'settings/folders' => 'settings/folders.html', + 'settings/identities' => 'settings/identities.html', +); + +// Map to translate Roundcube language codes into help document languages +// The '*' entry will be used as default +$config['help_language_map'] = array('*' => 'en_US'); + +// Enter an absolute URL to a page displaying information about this webmail +// Alternatively, create a HTML file under <this-plugin-dir>/content/about.html +$config['help_about_url'] = null; + +// Enter an absolute URL to a page displaying information about this webmail +// Alternatively, put your license text to <this-plugin-dir>/content/license.html +$config['help_license_url'] = null; + +// Determine whether to open the help in a new window +$config['help_open_extwin'] = false; + +// URL to additional information about CSRF protection +$config['help_csrf_info'] = null; diff --git a/plugins/help/content/license.html b/plugins/help/content/license.html new file mode 100644 index 000000000..9034d46f8 --- /dev/null +++ b/plugins/help/content/license.html @@ -0,0 +1,689 @@ +<div id="helplicense" class="readtext"> +<h2 style="text-align: center;">GNU GENERAL PUBLIC LICENSE</h2> +<p style="text-align: center;">Version 3, 29 June 2007</p> + +<p>Copyright © 2007 Free Software Foundation, Inc. + <<a href="http://fsf.org/">http://fsf.org/</a>></p><p> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed.</p> + +<h3>Preamble</h3> + +<p>The GNU General Public License is a free, copyleft license for +software and other kinds of works.</p> + +<p>The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too.</p> + +<p>When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things.</p> + +<p>To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others.</p> + +<p>For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights.</p> + +<p>Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it.</p> + +<p>For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions.</p> + +<p>Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users.</p> + +<p>Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free.</p> + +<p>The precise terms and conditions for copying, distribution and +modification follow.</p> + +<h3><a name="terms"></a>TERMS AND CONDITIONS</h3> + +<h4><a name="section0"></a>0. Definitions.</h4> + +<p>“This License” refers to version 3 of the GNU General Public License.</p> + +<p>“Copyright” also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks.</p> + +<p>“The Program” refers to any copyrightable work licensed under this +License. Each licensee is addressed as “you”. “Licensees” and +“recipients” may be individuals or organizations.</p> + +<p>To “modify” a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a “modified version” of the +earlier work or a work “based on” the earlier work.</p> + +<p>A “covered work” means either the unmodified Program or a work based +on the Program.</p> + +<p>To “propagate” a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well.</p> + +<p>To “convey” a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying.</p> + +<p>An interactive user interface displays “Appropriate Legal Notices” +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion.</p> + +<h4><a name="section1"></a>1. Source Code.</h4> + +<p>The “source code” for a work means the preferred form of the work +for making modifications to it. “Object code” means any non-source +form of a work.</p> + +<p>A “Standard Interface” means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language.</p> + +<p>The “System Libraries” of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +“Major Component”, in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it.</p> + +<p>The “Corresponding Source” for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work.</p> + +<p>The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source.</p> + +<p>The Corresponding Source for a work in source code form is that +same work.</p> + +<h4><a name="section2"></a>2. Basic Permissions.</h4> + +<p>All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law.</p> + +<p>You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you.</p> + +<p>Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary.</p> + +<h4><a name="section3"></a>3. Protecting Users' Legal Rights From Anti-Circumvention Law.</h4> + +<p>No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures.</p> + +<p>When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures.</p> + +<h4><a name="section4"></a>4. Conveying Verbatim Copies.</h4> + +<p>You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program.</p> + +<p>You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee.</p> + +<h4><a name="section5"></a>5. Conveying Modified Source Versions.</h4> + +<p>You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions:</p> + +<ul> +<li>a) The work must carry prominent notices stating that you modified + it, and giving a relevant date.</li> + +<li>b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + “keep intact all notices”.</li> + +<li>c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it.</li> + +<li>d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so.</li> + +</ul> + +<p>A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +“aggregate” if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate.</p> + +<h4><a name="section6"></a>6. Conveying Non-Source Forms.</h4> + +<p>You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways:</p> + +<ul> +<li>a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange.</li> + +<li>b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge.</li> + +<li>c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b.</li> + +<li>d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements.</li> + +<li>e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d.</li> +</ul> + +<p>A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work.</p> + +<p>A “User Product” is either (1) a “consumer product”, which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, “normally used” refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product.</p> + +<p>“Installation Information” for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made.</p> + +<p>If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM).</p> + +<p>The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network.</p> + +<p>Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying.</p> + +<h4><a name="section7"></a>7. Additional Terms.</h4> + +<p>“Additional permissions” are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions.</p> + +<p>When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission.</p> + +<p>Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms:</p> + +<ul> +<li>a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or</li> + +<li>b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or</li> + +<li>c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or</li> + +<li>d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or</li> + +<li>e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or</li> + +<li>f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors.</li> +</ul> + +<p>All other non-permissive additional terms are considered “further +restrictions” within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying.</p> + +<p>If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms.</p> + +<p>Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way.</p> + +<h4><a name="section8"></a>8. Termination.</h4> + +<p>You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11).</p> + +<p>However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation.</p> + +<p>Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice.</p> + +<p>Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10.</p> + +<h4><a name="section9"></a>9. Acceptance Not Required for Having Copies.</h4> + +<p>You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so.</p> + +<h4><a name="section10"></a>10. Automatic Licensing of Downstream Recipients.</h4> + +<p>Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License.</p> + +<p>An “entity transaction” is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts.</p> + +<p>You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it.</p> + +<h4><a name="section11"></a>11. Patents.</h4> + +<p>A “contributor” is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's “contributor version”.</p> + +<p>A contributor's “essential patent claims” are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, “control” includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License.</p> + +<p>Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version.</p> + +<p>In the following three paragraphs, a “patent license” is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To “grant” such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party.</p> + +<p>If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. “Knowingly relying” means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid.</p> + + +<p>If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it.</p> + +<p>A patent license is “discriminatory” if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007.</p> + +<p>Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law.</p> + +<h4><a name="section12"></a>12. No Surrender of Others' Freedom.</h4> + +<p>If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program.</p> + +<h4><a name="section13"></a>13. Use with the GNU Affero General Public License.</h4> + +<p>Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such.</p> + +<h4><a name="section14"></a>14. Revised Versions of this License.</h4> + +<p>The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns.</p> + +<p>Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License “or any later version” applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation.</p> + +<p>If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program.</p> + +<p>Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version.</p> + +<h4><a name="section15"></a>15. Disclaimer of Warranty.</h4> + +<p>THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p> + +<h4><a name="section16"></a>16. Limitation of Liability.</h4> + +<p>IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES.</p> + +<h4><a name="section17"></a>17. Interpretation of Sections 15 and 16.</h4> + +<p>If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee.</p> + +<p>END OF TERMS AND CONDITIONS</p> + +<h3><a name="howto"></a>How to Apply These Terms to Your New Programs</h3> + +<p>If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms.</p> + +<p>To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the “copyright” line and a pointer to where the full notice is found.</p> + +<pre> <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +</pre> + +<p>Also add information on how to contact you by electronic and paper mail.</p> + +<p>If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode:</p> + +<pre> <program> Copyright (C) <year> <name of author> + + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. +</pre> + +<p>The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an “about box”.</p> + +<p>You should also get your employer (if you work as a programmer) or school, +if any, to sign a “copyright disclaimer” for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +<<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</p> + +<p>The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +<<a href="http://www.gnu.org/philosophy/why-not-lgpl.html">http://www.gnu.org/philosophy/why-not-lgpl.html</a>>.</p> + +</div> diff --git a/plugins/help/help.js b/plugins/help/help.js new file mode 100644 index 000000000..0ab399820 --- /dev/null +++ b/plugins/help/help.js @@ -0,0 +1,38 @@ +/** + * Help plugin client script + * @version 1.4 + * + * @licstart The following is the entire license notice for the + * JavaScript code in this file. + * + * Copyright (c) 2012-2014, The Roundcube Dev Team + * + * The JavaScript code in this page is free software: you can redistribute it + * and/or modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * @licend The above is the entire license notice + * for the JavaScript code in this file. + */ + +// hook into switch-task event to open the help window +if (window.rcmail) { + rcmail.addEventListener('beforeswitch-task', function(prop) { + // catch clicks to help task button + if (prop == 'help') { + if (rcmail.task == 'help') // we're already there + return false; + + var url = rcmail.url('help/index', { _rel: rcmail.task + (rcmail.env.action ? '/'+rcmail.env.action : '') }); + if (rcmail.env.help_open_extwin) { + rcmail.open_window(url, 1020, false); + } + else { + rcmail.redirect(url, false); + } + + return false; + } + }); +} diff --git a/plugins/help/help.php b/plugins/help/help.php new file mode 100644 index 000000000..5387c9f35 --- /dev/null +++ b/plugins/help/help.php @@ -0,0 +1,163 @@ +<?php + +/** + * Roundcube Help Plugin + * + * @author Aleksander 'A.L.E.C' Machniak + * @author Thomas Bruederli <thomas@roundcube.net> + * @license GNU GPLv3+ + * + * Configuration (see config.inc.php.dist) + * + **/ + +class help extends rcube_plugin +{ + // all task excluding 'login' and 'logout' + public $task = '?(?!login|logout).*'; + // we've got no ajax handlers + public $noajax = true; + // skip frames + public $noframe = true; + + function init() + { + $this->load_config(); + $this->add_texts('localization/', false); + + // register task + $this->register_task('help'); + + // register actions + $this->register_action('index', array($this, 'action')); + $this->register_action('about', array($this, 'action')); + $this->register_action('license', array($this, 'action')); + + $this->add_hook('startup', array($this, 'startup')); + $this->add_hook('error_page', array($this, 'error_page')); + } + + function startup($args) + { + $rcmail = rcmail::get_instance(); + + // add taskbar button + $this->add_button(array( + 'command' => 'help', + 'class' => 'button-help', + 'classsel' => 'button-help button-selected', + 'innerclass' => 'button-inner', + 'label' => 'help.help', + ), 'taskbar'); + + $this->include_script('help.js'); + $rcmail->output->set_env('help_open_extwin', $rcmail->config->get('help_open_extwin', false), true); + + // add style for taskbar button (must be here) and Help UI + $skin_path = $this->local_skin_path(); + if (is_file($this->home . "/$skin_path/help.css")) { + $this->include_stylesheet("$skin_path/help.css"); + } + } + + function action() + { + $rcmail = rcmail::get_instance(); + + // register UI objects + $rcmail->output->add_handlers(array( + 'helpcontent' => array($this, 'content'), + 'tablink' => array($this, 'tablink'), + )); + + if ($rcmail->action == 'about') + $rcmail->output->set_pagetitle($this->gettext('about')); + else if ($rcmail->action == 'license') + $rcmail->output->set_pagetitle($this->gettext('license')); + else + $rcmail->output->set_pagetitle($this->gettext('help')); + + $rcmail->output->send('help.help'); + } + + function tablink($attrib) + { + $rcmail = rcmail::get_instance(); + + $attrib['name'] = 'helplink' . $attrib['action']; + $attrib['href'] = $rcmail->url(array('_action' => $attrib['action'], '_extwin' => !empty($_REQUEST['_extwin']) ? 1 : null)); + + // title might be already translated here, so revert to it's initial value + // so button() will translate it correctly + $attrib['title'] = $attrib['label']; + + return $rcmail->output->button($attrib); + } + + function content($attrib) + { + $rcmail = rcmail::get_instance(); + + switch ($rcmail->action) { + case 'about': + if (is_readable($this->home . '/content/about.html')) { + return @file_get_contents($this->home . '/content/about.html'); + } + $default = $rcmail->url(array('_task' => 'settings', '_action' => 'about', '_framed' => 1)); + $src = $rcmail->config->get('help_about_url', $default); + break; + + case 'license': + if (is_readable($this->home . '/content/license.html')) { + return @file_get_contents($this->home . '/content/license.html'); + } + $src = $rcmail->config->get('help_license_url', 'http://www.gnu.org/licenses/gpl-3.0-standalone.html'); + break; + + default: + $src = $rcmail->config->get('help_source'); + + // resolve task/action for depp linking + $index_map = $rcmail->config->get('help_index_map', array()); + $rel = $_REQUEST['_rel']; + list($task,$action) = explode('/', $rel); + if ($add = $index_map[$rel]) + $src .= $add; + else if ($add = $index_map[$task]) + $src .= $add; + break; + } + + // default content: iframe + if (!empty($src)) { + $attrib['src'] = $this->resolve_language($src); + } + + if (empty($attrib['id'])) + $attrib['id'] = 'rcmailhelpcontent'; + + $attrib['name'] = $attrib['id']; + + return $rcmail->output->frame($attrib); + } + + function error_page($args) + { + $rcmail = rcmail::get_instance(); + + if ($args['code'] == 403 && $rcmail->request_status == rcube::REQUEST_ERROR_URL && ($url = $rcmail->config->get('help_csrf_info'))) { + $args['text'] .= '<p>' . html::a(array('href' => $url, 'target' => '_blank'), $this->gettext('csrfinfo')) . '</p>'; + } + + return $args; + } + + private function resolve_language($path) + { + // resolve language placeholder + $rcmail = rcmail::get_instance(); + $langmap = $rcmail->config->get('help_language_map', array('*' => 'en_US')); + $lang = !empty($langmap[$_SESSION['language']]) ? $langmap[$_SESSION['language']] : $langmap['*']; + return str_replace('%l', $lang, $path); + } +} diff --git a/plugins/help/localization/ar_SA.inc b/plugins/help/localization/ar_SA.inc new file mode 100644 index 000000000..9a9fe727b --- /dev/null +++ b/plugins/help/localization/ar_SA.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'مساعدة'; +$labels['about'] = 'حوْل'; +$labels['license'] = 'الرخصة'; +?> diff --git a/plugins/help/localization/ast.inc b/plugins/help/localization/ast.inc new file mode 100644 index 000000000..7e5e2874a --- /dev/null +++ b/plugins/help/localization/ast.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Ayuda'; +$labels['about'] = 'Tocante a'; +$labels['license'] = 'Llicencia'; +?> diff --git a/plugins/help/localization/az_AZ.inc b/plugins/help/localization/az_AZ.inc new file mode 100644 index 000000000..5d4bd653d --- /dev/null +++ b/plugins/help/localization/az_AZ.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Kömək'; +$labels['about'] = 'Haqqında'; +$labels['license'] = 'Lisenziya'; +?> diff --git a/plugins/help/localization/be_BE.inc b/plugins/help/localization/be_BE.inc new file mode 100644 index 000000000..3bbb1db32 --- /dev/null +++ b/plugins/help/localization/be_BE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Дапамога'; +$labels['about'] = 'Апісанне'; +$labels['license'] = 'Ліцэнзія'; +?> diff --git a/plugins/help/localization/bg_BG.inc b/plugins/help/localization/bg_BG.inc new file mode 100644 index 000000000..05a0aafab --- /dev/null +++ b/plugins/help/localization/bg_BG.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Помощ'; +$labels['about'] = 'Относно'; +$labels['license'] = 'Лиценз'; +?> diff --git a/plugins/help/localization/br.inc b/plugins/help/localization/br.inc new file mode 100644 index 000000000..5224034d4 --- /dev/null +++ b/plugins/help/localization/br.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Skoazell'; +$labels['about'] = 'Diwar-benn'; +$labels['license'] = 'Lañvaz'; +?> diff --git a/plugins/help/localization/bs_BA.inc b/plugins/help/localization/bs_BA.inc new file mode 100644 index 000000000..89a46e4ea --- /dev/null +++ b/plugins/help/localization/bs_BA.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Pomoć'; +$labels['about'] = 'O programu'; +$labels['license'] = 'Licenca'; +?> diff --git a/plugins/help/localization/ca_ES.inc b/plugins/help/localization/ca_ES.inc new file mode 100644 index 000000000..4bca2f212 --- /dev/null +++ b/plugins/help/localization/ca_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Ajuda'; +$labels['about'] = 'Quant a'; +$labels['license'] = 'Llicència'; +?> diff --git a/plugins/help/localization/cs_CZ.inc b/plugins/help/localization/cs_CZ.inc new file mode 100644 index 000000000..427ef9835 --- /dev/null +++ b/plugins/help/localization/cs_CZ.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Nápověda'; +$labels['about'] = 'O aplikaci'; +$labels['license'] = 'Licence'; +?> diff --git a/plugins/help/localization/cy_GB.inc b/plugins/help/localization/cy_GB.inc new file mode 100644 index 000000000..c9e9fb4c1 --- /dev/null +++ b/plugins/help/localization/cy_GB.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Cymorth'; +$labels['about'] = 'Amdan'; +$labels['license'] = 'Trwydded'; +?> diff --git a/plugins/help/localization/da_DK.inc b/plugins/help/localization/da_DK.inc new file mode 100644 index 000000000..af63e50b4 --- /dev/null +++ b/plugins/help/localization/da_DK.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Hjælp'; +$labels['about'] = 'Om'; +$labels['license'] = 'Licens'; +?> diff --git a/plugins/help/localization/de_CH.inc b/plugins/help/localization/de_CH.inc new file mode 100644 index 000000000..0d4267593 --- /dev/null +++ b/plugins/help/localization/de_CH.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Hilfe'; +$labels['about'] = 'Information'; +$labels['license'] = 'Lizenz'; +?> diff --git a/plugins/help/localization/de_DE.inc b/plugins/help/localization/de_DE.inc new file mode 100644 index 000000000..677125751 --- /dev/null +++ b/plugins/help/localization/de_DE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Hilfe'; +$labels['about'] = 'Über'; +$labels['license'] = 'Lizenz'; +?> diff --git a/plugins/help/localization/el_GR.inc b/plugins/help/localization/el_GR.inc new file mode 100644 index 000000000..153c7ad48 --- /dev/null +++ b/plugins/help/localization/el_GR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Βοήθεια'; +$labels['about'] = 'Σχετικά'; +$labels['license'] = 'Άδεια χρήσης'; +?> diff --git a/plugins/help/localization/en_CA.inc b/plugins/help/localization/en_CA.inc new file mode 100644 index 000000000..11a282f10 --- /dev/null +++ b/plugins/help/localization/en_CA.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Help'; +$labels['about'] = 'About'; +$labels['license'] = 'License'; +?> diff --git a/plugins/help/localization/en_GB.inc b/plugins/help/localization/en_GB.inc new file mode 100644 index 000000000..1be660728 --- /dev/null +++ b/plugins/help/localization/en_GB.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Help'; +$labels['about'] = 'About'; +$labels['license'] = 'Licence'; +?> diff --git a/plugins/help/localization/en_US.inc b/plugins/help/localization/en_US.inc new file mode 100644 index 000000000..d44b9a886 --- /dev/null +++ b/plugins/help/localization/en_US.inc @@ -0,0 +1,25 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ + +$labels = array(); +$labels['help'] = 'Help'; +$labels['about'] = 'About'; +$labels['license'] = 'License'; +$labels['csrfinfo'] = 'Read more about CSRF and how we protect you'; + +?> diff --git a/plugins/help/localization/eo.inc b/plugins/help/localization/eo.inc new file mode 100644 index 000000000..017e1592b --- /dev/null +++ b/plugins/help/localization/eo.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Helpo'; +$labels['about'] = 'Pri'; +$labels['license'] = 'Permesilo'; +?> diff --git a/plugins/help/localization/es_419.inc b/plugins/help/localization/es_419.inc new file mode 100644 index 000000000..5567c924a --- /dev/null +++ b/plugins/help/localization/es_419.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Ayuda'; +$labels['about'] = 'Sobre'; +$labels['license'] = 'Licencia'; +?> diff --git a/plugins/help/localization/es_AR.inc b/plugins/help/localization/es_AR.inc new file mode 100644 index 000000000..5425367f4 --- /dev/null +++ b/plugins/help/localization/es_AR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Ayuda'; +$labels['about'] = 'Acerca de'; +$labels['license'] = 'Licencia'; +?> diff --git a/plugins/help/localization/es_ES.inc b/plugins/help/localization/es_ES.inc new file mode 100644 index 000000000..5425367f4 --- /dev/null +++ b/plugins/help/localization/es_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Ayuda'; +$labels['about'] = 'Acerca de'; +$labels['license'] = 'Licencia'; +?> diff --git a/plugins/help/localization/et_EE.inc b/plugins/help/localization/et_EE.inc new file mode 100644 index 000000000..fef6b777f --- /dev/null +++ b/plugins/help/localization/et_EE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Abi'; +$labels['about'] = 'Roundcube info'; +$labels['license'] = 'Litsents'; +?> diff --git a/plugins/help/localization/eu_ES.inc b/plugins/help/localization/eu_ES.inc new file mode 100644 index 000000000..d6547c7da --- /dev/null +++ b/plugins/help/localization/eu_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Laguntza'; +$labels['about'] = 'Honi buruz'; +$labels['license'] = 'Lizentzia'; +?> diff --git a/plugins/help/localization/fa_AF.inc b/plugins/help/localization/fa_AF.inc new file mode 100644 index 000000000..e9fac20c1 --- /dev/null +++ b/plugins/help/localization/fa_AF.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'راهنما'; +$labels['about'] = 'درباره نرم افزار'; +$labels['license'] = 'حق نشر'; +?> diff --git a/plugins/help/localization/fa_IR.inc b/plugins/help/localization/fa_IR.inc new file mode 100644 index 000000000..adb9c5719 --- /dev/null +++ b/plugins/help/localization/fa_IR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'راهنما'; +$labels['about'] = 'درباره'; +$labels['license'] = 'گواهینامه'; +?> diff --git a/plugins/help/localization/fi_FI.inc b/plugins/help/localization/fi_FI.inc new file mode 100644 index 000000000..9f11fcee1 --- /dev/null +++ b/plugins/help/localization/fi_FI.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Ohje'; +$labels['about'] = 'Tietoja'; +$labels['license'] = 'Lisenssi'; +?> diff --git a/plugins/help/localization/fo_FO.inc b/plugins/help/localization/fo_FO.inc new file mode 100644 index 000000000..05d7a8652 --- /dev/null +++ b/plugins/help/localization/fo_FO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Hjálp'; +$labels['about'] = 'Um'; +$labels['license'] = 'Heimildarskjal'; +?> diff --git a/plugins/help/localization/fr_FR.inc b/plugins/help/localization/fr_FR.inc new file mode 100644 index 000000000..11a282f10 --- /dev/null +++ b/plugins/help/localization/fr_FR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Help'; +$labels['about'] = 'About'; +$labels['license'] = 'License'; +?> diff --git a/plugins/help/localization/fy_NL.inc b/plugins/help/localization/fy_NL.inc new file mode 100644 index 000000000..3e852a7ce --- /dev/null +++ b/plugins/help/localization/fy_NL.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Help'; +$labels['about'] = 'Oer'; +$labels['license'] = 'Lisinsje'; +?> diff --git a/plugins/help/localization/gl_ES.inc b/plugins/help/localization/gl_ES.inc new file mode 100644 index 000000000..74a57427a --- /dev/null +++ b/plugins/help/localization/gl_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Axuda'; +$labels['about'] = 'Acerca de'; +$labels['license'] = 'Licenza'; +?> diff --git a/plugins/help/localization/he_IL.inc b/plugins/help/localization/he_IL.inc new file mode 100644 index 000000000..bf75bfb4f --- /dev/null +++ b/plugins/help/localization/he_IL.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'עזרה'; +$labels['about'] = 'אודות'; +$labels['license'] = 'רשיון'; +?> diff --git a/plugins/help/localization/hr_HR.inc b/plugins/help/localization/hr_HR.inc new file mode 100644 index 000000000..89a46e4ea --- /dev/null +++ b/plugins/help/localization/hr_HR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Pomoć'; +$labels['about'] = 'O programu'; +$labels['license'] = 'Licenca'; +?> diff --git a/plugins/help/localization/hu_HU.inc b/plugins/help/localization/hu_HU.inc new file mode 100644 index 000000000..b41456db6 --- /dev/null +++ b/plugins/help/localization/hu_HU.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Súgó'; +$labels['about'] = 'Névjegy'; +$labels['license'] = 'Licensz'; +?> diff --git a/plugins/help/localization/hy_AM.inc b/plugins/help/localization/hy_AM.inc new file mode 100644 index 000000000..7b106cad4 --- /dev/null +++ b/plugins/help/localization/hy_AM.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Օգնություն'; +$labels['about'] = 'Նկարագիր'; +$labels['license'] = 'Արտոնագիր'; +?> diff --git a/plugins/help/localization/ia.inc b/plugins/help/localization/ia.inc new file mode 100644 index 000000000..d097947c1 --- /dev/null +++ b/plugins/help/localization/ia.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Adjuta'; +$labels['about'] = 'A proposito'; +$labels['license'] = 'Licentia'; +?> diff --git a/plugins/help/localization/id_ID.inc b/plugins/help/localization/id_ID.inc new file mode 100644 index 000000000..7bad95c65 --- /dev/null +++ b/plugins/help/localization/id_ID.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Bantuan'; +$labels['about'] = 'Tentang'; +$labels['license'] = 'Lisensi'; +?> diff --git a/plugins/help/localization/it_IT.inc b/plugins/help/localization/it_IT.inc new file mode 100644 index 000000000..f88471b4f --- /dev/null +++ b/plugins/help/localization/it_IT.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Aiuto'; +$labels['about'] = 'Informazioni'; +$labels['license'] = 'Licenza'; +?> diff --git a/plugins/help/localization/ja_JP.inc b/plugins/help/localization/ja_JP.inc new file mode 100644 index 000000000..db3d5e5cc --- /dev/null +++ b/plugins/help/localization/ja_JP.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'ヘルプ'; +$labels['about'] = 'このプログラムについて'; +$labels['license'] = 'ライセンス'; +?> diff --git a/plugins/help/localization/km_KH.inc b/plugins/help/localization/km_KH.inc new file mode 100644 index 000000000..1dae389bb --- /dev/null +++ b/plugins/help/localization/km_KH.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'ជំនួយ'; +$labels['about'] = 'អំពី'; +$labels['license'] = 'អាជ្ញាប័ណ្ណ'; +?> diff --git a/plugins/help/localization/kn_IN.inc b/plugins/help/localization/kn_IN.inc new file mode 100644 index 000000000..ce852d7e8 --- /dev/null +++ b/plugins/help/localization/kn_IN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'ಸಹಾಯ'; +$labels['license'] = 'ಪರವಾನಗಿ'; +?> diff --git a/plugins/help/localization/ko_KR.inc b/plugins/help/localization/ko_KR.inc new file mode 100644 index 000000000..88390e3ff --- /dev/null +++ b/plugins/help/localization/ko_KR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = '도움말'; +$labels['about'] = '정보'; +$labels['license'] = '라이선스'; +?> diff --git a/plugins/help/localization/ku.inc b/plugins/help/localization/ku.inc new file mode 100644 index 000000000..5114c197d --- /dev/null +++ b/plugins/help/localization/ku.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Alîkarî'; +$labels['about'] = 'Dervar'; +$labels['license'] = 'Lîsans'; +?> diff --git a/plugins/help/localization/ku_IQ.inc b/plugins/help/localization/ku_IQ.inc new file mode 100644 index 000000000..210f8f8e0 --- /dev/null +++ b/plugins/help/localization/ku_IQ.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'یارمەتی'; +$labels['about'] = 'دەربارە'; +$labels['license'] = 'مۆڵەت'; +?> diff --git a/plugins/help/localization/lb_LU.inc b/plugins/help/localization/lb_LU.inc new file mode 100644 index 000000000..63d6aebdc --- /dev/null +++ b/plugins/help/localization/lb_LU.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Hëllef'; +$labels['about'] = 'Iwwert'; +$labels['license'] = 'Lizenz'; +?> diff --git a/plugins/help/localization/lt_LT.inc b/plugins/help/localization/lt_LT.inc new file mode 100644 index 000000000..b10223d3c --- /dev/null +++ b/plugins/help/localization/lt_LT.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Žinynas'; +$labels['about'] = 'Apie'; +$labels['license'] = 'Licencija'; +?> diff --git a/plugins/help/localization/lv_LV.inc b/plugins/help/localization/lv_LV.inc new file mode 100644 index 000000000..c3b15f0bc --- /dev/null +++ b/plugins/help/localization/lv_LV.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Palīdzība'; +$labels['about'] = 'Par'; +$labels['license'] = 'Licence'; +?> diff --git a/plugins/help/localization/ml_IN.inc b/plugins/help/localization/ml_IN.inc new file mode 100644 index 000000000..30ae66f68 --- /dev/null +++ b/plugins/help/localization/ml_IN.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'സഹായം'; +$labels['about'] = 'വിവരം'; +$labels['license'] = 'അനുമതി'; +?> diff --git a/plugins/help/localization/nb_NO.inc b/plugins/help/localization/nb_NO.inc new file mode 100644 index 000000000..4a2f7986e --- /dev/null +++ b/plugins/help/localization/nb_NO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Hjelp'; +$labels['about'] = 'Om'; +$labels['license'] = 'Lisensvilkår'; +?> diff --git a/plugins/help/localization/nl_NL.inc b/plugins/help/localization/nl_NL.inc new file mode 100644 index 000000000..a6c97e34a --- /dev/null +++ b/plugins/help/localization/nl_NL.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Help'; +$labels['about'] = 'Over'; +$labels['license'] = 'Licentie'; +?> diff --git a/plugins/help/localization/nn_NO.inc b/plugins/help/localization/nn_NO.inc new file mode 100644 index 000000000..edb7cd619 --- /dev/null +++ b/plugins/help/localization/nn_NO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Hjelp'; +$labels['about'] = 'Om'; +$labels['license'] = 'Lisens'; +?> diff --git a/plugins/help/localization/pl_PL.inc b/plugins/help/localization/pl_PL.inc new file mode 100644 index 000000000..817dc9d5a --- /dev/null +++ b/plugins/help/localization/pl_PL.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Pomoc'; +$labels['about'] = 'O programie'; +$labels['license'] = 'Licencja'; +?> diff --git a/plugins/help/localization/pt_BR.inc b/plugins/help/localization/pt_BR.inc new file mode 100644 index 000000000..7aff20bf1 --- /dev/null +++ b/plugins/help/localization/pt_BR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Ajuda'; +$labels['about'] = 'Sobre'; +$labels['license'] = 'Licença'; +?> diff --git a/plugins/help/localization/pt_PT.inc b/plugins/help/localization/pt_PT.inc new file mode 100644 index 000000000..4c141c596 --- /dev/null +++ b/plugins/help/localization/pt_PT.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Ajuda'; +$labels['about'] = 'Sobre...'; +$labels['license'] = 'Licença'; +?> diff --git a/plugins/help/localization/ro_RO.inc b/plugins/help/localization/ro_RO.inc new file mode 100644 index 000000000..1706d0cea --- /dev/null +++ b/plugins/help/localization/ro_RO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Ajutor'; +$labels['about'] = 'Despre'; +$labels['license'] = 'Licența'; +?> diff --git a/plugins/help/localization/ru_RU.inc b/plugins/help/localization/ru_RU.inc new file mode 100644 index 000000000..b3b7c11de --- /dev/null +++ b/plugins/help/localization/ru_RU.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Помощь'; +$labels['about'] = 'О программе'; +$labels['license'] = 'Лицензия'; +?> diff --git a/plugins/help/localization/sk_SK.inc b/plugins/help/localization/sk_SK.inc new file mode 100644 index 000000000..cead6f58a --- /dev/null +++ b/plugins/help/localization/sk_SK.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Pomocník'; +$labels['about'] = 'O aplikácii'; +$labels['license'] = 'Licencia'; +?> diff --git a/plugins/help/localization/sl_SI.inc b/plugins/help/localization/sl_SI.inc new file mode 100644 index 000000000..509e66749 --- /dev/null +++ b/plugins/help/localization/sl_SI.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Pomoč'; +$labels['about'] = 'Vizitka'; +$labels['license'] = 'Licenca'; +?> diff --git a/plugins/help/localization/sq_AL.inc b/plugins/help/localization/sq_AL.inc new file mode 100644 index 000000000..8d6dcc1f9 --- /dev/null +++ b/plugins/help/localization/sq_AL.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Ndihmë'; +$labels['license'] = 'Licenca'; +?> diff --git a/plugins/help/localization/sr_CS.inc b/plugins/help/localization/sr_CS.inc new file mode 100644 index 000000000..e0cf7ccf1 --- /dev/null +++ b/plugins/help/localization/sr_CS.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Помоћ'; +$labels['about'] = 'Info'; +$labels['license'] = 'Licenca'; +?> diff --git a/plugins/help/localization/sv_SE.inc b/plugins/help/localization/sv_SE.inc new file mode 100644 index 000000000..184efca40 --- /dev/null +++ b/plugins/help/localization/sv_SE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Hjälp'; +$labels['about'] = 'Om'; +$labels['license'] = 'Licens'; +?> diff --git a/plugins/help/localization/ti.inc b/plugins/help/localization/ti.inc new file mode 100644 index 000000000..5eccd5075 --- /dev/null +++ b/plugins/help/localization/ti.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'መምሃሪ'; +$labels['about'] = 'ብዛዕባ'; +$labels['license'] = 'ፍቓድ'; +?> diff --git a/plugins/help/localization/tr_TR.inc b/plugins/help/localization/tr_TR.inc new file mode 100644 index 000000000..b11f033a3 --- /dev/null +++ b/plugins/help/localization/tr_TR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Yardım'; +$labels['about'] = 'Hakkında'; +$labels['license'] = 'Lisans'; +?> diff --git a/plugins/help/localization/uk_UA.inc b/plugins/help/localization/uk_UA.inc new file mode 100644 index 000000000..8d2f76c3c --- /dev/null +++ b/plugins/help/localization/uk_UA.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Допомога'; +$labels['about'] = 'Про програму'; +$labels['license'] = 'Ліцензія'; +?> diff --git a/plugins/help/localization/vi_VN.inc b/plugins/help/localization/vi_VN.inc new file mode 100644 index 000000000..b3aff3c0f --- /dev/null +++ b/plugins/help/localization/vi_VN.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = 'Trợ giúp'; +$labels['about'] = 'Giới thiệu'; +$labels['license'] = 'Bản quyền'; +?> diff --git a/plugins/help/localization/zh_CN.inc b/plugins/help/localization/zh_CN.inc new file mode 100644 index 000000000..c2bbd1705 --- /dev/null +++ b/plugins/help/localization/zh_CN.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = '帮助'; +$labels['about'] = '关于'; +$labels['license'] = '许可协议'; +?> diff --git a/plugins/help/localization/zh_TW.inc b/plugins/help/localization/zh_TW.inc new file mode 100644 index 000000000..59c7d8aae --- /dev/null +++ b/plugins/help/localization/zh_TW.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/help/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Help 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-help/ +*/ +$labels['help'] = '說明'; +$labels['about'] = '關於'; +$labels['license'] = '許可證'; +?> diff --git a/plugins/help/skins/classic/help.css b/plugins/help/skins/classic/help.css new file mode 100644 index 000000000..0c296b128 --- /dev/null +++ b/plugins/help/skins/classic/help.css @@ -0,0 +1,43 @@ +/***** Roundcube|Mail Help task styles *****/ + +#taskbar a.button-help +{ + background-image: url('help.gif'); +} + +.extwin #tabsbar +{ + top: 21px; + left: 20px; + right: 100px; + border-bottom: 0; +} + +.helpwin .closelink { + position: absolute; + top: 20px; + right: 20px; +} + +.help-box +{ + overflow: auto; + background-color: #F2F2F2; +} + +#helplicense, #helpabout +{ + width: 46em; + padding: 1em 2em; +} + +#helplicense a, #helpabout a +{ + color: #900; +} + +#helpabout +{ + margin: 0 auto; +} + diff --git a/plugins/help/skins/classic/help.gif b/plugins/help/skins/classic/help.gif Binary files differnew file mode 100644 index 000000000..fe41e43c0 --- /dev/null +++ b/plugins/help/skins/classic/help.gif diff --git a/plugins/help/skins/classic/templates/help.html b/plugins/help/skins/classic/templates/help.html new file mode 100644 index 000000000..bb20c51e3 --- /dev/null +++ b/plugins/help/skins/classic/templates/help.html @@ -0,0 +1,41 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<link rel="stylesheet" type="text/css" href="/this/help.css" /> +<script type="text/javascript"> +function help_init_settings_tabs() +{ + var action, tab = '#helptabindex'; + if (window.rcmail && (action = rcmail.env.action)) { + tab = '#helptab' + (action ? action : 'index'); + } + $(tab).addClass('tablink-selected'); +} +</script> +</head> +<roundcube:if condition="env:extwin" /> +<body class="extwin helpwin"> +<roundcube:object name="message" id="message" /> +<roundcube:button name="close" type="link" label="close" class="closelink" onclick="self.close()" /> +<roundcube:else /> +<body class="helpwin"> +<roundcube:include file="/includes/taskbar.html" /> +<roundcube:include file="/includes/header.html" /> +<roundcube:endif /> + +<div id="tabsbar"> +<span id="helptabindex" class="tablink"><roundcube:object name="tablink" action="index" type="link" label="help.help" title="help.help" /></span> +<span id="helptababout" class="tablink"><roundcube:object name="tablink" action="about" type="link" label="help.about" title="help.about" class="tablink" /></span> +<span id="helptablicense" class="tablink"><roundcube:object name="tablink" action="license" type="link" label="help.license" title="help.license" class="tablink" /></span> +<roundcube:container name="helptabs" id="helptabsbar" /> +<script type="text/javascript"> if (window.rcmail) rcmail.add_onload(help_init_settings_tabs);</script> +</div> + +<div id="mainscreen" class="box help-box"> +<roundcube:object name="helpcontent" id="helpcontentframe" width="100%" height="100%" frameborder="0" src="/watermark.html" /> +</div> + +</body> +</html> diff --git a/plugins/help/skins/larry/help.css b/plugins/help/skins/larry/help.css new file mode 100644 index 000000000..d42f4e00b --- /dev/null +++ b/plugins/help/skins/larry/help.css @@ -0,0 +1,44 @@ + +#helpcontentframe { + border: 0; + border-radius: 4px; +} + +#mainscreen .readtext { + margin: 20px; +} + +#helptoolbar { + position: absolute; + top: -6px; + left: 0; + height: 40px; + white-space: nowrap; +} + +#taskbar a.button-help span.button-inner { + background: url(help.png) 0 0 no-repeat; + height: 19px; +} + +#taskbar a.button-help:hover span.button-inner, +#taskbar a.button-help.button-selected span.button-inner { + background: url(help.png) 0 -24px no-repeat; + height: 19px; +} + +.toolbar a.button.help { + background: url(help.png) center -51px no-repeat; +} + +.toolbar a.button.about { + background: url(help.png) center -89px no-repeat; +} + +.toolbar a.button.license { + background: url(help.png) center -130px no-repeat; +} + +.iframebox.help_license { + overflow: auto; +} diff --git a/plugins/help/skins/larry/help.png b/plugins/help/skins/larry/help.png Binary files differnew file mode 100644 index 000000000..e815e5444 --- /dev/null +++ b/plugins/help/skins/larry/help.png diff --git a/plugins/help/skins/larry/icons.psd b/plugins/help/skins/larry/icons.psd Binary files differnew file mode 100644 index 000000000..2ccadfabe --- /dev/null +++ b/plugins/help/skins/larry/icons.psd diff --git a/plugins/help/skins/larry/templates/help.html b/plugins/help/skins/larry/templates/help.html new file mode 100644 index 000000000..f1d1f232e --- /dev/null +++ b/plugins/help/skins/larry/templates/help.html @@ -0,0 +1,31 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +</head> +<roundcube:if condition="env:extwin" /><body class="extwin"><roundcube:else /><body><roundcube:endif /> + +<roundcube:include file="/includes/header.html" /> + +<div id="mainscreen"> + +<div id="helptoolbar" class="toolbar"> +<roundcube:object name="tablink" action="index" type="link" label="help.help" title="help.help" class="button help" /> +<roundcube:object name="tablink" action="about" type="link" label="help.about" title="help.about" class="button about" /> +<roundcube:object name="tablink" action="license" type="link" label="help.license" title="help.license" class="button license" /> +<roundcube:container name="helptabs" id="helptabsbar" /> +</div> + +<div id="pluginbody" class="uibox offset"> + <div class="iframebox help_<roundcube:var name='env:action' />"> + <roundcube:object name="helpcontent" id="helpcontentframe" style="width:100%; height:100%" frameborder="0" src="/watermark.html" /> + </div> +</div> + +</div> + +<roundcube:include file="/includes/footer.html" /> + +</body> +</html> diff --git a/plugins/help/tests/Help.php b/plugins/help/tests/Help.php new file mode 100644 index 000000000..ff5771bf9 --- /dev/null +++ b/plugins/help/tests/Help.php @@ -0,0 +1,23 @@ +<?php + +class Help_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../help.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new help($rcube->api); + + $this->assertInstanceOf('help', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/hide_blockquote/composer.json b/plugins/hide_blockquote/composer.json new file mode 100644 index 000000000..5af75fe7e --- /dev/null +++ b/plugins/hide_blockquote/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/hide_blockquote", + "type": "roundcube-plugin", + "description": "This allows to hide long blocks of cited text in messages.", + "license": "GPLv3+", + "version": "1.0", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/hide_blockquote/hide_blockquote.js b/plugins/hide_blockquote/hide_blockquote.js new file mode 100644 index 000000000..964cc07a3 --- /dev/null +++ b/plugins/hide_blockquote/hide_blockquote.js @@ -0,0 +1,63 @@ +/** + * Hide Blockquotes plugin script + * + * @licstart The following is the entire license notice for the + * JavaScript code in this file. + * + * Copyright (c) 2012-2014, The Roundcube Dev Team + * + * The JavaScript code in this page is free software: you can redistribute it + * and/or modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * @licend The above is the entire license notice + * for the JavaScript code in this file. + */ + +if (window.rcmail) + rcmail.addEventListener('init', function() { hide_blockquote(); }); + +function hide_blockquote() +{ + var limit = rcmail.env.blockquote_limit; + + if (limit <= 0) + return; + + $('div.message-part div.pre > blockquote', $('#messagebody')).each(function() { + var div, link, q = $(this), + text = $.trim(q.text()), + res = text.split(/\n/); + + if (res.length <= limit) { + // there can be also a block with very long wrapped line + // assume line height = 15px + if (q.height() <= limit * 15) + return; + } + + div = $('<blockquote class="blockquote-header">') + .css({'white-space': 'nowrap', overflow: 'hidden', position: 'relative'}) + .text(res[0]); + + link = $('<span class="blockquote-link"></span>') + .css({position: 'absolute', 'z-Index': 2}) + .text(rcmail.gettext('hide_blockquote.show')) + .data('parent', div) + .click(function() { + var t = $(this), parent = t.data('parent'), visible = parent.is(':visible'); + + t.text(rcmail.gettext(visible ? 'hide' : 'show', 'hide_blockquote')) + .detach().appendTo(visible ? q : parent); + + parent[visible ? 'hide' : 'show'](); + q[visible ? 'show' : 'hide'](); + }); + + link.appendTo(div); + + // Modify blockquote + q.hide().css({position: 'relative'}).before(div); + }); +} diff --git a/plugins/hide_blockquote/hide_blockquote.php b/plugins/hide_blockquote/hide_blockquote.php new file mode 100644 index 000000000..2ad5dd8ac --- /dev/null +++ b/plugins/hide_blockquote/hide_blockquote.php @@ -0,0 +1,78 @@ +<?php + +/** + * Quotation block hidding + * + * Plugin that adds a possibility to hide long blocks of cited text in messages. + * + * Configuration: + * // Minimum number of citation lines. Longer citation blocks will be hidden. + * // 0 - no limit (no hidding). + * $config['hide_blockquote_limit'] = 0; + * + * @version @package_version@ + * @license GNU GPLv3+ + * @author Aleksander Machniak <alec@alec.pl> + */ +class hide_blockquote extends rcube_plugin +{ + public $task = 'mail|settings'; + + function init() + { + $rcmail = rcmail::get_instance(); + + if ($rcmail->task == 'mail' + && ($rcmail->action == 'preview' || $rcmail->action == 'show') + && ($limit = $rcmail->config->get('hide_blockquote_limit')) + ) { + // include styles + $this->include_stylesheet($this->local_skin_path() . "/style.css"); + + // Script and localization + $this->include_script('hide_blockquote.js'); + $this->add_texts('localization', true); + + // set env variable for client + $rcmail->output->set_env('blockquote_limit', $limit); + } + else if ($rcmail->task == 'settings') { + $dont_override = $rcmail->config->get('dont_override', array()); + if (!in_array('hide_blockquote_limit', $dont_override)) { + $this->add_hook('preferences_list', array($this, 'prefs_table')); + $this->add_hook('preferences_save', array($this, 'save_prefs')); + } + } + } + + function prefs_table($args) + { + if ($args['section'] != 'mailview') { + return $args; + } + + $this->add_texts('localization'); + + $rcmail = rcmail::get_instance(); + $limit = (int) $rcmail->config->get('hide_blockquote_limit'); + $field_id = 'hide_blockquote_limit'; + $input = new html_inputfield(array('name' => '_'.$field_id, 'id' => $field_id, 'size' => 5)); + + $args['blocks']['main']['options']['hide_blockquote_limit'] = array( + 'title' => $this->gettext('quotelimit'), + 'content' => $input->show($limit ? $limit : '') + ); + + return $args; + } + + function save_prefs($args) + { + if ($args['section'] == 'mailview') { + $args['prefs']['hide_blockquote_limit'] = (int) rcube_utils::get_input_value('_hide_blockquote_limit', rcube_utils::INPUT_POST); + } + + return $args; + } + +} diff --git a/plugins/hide_blockquote/localization/ar_SA.inc b/plugins/hide_blockquote/localization/ar_SA.inc new file mode 100644 index 000000000..9c80c477f --- /dev/null +++ b/plugins/hide_blockquote/localization/ar_SA.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'إخفاء'; +$labels['show'] = 'إظهار'; +$labels['quotelimit'] = 'اخف الاقتباس اذا كان عدد الاسطر اكبر من '; +?> diff --git a/plugins/hide_blockquote/localization/ast.inc b/plugins/hide_blockquote/localization/ast.inc new file mode 100644 index 000000000..f2f17c492 --- /dev/null +++ b/plugins/hide_blockquote/localization/ast.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Anubrir'; +$labels['show'] = 'Amosar'; +$labels['quotelimit'] = 'Anubrir la citación cuando la cuenta de llinies seya mayor de'; +?> diff --git a/plugins/hide_blockquote/localization/az_AZ.inc b/plugins/hide_blockquote/localization/az_AZ.inc new file mode 100644 index 000000000..6fdd4410b --- /dev/null +++ b/plugins/hide_blockquote/localization/az_AZ.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Gizlət'; +$labels['show'] = 'Göstər'; +$labels['quotelimit'] = 'Sayğac xətti çoxdursa sitatı gizlə'; +?> diff --git a/plugins/hide_blockquote/localization/be_BE.inc b/plugins/hide_blockquote/localization/be_BE.inc new file mode 100644 index 000000000..28248adf0 --- /dev/null +++ b/plugins/hide_blockquote/localization/be_BE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Схаваць'; +$labels['show'] = 'Паказаць'; +$labels['quotelimit'] = 'Хаваць цытаванне, калі колькасць радкоў пераўзыходзіць'; +?> diff --git a/plugins/hide_blockquote/localization/bg_BG.inc b/plugins/hide_blockquote/localization/bg_BG.inc new file mode 100644 index 000000000..ec64513a8 --- /dev/null +++ b/plugins/hide_blockquote/localization/bg_BG.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Скрий'; +$labels['show'] = 'Покажи'; +$labels['quotelimit'] = 'Скрива цитатите когато броя редове е по-голям от'; +?> diff --git a/plugins/hide_blockquote/localization/br.inc b/plugins/hide_blockquote/localization/br.inc new file mode 100644 index 000000000..8eb5dd2db --- /dev/null +++ b/plugins/hide_blockquote/localization/br.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Kuzhat'; +$labels['show'] = 'Diskouez'; +$labels['quotelimit'] = 'Kuzhat ar meneg pa\'z\'eo re uhel niver a linennnoù eus'; +?> diff --git a/plugins/hide_blockquote/localization/bs_BA.inc b/plugins/hide_blockquote/localization/bs_BA.inc new file mode 100644 index 000000000..9602440d9 --- /dev/null +++ b/plugins/hide_blockquote/localization/bs_BA.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Sakrij'; +$labels['show'] = 'Prikaži'; +$labels['quotelimit'] = 'Sakrij citate kada je broj linija veći od'; +?> diff --git a/plugins/hide_blockquote/localization/ca_ES.inc b/plugins/hide_blockquote/localization/ca_ES.inc new file mode 100644 index 000000000..d0698f2ce --- /dev/null +++ b/plugins/hide_blockquote/localization/ca_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Amaga'; +$labels['show'] = 'Mostra'; +$labels['quotelimit'] = 'Amaga la cita quan el nombre de línies sigui més gran de'; +?> diff --git a/plugins/hide_blockquote/localization/cs_CZ.inc b/plugins/hide_blockquote/localization/cs_CZ.inc new file mode 100644 index 000000000..766662e12 --- /dev/null +++ b/plugins/hide_blockquote/localization/cs_CZ.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Skrýt'; +$labels['show'] = 'Zobrazit'; +$labels['quotelimit'] = 'Skrýt citaci pokud je počet řádků větší než'; +?> diff --git a/plugins/hide_blockquote/localization/cy_GB.inc b/plugins/hide_blockquote/localization/cy_GB.inc new file mode 100644 index 000000000..d60890cd8 --- /dev/null +++ b/plugins/hide_blockquote/localization/cy_GB.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Cuddio'; +$labels['show'] = 'Dangos'; +$labels['quotelimit'] = 'Cuddio dyfynniad pan mae\'r nifer o linellau yn fwy na'; +?> diff --git a/plugins/hide_blockquote/localization/da_DK.inc b/plugins/hide_blockquote/localization/da_DK.inc new file mode 100644 index 000000000..3691e5438 --- /dev/null +++ b/plugins/hide_blockquote/localization/da_DK.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Skjul'; +$labels['show'] = 'Vis'; +$labels['quotelimit'] = 'Skjul citat antallet af linjer er højere end'; +?> diff --git a/plugins/hide_blockquote/localization/de_CH.inc b/plugins/hide_blockquote/localization/de_CH.inc new file mode 100644 index 000000000..506412560 --- /dev/null +++ b/plugins/hide_blockquote/localization/de_CH.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'ausblenden'; +$labels['show'] = 'einblenden'; +$labels['quotelimit'] = 'Zitate verbergen ab einer Zeilenlänge von'; +?> diff --git a/plugins/hide_blockquote/localization/de_DE.inc b/plugins/hide_blockquote/localization/de_DE.inc new file mode 100644 index 000000000..506412560 --- /dev/null +++ b/plugins/hide_blockquote/localization/de_DE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'ausblenden'; +$labels['show'] = 'einblenden'; +$labels['quotelimit'] = 'Zitate verbergen ab einer Zeilenlänge von'; +?> diff --git a/plugins/hide_blockquote/localization/el_GR.inc b/plugins/hide_blockquote/localization/el_GR.inc new file mode 100644 index 000000000..c2fa45703 --- /dev/null +++ b/plugins/hide_blockquote/localization/el_GR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Αποκρυψη'; +$labels['show'] = 'Εμφάνιση'; +$labels['quotelimit'] = 'Απόκρυψη παραπομπων όταν ο αριθμός γραμμών είναι μεγαλύτερος από'; +?> diff --git a/plugins/hide_blockquote/localization/en_CA.inc b/plugins/hide_blockquote/localization/en_CA.inc new file mode 100644 index 000000000..0256e712a --- /dev/null +++ b/plugins/hide_blockquote/localization/en_CA.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Hide'; +$labels['show'] = 'Show'; +$labels['quotelimit'] = 'Hide citation when lines count is greater than'; +?> diff --git a/plugins/hide_blockquote/localization/en_GB.inc b/plugins/hide_blockquote/localization/en_GB.inc new file mode 100644 index 000000000..0256e712a --- /dev/null +++ b/plugins/hide_blockquote/localization/en_GB.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Hide'; +$labels['show'] = 'Show'; +$labels['quotelimit'] = 'Hide citation when lines count is greater than'; +?> diff --git a/plugins/hide_blockquote/localization/en_US.inc b/plugins/hide_blockquote/localization/en_US.inc new file mode 100644 index 000000000..90dd28955 --- /dev/null +++ b/plugins/hide_blockquote/localization/en_US.inc @@ -0,0 +1,24 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ + +$labels = array(); +$labels['hide'] = 'Hide'; +$labels['show'] = 'Show'; +$labels['quotelimit'] = 'Hide citation when lines count is greater than'; + +?> diff --git a/plugins/hide_blockquote/localization/eo.inc b/plugins/hide_blockquote/localization/eo.inc new file mode 100644 index 000000000..9c09c97fc --- /dev/null +++ b/plugins/hide_blockquote/localization/eo.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Kaŝi'; +$labels['show'] = 'Montri'; +$labels['quotelimit'] = 'Kaŝi citaĵon kiam la nombro de linioj estas pligranda ol'; +?> diff --git a/plugins/hide_blockquote/localization/es_419.inc b/plugins/hide_blockquote/localization/es_419.inc new file mode 100644 index 000000000..8a6f06cd8 --- /dev/null +++ b/plugins/hide_blockquote/localization/es_419.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Ocultar'; +$labels['show'] = 'Mostrar'; +$labels['quotelimit'] = 'Ocultar la cita cuando el número de lineas sea mayor a '; +?> diff --git a/plugins/hide_blockquote/localization/es_AR.inc b/plugins/hide_blockquote/localization/es_AR.inc new file mode 100644 index 000000000..5046eaf69 --- /dev/null +++ b/plugins/hide_blockquote/localization/es_AR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Ocultar'; +$labels['show'] = 'Mostrar'; +$labels['quotelimit'] = 'Ocultar el mail citado cuando el número de líneas sea mayor que'; +?> diff --git a/plugins/hide_blockquote/localization/es_ES.inc b/plugins/hide_blockquote/localization/es_ES.inc new file mode 100644 index 000000000..c602650e6 --- /dev/null +++ b/plugins/hide_blockquote/localization/es_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Ocultar'; +$labels['show'] = 'Mostrar'; +$labels['quotelimit'] = 'Ocultar la cita cuando el número de lineas es mayor que'; +?> diff --git a/plugins/hide_blockquote/localization/et_EE.inc b/plugins/hide_blockquote/localization/et_EE.inc new file mode 100644 index 000000000..8213946c3 --- /dev/null +++ b/plugins/hide_blockquote/localization/et_EE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Peida'; +$labels['show'] = 'Näita'; +$labels['quotelimit'] = 'Peida tsitaat kui ridade arv on suurem kui'; +?> diff --git a/plugins/hide_blockquote/localization/eu_ES.inc b/plugins/hide_blockquote/localization/eu_ES.inc new file mode 100644 index 000000000..f7adf6e00 --- /dev/null +++ b/plugins/hide_blockquote/localization/eu_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Ezkutatu'; +$labels['show'] = 'Erakutsi'; +$labels['quotelimit'] = 'Ezkutatu aipamena lerroen kopurua hau baino handiagoa denean'; +?> diff --git a/plugins/hide_blockquote/localization/fa_IR.inc b/plugins/hide_blockquote/localization/fa_IR.inc new file mode 100644 index 000000000..b4fcc1596 --- /dev/null +++ b/plugins/hide_blockquote/localization/fa_IR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'مخفی کردن'; +$labels['show'] = 'نشان دادن'; +$labels['quotelimit'] = 'مخفی کردن نقلقول وقتی تعداد خطوط بیشتر است از'; +?> diff --git a/plugins/hide_blockquote/localization/fi_FI.inc b/plugins/hide_blockquote/localization/fi_FI.inc new file mode 100644 index 000000000..afec57462 --- /dev/null +++ b/plugins/hide_blockquote/localization/fi_FI.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Piilota'; +$labels['show'] = 'Näytä'; +$labels['quotelimit'] = 'Piilota lainaus rivejä ollessa enemmän kuin'; +?> diff --git a/plugins/hide_blockquote/localization/fo_FO.inc b/plugins/hide_blockquote/localization/fo_FO.inc new file mode 100644 index 000000000..fe962f65b --- /dev/null +++ b/plugins/hide_blockquote/localization/fo_FO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Goym'; +$labels['show'] = 'Vís'; +$labels['quotelimit'] = 'Goym stevning tá ið tað eru meiri reglur enn'; +?> diff --git a/plugins/hide_blockquote/localization/fr_FR.inc b/plugins/hide_blockquote/localization/fr_FR.inc new file mode 100644 index 000000000..0e1171152 --- /dev/null +++ b/plugins/hide_blockquote/localization/fr_FR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Masquer'; +$labels['show'] = 'Montrer'; +$labels['quotelimit'] = 'Masquer la citation quand le nombre de lignes est supérieur à'; +?> diff --git a/plugins/hide_blockquote/localization/gl_ES.inc b/plugins/hide_blockquote/localization/gl_ES.inc new file mode 100644 index 000000000..f945a50e3 --- /dev/null +++ b/plugins/hide_blockquote/localization/gl_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Agochar'; +$labels['show'] = 'Amosar'; +$labels['quotelimit'] = 'Agochar mencións cando haxa demasiadas liñas'; +?> diff --git a/plugins/hide_blockquote/localization/he_IL.inc b/plugins/hide_blockquote/localization/he_IL.inc new file mode 100644 index 000000000..2e353909b --- /dev/null +++ b/plugins/hide_blockquote/localization/he_IL.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'הסתר'; +$labels['show'] = 'הצג'; +$labels['quotelimit'] = 'הסתר ציטוט כאשר מספר השורות גדול מ-'; +?> diff --git a/plugins/hide_blockquote/localization/hr_HR.inc b/plugins/hide_blockquote/localization/hr_HR.inc new file mode 100644 index 000000000..d5cc4f3b5 --- /dev/null +++ b/plugins/hide_blockquote/localization/hr_HR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Sakrij'; +$labels['show'] = 'Pokaži'; +$labels['quotelimit'] = 'Sakrij citat ako broj linija prelazi'; +?> diff --git a/plugins/hide_blockquote/localization/hu_HU.inc b/plugins/hide_blockquote/localization/hu_HU.inc new file mode 100644 index 000000000..97abb9f35 --- /dev/null +++ b/plugins/hide_blockquote/localization/hu_HU.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Elrejtés'; +$labels['show'] = 'Megjelenítés'; +$labels['quotelimit'] = 'Idézet elrejtése ha a sorok száma több mint'; +?> diff --git a/plugins/hide_blockquote/localization/hy_AM.inc b/plugins/hide_blockquote/localization/hy_AM.inc new file mode 100644 index 000000000..b1808e400 --- /dev/null +++ b/plugins/hide_blockquote/localization/hy_AM.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Թաքցնել'; +$labels['show'] = 'Ցուցադրել'; +$labels['quotelimit'] = 'Թաքցնել ցիտումը երբ տողերի քանակը գերազանցում է'; +?> diff --git a/plugins/hide_blockquote/localization/ia.inc b/plugins/hide_blockquote/localization/ia.inc new file mode 100644 index 000000000..0d7795cea --- /dev/null +++ b/plugins/hide_blockquote/localization/ia.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Celar'; +$labels['show'] = 'Monstrar'; +$labels['quotelimit'] = 'Celar le citation quando le numero de lineas es superior a'; +?> diff --git a/plugins/hide_blockquote/localization/id_ID.inc b/plugins/hide_blockquote/localization/id_ID.inc new file mode 100644 index 000000000..da6534968 --- /dev/null +++ b/plugins/hide_blockquote/localization/id_ID.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Sembunyi'; +$labels['show'] = 'Tampil'; +$labels['quotelimit'] = 'Sembunyikan kutipan ketika jumlah baris lebih besar dari'; +?> diff --git a/plugins/hide_blockquote/localization/it_IT.inc b/plugins/hide_blockquote/localization/it_IT.inc new file mode 100644 index 000000000..a24353020 --- /dev/null +++ b/plugins/hide_blockquote/localization/it_IT.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Nascondi'; +$labels['show'] = 'Mostra'; +$labels['quotelimit'] = 'Nascondi la citazione quando il numero di righe è maggiore di'; +?> diff --git a/plugins/hide_blockquote/localization/ja_JP.inc b/plugins/hide_blockquote/localization/ja_JP.inc new file mode 100644 index 000000000..4bf36ae13 --- /dev/null +++ b/plugins/hide_blockquote/localization/ja_JP.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = '隠す'; +$labels['show'] = '表示'; +$labels['quotelimit'] = '次の行数より多い引用を非表示'; +?> diff --git a/plugins/hide_blockquote/localization/km_KH.inc b/plugins/hide_blockquote/localization/km_KH.inc new file mode 100644 index 000000000..466468d77 --- /dev/null +++ b/plugins/hide_blockquote/localization/km_KH.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'លាក់'; +$labels['show'] = 'បង្ហាញ'; +$labels['quotelimit'] = 'លាក់អត្ថបទសម្រង់ពេលចំនួនជួរធំជាង'; +?> diff --git a/plugins/hide_blockquote/localization/ko_KR.inc b/plugins/hide_blockquote/localization/ko_KR.inc new file mode 100644 index 000000000..f1e5b1b10 --- /dev/null +++ b/plugins/hide_blockquote/localization/ko_KR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = '숨기기'; +$labels['show'] = '표시'; +$labels['quotelimit'] = '행 개수가 다음보다 많을 때 인용구를 숨김:'; +?> diff --git a/plugins/hide_blockquote/localization/ku.inc b/plugins/hide_blockquote/localization/ku.inc new file mode 100644 index 000000000..e0a015166 --- /dev/null +++ b/plugins/hide_blockquote/localization/ku.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Veşêre'; +$labels['show'] = 'Nîşan bide'; +$labels['quotelimit'] = 'Jêgirtinê bigire dema ku hejmara rêzan zêdetir be ji'; +?> diff --git a/plugins/hide_blockquote/localization/lb_LU.inc b/plugins/hide_blockquote/localization/lb_LU.inc new file mode 100644 index 000000000..8f5a07df9 --- /dev/null +++ b/plugins/hide_blockquote/localization/lb_LU.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Verstoppen'; +$labels['show'] = 'Weisen'; +$labels['quotelimit'] = 'Zitat verstoppe wann d\'Zeilenunzuel méi grouss ass ewéi'; +?> diff --git a/plugins/hide_blockquote/localization/lt_LT.inc b/plugins/hide_blockquote/localization/lt_LT.inc new file mode 100644 index 000000000..9b560de14 --- /dev/null +++ b/plugins/hide_blockquote/localization/lt_LT.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Paslėpti'; +$labels['show'] = 'Parodyti'; +$labels['quotelimit'] = 'Paslėpti citatą, kai joje eilučių daugiau negu'; +?> diff --git a/plugins/hide_blockquote/localization/lv_LV.inc b/plugins/hide_blockquote/localization/lv_LV.inc new file mode 100644 index 000000000..162deda8b --- /dev/null +++ b/plugins/hide_blockquote/localization/lv_LV.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Slēpt'; +$labels['show'] = 'Rādīt'; +$labels['quotelimit'] = 'Slēpt citātu kad līniju skaits ir lielāks kā'; +?> diff --git a/plugins/hide_blockquote/localization/ml_IN.inc b/plugins/hide_blockquote/localization/ml_IN.inc new file mode 100644 index 000000000..5e2b55288 --- /dev/null +++ b/plugins/hide_blockquote/localization/ml_IN.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'മറയ്ക്കുക'; +$labels['show'] = 'പ്രദർശിപ്പിക്കുക'; +$labels['quotelimit'] = 'ഇതിലും കൂടുതലാണ് വരികളുടെ എണ്ണമെങ്കിൽ അവലംബം മറയ്ക്കുക'; +?> diff --git a/plugins/hide_blockquote/localization/nb_NO.inc b/plugins/hide_blockquote/localization/nb_NO.inc new file mode 100644 index 000000000..fb2027620 --- /dev/null +++ b/plugins/hide_blockquote/localization/nb_NO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Skjul'; +$labels['show'] = 'Vis'; +$labels['quotelimit'] = 'Skjul sitat når antall linjer er flere enn'; +?> diff --git a/plugins/hide_blockquote/localization/nl_NL.inc b/plugins/hide_blockquote/localization/nl_NL.inc new file mode 100644 index 000000000..104f4782c --- /dev/null +++ b/plugins/hide_blockquote/localization/nl_NL.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Verbergen'; +$labels['show'] = 'Tonen'; +$labels['quotelimit'] = 'Verberg citaat wanneer aantal regels groter is dan'; +?> diff --git a/plugins/hide_blockquote/localization/nn_NO.inc b/plugins/hide_blockquote/localization/nn_NO.inc new file mode 100644 index 000000000..4bc583a51 --- /dev/null +++ b/plugins/hide_blockquote/localization/nn_NO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Gøym'; +$labels['show'] = 'Vis'; +$labels['quotelimit'] = 'Gøym sitat når talet på linjer er større enn'; +?> diff --git a/plugins/hide_blockquote/localization/pl_PL.inc b/plugins/hide_blockquote/localization/pl_PL.inc new file mode 100644 index 000000000..cdd1f8f8a --- /dev/null +++ b/plugins/hide_blockquote/localization/pl_PL.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Ukryj'; +$labels['show'] = 'Pokaż'; +$labels['quotelimit'] = 'Ukryj blok cytatu gdy liczba linii jest większa od'; +?> diff --git a/plugins/hide_blockquote/localization/pt_BR.inc b/plugins/hide_blockquote/localization/pt_BR.inc new file mode 100644 index 000000000..b303c06f3 --- /dev/null +++ b/plugins/hide_blockquote/localization/pt_BR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Ocultar'; +$labels['show'] = 'Exibir'; +$labels['quotelimit'] = 'Ocultar a citação quando o número de linhas for maior do que'; +?> diff --git a/plugins/hide_blockquote/localization/pt_PT.inc b/plugins/hide_blockquote/localization/pt_PT.inc new file mode 100644 index 000000000..34693784c --- /dev/null +++ b/plugins/hide_blockquote/localization/pt_PT.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Ocultar'; +$labels['show'] = 'Mostrar'; +$labels['quotelimit'] = 'Ocultar citação quando o numero de linhas for maior que'; +?> diff --git a/plugins/hide_blockquote/localization/ro_RO.inc b/plugins/hide_blockquote/localization/ro_RO.inc new file mode 100644 index 000000000..978b84a90 --- /dev/null +++ b/plugins/hide_blockquote/localization/ro_RO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Ascunde'; +$labels['show'] = 'Afișează'; +$labels['quotelimit'] = 'Ascunde citațiile dacă numărul de linii este mai mare ca'; +?> diff --git a/plugins/hide_blockquote/localization/ru_RU.inc b/plugins/hide_blockquote/localization/ru_RU.inc new file mode 100644 index 000000000..1e6b26c16 --- /dev/null +++ b/plugins/hide_blockquote/localization/ru_RU.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Скрыть'; +$labels['show'] = 'Показать'; +$labels['quotelimit'] = 'Скрыть цитату, если число строк более чем'; +?> diff --git a/plugins/hide_blockquote/localization/sk_SK.inc b/plugins/hide_blockquote/localization/sk_SK.inc new file mode 100644 index 000000000..c5fe73f9a --- /dev/null +++ b/plugins/hide_blockquote/localization/sk_SK.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Skryť'; +$labels['show'] = 'Zobraziť'; +$labels['quotelimit'] = 'Skryť citovaný text, ak je počet riadkov väčší než'; +?> diff --git a/plugins/hide_blockquote/localization/sl_SI.inc b/plugins/hide_blockquote/localization/sl_SI.inc new file mode 100644 index 000000000..1728f40e7 --- /dev/null +++ b/plugins/hide_blockquote/localization/sl_SI.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Skrij'; +$labels['show'] = 'Prikaži'; +$labels['quotelimit'] = 'Skrij citiran tekst, ko je število vrstic večje od'; +?> diff --git a/plugins/hide_blockquote/localization/sq_AL.inc b/plugins/hide_blockquote/localization/sq_AL.inc new file mode 100644 index 000000000..253fcd09d --- /dev/null +++ b/plugins/hide_blockquote/localization/sq_AL.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Fsheh'; +$labels['show'] = 'Shfaq'; +?> diff --git a/plugins/hide_blockquote/localization/sr_CS.inc b/plugins/hide_blockquote/localization/sr_CS.inc new file mode 100644 index 000000000..c96c4322d --- /dev/null +++ b/plugins/hide_blockquote/localization/sr_CS.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Сакриј'; +$labels['show'] = 'Прикажи'; +$labels['quotelimit'] = 'Сакриј цитат када је број редова већи од'; +?> diff --git a/plugins/hide_blockquote/localization/sv_SE.inc b/plugins/hide_blockquote/localization/sv_SE.inc new file mode 100644 index 000000000..9d021d923 --- /dev/null +++ b/plugins/hide_blockquote/localization/sv_SE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Dölj'; +$labels['show'] = 'Visa'; +$labels['quotelimit'] = 'Dölj citat när antalet rader överstiger'; +?> diff --git a/plugins/hide_blockquote/localization/tr_TR.inc b/plugins/hide_blockquote/localization/tr_TR.inc new file mode 100644 index 000000000..b9ac529cf --- /dev/null +++ b/plugins/hide_blockquote/localization/tr_TR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Gizle'; +$labels['show'] = 'Göster'; +$labels['quotelimit'] = 'Satır sayısı şu satır sayısından fazla ise alıntıları gizle:'; +?> diff --git a/plugins/hide_blockquote/localization/uk_UA.inc b/plugins/hide_blockquote/localization/uk_UA.inc new file mode 100644 index 000000000..a8dd54144 --- /dev/null +++ b/plugins/hide_blockquote/localization/uk_UA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Приховати'; +$labels['show'] = 'Показати'; +?> diff --git a/plugins/hide_blockquote/localization/vi_VN.inc b/plugins/hide_blockquote/localization/vi_VN.inc new file mode 100644 index 000000000..a0235117d --- /dev/null +++ b/plugins/hide_blockquote/localization/vi_VN.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = 'Ẩn'; +$labels['show'] = 'Hiển thị'; +$labels['quotelimit'] = 'Ẩn trích dẫn khi tổng số dòng lớn hơn'; +?> diff --git a/plugins/hide_blockquote/localization/zh_CN.inc b/plugins/hide_blockquote/localization/zh_CN.inc new file mode 100644 index 000000000..6701f2d7c --- /dev/null +++ b/plugins/hide_blockquote/localization/zh_CN.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = '隐藏'; +$labels['show'] = '显示'; +$labels['quotelimit'] = '隐藏引用当行数大于'; +?> diff --git a/plugins/hide_blockquote/localization/zh_TW.inc b/plugins/hide_blockquote/localization/zh_TW.inc new file mode 100644 index 000000000..0fcca729a --- /dev/null +++ b/plugins/hide_blockquote/localization/zh_TW.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/hide_blockquote/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Hide-Blockquote 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-hide_blockquote/ +*/ +$labels['hide'] = '隱藏'; +$labels['show'] = '顯示'; +$labels['quotelimit'] = '隱藏引文當行數大於'; +?> diff --git a/plugins/hide_blockquote/skins/larry/style.css b/plugins/hide_blockquote/skins/larry/style.css new file mode 100644 index 000000000..198172f92 --- /dev/null +++ b/plugins/hide_blockquote/skins/larry/style.css @@ -0,0 +1,31 @@ +span.blockquote-link { + font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; + top: 0; + cursor: pointer; + right: 5px; + height: 14px; + min-width: 40px; + padding: 0 8px; + font-size: 10px; + font-weight: bold; + color: #a8a8a8; + line-height: 14px; + text-decoration: none; + text-shadow: 0px 1px 1px #fff; + text-align: center; + border: 1px solid #e8e8e8; + border-top: none; + border-bottom-right-radius: 6px; + border-bottom-left-radius: 6px; + background: #f8f8f8; + background: -moz-linear-gradient(top, #f8f8f8 0%, #e8e8e8 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#e8e8e8)); + background: -o-linear-gradient(top, #f8f8f8 0%, #e8e8e8 100%); + background: -ms-linear-gradient(top, #f8f8f8 0%, #e8e8e8 100%); + background: linear-gradient(top, #f8f8f8 0%, #e8e8e8 100%); +} + +blockquote.blockquote-header { + text-overflow: ellipsis !important; + padding-right: 60px !important; +}
\ No newline at end of file diff --git a/plugins/hide_blockquote/tests/HideBlockquote.php b/plugins/hide_blockquote/tests/HideBlockquote.php new file mode 100644 index 000000000..90e209459 --- /dev/null +++ b/plugins/hide_blockquote/tests/HideBlockquote.php @@ -0,0 +1,23 @@ +<?php + +class HideBlockquote_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../hide_blockquote.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new hide_blockquote($rcube->api); + + $this->assertInstanceOf('hide_blockquote', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/http_authentication/composer.json b/plugins/http_authentication/composer.json new file mode 100644 index 000000000..ab01435d4 --- /dev/null +++ b/plugins/http_authentication/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/http_authentication", + "type": "roundcube-plugin", + "description": "HTTP Basic Authentication", + "license": "GPLv3+", + "version": "1.5", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/http_authentication/config.inc.php.dist b/plugins/http_authentication/config.inc.php.dist new file mode 100644 index 000000000..0940dee1f --- /dev/null +++ b/plugins/http_authentication/config.inc.php.dist @@ -0,0 +1,9 @@ +<?php + +// HTTP Basic Authentication Plugin options +// ---------------------------------------- +// Default mail host to log-in using user/password from HTTP Authentication. +// This is useful if the users are free to choose arbitrary mail hosts (or +// from a list), but have one host they usually want to log into. +// Unlike $config['default_host'] this must be a string! +$config['http_authentication_host'] = ''; diff --git a/plugins/http_authentication/http_authentication.php b/plugins/http_authentication/http_authentication.php new file mode 100644 index 000000000..39d70153a --- /dev/null +++ b/plugins/http_authentication/http_authentication.php @@ -0,0 +1,107 @@ +<?php + +/** + * HTTP Basic Authentication + * + * Make use of an existing HTTP authentication and perform login with the existing user credentials + * + * Configuration: + * // redirect the client to this URL after logout. This page is then responsible to clear HTTP auth + * $config['logout_url'] = 'http://server.tld/logout.html'; + * + * See logout.html (in this directory) for an example how HTTP auth can be cleared. + * + * For other configuration options, see config.inc.php.dist! + * + * @version @package_version@ + * @license GNU GPLv3+ + * @author Thomas Bruederli + */ +class http_authentication extends rcube_plugin +{ + private $redirect_query; + + function init() + { + $this->add_hook('startup', array($this, 'startup')); + $this->add_hook('authenticate', array($this, 'authenticate')); + $this->add_hook('logout_after', array($this, 'logout')); + $this->add_hook('login_after', array($this, 'login')); + } + + function startup($args) + { + if (!empty($_SERVER['PHP_AUTH_USER'])) { + $rcmail = rcmail::get_instance(); + $rcmail->add_shutdown_function(array('http_authentication', 'shutdown')); + + // handle login action + if (empty($_SESSION['user_id'])) { + $args['action'] = 'login'; + $this->redirect_query = $_SERVER['QUERY_STRING']; + } + // Set user password in session (see shutdown() method for more info) + else if (!empty($_SESSION['user_id']) && empty($_SESSION['password']) + && !empty($_SERVER['PHP_AUTH_PW'])) { + $_SESSION['password'] = $rcmail->encrypt($_SERVER['PHP_AUTH_PW']); + } + } + + return $args; + } + + function authenticate($args) + { + // Load plugin's config file + $this->load_config(); + + $host = rcmail::get_instance()->config->get('http_authentication_host'); + if (is_string($host) && trim($host) !== '' && empty($args['host'])) + $args['host'] = rcube_utils::idn_to_ascii(rcube_utils::parse_host($host)); + + // Allow entering other user data in login form, + // e.g. after log out (#1487953) + if (!empty($args['user'])) { + return $args; + } + + if (!empty($_SERVER['PHP_AUTH_USER'])) { + $args['user'] = $_SERVER['PHP_AUTH_USER']; + if (!empty($_SERVER['PHP_AUTH_PW'])) + $args['pass'] = $_SERVER['PHP_AUTH_PW']; + } + + $args['cookiecheck'] = false; + $args['valid'] = true; + + return $args; + } + + function logout($args) + { + // redirect to configured URL in order to clear HTTP auth credentials + if (!empty($_SERVER['PHP_AUTH_USER']) && $args['user'] == $_SERVER['PHP_AUTH_USER']) { + if ($url = rcmail::get_instance()->config->get('logout_url')) { + header("Location: $url", true, 307); + } + } + } + + function shutdown() + { + // There's no need to store password (even if encrypted) in session + // We'll set it back on startup (#1486553) + rcmail::get_instance()->session->remove('password'); + } + + function login($args) + { + // Redirect to the previous QUERY_STRING + if($this->redirect_query){ + header('Location: ./?' . $this->redirect_query); + exit; + } + return $args; + } +} + diff --git a/plugins/http_authentication/logout.html b/plugins/http_authentication/logout.html new file mode 100644 index 000000000..0a78a62f2 --- /dev/null +++ b/plugins/http_authentication/logout.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<title>Logout</title> +<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script> +<script type="text/javascript"> + +// as seen on http://stackoverflow.com/questions/31326/is-there-a-browser-equivalent-to-ies-clearauthenticationcache +$(document).ready(function(){ + if (document.all && document.execCommand) { + document.execCommand("ClearAuthenticationCache", "false"); + } + else { + $.ajax({ + url: location.href, + type: 'POST', + username: '__LOGOUT__', + password: '***********' + }); + } +}); + +</script> +</head> +<body> +<h1>You've successully been logged out!</h1> + +</body>
\ No newline at end of file diff --git a/plugins/http_authentication/tests/HttpAuthentication.php b/plugins/http_authentication/tests/HttpAuthentication.php new file mode 100644 index 000000000..5de968d87 --- /dev/null +++ b/plugins/http_authentication/tests/HttpAuthentication.php @@ -0,0 +1,23 @@ +<?php + +class HttpAuthentication_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../http_authentication.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new http_authentication($rcube->api); + + $this->assertInstanceOf('http_authentication', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/identity_select/composer.json b/plugins/identity_select/composer.json new file mode 100644 index 000000000..c31239360 --- /dev/null +++ b/plugins/identity_select/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/identity_select", + "type": "roundcube-plugin", + "description": "On reply to a message user identity selection is based on\n\t\tcontent of standard headers like From, To, Cc and Return-Path.\n\t\tHere you can add header(s) set by your SMTP server (e.g.\n\t\tDelivered-To, Envelope-To, X-Envelope-To, X-RCPT-TO) to make\n\t\tidentity selection more accurate.", + "license": "GPLv3+", + "version": "1.0", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/identity_select/identity_select.php b/plugins/identity_select/identity_select.php new file mode 100644 index 000000000..7973b5dad --- /dev/null +++ b/plugins/identity_select/identity_select.php @@ -0,0 +1,68 @@ +<?php + +/** + * Identity selection based on additional message headers. + * + * On reply to a message user identity selection is based on + * content of standard headers i.e. From, To, Cc and Return-Path. + * Here you can add header(s) set by your SMTP server (e.g. + * Delivered-To, Envelope-To, X-Envelope-To, X-RCPT-TO) to make + * identity selection more accurate. + * + * Enable the plugin in config.inc.php and add your desired headers: + * $config['identity_select_headers'] = array('Delivered-To'); + * + * @version @package_version@ + * @author Aleksander Machniak <alec@alec.pl> + * @license GNU GPLv3+ + */ +class identity_select extends rcube_plugin +{ + public $task = 'mail'; + + + function init() + { + $this->add_hook('identity_select', array($this, 'select')); + $this->add_hook('storage_init', array($this, 'storage_init')); + } + + /** + * Adds additional headers to supported headers list + */ + function storage_init($p) + { + $rcmail = rcmail::get_instance(); + + if ($add_headers = (array)$rcmail->config->get('identity_select_headers', array())) { + $p['fetch_headers'] = trim($p['fetch_headers'] . ' ' . strtoupper(join(' ', $add_headers))); + } + + return $p; + } + + /** + * Identity selection + */ + function select($p) + { + if ($p['selected'] !== null || !is_object($p['message']->headers)) { + return $p; + } + + $rcmail = rcmail::get_instance(); + + foreach ((array)$rcmail->config->get('identity_select_headers', array()) as $header) { + if ($header = $p['message']->headers->get($header, false)) { + foreach ($p['identities'] as $idx => $ident) { + if (in_array($ident['email_ascii'], (array)$header)) { + $p['selected'] = $idx; + break 2; + } + } + } + } + + return $p; + } +} diff --git a/plugins/identity_select/tests/IdentitySelect.php b/plugins/identity_select/tests/IdentitySelect.php new file mode 100644 index 000000000..461e79d85 --- /dev/null +++ b/plugins/identity_select/tests/IdentitySelect.php @@ -0,0 +1,22 @@ +<?php + +class IdentitySelect_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../identity_select.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new identity_select($rcube->api); + + $this->assertInstanceOf('identity_select', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} diff --git a/plugins/jqueryui/README b/plugins/jqueryui/README new file mode 100644 index 000000000..dfe857cf6 --- /dev/null +++ b/plugins/jqueryui/README @@ -0,0 +1,31 @@ ++-------------------------------------------------------------------------+ +| +| Author: Cor Bosman (roundcube@wa.ter.net) +| Plugin: jqueryui +| Version: 1.9.2 +| Purpose: Add jquery-ui to roundcube for every plugin to use +| ++-------------------------------------------------------------------------+ + +jqueryui adds the complete jquery-ui library including the smoothness +theme to roundcube. This allows other plugins to use jquery-ui without +having to load their own version. The benefit of using 1 central jquery-ui +is that we wont run into problems of conflicting jquery libraries being +loaded. All plugins that want to use jquery-ui should use this plugin as +a requirement. + +It is possible for plugin authors to override the default smoothness theme. +To do this, go to the jquery-ui website, and use the download feature to +download your own theme. In the advanced settings, provide a scope class to +your theme and add that class to all your UI elements. Finally, load the +downloaded css files in your own plugin. + +Some jquery-ui modules provide localization. One example is the datepicker module. +If you want to load localization for a specific module, then set up config.inc.php. +Check the config.inc.php.dist file on how to set this up for the datepicker module. + +As of version 1.8.6 this plugin also supports other themes. If you're a theme +developer and would like a different default theme to be used for your RC theme +then let me know and we can set things up. + +This also provides some common UI modules e.g. miniColors extension. diff --git a/plugins/jqueryui/composer.json b/plugins/jqueryui/composer.json new file mode 100644 index 000000000..13ed9a16f --- /dev/null +++ b/plugins/jqueryui/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/jqueryui", + "type": "roundcube-plugin", + "description": "Plugin adds the complete jQuery-UI library including the smoothness theme to Roundcube. This allows other plugins to use jQuery-UI without having to load their own version. The benefit of using one central jQuery-UI is that we wont run into problems of conflicting jQuery libraries being loaded. All plugins that want to use jQuery-UI should use this plugin as a requirement.", + "license": "GPLv3+", + "version": "1.10.4", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/jqueryui/config.inc.php.dist b/plugins/jqueryui/config.inc.php.dist new file mode 100644 index 000000000..8e111e0e1 --- /dev/null +++ b/plugins/jqueryui/config.inc.php.dist @@ -0,0 +1,13 @@ +<?php + +// if you want to load localization strings for specific sub-libraries of jquery-ui, configure them here +$config['jquery_ui_i18n'] = array('datepicker'); + +// map Roundcube skins with jquery-ui themes here +$config['jquery_ui_skin_map'] = array( + 'larry' => 'larry', + 'default' => 'larry', + 'groupvice4' => 'redmond', +); + +?> diff --git a/plugins/jqueryui/jqueryui.php b/plugins/jqueryui/jqueryui.php new file mode 100644 index 000000000..7853d0993 --- /dev/null +++ b/plugins/jqueryui/jqueryui.php @@ -0,0 +1,164 @@ +<?php + +/** + * jQuery UI + * + * Provide the jQuery UI library with according themes. + * + * @version 1.10.4 + * @author Cor Bosman <roundcube@wa.ter.net> + * @author Thomas Bruederli <roundcube@gmail.com> + * @license GNU GPLv3+ + */ +class jqueryui extends rcube_plugin +{ + public $noajax = true; + public $version = '1.10.4'; + + private static $features = array(); + private static $ui_theme; + + public function init() + { + $rcmail = rcmail::get_instance(); + + // the plugin might have been force-loaded so do some sanity check first + if ($rcmail->output->type != 'html' || self::$ui_theme) { + return; + } + + $this->load_config(); + + // include UI scripts + $this->include_script("js/jquery-ui-$this->version.custom.min.js"); + + // include UI stylesheet + $skin = $rcmail->config->get('skin'); + $ui_map = $rcmail->config->get('jquery_ui_skin_map', array()); + $ui_theme = $ui_map[$skin] ?: $skin; + + self::$ui_theme = $ui_theme; + + if (file_exists($this->home . "/themes/$ui_theme/jquery-ui-$this->version.custom.css")) { + $this->include_stylesheet("themes/$ui_theme/jquery-ui-$this->version.custom.css"); + } + else { + $this->include_stylesheet("themes/larry/jquery-ui-$this->version.custom.css"); + } + + if ($ui_theme == 'larry') { + // patch dialog position function in order to fully fit the close button into the window + $rcmail->output->add_script("jQuery.extend(jQuery.ui.dialog.prototype.options.position, { + using: function(pos) { + var me = jQuery(this), + offset = me.css(pos).offset(), + topOffset = offset.top - 12; + if (topOffset < 0) + me.css('top', pos.top - topOffset); + if (offset.left + me.outerWidth() + 12 > jQuery(window).width()) + me.css('left', pos.left - 12); + } + });", 'foot'); + } + + // jquery UI localization + $jquery_ui_i18n = $rcmail->config->get('jquery_ui_i18n', array('datepicker')); + if (count($jquery_ui_i18n) > 0) { + $lang_l = str_replace('_', '-', substr($_SESSION['language'], 0, 5)); + $lang_s = substr($_SESSION['language'], 0, 2); + + foreach ($jquery_ui_i18n as $package) { + if (file_exists($this->home . "/js/i18n/jquery.ui.$package-$lang_l.js")) { + $this->include_script("js/i18n/jquery.ui.$package-$lang_l.js"); + } + else + if (file_exists($this->home . "/js/i18n/jquery.ui.$package-$lang_s.js")) { + $this->include_script("js/i18n/jquery.ui.$package-$lang_s.js"); + } + } + } + + // Date format for datepicker + $date_format = $rcmail->config->get('date_format', 'Y-m-d'); + $date_format = strtr($date_format, array( + 'y' => 'y', + 'Y' => 'yy', + 'm' => 'mm', + 'n' => 'm', + 'd' => 'dd', + 'j' => 'd', + )); + $rcmail->output->set_env('date_format', $date_format); + } + + public static function miniColors() + { + if (in_array('miniColors', self::$features)) { + return; + } + + self::$features[] = 'miniColors'; + + $ui_theme = self::$ui_theme; + $rcube = rcube::get_instance(); + $script = 'plugins/jqueryui/js/jquery.miniColors.min.js'; + $css = "plugins/jqueryui/themes/$ui_theme/jquery.miniColors.css"; + + if (!file_exists(INSTALL_PATH . $css)) { + $css = "plugins/jqueryui/themes/larry/jquery.miniColors.css"; + } + + $rcube->output->include_css($css); + $rcube->output->add_header(html::tag('script', array('type' => "text/javascript", 'src' => $script))); + $rcube->output->add_script('$("input.colors").miniColors({colorValues: rcmail.env.mscolors})', 'docready'); + $rcube->output->set_env('mscolors', self::get_color_values()); + } + + public static function tagedit() + { + if (in_array('tagedit', self::$features)) { + return; + } + + self::$features[] = 'tagedit'; + + $script = 'plugins/jqueryui/js/jquery.tagedit.js'; + $rcube = rcube::get_instance(); + $ui_theme = self::$ui_theme; + $css = "plugins/jqueryui/themes/$ui_theme/tagedit.css"; + + if (!file_exists(INSTALL_PATH . $css)) { + $css = "plugins/jqueryui/themes/larry/tagedit.css"; + } + + $rcube->output->include_css($css); + $rcube->output->add_header(html::tag('script', array('type' => "text/javascript", 'src' => $script))); + } + + /** + * Return a (limited) list of color values to be used for calendar and category coloring + * + * @return mixed List for colors as hex values or false if no presets should be shown + */ + public static function get_color_values() + { + // selection from http://msdn.microsoft.com/en-us/library/aa358802%28v=VS.85%29.aspx + return array('000000','006400','2F4F4F','800000','808000','008000', + '008080','000080','800080','4B0082','191970','8B0000','008B8B', + '00008B','8B008B','556B2F','8B4513','228B22','6B8E23','2E8B57', + 'B8860B','483D8B','A0522D','0000CD','A52A2A','00CED1','696969', + '20B2AA','9400D3','B22222','C71585','3CB371','D2691E','DC143C', + 'DAA520','00FA9A','4682B4','7CFC00','9932CC','FF0000','FF4500', + 'FF8C00','FFA500','FFD700','FFFF00','9ACD32','32CD32','00FF00', + '00FF7F','00FFFF','5F9EA0','00BFFF','0000FF','FF00FF','808080', + '708090','CD853F','8A2BE2','778899','FF1493','48D1CC','1E90FF', + '40E0D0','4169E1','6A5ACD','BDB76B','BA55D3','CD5C5C','ADFF2F', + '66CDAA','FF6347','8FBC8B','DA70D6','BC8F8F','9370DB','DB7093', + 'FF7F50','6495ED','A9A9A9','F4A460','7B68EE','D2B48C','E9967A', + 'DEB887','FF69B4','FA8072','F08080','EE82EE','87CEEB','FFA07A', + 'F0E68C','DDA0DD','90EE90','7FFFD4','C0C0C0','87CEFA','B0C4DE', + '98FB98','ADD8E6','B0E0E6','D8BFD8','EEE8AA','AFEEEE','D3D3D3', + 'FFDEAD' + ); + } +} diff --git a/plugins/jqueryui/js/i18n/jquery-ui-i18n.js b/plugins/jqueryui/js/i18n/jquery-ui-i18n.js new file mode 100644 index 000000000..451d5fe8a --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery-ui-i18n.js @@ -0,0 +1,1677 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/*! jQuery UI - v1.9.1 - 2012-10-25 +* http://jqueryui.com +* Includes: jquery.ui.datepicker-af.js, jquery.ui.datepicker-ar-DZ.js, jquery.ui.datepicker-ar.js, jquery.ui.datepicker-az.js, jquery.ui.datepicker-bg.js, jquery.ui.datepicker-bs.js, jquery.ui.datepicker-ca.js, jquery.ui.datepicker-cs.js, jquery.ui.datepicker-cy-GB.js, jquery.ui.datepicker-da.js, jquery.ui.datepicker-de.js, jquery.ui.datepicker-el.js, jquery.ui.datepicker-en-AU.js, jquery.ui.datepicker-en-GB.js, jquery.ui.datepicker-en-NZ.js, jquery.ui.datepicker-eo.js, jquery.ui.datepicker-es.js, jquery.ui.datepicker-et.js, jquery.ui.datepicker-eu.js, jquery.ui.datepicker-fa.js, jquery.ui.datepicker-fi.js, jquery.ui.datepicker-fo.js, jquery.ui.datepicker-fr-CH.js, jquery.ui.datepicker-fr.js, jquery.ui.datepicker-gl.js, jquery.ui.datepicker-he.js, jquery.ui.datepicker-hi.js, jquery.ui.datepicker-hr.js, jquery.ui.datepicker-hu.js, jquery.ui.datepicker-hy.js, jquery.ui.datepicker-id.js, jquery.ui.datepicker-is.js, jquery.ui.datepicker-it.js, jquery.ui.datepicker-ja.js, jquery.ui.datepicker-ka.js, jquery.ui.datepicker-kk.js, jquery.ui.datepicker-km.js, jquery.ui.datepicker-ko.js, jquery.ui.datepicker-lb.js, jquery.ui.datepicker-lt.js, jquery.ui.datepicker-lv.js, jquery.ui.datepicker-mk.js, jquery.ui.datepicker-ml.js, jquery.ui.datepicker-ms.js, jquery.ui.datepicker-nl-BE.js, jquery.ui.datepicker-nl.js, jquery.ui.datepicker-no.js, jquery.ui.datepicker-pl.js, jquery.ui.datepicker-pt-BR.js, jquery.ui.datepicker-pt.js, jquery.ui.datepicker-rm.js, jquery.ui.datepicker-ro.js, jquery.ui.datepicker-ru.js, jquery.ui.datepicker-sk.js, jquery.ui.datepicker-sl.js, jquery.ui.datepicker-sq.js, jquery.ui.datepicker-sr-SR.js, jquery.ui.datepicker-sr.js, jquery.ui.datepicker-sv.js, jquery.ui.datepicker-ta.js, jquery.ui.datepicker-th.js, jquery.ui.datepicker-tj.js, jquery.ui.datepicker-tr.js, jquery.ui.datepicker-uk.js, jquery.ui.datepicker-vi.js, jquery.ui.datepicker-zh-CN.js, jquery.ui.datepicker-zh-HK.js, jquery.ui.datepicker-zh-TW.js +* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ + +/* Afrikaans initialisation for the jQuery UI date picker plugin. */ +/* Written by Renier Pretorius. */ +jQuery(function($){ + $.datepicker.regional['af'] = { + closeText: 'Selekteer', + prevText: 'Vorige', + nextText: 'Volgende', + currentText: 'Vandag', + monthNames: ['Januarie','Februarie','Maart','April','Mei','Junie', + 'Julie','Augustus','September','Oktober','November','Desember'], + monthNamesShort: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun', + 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'], + dayNames: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'], + dayNamesShort: ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'], + dayNamesMin: ['So','Ma','Di','Wo','Do','Vr','Sa'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['af']); +}); + +/* Algerian Arabic Translation for jQuery UI date picker plugin. (can be used for Tunisia)*/ +/* Mohamed Cherif BOUCHELAGHEM -- cherifbouchelaghem@yahoo.fr */ + +jQuery(function($){ + $.datepicker.regional['ar-DZ'] = { + closeText: 'إغلاق', + prevText: '<السابق', + nextText: 'التالي>', + currentText: 'اليوم', + monthNames: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', + 'جويلية', 'أوت', 'سبتمبر','أكتوبر', 'نوفمبر', 'ديسمبر'], + monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + weekHeader: 'أسبوع', + dateFormat: 'dd/mm/yy', + firstDay: 6, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ar-DZ']); +}); + +/* Arabic Translation for jQuery UI date picker plugin. */ +/* Khaled Alhourani -- me@khaledalhourani.com */ +/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ +jQuery(function($){ + $.datepicker.regional['ar'] = { + closeText: 'إغلاق', + prevText: '<السابق', + nextText: 'التالي>', + currentText: 'اليوم', + monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران', + 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], + monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + weekHeader: 'أسبوع', + dateFormat: 'dd/mm/yy', + firstDay: 6, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ar']); +}); + +/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Jamil Najafov (necefov33@gmail.com). */ +jQuery(function($) { + $.datepicker.regional['az'] = { + closeText: 'Bağla', + prevText: '<Geri', + nextText: 'İrəli>', + currentText: 'Bugün', + monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun', + 'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'], + monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun', + 'İyul','Avq','Sen','Okt','Noy','Dek'], + dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'], + dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'], + dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'], + weekHeader: 'Hf', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['az']); +}); + +/* Bulgarian initialisation for the jQuery UI date picker plugin. */ +/* Written by Stoyan Kyosev (http://svest.org). */ +jQuery(function($){ + $.datepicker.regional['bg'] = { + closeText: 'затвори', + prevText: '<назад', + nextText: 'напред>', + nextBigText: '>>', + currentText: 'днес', + monthNames: ['Януари','Февруари','Март','Април','Май','Юни', + 'Юли','Август','Септември','Октомври','Ноември','Декември'], + monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни', + 'Юли','Авг','Сеп','Окт','Нов','Дек'], + dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'], + dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'], + dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'], + weekHeader: 'Wk', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['bg']); +}); + +/* Bosnian i18n for the jQuery UI date picker plugin. */ +/* Written by Kenan Konjo. */ +jQuery(function($){ + $.datepicker.regional['bs'] = { + closeText: 'Zatvori', + prevText: '<', + nextText: '>', + currentText: 'Danas', + monthNames: ['Januar','Februar','Mart','April','Maj','Juni', + 'Juli','August','Septembar','Oktobar','Novembar','Decembar'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dec'], + dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], + dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], + dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], + weekHeader: 'Wk', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['bs']); +}); + +/* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */ +/* Writers: (joan.leon@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['ca'] = { + closeText: 'Tanca', + prevText: 'Anterior', + nextText: 'Següent', + currentText: 'Avui', + monthNames: ['gener','febrer','març','abril','maig','juny', + 'juliol','agost','setembre','octubre','novembre','desembre'], + monthNamesShort: ['gen','feb','març','abr','maig','juny', + 'jul','ag','set','oct','nov','des'], + dayNames: ['diumenge','dilluns','dimarts','dimecres','dijous','divendres','dissabte'], + dayNamesShort: ['dg','dl','dt','dc','dj','dv','ds'], + dayNamesMin: ['dg','dl','dt','dc','dj','dv','ds'], + weekHeader: 'Set', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ca']); +}); + +/* Czech initialisation for the jQuery UI date picker plugin. */ +/* Written by Tomas Muller (tomas@tomas-muller.net). */ +jQuery(function($){ + $.datepicker.regional['cs'] = { + closeText: 'Zavřít', + prevText: '<Dříve', + nextText: 'Později>', + currentText: 'Nyní', + monthNames: ['leden','únor','březen','duben','květen','červen', + 'červenec','srpen','září','říjen','listopad','prosinec'], + monthNamesShort: ['led','úno','bře','dub','kvě','čer', + 'čvc','srp','zář','říj','lis','pro'], + dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], + dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], + dayNamesMin: ['ne','po','út','st','čt','pá','so'], + weekHeader: 'Týd', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['cs']); +}); + +/* Welsh/UK initialisation for the jQuery UI date picker plugin. */ +/* Written by William Griffiths. */ +jQuery(function($){ + $.datepicker.regional['cy-GB'] = { + closeText: 'Done', + prevText: 'Prev', + nextText: 'Next', + currentText: 'Today', + monthNames: ['Ionawr','Chwefror','Mawrth','Ebrill','Mai','Mehefin', + 'Gorffennaf','Awst','Medi','Hydref','Tachwedd','Rhagfyr'], + monthNamesShort: ['Ion', 'Chw', 'Maw', 'Ebr', 'Mai', 'Meh', + 'Gor', 'Aws', 'Med', 'Hyd', 'Tac', 'Rha'], + dayNames: ['Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', 'Dydd Sadwrn'], + dayNamesShort: ['Sul', 'Llu', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'], + dayNamesMin: ['Su','Ll','Ma','Me','Ia','Gw','Sa'], + weekHeader: 'Wy', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['cy-GB']); +}); + +/* Danish initialisation for the jQuery UI date picker plugin. */ +/* Written by Jan Christensen ( deletestuff@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['da'] = { + closeText: 'Luk', + prevText: '<Forrige', + nextText: 'Næste>', + currentText: 'Idag', + monthNames: ['Januar','Februar','Marts','April','Maj','Juni', + 'Juli','August','September','Oktober','November','December'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dec'], + dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], + dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], + dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], + weekHeader: 'Uge', + dateFormat: 'dd-mm-yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['da']); +}); + +/* German initialisation for the jQuery UI date picker plugin. */ +/* Written by Milian Wolff (mail@milianw.de). */ +jQuery(function($){ + $.datepicker.regional['de'] = { + closeText: 'schließen', + prevText: '<zurück', + nextText: 'Vor>', + currentText: 'heute', + monthNames: ['Januar','Februar','März','April','Mai','Juni', + 'Juli','August','September','Oktober','November','Dezember'], + monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dez'], + dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], + dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], + dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], + weekHeader: 'KW', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['de']); +}); + +/* Greek (el) initialisation for the jQuery UI date picker plugin. */ +/* Written by Alex Cicovic (http://www.alexcicovic.com) */ +jQuery(function($){ + $.datepicker.regional['el'] = { + closeText: 'Κλείσιμο', + prevText: 'Προηγούμενος', + nextText: 'Επόμενος', + currentText: 'Τρέχων Μήνας', + monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος', + 'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'], + monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν', + 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'], + dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'], + dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'], + dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'], + weekHeader: 'Εβδ', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['el']); +}); + +/* English/Australia initialisation for the jQuery UI date picker plugin. */ +/* Based on the en-GB initialisation. */ +jQuery(function($){ + $.datepicker.regional['en-AU'] = { + closeText: 'Done', + prevText: 'Prev', + nextText: 'Next', + currentText: 'Today', + monthNames: ['January','February','March','April','May','June', + 'July','August','September','October','November','December'], + monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', + 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['en-AU']); +}); + +/* English/UK initialisation for the jQuery UI date picker plugin. */ +/* Written by Stuart. */ +jQuery(function($){ + $.datepicker.regional['en-GB'] = { + closeText: 'Done', + prevText: 'Prev', + nextText: 'Next', + currentText: 'Today', + monthNames: ['January','February','March','April','May','June', + 'July','August','September','October','November','December'], + monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', + 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['en-GB']); +}); + +/* English/New Zealand initialisation for the jQuery UI date picker plugin. */ +/* Based on the en-GB initialisation. */ +jQuery(function($){ + $.datepicker.regional['en-NZ'] = { + closeText: 'Done', + prevText: 'Prev', + nextText: 'Next', + currentText: 'Today', + monthNames: ['January','February','March','April','May','June', + 'July','August','September','October','November','December'], + monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', + 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['en-NZ']); +}); + +/* Esperanto initialisation for the jQuery UI date picker plugin. */ +/* Written by Olivier M. (olivierweb@ifrance.com). */ +jQuery(function($){ + $.datepicker.regional['eo'] = { + closeText: 'Fermi', + prevText: '<Anta', + nextText: 'Sekv>', + currentText: 'Nuna', + monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio', + 'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Aŭg','Sep','Okt','Nov','Dec'], + dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'], + dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'], + dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'], + weekHeader: 'Sb', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['eo']); +}); + +/* Inicialización en español para la extensión 'UI date picker' para jQuery. */ +/* Traducido por Vester (xvester@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['es'] = { + closeText: 'Cerrar', + prevText: '<Ant', + nextText: 'Sig>', + currentText: 'Hoy', + monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio', + 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'], + monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun', + 'Jul','Ago','Sep','Oct','Nov','Dic'], + dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'], + dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], + dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], + weekHeader: 'Sm', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['es']); +}); + +/* Estonian initialisation for the jQuery UI date picker plugin. */ +/* Written by Mart Sõmermaa (mrts.pydev at gmail com). */ +jQuery(function($){ + $.datepicker.regional['et'] = { + closeText: 'Sulge', + prevText: 'Eelnev', + nextText: 'Järgnev', + currentText: 'Täna', + monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni', + 'Juuli','August','September','Oktoober','November','Detsember'], + monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni', + 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'], + dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'], + dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'], + dayNamesMin: ['P','E','T','K','N','R','L'], + weekHeader: 'näd', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['et']); +}); + +/* Euskarako oinarria 'UI date picker' jquery-ko extentsioarentzat */ +/* Karrikas-ek itzulia (karrikas@karrikas.com) */ +jQuery(function($){ + $.datepicker.regional['eu'] = { + closeText: 'Egina', + prevText: '<Aur', + nextText: 'Hur>', + currentText: 'Gaur', + monthNames: ['urtarrila','otsaila','martxoa','apirila','maiatza','ekaina', + 'uztaila','abuztua','iraila','urria','azaroa','abendua'], + monthNamesShort: ['urt.','ots.','mar.','api.','mai.','eka.', + 'uzt.','abu.','ira.','urr.','aza.','abe.'], + dayNames: ['igandea','astelehena','asteartea','asteazkena','osteguna','ostirala','larunbata'], + dayNamesShort: ['ig.','al.','ar.','az.','og.','ol.','lr.'], + dayNamesMin: ['ig','al','ar','az','og','ol','lr'], + weekHeader: 'As', + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['eu']); +}); + +/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ +/* Javad Mowlanezhad -- jmowla@gmail.com */ +/* Jalali calendar should supported soon! (Its implemented but I have to test it) */ +jQuery(function($) { + $.datepicker.regional['fa'] = { + closeText: 'بستن', + prevText: '<قبلی', + nextText: 'بعدی>', + currentText: 'امروز', + monthNames: [ + 'فروردين', + 'ارديبهشت', + 'خرداد', + 'تير', + 'مرداد', + 'شهريور', + 'مهر', + 'آبان', + 'آذر', + 'دی', + 'بهمن', + 'اسفند' + ], + monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], + dayNames: [ + 'يکشنبه', + 'دوشنبه', + 'سهشنبه', + 'چهارشنبه', + 'پنجشنبه', + 'جمعه', + 'شنبه' + ], + dayNamesShort: [ + 'ی', + 'د', + 'س', + 'چ', + 'پ', + 'ج', + 'ش' + ], + dayNamesMin: [ + 'ی', + 'د', + 'س', + 'چ', + 'پ', + 'ج', + 'ش' + ], + weekHeader: 'هف', + dateFormat: 'yy/mm/dd', + firstDay: 6, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fa']); +}); + +/* Finnish initialisation for the jQuery UI date picker plugin. */ +/* Written by Harri Kilpiö (harrikilpio@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['fi'] = { + closeText: 'Sulje', + prevText: '«Edellinen', + nextText: 'Seuraava»', + currentText: 'Tänään', + monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu', + 'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'], + monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä', + 'Heinä','Elo','Syys','Loka','Marras','Joulu'], + dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','La'], + dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'], + dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'], + weekHeader: 'Vk', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fi']); +}); + +/* Faroese initialisation for the jQuery UI date picker plugin */ +/* Written by Sverri Mohr Olsen, sverrimo@gmail.com */ +jQuery(function($){ + $.datepicker.regional['fo'] = { + closeText: 'Lat aftur', + prevText: '<Fyrra', + nextText: 'Næsta>', + currentText: 'Í dag', + monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni', + 'Juli','August','September','Oktober','November','Desember'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', + 'Jul','Aug','Sep','Okt','Nov','Des'], + dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'], + dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'], + dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'], + weekHeader: 'Vk', + dateFormat: 'dd-mm-yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fo']); +}); + +/* Swiss-French initialisation for the jQuery UI date picker plugin. */ +/* Written Martin Voelkle (martin.voelkle@e-tc.ch). */ +jQuery(function($){ + $.datepicker.regional['fr-CH'] = { + closeText: 'Fermer', + prevText: '<Préc', + nextText: 'Suiv>', + currentText: 'Courant', + monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', + 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], + monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', + 'Jul','Aoû','Sep','Oct','Nov','Déc'], + dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], + dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], + dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], + weekHeader: 'Sm', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fr-CH']); +}); + +/* French initialisation for the jQuery UI date picker plugin. */ +/* Written by Keith Wood (kbwood{at}iinet.com.au), + Stéphane Nahmani (sholby@sholby.net), + Stéphane Raimbault <stephane.raimbault@gmail.com> */ +jQuery(function($){ + $.datepicker.regional['fr'] = { + closeText: 'Fermer', + prevText: 'Précédent', + nextText: 'Suivant', + currentText: 'Aujourd\'hui', + monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', + 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], + monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin', + 'Juil.','Août','Sept.','Oct.','Nov.','Déc.'], + dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], + dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.'], + dayNamesMin: ['D','L','M','M','J','V','S'], + weekHeader: 'Sem.', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fr']); +}); + +/* Galician localization for 'UI date picker' jQuery extension. */ +/* Translated by Jorge Barreiro <yortx.barry@gmail.com>. */ +jQuery(function($){ + $.datepicker.regional['gl'] = { + closeText: 'Pechar', + prevText: '<Ant', + nextText: 'Seg>', + currentText: 'Hoxe', + monthNames: ['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño', + 'Xullo','Agosto','Setembro','Outubro','Novembro','Decembro'], + monthNamesShort: ['Xan','Feb','Mar','Abr','Mai','Xuñ', + 'Xul','Ago','Set','Out','Nov','Dec'], + dayNames: ['Domingo','Luns','Martes','Mércores','Xoves','Venres','Sábado'], + dayNamesShort: ['Dom','Lun','Mar','Mér','Xov','Ven','Sáb'], + dayNamesMin: ['Do','Lu','Ma','Mé','Xo','Ve','Sá'], + weekHeader: 'Sm', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['gl']); +}); + +/* Hebrew initialisation for the UI Datepicker extension. */ +/* Written by Amir Hardon (ahardon at gmail dot com). */ +jQuery(function($){ + $.datepicker.regional['he'] = { + closeText: 'סגור', + prevText: '<הקודם', + nextText: 'הבא>', + currentText: 'היום', + monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', + 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], + monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני', + 'יולי','אוג','ספט','אוק','נוב','דצמ'], + dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], + dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], + dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['he']); +}); + +/* Hindi initialisation for the jQuery UI date picker plugin. */ +/* Written by Michael Dawart. */ +jQuery(function($){ + $.datepicker.regional['hi'] = { + closeText: 'बंद', + prevText: 'पिछला', + nextText: 'अगला', + currentText: 'आज', + monthNames: ['जनवरी ','फरवरी','मार्च','अप्रेल','मई','जून', + 'जूलाई','अगस्त ','सितम्बर','अक्टूबर','नवम्बर','दिसम्बर'], + monthNamesShort: ['जन', 'फर', 'मार्च', 'अप्रेल', 'मई', 'जून', + 'जूलाई', 'अग', 'सित', 'अक्ट', 'नव', 'दि'], + dayNames: ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'], + dayNamesShort: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + dayNamesMin: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + weekHeader: 'हफ्ता', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['hi']); +}); + +/* Croatian i18n for the jQuery UI date picker plugin. */ +/* Written by Vjekoslav Nesek. */ +jQuery(function($){ + $.datepicker.regional['hr'] = { + closeText: 'Zatvori', + prevText: '<', + nextText: '>', + currentText: 'Danas', + monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj', + 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'], + monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip', + 'Srp','Kol','Ruj','Lis','Stu','Pro'], + dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], + dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], + dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], + weekHeader: 'Tje', + dateFormat: 'dd.mm.yy.', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['hr']); +}); + +/* Hungarian initialisation for the jQuery UI date picker plugin. */ +/* Written by Istvan Karaszi (jquery@spam.raszi.hu). */ +jQuery(function($){ + $.datepicker.regional['hu'] = { + closeText: 'bezár', + prevText: 'vissza', + nextText: 'előre', + currentText: 'ma', + monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június', + 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'], + monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún', + 'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'], + dayNames: ['Vasárnap', 'Hétfő', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'], + dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], + dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], + weekHeader: 'Hét', + dateFormat: 'yy.mm.dd.', + firstDay: 1, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['hu']); +}); + +/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/ +jQuery(function($){ + $.datepicker.regional['hy'] = { + closeText: 'Փակել', + prevText: '<Նախ.', + nextText: 'Հաջ.>', + currentText: 'Այսօր', + monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս', + 'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'], + monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս', + 'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'], + dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'], + dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], + dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], + weekHeader: 'ՇԲՏ', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['hy']); +}); + +/* Indonesian initialisation for the jQuery UI date picker plugin. */ +/* Written by Deden Fathurahman (dedenf@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['id'] = { + closeText: 'Tutup', + prevText: '<mundur', + nextText: 'maju>', + currentText: 'hari ini', + monthNames: ['Januari','Februari','Maret','April','Mei','Juni', + 'Juli','Agustus','September','Oktober','Nopember','Desember'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', + 'Jul','Agus','Sep','Okt','Nop','Des'], + dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'], + dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], + dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], + weekHeader: 'Mg', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['id']); +}); + +/* Icelandic initialisation for the jQuery UI date picker plugin. */ +/* Written by Haukur H. Thorsson (haukur@eskill.is). */ +jQuery(function($){ + $.datepicker.regional['is'] = { + closeText: 'Loka', + prevText: '< Fyrri', + nextText: 'Næsti >', + currentText: 'Í dag', + monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní', + 'Júlí','Ágúst','September','Október','Nóvember','Desember'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún', + 'Júl','Ágú','Sep','Okt','Nóv','Des'], + dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'], + dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], + dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], + weekHeader: 'Vika', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['is']); +}); + +/* Italian initialisation for the jQuery UI date picker plugin. */ +/* Written by Antonello Pasella (antonello.pasella@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['it'] = { + closeText: 'Chiudi', + prevText: '<Prec', + nextText: 'Succ>', + currentText: 'Oggi', + monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno', + 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'], + monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu', + 'Lug','Ago','Set','Ott','Nov','Dic'], + dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'], + dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], + dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'], + weekHeader: 'Sm', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['it']); +}); + +/* Japanese initialisation for the jQuery UI date picker plugin. */ +/* Written by Kentaro SATO (kentaro@ranvis.com). */ +jQuery(function($){ + $.datepicker.regional['ja'] = { + closeText: '閉じる', + prevText: '<前', + nextText: '次>', + currentText: '今日', + monthNames: ['1月','2月','3月','4月','5月','6月', + '7月','8月','9月','10月','11月','12月'], + monthNamesShort: ['1月','2月','3月','4月','5月','6月', + '7月','8月','9月','10月','11月','12月'], + dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'], + dayNamesShort: ['日','月','火','水','木','金','土'], + dayNamesMin: ['日','月','火','水','木','金','土'], + weekHeader: '週', + dateFormat: 'yy/mm/dd', + firstDay: 0, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '年'}; + $.datepicker.setDefaults($.datepicker.regional['ja']); +}); + +/* Georgian (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Lado Lomidze (lado.lomidze@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['ka'] = { + closeText: 'დახურვა', + prevText: '< წინა', + nextText: 'შემდეგი >', + currentText: 'დღეს', + monthNames: ['იანვარი','თებერვალი','მარტი','აპრილი','მაისი','ივნისი', 'ივლისი','აგვისტო','სექტემბერი','ოქტომბერი','ნოემბერი','დეკემბერი'], + monthNamesShort: ['იან','თებ','მარ','აპრ','მაი','ივნ', 'ივლ','აგვ','სექ','ოქტ','ნოე','დეკ'], + dayNames: ['კვირა','ორშაბათი','სამშაბათი','ოთხშაბათი','ხუთშაბათი','პარასკევი','შაბათი'], + dayNamesShort: ['კვ','ორშ','სამ','ოთხ','ხუთ','პარ','შაბ'], + dayNamesMin: ['კვ','ორშ','სამ','ოთხ','ხუთ','პარ','შაბ'], + weekHeader: 'კვირა', + dateFormat: 'dd-mm-yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ka']); +}); + +/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['kk'] = { + closeText: 'Жабу', + prevText: '<Алдыңғы', + nextText: 'Келесі>', + currentText: 'Бүгін', + monthNames: ['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым', + 'Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан'], + monthNamesShort: ['Қаң','Ақп','Нау','Сәу','Мам','Мау', + 'Шіл','Там','Қыр','Қаз','Қар','Жел'], + dayNames: ['Жексенбі','Дүйсенбі','Сейсенбі','Сәрсенбі','Бейсенбі','Жұма','Сенбі'], + dayNamesShort: ['жкс','дсн','ссн','срс','бсн','жма','снб'], + dayNamesMin: ['Жк','Дс','Сс','Ср','Бс','Жм','Сн'], + weekHeader: 'Не', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['kk']); +}); + +/* Khmer initialisation for the jQuery calendar extension. */ +/* Written by Chandara Om (chandara.teacher@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['km'] = { + closeText: 'ធ្វើរួច', + prevText: 'មុន', + nextText: 'បន្ទាប់', + currentText: 'ថ្ងៃនេះ', + monthNames: ['មករា','កុម្ភៈ','មីនា','មេសា','ឧសភា','មិថុនា', + 'កក្កដា','សីហា','កញ្ញា','តុលា','វិច្ឆិកា','ធ្នូ'], + monthNamesShort: ['មករា','កុម្ភៈ','មីនា','មេសា','ឧសភា','មិថុនា', + 'កក្កដា','សីហា','កញ្ញា','តុលា','វិច្ឆិកា','ធ្នូ'], + dayNames: ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'], + dayNamesShort: ['អា', 'ច', 'អ', 'ពុ', 'ព្រហ', 'សុ', 'សៅ'], + dayNamesMin: ['អា', 'ច', 'អ', 'ពុ', 'ព្រហ', 'សុ', 'សៅ'], + weekHeader: 'សប្ដាហ៍', + dateFormat: 'dd-mm-yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['km']); +}); + +/* Korean initialisation for the jQuery calendar extension. */ +/* Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie. */ +jQuery(function($){ + $.datepicker.regional['ko'] = { + closeText: '닫기', + prevText: '이전달', + nextText: '다음달', + currentText: '오늘', + monthNames: ['1월','2월','3월','4월','5월','6월', + '7월','8월','9월','10월','11월','12월'], + monthNamesShort: ['1월','2월','3월','4월','5월','6월', + '7월','8월','9월','10월','11월','12월'], + dayNames: ['일요일','월요일','화요일','수요일','목요일','금요일','토요일'], + dayNamesShort: ['일','월','화','수','목','금','토'], + dayNamesMin: ['일','월','화','수','목','금','토'], + weekHeader: 'Wk', + dateFormat: 'yy-mm-dd', + firstDay: 0, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '년'}; + $.datepicker.setDefaults($.datepicker.regional['ko']); +}); + +/* Luxembourgish initialisation for the jQuery UI date picker plugin. */ +/* Written by Michel Weimerskirch <michel@weimerskirch.net> */ +jQuery(function($){ + $.datepicker.regional['lb'] = { + closeText: 'Fäerdeg', + prevText: 'Zréck', + nextText: 'Weider', + currentText: 'Haut', + monthNames: ['Januar','Februar','Mäerz','Abrëll','Mee','Juni', + 'Juli','August','September','Oktober','November','Dezember'], + monthNamesShort: ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', + 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + dayNames: ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'], + dayNamesShort: ['Son', 'Méi', 'Dën', 'Mët', 'Don', 'Fre', 'Sam'], + dayNamesMin: ['So','Mé','Dë','Më','Do','Fr','Sa'], + weekHeader: 'W', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['lb']); +}); + +/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* @author Arturas Paleicikas <arturas@avalon.lt> */ +jQuery(function($){ + $.datepicker.regional['lt'] = { + closeText: 'Uždaryti', + prevText: '<Atgal', + nextText: 'Pirmyn>', + currentText: 'Šiandien', + monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis', + 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'], + monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir', + 'Lie','Rugp','Rugs','Spa','Lap','Gru'], + dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'], + dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'], + dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'], + weekHeader: 'Wk', + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['lt']); +}); + +/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */ +jQuery(function($){ + $.datepicker.regional['lv'] = { + closeText: 'Aizvērt', + prevText: 'Iepr', + nextText: 'Nāka', + currentText: 'Šodien', + monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs', + 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn', + 'Jūl','Aug','Sep','Okt','Nov','Dec'], + dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'], + dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], + dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], + weekHeader: 'Nav', + dateFormat: 'dd-mm-yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['lv']); +}); + +/* Macedonian i18n for the jQuery UI date picker plugin. */ +/* Written by Stojce Slavkovski. */ +jQuery(function($){ + $.datepicker.regional['mk'] = { + closeText: 'Затвори', + prevText: '<', + nextText: '>', + currentText: 'Денес', + monthNames: ['Јануари','Февруари','Март','Април','Мај','Јуни', + 'Јули','Август','Септември','Октомври','Ноември','Декември'], + monthNamesShort: ['Јан','Фев','Мар','Апр','Мај','Јун', + 'Јул','Авг','Сеп','Окт','Ное','Дек'], + dayNames: ['Недела','Понеделник','Вторник','Среда','Четврток','Петок','Сабота'], + dayNamesShort: ['Нед','Пон','Вто','Сре','Чет','Пет','Саб'], + dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Са'], + weekHeader: 'Сед', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['mk']); +}); + +/* Malayalam (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Saji Nediyanchath (saji89@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['ml'] = { + closeText: 'ശരി', + prevText: 'മുന്നത്തെ', + nextText: 'അടുത്തത് ', + currentText: 'ഇന്ന്', + monthNames: ['ജനുവരി','ഫെബ്രുവരി','മാര്ച്ച്','ഏപ്രില്','മേയ്','ജൂണ്', + 'ജൂലൈ','ആഗസ്റ്റ്','സെപ്റ്റംബര്','ഒക്ടോബര്','നവംബര്','ഡിസംബര്'], + monthNamesShort: ['ജനു', 'ഫെബ്', 'മാര്', 'ഏപ്രി', 'മേയ്', 'ജൂണ്', + 'ജൂലാ', 'ആഗ', 'സെപ്', 'ഒക്ടോ', 'നവം', 'ഡിസ'], + dayNames: ['ഞായര്', 'തിങ്കള്', 'ചൊവ്വ', 'ബുധന്', 'വ്യാഴം', 'വെള്ളി', 'ശനി'], + dayNamesShort: ['ഞായ', 'തിങ്ക', 'ചൊവ്വ', 'ബുധ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'], + dayNamesMin: ['ഞാ','തി','ചൊ','ബു','വ്യാ','വെ','ശ'], + weekHeader: 'ആ', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ml']); +}); + +/* Malaysian initialisation for the jQuery UI date picker plugin. */ +/* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ +jQuery(function($){ + $.datepicker.regional['ms'] = { + closeText: 'Tutup', + prevText: '<Sebelum', + nextText: 'Selepas>', + currentText: 'hari ini', + monthNames: ['Januari','Februari','Mac','April','Mei','Jun', + 'Julai','Ogos','September','Oktober','November','Disember'], + monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun', + 'Jul','Ogo','Sep','Okt','Nov','Dis'], + dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'], + dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'], + dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'], + weekHeader: 'Mg', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ms']); +}); + +/* Dutch (Belgium) initialisation for the jQuery UI date picker plugin. */ +/* David De Sloovere @DavidDeSloovere */ +jQuery(function($){ + $.datepicker.regional['nl-BE'] = { + closeText: 'Sluiten', + prevText: '←', + nextText: '→', + currentText: 'Vandaag', + monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', + 'juli', 'augustus', 'september', 'oktober', 'november', 'december'], + monthNamesShort: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', + 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], + dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], + dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['nl-BE']); +}); + +/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Mathias Bynens <http://mathiasbynens.be/> */ +jQuery(function($){ + $.datepicker.regional.nl = { + closeText: 'Sluiten', + prevText: '←', + nextText: '→', + currentText: 'Vandaag', + monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', + 'juli', 'augustus', 'september', 'oktober', 'november', 'december'], + monthNamesShort: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', + 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], + dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], + dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + weekHeader: 'Wk', + dateFormat: 'dd-mm-yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional.nl); +}); + +/* Norwegian initialisation for the jQuery UI date picker plugin. */ +/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ + +jQuery(function($){ + $.datepicker.regional['no'] = { + closeText: 'Lukk', + prevText: '«Forrige', + nextText: 'Neste»', + currentText: 'I dag', + monthNames: ['januar','februar','mars','april','mai','juni','juli','august','september','oktober','november','desember'], + monthNamesShort: ['jan','feb','mar','apr','mai','jun','jul','aug','sep','okt','nov','des'], + dayNamesShort: ['søn','man','tir','ons','tor','fre','lør'], + dayNames: ['søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag'], + dayNamesMin: ['sø','ma','ti','on','to','fr','lø'], + weekHeader: 'Uke', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: '' + }; + $.datepicker.setDefaults($.datepicker.regional['no']); +}); + +/* Polish initialisation for the jQuery UI date picker plugin. */ +/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['pl'] = { + closeText: 'Zamknij', + prevText: '<Poprzedni', + nextText: 'Następny>', + currentText: 'Dziś', + monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec', + 'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'], + monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze', + 'Lip','Sie','Wrz','Pa','Lis','Gru'], + dayNames: ['Niedziela','Poniedziałek','Wtorek','Środa','Czwartek','Piątek','Sobota'], + dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], + dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], + weekHeader: 'Tydz', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['pl']); +}); + +/* Brazilian initialisation for the jQuery UI date picker plugin. */ +/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['pt-BR'] = { + closeText: 'Fechar', + prevText: '<Anterior', + nextText: 'Próximo>', + currentText: 'Hoje', + monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho', + 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], + monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun', + 'Jul','Ago','Set','Out','Nov','Dez'], + dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'], + dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], + dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], + weekHeader: 'Sm', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['pt-BR']); +}); + +/* Portuguese initialisation for the jQuery UI date picker plugin. */ +jQuery(function($){ + $.datepicker.regional['pt'] = { + closeText: 'Fechar', + prevText: '<Anterior', + nextText: 'Seguinte', + currentText: 'Hoje', + monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho', + 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], + monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun', + 'Jul','Ago','Set','Out','Nov','Dez'], + dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'], + dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], + dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], + weekHeader: 'Sem', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['pt']); +}); + +/* Romansh initialisation for the jQuery UI date picker plugin. */ +/* Written by Yvonne Gienal (yvonne.gienal@educa.ch). */ +jQuery(function($){ + $.datepicker.regional['rm'] = { + closeText: 'Serrar', + prevText: '<Suandant', + nextText: 'Precedent>', + currentText: 'Actual', + monthNames: ['Schaner','Favrer','Mars','Avrigl','Matg','Zercladur', 'Fanadur','Avust','Settember','October','November','December'], + monthNamesShort: ['Scha','Fev','Mar','Avr','Matg','Zer', 'Fan','Avu','Sett','Oct','Nov','Dec'], + dayNames: ['Dumengia','Glindesdi','Mardi','Mesemna','Gievgia','Venderdi','Sonda'], + dayNamesShort: ['Dum','Gli','Mar','Mes','Gie','Ven','Som'], + dayNamesMin: ['Du','Gl','Ma','Me','Gi','Ve','So'], + weekHeader: 'emna', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['rm']); +}); + +/* Romanian initialisation for the jQuery UI date picker plugin. + * + * Written by Edmond L. (ll_edmond@walla.com) + * and Ionut G. Stan (ionut.g.stan@gmail.com) + */ +jQuery(function($){ + $.datepicker.regional['ro'] = { + closeText: 'Închide', + prevText: '« Luna precedentă', + nextText: 'Luna următoare »', + currentText: 'Azi', + monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie', + 'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'], + monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun', + 'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'], + dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'], + dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'], + weekHeader: 'Săpt', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ro']); +}); + +/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Andrew Stromnov (stromnov@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['ru'] = { + closeText: 'Закрыть', + prevText: '<Пред', + nextText: 'След>', + currentText: 'Сегодня', + monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь', + 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'], + monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн', + 'Июл','Авг','Сен','Окт','Ноя','Дек'], + dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'], + dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'], + dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'], + weekHeader: 'Нед', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ru']); +}); + +/* Slovak initialisation for the jQuery UI date picker plugin. */ +/* Written by Vojtech Rinik (vojto@hmm.sk). */ +jQuery(function($){ + $.datepicker.regional['sk'] = { + closeText: 'Zavrieť', + prevText: '<Predchádzajúci', + nextText: 'Nasledujúci>', + currentText: 'Dnes', + monthNames: ['Január','Február','Marec','Apríl','Máj','Jún', + 'Júl','August','September','Október','November','December'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún', + 'Júl','Aug','Sep','Okt','Nov','Dec'], + dayNames: ['Nedeľa','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'], + dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'], + dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'], + weekHeader: 'Ty', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sk']); +}); + +/* Slovenian initialisation for the jQuery UI date picker plugin. */ +/* Written by Jaka Jancar (jaka@kubje.org). */ +/* c = č, s = š z = ž C = Č S = Š Z = Ž */ +jQuery(function($){ + $.datepicker.regional['sl'] = { + closeText: 'Zapri', + prevText: '<Prejšnji', + nextText: 'Naslednji>', + currentText: 'Trenutni', + monthNames: ['Januar','Februar','Marec','April','Maj','Junij', + 'Julij','Avgust','September','Oktober','November','December'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Avg','Sep','Okt','Nov','Dec'], + dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'], + dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'], + dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'], + weekHeader: 'Teden', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sl']); +}); + +/* Albanian initialisation for the jQuery UI date picker plugin. */ +/* Written by Flakron Bytyqi (flakron@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['sq'] = { + closeText: 'mbylle', + prevText: '<mbrapa', + nextText: 'Përpara>', + currentText: 'sot', + monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor', + 'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'], + monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer', + 'Kor','Gus','Sht','Tet','Nën','Dhj'], + dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'], + dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'], + dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'], + weekHeader: 'Ja', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sq']); +}); + +/* Serbian i18n for the jQuery UI date picker plugin. */ +/* Written by Dejan Dimić. */ +jQuery(function($){ + $.datepicker.regional['sr-SR'] = { + closeText: 'Zatvori', + prevText: '<', + nextText: '>', + currentText: 'Danas', + monthNames: ['Januar','Februar','Mart','April','Maj','Jun', + 'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Avg','Sep','Okt','Nov','Dec'], + dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'], + dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'], + dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], + weekHeader: 'Sed', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sr-SR']); +}); + +/* Serbian i18n for the jQuery UI date picker plugin. */ +/* Written by Dejan Dimić. */ +jQuery(function($){ + $.datepicker.regional['sr'] = { + closeText: 'Затвори', + prevText: '<', + nextText: '>', + currentText: 'Данас', + monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун', + 'Јул','Август','Септембар','Октобар','Новембар','Децембар'], + monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун', + 'Јул','Авг','Сеп','Окт','Нов','Дец'], + dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'], + dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'], + dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'], + weekHeader: 'Сед', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sr']); +}); + +/* Swedish initialisation for the jQuery UI date picker plugin. */ +/* Written by Anders Ekdahl ( anders@nomadiz.se). */ +jQuery(function($){ + $.datepicker.regional['sv'] = { + closeText: 'Stäng', + prevText: '«Förra', + nextText: 'Nästa»', + currentText: 'Idag', + monthNames: ['Januari','Februari','Mars','April','Maj','Juni', + 'Juli','Augusti','September','Oktober','November','December'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dec'], + dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'], + dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'], + dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'], + weekHeader: 'Ve', + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sv']); +}); + +/* Tamil (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by S A Sureshkumar (saskumar@live.com). */ +jQuery(function($){ + $.datepicker.regional['ta'] = { + closeText: 'மூடு', + prevText: 'முன்னையது', + nextText: 'அடுத்தது', + currentText: 'இன்று', + monthNames: ['தை','மாசி','பங்குனி','சித்திரை','வைகாசி','ஆனி', + 'ஆடி','ஆவணி','புரட்டாசி','ஐப்பசி','கார்த்திகை','மார்கழி'], + monthNamesShort: ['தை','மாசி','பங்','சித்','வைகா','ஆனி', + 'ஆடி','ஆவ','புர','ஐப்','கார்','மார்'], + dayNames: ['ஞாயிற்றுக்கிழமை','திங்கட்கிழமை','செவ்வாய்க்கிழமை','புதன்கிழமை','வியாழக்கிழமை','வெள்ளிக்கிழமை','சனிக்கிழமை'], + dayNamesShort: ['ஞாயிறு','திங்கள்','செவ்வாய்','புதன்','வியாழன்','வெள்ளி','சனி'], + dayNamesMin: ['ஞா','தி','செ','பு','வி','வெ','ச'], + weekHeader: 'Не', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ta']); +}); + +/* Thai initialisation for the jQuery UI date picker plugin. */ +/* Written by pipo (pipo@sixhead.com). */ +jQuery(function($){ + $.datepicker.regional['th'] = { + closeText: 'ปิด', + prevText: '« ย้อน', + nextText: 'ถัดไป »', + currentText: 'วันนี้', + monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน', + 'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'], + monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.', + 'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'], + dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'], + dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], + dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['th']); +}); + +/* Tajiki (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Abdurahmon Saidov (saidovab@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['tj'] = { + closeText: 'Идома', + prevText: '<Қафо', + nextText: 'Пеш>', + currentText: 'Имрӯз', + monthNames: ['Январ','Феврал','Март','Апрел','Май','Июн', + 'Июл','Август','Сентябр','Октябр','Ноябр','Декабр'], + monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн', + 'Июл','Авг','Сен','Окт','Ноя','Дек'], + dayNames: ['якшанбе','душанбе','сешанбе','чоршанбе','панҷшанбе','ҷумъа','шанбе'], + dayNamesShort: ['якш','душ','сеш','чор','пан','ҷум','шан'], + dayNamesMin: ['Як','Дш','Сш','Чш','Пш','Ҷм','Шн'], + weekHeader: 'Хф', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['tj']); +}); + +/* Turkish initialisation for the jQuery UI date picker plugin. */ +/* Written by Izzet Emre Erkan (kara@karalamalar.net). */ +jQuery(function($){ + $.datepicker.regional['tr'] = { + closeText: 'kapat', + prevText: '<geri', + nextText: 'ileri>', + currentText: 'bugün', + monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran', + 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'], + monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz', + 'Tem','Ağu','Eyl','Eki','Kas','Ara'], + dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'], + dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], + dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], + weekHeader: 'Hf', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['tr']); +}); + +/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */ +/* Corrected by Igor Milla (igor.fsp.milla@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['uk'] = { + closeText: 'Закрити', + prevText: '<', + nextText: '>', + currentText: 'Сьогодні', + monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень', + 'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'], + monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер', + 'Лип','Сер','Вер','Жов','Лис','Гру'], + dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'], + dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'], + dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'], + weekHeader: 'Тиж', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['uk']); +}); + +/* Vietnamese initialisation for the jQuery UI date picker plugin. */ +/* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */ +jQuery(function($){ + $.datepicker.regional['vi'] = { + closeText: 'Đóng', + prevText: '<Trước', + nextText: 'Tiếp>', + currentText: 'Hôm nay', + monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu', + 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'], + monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6', + 'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'], + dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'], + dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], + dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], + weekHeader: 'Tu', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['vi']); +}); + +/* Chinese initialisation for the jQuery UI date picker plugin. */ +/* Written by Cloudream (cloudream@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['zh-CN'] = { + closeText: '关闭', + prevText: '<上月', + nextText: '下月>', + currentText: '今天', + monthNames: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + monthNamesShort: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], + dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], + dayNamesMin: ['日','一','二','三','四','五','六'], + weekHeader: '周', + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '年'}; + $.datepicker.setDefaults($.datepicker.regional['zh-CN']); +}); + +/* Chinese initialisation for the jQuery UI date picker plugin. */ +/* Written by SCCY (samuelcychan@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['zh-HK'] = { + closeText: '關閉', + prevText: '<上月', + nextText: '下月>', + currentText: '今天', + monthNames: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + monthNamesShort: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], + dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], + dayNamesMin: ['日','一','二','三','四','五','六'], + weekHeader: '周', + dateFormat: 'dd-mm-yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '年'}; + $.datepicker.setDefaults($.datepicker.regional['zh-HK']); +}); + +/* Chinese initialisation for the jQuery UI date picker plugin. */ +/* Written by Ressol (ressol@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['zh-TW'] = { + closeText: '關閉', + prevText: '<上月', + nextText: '下月>', + currentText: '今天', + monthNames: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + monthNamesShort: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], + dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], + dayNamesMin: ['日','一','二','三','四','五','六'], + weekHeader: '周', + dateFormat: 'yy/mm/dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '年'}; + $.datepicker.setDefaults($.datepicker.regional['zh-TW']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-af.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-af.js new file mode 100644 index 000000000..7bf78b741 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-af.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Afrikaans initialisation for the jQuery UI date picker plugin. */ +/* Written by Renier Pretorius. */ +jQuery(function($){ + $.datepicker.regional['af'] = { + closeText: 'Selekteer', + prevText: 'Vorige', + nextText: 'Volgende', + currentText: 'Vandag', + monthNames: ['Januarie','Februarie','Maart','April','Mei','Junie', + 'Julie','Augustus','September','Oktober','November','Desember'], + monthNamesShort: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun', + 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'], + dayNames: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'], + dayNamesShort: ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'], + dayNamesMin: ['So','Ma','Di','Wo','Do','Vr','Sa'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['af']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ar-DZ.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ar-DZ.js new file mode 100644 index 000000000..70d4e9012 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ar-DZ.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Algerian Arabic Translation for jQuery UI date picker plugin. (can be used for Tunisia)*/ +/* Mohamed Cherif BOUCHELAGHEM -- cherifbouchelaghem@yahoo.fr */ + +jQuery(function($){ + $.datepicker.regional['ar-DZ'] = { + closeText: 'إغلاق', + prevText: '<السابق', + nextText: 'التالي>', + currentText: 'اليوم', + monthNames: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان', + 'جويلية', 'أوت', 'سبتمبر','أكتوبر', 'نوفمبر', 'ديسمبر'], + monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + weekHeader: 'أسبوع', + dateFormat: 'dd/mm/yy', + firstDay: 6, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ar-DZ']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ar.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ar.js new file mode 100644 index 000000000..cab1dc1ef --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ar.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Arabic Translation for jQuery UI date picker plugin. */ +/* Khaled Alhourani -- me@khaledalhourani.com */ +/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ +jQuery(function($){ + $.datepicker.regional['ar'] = { + closeText: 'إغلاق', + prevText: '<السابق', + nextText: 'التالي>', + currentText: 'اليوم', + monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران', + 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], + monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + weekHeader: 'أسبوع', + dateFormat: 'dd/mm/yy', + firstDay: 6, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ar']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-az.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-az.js new file mode 100644 index 000000000..753eeec82 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-az.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Jamil Najafov (necefov33@gmail.com). */ +jQuery(function($) { + $.datepicker.regional['az'] = { + closeText: 'Bağla', + prevText: '<Geri', + nextText: 'İrəli>', + currentText: 'Bugün', + monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun', + 'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'], + monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun', + 'İyul','Avq','Sen','Okt','Noy','Dek'], + dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'], + dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'], + dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'], + weekHeader: 'Hf', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['az']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-bg.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-bg.js new file mode 100644 index 000000000..36e6a00b8 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-bg.js @@ -0,0 +1,26 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Bulgarian initialisation for the jQuery UI date picker plugin. */ +/* Written by Stoyan Kyosev (http://svest.org). */ +jQuery(function($){ + $.datepicker.regional['bg'] = { + closeText: 'затвори', + prevText: '<назад', + nextText: 'напред>', + nextBigText: '>>', + currentText: 'днес', + monthNames: ['Януари','Февруари','Март','Април','Май','Юни', + 'Юли','Август','Септември','Октомври','Ноември','Декември'], + monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни', + 'Юли','Авг','Сеп','Окт','Нов','Дек'], + dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'], + dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'], + dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'], + weekHeader: 'Wk', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['bg']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-bs.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-bs.js new file mode 100644 index 000000000..a92a18f69 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-bs.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Bosnian i18n for the jQuery UI date picker plugin. */ +/* Written by Kenan Konjo. */ +jQuery(function($){ + $.datepicker.regional['bs'] = { + closeText: 'Zatvori', + prevText: '<', + nextText: '>', + currentText: 'Danas', + monthNames: ['Januar','Februar','Mart','April','Maj','Juni', + 'Juli','August','Septembar','Oktobar','Novembar','Decembar'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dec'], + dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], + dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], + dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], + weekHeader: 'Wk', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['bs']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ca.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ca.js new file mode 100644 index 000000000..80dd0f72e --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ca.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */ +/* Writers: (joan.leon@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['ca'] = { + closeText: 'Tanca', + prevText: 'Anterior', + nextText: 'Següent', + currentText: 'Avui', + monthNames: ['gener','febrer','març','abril','maig','juny', + 'juliol','agost','setembre','octubre','novembre','desembre'], + monthNamesShort: ['gen','feb','març','abr','maig','juny', + 'jul','ag','set','oct','nov','des'], + dayNames: ['diumenge','dilluns','dimarts','dimecres','dijous','divendres','dissabte'], + dayNamesShort: ['dg','dl','dt','dc','dj','dv','ds'], + dayNamesMin: ['dg','dl','dt','dc','dj','dv','ds'], + weekHeader: 'Set', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ca']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-cs.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-cs.js new file mode 100644 index 000000000..b2e9067af --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-cs.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Czech initialisation for the jQuery UI date picker plugin. */ +/* Written by Tomas Muller (tomas@tomas-muller.net). */ +jQuery(function($){ + $.datepicker.regional['cs'] = { + closeText: 'Zavřít', + prevText: '<Dříve', + nextText: 'Později>', + currentText: 'Nyní', + monthNames: ['leden','únor','březen','duben','květen','červen', + 'červenec','srpen','září','říjen','listopad','prosinec'], + monthNamesShort: ['led','úno','bře','dub','kvě','čer', + 'čvc','srp','zář','říj','lis','pro'], + dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], + dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], + dayNamesMin: ['ne','po','út','st','čt','pá','so'], + weekHeader: 'Týd', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['cs']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-cy-GB.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-cy-GB.js new file mode 100644 index 000000000..5487bd6b1 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-cy-GB.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Welsh/UK initialisation for the jQuery UI date picker plugin. */ +/* Written by William Griffiths. */ +jQuery(function($){ + $.datepicker.regional['cy-GB'] = { + closeText: 'Done', + prevText: 'Prev', + nextText: 'Next', + currentText: 'Today', + monthNames: ['Ionawr','Chwefror','Mawrth','Ebrill','Mai','Mehefin', + 'Gorffennaf','Awst','Medi','Hydref','Tachwedd','Rhagfyr'], + monthNamesShort: ['Ion', 'Chw', 'Maw', 'Ebr', 'Mai', 'Meh', + 'Gor', 'Aws', 'Med', 'Hyd', 'Tac', 'Rha'], + dayNames: ['Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', 'Dydd Sadwrn'], + dayNamesShort: ['Sul', 'Llu', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'], + dayNamesMin: ['Su','Ll','Ma','Me','Ia','Gw','Sa'], + weekHeader: 'Wy', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['cy-GB']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-da.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-da.js new file mode 100644 index 000000000..c1b0cdfa4 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-da.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Danish initialisation for the jQuery UI date picker plugin. */ +/* Written by Jan Christensen ( deletestuff@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['da'] = { + closeText: 'Luk', + prevText: '<Forrige', + nextText: 'Næste>', + currentText: 'Idag', + monthNames: ['Januar','Februar','Marts','April','Maj','Juni', + 'Juli','August','September','Oktober','November','December'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dec'], + dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], + dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], + dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], + weekHeader: 'Uge', + dateFormat: 'dd-mm-yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['da']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-de-CH.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-de-CH.js new file mode 100644 index 000000000..cea8e831b --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-de-CH.js @@ -0,0 +1,24 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Swiss-German initialisation for the jQuery UI date picker plugin. */ +/* By Douglas Jose & Juerg Meier. */ +jQuery(function($){ + $.datepicker.regional['de-CH'] = { + closeText: 'schliessen', + prevText: '<zurück', + nextText: 'nächster>', + currentText: 'heute', + monthNames: ['Januar','Februar','März','April','Mai','Juni', + 'Juli','August','September','Oktober','November','Dezember'], + monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dez'], + dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], + dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], + dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], + weekHeader: 'Wo', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['de-CH']); +});/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-de.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-de.js new file mode 100644 index 000000000..1bb7943ac --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-de.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* German initialisation for the jQuery UI date picker plugin. */ +/* Written by Milian Wolff (mail@milianw.de). */ +jQuery(function($){ + $.datepicker.regional['de'] = { + closeText: 'schließen', + prevText: '<zurück', + nextText: 'Vor>', + currentText: 'heute', + monthNames: ['Januar','Februar','März','April','Mai','Juni', + 'Juli','August','September','Oktober','November','Dezember'], + monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dez'], + dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], + dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], + dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], + weekHeader: 'KW', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['de']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-el.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-el.js new file mode 100644 index 000000000..8cfe9f18a --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-el.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Greek (el) initialisation for the jQuery UI date picker plugin. */ +/* Written by Alex Cicovic (http://www.alexcicovic.com) */ +jQuery(function($){ + $.datepicker.regional['el'] = { + closeText: 'Κλείσιμο', + prevText: 'Προηγούμενος', + nextText: 'Επόμενος', + currentText: 'Τρέχων Μήνας', + monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος', + 'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'], + monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν', + 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'], + dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'], + dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'], + dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'], + weekHeader: 'Εβδ', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['el']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-en-AU.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-en-AU.js new file mode 100644 index 000000000..8a551a126 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-en-AU.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* English/Australia initialisation for the jQuery UI date picker plugin. */ +/* Based on the en-GB initialisation. */ +jQuery(function($){ + $.datepicker.regional['en-AU'] = { + closeText: 'Done', + prevText: 'Prev', + nextText: 'Next', + currentText: 'Today', + monthNames: ['January','February','March','April','May','June', + 'July','August','September','October','November','December'], + monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', + 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['en-AU']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-en-GB.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-en-GB.js new file mode 100644 index 000000000..e8f69a18e --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-en-GB.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* English/UK initialisation for the jQuery UI date picker plugin. */ +/* Written by Stuart. */ +jQuery(function($){ + $.datepicker.regional['en-GB'] = { + closeText: 'Done', + prevText: 'Prev', + nextText: 'Next', + currentText: 'Today', + monthNames: ['January','February','March','April','May','June', + 'July','August','September','October','November','December'], + monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', + 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['en-GB']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-en-NZ.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-en-NZ.js new file mode 100644 index 000000000..1d2981829 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-en-NZ.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* English/New Zealand initialisation for the jQuery UI date picker plugin. */ +/* Based on the en-GB initialisation. */ +jQuery(function($){ + $.datepicker.regional['en-NZ'] = { + closeText: 'Done', + prevText: 'Prev', + nextText: 'Next', + currentText: 'Today', + monthNames: ['January','February','March','April','May','June', + 'July','August','September','October','November','December'], + monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', + 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], + dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], + dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['en-NZ']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-eo.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-eo.js new file mode 100644 index 000000000..4fd49f798 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-eo.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Esperanto initialisation for the jQuery UI date picker plugin. */ +/* Written by Olivier M. (olivierweb@ifrance.com). */ +jQuery(function($){ + $.datepicker.regional['eo'] = { + closeText: 'Fermi', + prevText: '<Anta', + nextText: 'Sekv>', + currentText: 'Nuna', + monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio', + 'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Aŭg','Sep','Okt','Nov','Dec'], + dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'], + dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'], + dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'], + weekHeader: 'Sb', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['eo']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-es.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-es.js new file mode 100644 index 000000000..d4e7cb3f5 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-es.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Inicialización en español para la extensión 'UI date picker' para jQuery. */ +/* Traducido por Vester (xvester@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['es'] = { + closeText: 'Cerrar', + prevText: '<Ant', + nextText: 'Sig>', + currentText: 'Hoy', + monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio', + 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'], + monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun', + 'Jul','Ago','Sep','Oct','Nov','Dic'], + dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'], + dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], + dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], + weekHeader: 'Sm', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['es']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-et.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-et.js new file mode 100644 index 000000000..55083372b --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-et.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Estonian initialisation for the jQuery UI date picker plugin. */ +/* Written by Mart Sõmermaa (mrts.pydev at gmail com). */ +jQuery(function($){ + $.datepicker.regional['et'] = { + closeText: 'Sulge', + prevText: 'Eelnev', + nextText: 'Järgnev', + currentText: 'Täna', + monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni', + 'Juuli','August','September','Oktoober','November','Detsember'], + monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni', + 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'], + dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'], + dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'], + dayNamesMin: ['P','E','T','K','N','R','L'], + weekHeader: 'näd', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['et']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-eu.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-eu.js new file mode 100644 index 000000000..36ff79a7e --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-eu.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Euskarako oinarria 'UI date picker' jquery-ko extentsioarentzat */ +/* Karrikas-ek itzulia (karrikas@karrikas.com) */ +jQuery(function($){ + $.datepicker.regional['eu'] = { + closeText: 'Egina', + prevText: '<Aur', + nextText: 'Hur>', + currentText: 'Gaur', + monthNames: ['urtarrila','otsaila','martxoa','apirila','maiatza','ekaina', + 'uztaila','abuztua','iraila','urria','azaroa','abendua'], + monthNamesShort: ['urt.','ots.','mar.','api.','mai.','eka.', + 'uzt.','abu.','ira.','urr.','aza.','abe.'], + dayNames: ['igandea','astelehena','asteartea','asteazkena','osteguna','ostirala','larunbata'], + dayNamesShort: ['ig.','al.','ar.','az.','og.','ol.','lr.'], + dayNamesMin: ['ig','al','ar','az','og','ol','lr'], + weekHeader: 'As', + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['eu']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fa.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fa.js new file mode 100644 index 000000000..f2165efd9 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fa.js @@ -0,0 +1,61 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ +/* Javad Mowlanezhad -- jmowla@gmail.com */ +/* Jalali calendar should supported soon! (Its implemented but I have to test it) */ +jQuery(function($) { + $.datepicker.regional['fa'] = { + closeText: 'بستن', + prevText: '<قبلی', + nextText: 'بعدی>', + currentText: 'امروز', + monthNames: [ + 'فروردين', + 'ارديبهشت', + 'خرداد', + 'تير', + 'مرداد', + 'شهريور', + 'مهر', + 'آبان', + 'آذر', + 'دی', + 'بهمن', + 'اسفند' + ], + monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'], + dayNames: [ + 'يکشنبه', + 'دوشنبه', + 'سهشنبه', + 'چهارشنبه', + 'پنجشنبه', + 'جمعه', + 'شنبه' + ], + dayNamesShort: [ + 'ی', + 'د', + 'س', + 'چ', + 'پ', + 'ج', + 'ش' + ], + dayNamesMin: [ + 'ی', + 'د', + 'س', + 'چ', + 'پ', + 'ج', + 'ش' + ], + weekHeader: 'هف', + dateFormat: 'yy/mm/dd', + firstDay: 6, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fa']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fi.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fi.js new file mode 100644 index 000000000..5065476f8 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fi.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Finnish initialisation for the jQuery UI date picker plugin. */ +/* Written by Harri Kilpiö (harrikilpio@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['fi'] = { + closeText: 'Sulje', + prevText: '«Edellinen', + nextText: 'Seuraava»', + currentText: 'Tänään', + monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu', + 'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'], + monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä', + 'Heinä','Elo','Syys','Loka','Marras','Joulu'], + dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','La'], + dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'], + dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'], + weekHeader: 'Vk', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fi']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fo.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fo.js new file mode 100644 index 000000000..f61a4dff7 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fo.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Faroese initialisation for the jQuery UI date picker plugin */ +/* Written by Sverri Mohr Olsen, sverrimo@gmail.com */ +jQuery(function($){ + $.datepicker.regional['fo'] = { + closeText: 'Lat aftur', + prevText: '<Fyrra', + nextText: 'Næsta>', + currentText: 'Í dag', + monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni', + 'Juli','August','September','Oktober','November','Desember'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', + 'Jul','Aug','Sep','Okt','Nov','Des'], + dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'], + dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'], + dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'], + weekHeader: 'Vk', + dateFormat: 'dd-mm-yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fo']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fr-CH.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fr-CH.js new file mode 100644 index 000000000..0cbb535ac --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fr-CH.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Swiss-French initialisation for the jQuery UI date picker plugin. */ +/* Written Martin Voelkle (martin.voelkle@e-tc.ch). */ +jQuery(function($){ + $.datepicker.regional['fr-CH'] = { + closeText: 'Fermer', + prevText: '<Préc', + nextText: 'Suiv>', + currentText: 'Courant', + monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', + 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], + monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', + 'Jul','Aoû','Sep','Oct','Nov','Déc'], + dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], + dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], + dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], + weekHeader: 'Sm', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fr-CH']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fr.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fr.js new file mode 100644 index 000000000..b12c112cc --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-fr.js @@ -0,0 +1,27 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* French initialisation for the jQuery UI date picker plugin. */ +/* Written by Keith Wood (kbwood{at}iinet.com.au), + Stéphane Nahmani (sholby@sholby.net), + Stéphane Raimbault <stephane.raimbault@gmail.com> */ +jQuery(function($){ + $.datepicker.regional['fr'] = { + closeText: 'Fermer', + prevText: 'Précédent', + nextText: 'Suivant', + currentText: 'Aujourd\'hui', + monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', + 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], + monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin', + 'Juil.','Août','Sept.','Oct.','Nov.','Déc.'], + dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], + dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.'], + dayNamesMin: ['D','L','M','M','J','V','S'], + weekHeader: 'Sem.', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fr']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-gl.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-gl.js new file mode 100644 index 000000000..bfcab5b49 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-gl.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Galician localization for 'UI date picker' jQuery extension. */ +/* Translated by Jorge Barreiro <yortx.barry@gmail.com>. */ +jQuery(function($){ + $.datepicker.regional['gl'] = { + closeText: 'Pechar', + prevText: '<Ant', + nextText: 'Seg>', + currentText: 'Hoxe', + monthNames: ['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño', + 'Xullo','Agosto','Setembro','Outubro','Novembro','Decembro'], + monthNamesShort: ['Xan','Feb','Mar','Abr','Mai','Xuñ', + 'Xul','Ago','Set','Out','Nov','Dec'], + dayNames: ['Domingo','Luns','Martes','Mércores','Xoves','Venres','Sábado'], + dayNamesShort: ['Dom','Lun','Mar','Mér','Xov','Ven','Sáb'], + dayNamesMin: ['Do','Lu','Ma','Mé','Xo','Ve','Sá'], + weekHeader: 'Sm', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['gl']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-he.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-he.js new file mode 100644 index 000000000..1730e4f84 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-he.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Hebrew initialisation for the UI Datepicker extension. */ +/* Written by Amir Hardon (ahardon at gmail dot com). */ +jQuery(function($){ + $.datepicker.regional['he'] = { + closeText: 'סגור', + prevText: '<הקודם', + nextText: 'הבא>', + currentText: 'היום', + monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', + 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], + monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני', + 'יולי','אוג','ספט','אוק','נוב','דצמ'], + dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], + dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], + dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['he']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hi.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hi.js new file mode 100644 index 000000000..8c8c227c8 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hi.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Hindi initialisation for the jQuery UI date picker plugin. */ +/* Written by Michael Dawart. */ +jQuery(function($){ + $.datepicker.regional['hi'] = { + closeText: 'बंद', + prevText: 'पिछला', + nextText: 'अगला', + currentText: 'आज', + monthNames: ['जनवरी ','फरवरी','मार्च','अप्रेल','मई','जून', + 'जूलाई','अगस्त ','सितम्बर','अक्टूबर','नवम्बर','दिसम्बर'], + monthNamesShort: ['जन', 'फर', 'मार्च', 'अप्रेल', 'मई', 'जून', + 'जूलाई', 'अग', 'सित', 'अक्ट', 'नव', 'दि'], + dayNames: ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'], + dayNamesShort: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + dayNamesMin: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'], + weekHeader: 'हफ्ता', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['hi']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hr.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hr.js new file mode 100644 index 000000000..ac2236f94 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hr.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Croatian i18n for the jQuery UI date picker plugin. */ +/* Written by Vjekoslav Nesek. */ +jQuery(function($){ + $.datepicker.regional['hr'] = { + closeText: 'Zatvori', + prevText: '<', + nextText: '>', + currentText: 'Danas', + monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj', + 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'], + monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip', + 'Srp','Kol','Ruj','Lis','Stu','Pro'], + dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], + dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], + dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], + weekHeader: 'Tje', + dateFormat: 'dd.mm.yy.', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['hr']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hu.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hu.js new file mode 100644 index 000000000..2b41e68a7 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hu.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Hungarian initialisation for the jQuery UI date picker plugin. */ +/* Written by Istvan Karaszi (jquery@spam.raszi.hu). */ +jQuery(function($){ + $.datepicker.regional['hu'] = { + closeText: 'bezár', + prevText: 'vissza', + nextText: 'előre', + currentText: 'ma', + monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június', + 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'], + monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún', + 'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'], + dayNames: ['Vasárnap', 'Hétfő', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'], + dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], + dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], + weekHeader: 'Hét', + dateFormat: 'yy.mm.dd.', + firstDay: 1, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['hu']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hy.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hy.js new file mode 100644 index 000000000..047a165d6 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-hy.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/ +jQuery(function($){ + $.datepicker.regional['hy'] = { + closeText: 'Փակել', + prevText: '<Նախ.', + nextText: 'Հաջ.>', + currentText: 'Այսօր', + monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս', + 'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'], + monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս', + 'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'], + dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'], + dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], + dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'], + weekHeader: 'ՇԲՏ', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['hy']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-id.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-id.js new file mode 100644 index 000000000..bbbc67952 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-id.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Indonesian initialisation for the jQuery UI date picker plugin. */ +/* Written by Deden Fathurahman (dedenf@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['id'] = { + closeText: 'Tutup', + prevText: '<mundur', + nextText: 'maju>', + currentText: 'hari ini', + monthNames: ['Januari','Februari','Maret','April','Mei','Juni', + 'Juli','Agustus','September','Oktober','Nopember','Desember'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', + 'Jul','Agus','Sep','Okt','Nop','Des'], + dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'], + dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], + dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], + weekHeader: 'Mg', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['id']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-is.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-is.js new file mode 100644 index 000000000..02c54eb81 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-is.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Icelandic initialisation for the jQuery UI date picker plugin. */ +/* Written by Haukur H. Thorsson (haukur@eskill.is). */ +jQuery(function($){ + $.datepicker.regional['is'] = { + closeText: 'Loka', + prevText: '< Fyrri', + nextText: 'Næsti >', + currentText: 'Í dag', + monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní', + 'Júlí','Ágúst','September','Október','Nóvember','Desember'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún', + 'Júl','Ágú','Sep','Okt','Nóv','Des'], + dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'], + dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], + dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], + weekHeader: 'Vika', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['is']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-it.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-it.js new file mode 100644 index 000000000..503f1130c --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-it.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Italian initialisation for the jQuery UI date picker plugin. */ +/* Written by Antonello Pasella (antonello.pasella@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['it'] = { + closeText: 'Chiudi', + prevText: '<Prec', + nextText: 'Succ>', + currentText: 'Oggi', + monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno', + 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'], + monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu', + 'Lug','Ago','Set','Ott','Nov','Dic'], + dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'], + dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], + dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'], + weekHeader: 'Sm', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['it']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ja.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ja.js new file mode 100644 index 000000000..308dc6fe6 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ja.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Japanese initialisation for the jQuery UI date picker plugin. */ +/* Written by Kentaro SATO (kentaro@ranvis.com). */ +jQuery(function($){ + $.datepicker.regional['ja'] = { + closeText: '閉じる', + prevText: '<前', + nextText: '次>', + currentText: '今日', + monthNames: ['1月','2月','3月','4月','5月','6月', + '7月','8月','9月','10月','11月','12月'], + monthNamesShort: ['1月','2月','3月','4月','5月','6月', + '7月','8月','9月','10月','11月','12月'], + dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'], + dayNamesShort: ['日','月','火','水','木','金','土'], + dayNamesMin: ['日','月','火','水','木','金','土'], + weekHeader: '週', + dateFormat: 'yy/mm/dd', + firstDay: 0, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '年'}; + $.datepicker.setDefaults($.datepicker.regional['ja']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ka.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ka.js new file mode 100644 index 000000000..040577609 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ka.js @@ -0,0 +1,23 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Georgian (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Lado Lomidze (lado.lomidze@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['ka'] = { + closeText: 'დახურვა', + prevText: '< წინა', + nextText: 'შემდეგი >', + currentText: 'დღეს', + monthNames: ['იანვარი','თებერვალი','მარტი','აპრილი','მაისი','ივნისი', 'ივლისი','აგვისტო','სექტემბერი','ოქტომბერი','ნოემბერი','დეკემბერი'], + monthNamesShort: ['იან','თებ','მარ','აპრ','მაი','ივნ', 'ივლ','აგვ','სექ','ოქტ','ნოე','დეკ'], + dayNames: ['კვირა','ორშაბათი','სამშაბათი','ოთხშაბათი','ხუთშაბათი','პარასკევი','შაბათი'], + dayNamesShort: ['კვ','ორშ','სამ','ოთხ','ხუთ','პარ','შაბ'], + dayNamesMin: ['კვ','ორშ','სამ','ოთხ','ხუთ','პარ','შაბ'], + weekHeader: 'კვირა', + dateFormat: 'dd-mm-yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ka']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-kk.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-kk.js new file mode 100644 index 000000000..7da80abc8 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-kk.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['kk'] = { + closeText: 'Жабу', + prevText: '<Алдыңғы', + nextText: 'Келесі>', + currentText: 'Бүгін', + monthNames: ['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым', + 'Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан'], + monthNamesShort: ['Қаң','Ақп','Нау','Сәу','Мам','Мау', + 'Шіл','Там','Қыр','Қаз','Қар','Жел'], + dayNames: ['Жексенбі','Дүйсенбі','Сейсенбі','Сәрсенбі','Бейсенбі','Жұма','Сенбі'], + dayNamesShort: ['жкс','дсн','ссн','срс','бсн','жма','снб'], + dayNamesMin: ['Жк','Дс','Сс','Ср','Бс','Жм','Сн'], + weekHeader: 'Не', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['kk']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-km.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-km.js new file mode 100644 index 000000000..bfc0a2c79 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-km.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Khmer initialisation for the jQuery calendar extension. */ +/* Written by Chandara Om (chandara.teacher@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['km'] = { + closeText: 'ធ្វើរួច', + prevText: 'មុន', + nextText: 'បន្ទាប់', + currentText: 'ថ្ងៃនេះ', + monthNames: ['មករា','កុម្ភៈ','មីនា','មេសា','ឧសភា','មិថុនា', + 'កក្កដា','សីហា','កញ្ញា','តុលា','វិច្ឆិកា','ធ្នូ'], + monthNamesShort: ['មករា','កុម្ភៈ','មីនា','មេសា','ឧសភា','មិថុនា', + 'កក្កដា','សីហា','កញ្ញា','តុលា','វិច្ឆិកា','ធ្នូ'], + dayNames: ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'], + dayNamesShort: ['អា', 'ច', 'អ', 'ពុ', 'ព្រហ', 'សុ', 'សៅ'], + dayNamesMin: ['អា', 'ច', 'អ', 'ពុ', 'ព្រហ', 'សុ', 'សៅ'], + weekHeader: 'សប្ដាហ៍', + dateFormat: 'dd-mm-yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['km']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ko.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ko.js new file mode 100644 index 000000000..342c820ab --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ko.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Korean initialisation for the jQuery calendar extension. */ +/* Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie. */ +jQuery(function($){ + $.datepicker.regional['ko'] = { + closeText: '닫기', + prevText: '이전달', + nextText: '다음달', + currentText: '오늘', + monthNames: ['1월','2월','3월','4월','5월','6월', + '7월','8월','9월','10월','11월','12월'], + monthNamesShort: ['1월','2월','3월','4월','5월','6월', + '7월','8월','9월','10월','11월','12월'], + dayNames: ['일요일','월요일','화요일','수요일','목요일','금요일','토요일'], + dayNamesShort: ['일','월','화','수','목','금','토'], + dayNamesMin: ['일','월','화','수','목','금','토'], + weekHeader: 'Wk', + dateFormat: 'yy-mm-dd', + firstDay: 0, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '년'}; + $.datepicker.setDefaults($.datepicker.regional['ko']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-kz.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-kz.js new file mode 100644 index 000000000..ba39f21b7 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-kz.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['kz'] = { + closeText: 'Жабу', + prevText: '<Алдыңғы', + nextText: 'Келесі>', + currentText: 'Бүгін', + monthNames: ['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым', + 'Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан'], + monthNamesShort: ['Қаң','Ақп','Нау','Сәу','Мам','Мау', + 'Шіл','Там','Қыр','Қаз','Қар','Жел'], + dayNames: ['Жексенбі','Дүйсенбі','Сейсенбі','Сәрсенбі','Бейсенбі','Жұма','Сенбі'], + dayNamesShort: ['жкс','дсн','ссн','срс','бсн','жма','снб'], + dayNamesMin: ['Жк','Дс','Сс','Ср','Бс','Жм','Сн'], + weekHeader: 'Не', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['kz']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-lb.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-lb.js new file mode 100644 index 000000000..a22256dfe --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-lb.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Luxembourgish initialisation for the jQuery UI date picker plugin. */ +/* Written by Michel Weimerskirch <michel@weimerskirch.net> */ +jQuery(function($){ + $.datepicker.regional['lb'] = { + closeText: 'Fäerdeg', + prevText: 'Zréck', + nextText: 'Weider', + currentText: 'Haut', + monthNames: ['Januar','Februar','Mäerz','Abrëll','Mee','Juni', + 'Juli','August','September','Oktober','November','Dezember'], + monthNamesShort: ['Jan', 'Feb', 'Mäe', 'Abr', 'Mee', 'Jun', + 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + dayNames: ['Sonndeg', 'Méindeg', 'Dënschdeg', 'Mëttwoch', 'Donneschdeg', 'Freideg', 'Samschdeg'], + dayNamesShort: ['Son', 'Méi', 'Dën', 'Mët', 'Don', 'Fre', 'Sam'], + dayNamesMin: ['So','Mé','Dë','Më','Do','Fr','Sa'], + weekHeader: 'W', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['lb']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-lt.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-lt.js new file mode 100644 index 000000000..936f5dc13 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-lt.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* @author Arturas Paleicikas <arturas@avalon.lt> */ +jQuery(function($){ + $.datepicker.regional['lt'] = { + closeText: 'Uždaryti', + prevText: '<Atgal', + nextText: 'Pirmyn>', + currentText: 'Šiandien', + monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis', + 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'], + monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir', + 'Lie','Rugp','Rugs','Spa','Lap','Gru'], + dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'], + dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'], + dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'], + weekHeader: 'Wk', + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['lt']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-lv.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-lv.js new file mode 100644 index 000000000..d803e3cf2 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-lv.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */ +jQuery(function($){ + $.datepicker.regional['lv'] = { + closeText: 'Aizvērt', + prevText: 'Iepr', + nextText: 'Nāka', + currentText: 'Šodien', + monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs', + 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn', + 'Jūl','Aug','Sep','Okt','Nov','Dec'], + dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'], + dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], + dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], + weekHeader: 'Nav', + dateFormat: 'dd-mm-yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['lv']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-mk.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-mk.js new file mode 100644 index 000000000..a57b694ae --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-mk.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Macedonian i18n for the jQuery UI date picker plugin. */ +/* Written by Stojce Slavkovski. */ +jQuery(function($){ + $.datepicker.regional['mk'] = { + closeText: 'Затвори', + prevText: '<', + nextText: '>', + currentText: 'Денес', + monthNames: ['Јануари','Февруари','Март','Април','Мај','Јуни', + 'Јули','Август','Септември','Октомври','Ноември','Декември'], + monthNamesShort: ['Јан','Фев','Мар','Апр','Мај','Јун', + 'Јул','Авг','Сеп','Окт','Ное','Дек'], + dayNames: ['Недела','Понеделник','Вторник','Среда','Четврток','Петок','Сабота'], + dayNamesShort: ['Нед','Пон','Вто','Сре','Чет','Пет','Саб'], + dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Са'], + weekHeader: 'Сед', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['mk']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ml.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ml.js new file mode 100644 index 000000000..7c4837078 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ml.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Malayalam (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Saji Nediyanchath (saji89@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['ml'] = { + closeText: 'ശരി', + prevText: 'മുന്നത്തെ', + nextText: 'അടുത്തത് ', + currentText: 'ഇന്ന്', + monthNames: ['ജനുവരി','ഫെബ്രുവരി','മാര്ച്ച്','ഏപ്രില്','മേയ്','ജൂണ്', + 'ജൂലൈ','ആഗസ്റ്റ്','സെപ്റ്റംബര്','ഒക്ടോബര്','നവംബര്','ഡിസംബര്'], + monthNamesShort: ['ജനു', 'ഫെബ്', 'മാര്', 'ഏപ്രി', 'മേയ്', 'ജൂണ്', + 'ജൂലാ', 'ആഗ', 'സെപ്', 'ഒക്ടോ', 'നവം', 'ഡിസ'], + dayNames: ['ഞായര്', 'തിങ്കള്', 'ചൊവ്വ', 'ബുധന്', 'വ്യാഴം', 'വെള്ളി', 'ശനി'], + dayNamesShort: ['ഞായ', 'തിങ്ക', 'ചൊവ്വ', 'ബുധ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'], + dayNamesMin: ['ഞാ','തി','ചൊ','ബു','വ്യാ','വെ','ശ'], + weekHeader: 'ആ', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ml']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ms.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ms.js new file mode 100644 index 000000000..6ab225134 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ms.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Malaysian initialisation for the jQuery UI date picker plugin. */ +/* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ +jQuery(function($){ + $.datepicker.regional['ms'] = { + closeText: 'Tutup', + prevText: '<Sebelum', + nextText: 'Selepas>', + currentText: 'hari ini', + monthNames: ['Januari','Februari','Mac','April','Mei','Jun', + 'Julai','Ogos','September','Oktober','November','Disember'], + monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun', + 'Jul','Ogo','Sep','Okt','Nov','Dis'], + dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'], + dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'], + dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'], + weekHeader: 'Mg', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ms']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-nl-BE.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-nl-BE.js new file mode 100644 index 000000000..031a33a96 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-nl-BE.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Dutch (Belgium) initialisation for the jQuery UI date picker plugin. */ +/* David De Sloovere @DavidDeSloovere */ +jQuery(function($){ + $.datepicker.regional['nl-BE'] = { + closeText: 'Sluiten', + prevText: '←', + nextText: '→', + currentText: 'Vandaag', + monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', + 'juli', 'augustus', 'september', 'oktober', 'november', 'december'], + monthNamesShort: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', + 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], + dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], + dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['nl-BE']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-nl.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-nl.js new file mode 100644 index 000000000..cfcbc106a --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-nl.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Mathias Bynens <http://mathiasbynens.be/> */ +jQuery(function($){ + $.datepicker.regional.nl = { + closeText: 'Sluiten', + prevText: '←', + nextText: '→', + currentText: 'Vandaag', + monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', + 'juli', 'augustus', 'september', 'oktober', 'november', 'december'], + monthNamesShort: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', + 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'], + dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], + dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], + dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], + weekHeader: 'Wk', + dateFormat: 'dd-mm-yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional.nl); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-no.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-no.js new file mode 100644 index 000000000..2a2e68501 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-no.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Norwegian initialisation for the jQuery UI date picker plugin. */ +/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ + +jQuery(function($){ + $.datepicker.regional['no'] = { + closeText: 'Lukk', + prevText: '«Forrige', + nextText: 'Neste»', + currentText: 'I dag', + monthNames: ['januar','februar','mars','april','mai','juni','juli','august','september','oktober','november','desember'], + monthNamesShort: ['jan','feb','mar','apr','mai','jun','jul','aug','sep','okt','nov','des'], + dayNamesShort: ['søn','man','tir','ons','tor','fre','lør'], + dayNames: ['søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag'], + dayNamesMin: ['sø','ma','ti','on','to','fr','lø'], + weekHeader: 'Uke', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: '' + }; + $.datepicker.setDefaults($.datepicker.regional['no']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-pl.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-pl.js new file mode 100644 index 000000000..aa5322ee6 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-pl.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Polish initialisation for the jQuery UI date picker plugin. */ +/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['pl'] = { + closeText: 'Zamknij', + prevText: '<Poprzedni', + nextText: 'Następny>', + currentText: 'Dziś', + monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec', + 'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'], + monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze', + 'Lip','Sie','Wrz','Pa','Lis','Gru'], + dayNames: ['Niedziela','Poniedziałek','Wtorek','Środa','Czwartek','Piątek','Sobota'], + dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], + dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], + weekHeader: 'Tydz', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['pl']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-pt-BR.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-pt-BR.js new file mode 100644 index 000000000..fb5eabefe --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-pt-BR.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Brazilian initialisation for the jQuery UI date picker plugin. */ +/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['pt-BR'] = { + closeText: 'Fechar', + prevText: '<Anterior', + nextText: 'Próximo>', + currentText: 'Hoje', + monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho', + 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], + monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun', + 'Jul','Ago','Set','Out','Nov','Dez'], + dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'], + dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], + dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], + weekHeader: 'Sm', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['pt-BR']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-pt.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-pt.js new file mode 100644 index 000000000..5149fc24e --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-pt.js @@ -0,0 +1,24 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Portuguese initialisation for the jQuery UI date picker plugin. */ +jQuery(function($){ + $.datepicker.regional['pt'] = { + closeText: 'Fechar', + prevText: '<Anterior', + nextText: 'Seguinte', + currentText: 'Hoje', + monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho', + 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], + monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun', + 'Jul','Ago','Set','Out','Nov','Dez'], + dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'], + dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], + dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], + weekHeader: 'Sem', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['pt']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-rm.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-rm.js new file mode 100644 index 000000000..cbe0dc981 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-rm.js @@ -0,0 +1,23 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Romansh initialisation for the jQuery UI date picker plugin. */ +/* Written by Yvonne Gienal (yvonne.gienal@educa.ch). */ +jQuery(function($){ + $.datepicker.regional['rm'] = { + closeText: 'Serrar', + prevText: '<Suandant', + nextText: 'Precedent>', + currentText: 'Actual', + monthNames: ['Schaner','Favrer','Mars','Avrigl','Matg','Zercladur', 'Fanadur','Avust','Settember','October','November','December'], + monthNamesShort: ['Scha','Fev','Mar','Avr','Matg','Zer', 'Fan','Avu','Sett','Oct','Nov','Dec'], + dayNames: ['Dumengia','Glindesdi','Mardi','Mesemna','Gievgia','Venderdi','Sonda'], + dayNamesShort: ['Dum','Gli','Mar','Mes','Gie','Ven','Som'], + dayNamesMin: ['Du','Gl','Ma','Me','Gi','Ve','So'], + weekHeader: 'emna', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['rm']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ro.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ro.js new file mode 100644 index 000000000..ea555032d --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ro.js @@ -0,0 +1,28 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Romanian initialisation for the jQuery UI date picker plugin. + * + * Written by Edmond L. (ll_edmond@walla.com) + * and Ionut G. Stan (ionut.g.stan@gmail.com) + */ +jQuery(function($){ + $.datepicker.regional['ro'] = { + closeText: 'Închide', + prevText: '« Luna precedentă', + nextText: 'Luna următoare »', + currentText: 'Azi', + monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie', + 'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'], + monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun', + 'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], + dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'], + dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'], + dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'], + weekHeader: 'Săpt', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ro']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ru.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ru.js new file mode 100644 index 000000000..6c342bcbb --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ru.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Andrew Stromnov (stromnov@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['ru'] = { + closeText: 'Закрыть', + prevText: '<Пред', + nextText: 'След>', + currentText: 'Сегодня', + monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь', + 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'], + monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн', + 'Июл','Авг','Сен','Окт','Ноя','Дек'], + dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'], + dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'], + dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'], + weekHeader: 'Нед', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ru']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sk.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sk.js new file mode 100644 index 000000000..b6d9a4532 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sk.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Slovak initialisation for the jQuery UI date picker plugin. */ +/* Written by Vojtech Rinik (vojto@hmm.sk). */ +jQuery(function($){ + $.datepicker.regional['sk'] = { + closeText: 'Zavrieť', + prevText: '<Predchádzajúci', + nextText: 'Nasledujúci>', + currentText: 'Dnes', + monthNames: ['Január','Február','Marec','Apríl','Máj','Jún', + 'Júl','August','September','Október','November','December'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún', + 'Júl','Aug','Sep','Okt','Nov','Dec'], + dayNames: ['Nedeľa','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'], + dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'], + dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'], + weekHeader: 'Ty', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sk']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sl.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sl.js new file mode 100644 index 000000000..383e785dc --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sl.js @@ -0,0 +1,26 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Slovenian initialisation for the jQuery UI date picker plugin. */ +/* Written by Jaka Jancar (jaka@kubje.org). */ +/* c = č, s = š z = ž C = Č S = Š Z = Ž */ +jQuery(function($){ + $.datepicker.regional['sl'] = { + closeText: 'Zapri', + prevText: '<Prejšnji', + nextText: 'Naslednji>', + currentText: 'Trenutni', + monthNames: ['Januar','Februar','Marec','April','Maj','Junij', + 'Julij','Avgust','September','Oktober','November','December'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Avg','Sep','Okt','Nov','Dec'], + dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'], + dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'], + dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'], + weekHeader: 'Teden', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sl']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sq.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sq.js new file mode 100644 index 000000000..30c83537e --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sq.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Albanian initialisation for the jQuery UI date picker plugin. */ +/* Written by Flakron Bytyqi (flakron@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['sq'] = { + closeText: 'mbylle', + prevText: '<mbrapa', + nextText: 'Përpara>', + currentText: 'sot', + monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor', + 'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'], + monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer', + 'Kor','Gus','Sht','Tet','Nën','Dhj'], + dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'], + dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'], + dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'], + weekHeader: 'Ja', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sq']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sr-SR.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sr-SR.js new file mode 100644 index 000000000..cff9ddab6 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sr-SR.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Serbian i18n for the jQuery UI date picker plugin. */ +/* Written by Dejan Dimić. */ +jQuery(function($){ + $.datepicker.regional['sr-SR'] = { + closeText: 'Zatvori', + prevText: '<', + nextText: '>', + currentText: 'Danas', + monthNames: ['Januar','Februar','Mart','April','Maj','Jun', + 'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Avg','Sep','Okt','Nov','Dec'], + dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'], + dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'], + dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], + weekHeader: 'Sed', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sr-SR']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sr.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sr.js new file mode 100644 index 000000000..246c80b03 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sr.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Serbian i18n for the jQuery UI date picker plugin. */ +/* Written by Dejan Dimić. */ +jQuery(function($){ + $.datepicker.regional['sr'] = { + closeText: 'Затвори', + prevText: '<', + nextText: '>', + currentText: 'Данас', + monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун', + 'Јул','Август','Септембар','Октобар','Новембар','Децембар'], + monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун', + 'Јул','Авг','Сеп','Окт','Нов','Дец'], + dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'], + dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'], + dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'], + weekHeader: 'Сед', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sr']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sv.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sv.js new file mode 100644 index 000000000..8bc95d6b8 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-sv.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Swedish initialisation for the jQuery UI date picker plugin. */ +/* Written by Anders Ekdahl ( anders@nomadiz.se). */ +jQuery(function($){ + $.datepicker.regional['sv'] = { + closeText: 'Stäng', + prevText: '«Förra', + nextText: 'Nästa»', + currentText: 'Idag', + monthNames: ['Januari','Februari','Mars','April','Maj','Juni', + 'Juli','Augusti','September','Oktober','November','December'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dec'], + dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'], + dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'], + dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'], + weekHeader: 'Ve', + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['sv']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ta.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ta.js new file mode 100644 index 000000000..ff106236b --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-ta.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Tamil (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by S A Sureshkumar (saskumar@live.com). */ +jQuery(function($){ + $.datepicker.regional['ta'] = { + closeText: 'மூடு', + prevText: 'முன்னையது', + nextText: 'அடுத்தது', + currentText: 'இன்று', + monthNames: ['தை','மாசி','பங்குனி','சித்திரை','வைகாசி','ஆனி', + 'ஆடி','ஆவணி','புரட்டாசி','ஐப்பசி','கார்த்திகை','மார்கழி'], + monthNamesShort: ['தை','மாசி','பங்','சித்','வைகா','ஆனி', + 'ஆடி','ஆவ','புர','ஐப்','கார்','மார்'], + dayNames: ['ஞாயிற்றுக்கிழமை','திங்கட்கிழமை','செவ்வாய்க்கிழமை','புதன்கிழமை','வியாழக்கிழமை','வெள்ளிக்கிழமை','சனிக்கிழமை'], + dayNamesShort: ['ஞாயிறு','திங்கள்','செவ்வாய்','புதன்','வியாழன்','வெள்ளி','சனி'], + dayNamesMin: ['ஞா','தி','செ','பு','வி','வெ','ச'], + weekHeader: 'Не', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ta']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-th.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-th.js new file mode 100644 index 000000000..273f491af --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-th.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Thai initialisation for the jQuery UI date picker plugin. */ +/* Written by pipo (pipo@sixhead.com). */ +jQuery(function($){ + $.datepicker.regional['th'] = { + closeText: 'ปิด', + prevText: '« ย้อน', + nextText: 'ถัดไป »', + currentText: 'วันนี้', + monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน', + 'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'], + monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.', + 'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'], + dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'], + dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], + dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['th']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-tj.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-tj.js new file mode 100644 index 000000000..57d20282b --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-tj.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Tajiki (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Abdurahmon Saidov (saidovab@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['tj'] = { + closeText: 'Идома', + prevText: '<Қафо', + nextText: 'Пеш>', + currentText: 'Имрӯз', + monthNames: ['Январ','Феврал','Март','Апрел','Май','Июн', + 'Июл','Август','Сентябр','Октябр','Ноябр','Декабр'], + monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн', + 'Июл','Авг','Сен','Окт','Ноя','Дек'], + dayNames: ['якшанбе','душанбе','сешанбе','чоршанбе','панҷшанбе','ҷумъа','шанбе'], + dayNamesShort: ['якш','душ','сеш','чор','пан','ҷум','шан'], + dayNamesMin: ['Як','Дш','Сш','Чш','Пш','Ҷм','Шн'], + weekHeader: 'Хф', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['tj']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-tr.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-tr.js new file mode 100644 index 000000000..8f88fa41e --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-tr.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Turkish initialisation for the jQuery UI date picker plugin. */ +/* Written by Izzet Emre Erkan (kara@karalamalar.net). */ +jQuery(function($){ + $.datepicker.regional['tr'] = { + closeText: 'kapat', + prevText: '<geri', + nextText: 'ileri>', + currentText: 'bugün', + monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran', + 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'], + monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz', + 'Tem','Ağu','Eyl','Eki','Kas','Ara'], + dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'], + dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], + dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], + weekHeader: 'Hf', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['tr']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-uk.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-uk.js new file mode 100644 index 000000000..5646b51b8 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-uk.js @@ -0,0 +1,26 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */ +/* Written by Maxim Drogobitskiy (maxdao@gmail.com). */ +/* Corrected by Igor Milla (igor.fsp.milla@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['uk'] = { + closeText: 'Закрити', + prevText: '<', + nextText: '>', + currentText: 'Сьогодні', + monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень', + 'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'], + monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер', + 'Лип','Сер','Вер','Жов','Лис','Гру'], + dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'], + dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'], + dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'], + weekHeader: 'Тиж', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['uk']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-vi.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-vi.js new file mode 100644 index 000000000..020e4e5f2 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-vi.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Vietnamese initialisation for the jQuery UI date picker plugin. */ +/* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */ +jQuery(function($){ + $.datepicker.regional['vi'] = { + closeText: 'Đóng', + prevText: '<Trước', + nextText: 'Tiếp>', + currentText: 'Hôm nay', + monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu', + 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'], + monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6', + 'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'], + dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'], + dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], + dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'], + weekHeader: 'Tu', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['vi']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-zh-CN.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-zh-CN.js new file mode 100644 index 000000000..df4a1e4ce --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-zh-CN.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Chinese initialisation for the jQuery UI date picker plugin. */ +/* Written by Cloudream (cloudream@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['zh-CN'] = { + closeText: '关闭', + prevText: '<上月', + nextText: '下月>', + currentText: '今天', + monthNames: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + monthNamesShort: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], + dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], + dayNamesMin: ['日','一','二','三','四','五','六'], + weekHeader: '周', + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '年'}; + $.datepicker.setDefaults($.datepicker.regional['zh-CN']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-zh-HK.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-zh-HK.js new file mode 100644 index 000000000..668c70d02 --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-zh-HK.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Chinese initialisation for the jQuery UI date picker plugin. */ +/* Written by SCCY (samuelcychan@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['zh-HK'] = { + closeText: '關閉', + prevText: '<上月', + nextText: '下月>', + currentText: '今天', + monthNames: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + monthNamesShort: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], + dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], + dayNamesMin: ['日','一','二','三','四','五','六'], + weekHeader: '周', + dateFormat: 'dd-mm-yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '年'}; + $.datepicker.setDefaults($.datepicker.regional['zh-HK']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/i18n/jquery.ui.datepicker-zh-TW.js b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-zh-TW.js new file mode 100644 index 000000000..10c78c68d --- /dev/null +++ b/plugins/jqueryui/js/i18n/jquery.ui.datepicker-zh-TW.js @@ -0,0 +1,25 @@ +/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat (MIT) */ +/* Chinese initialisation for the jQuery UI date picker plugin. */ +/* Written by Ressol (ressol@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['zh-TW'] = { + closeText: '關閉', + prevText: '<上月', + nextText: '下月>', + currentText: '今天', + monthNames: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + monthNamesShort: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], + dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], + dayNamesMin: ['日','一','二','三','四','五','六'], + weekHeader: '周', + dateFormat: 'yy/mm/dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '年'}; + $.datepicker.setDefaults($.datepicker.regional['zh-TW']); +}); +/* @license-end */ diff --git a/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js b/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js new file mode 100755 index 000000000..73248ecac --- /dev/null +++ b/plugins/jqueryui/js/jquery-ui-1.10.4.custom.min.js @@ -0,0 +1,250 @@ +/*! jQuery UI - v1.10.4 - 2014-06-15 +* http://jqueryui.com +* +* @licstart The following is the entire license notice for the +* JavaScript code in this page. +* +* Copyright 2014 jQuery Foundation and other contributors +* +* Licensed under the MIT licenses +* +* Permission is hereby granted, free of charge, to any person obtaining +* a copy of this software and associated documentation files (the +* "Software"), to deal in the Software without restriction, including +* without limitation the rights to use, copy, modify, merge, publish, +* distribute, sublicense, and/or sell copies of the Software, and to +* permit persons to whom the Software is furnished to do so, subject to +* the following conditions: +* +* The above copyright notice and this permission notice shall be +* included in all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +* +* @licend The above is the entire license notice +* for the JavaScript code in this page. +* +* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js +*/ + +(function(e,t){function i(t,i){var s,a,o,r=t.nodeName.toLowerCase();return"area"===r?(s=t.parentNode,a=s.name,t.href&&a&&"map"===s.nodeName.toLowerCase()?(o=e("img[usemap=#"+a+"]")[0],!!o&&n(o)):!1):(/input|select|textarea|button|object/.test(r)?!t.disabled:"a"===r?t.href||i:i)&&n(t)}function n(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}var s=0,a=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{version:"1.10.4",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({focus:function(t){return function(i,n){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),n&&n.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;return t=e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var n,s,a=e(this[0]);a.length&&a[0]!==document;){if(n=a.css("position"),("absolute"===n||"relative"===n||"fixed"===n)&&(s=parseInt(a.css("zIndex"),10),!isNaN(s)&&0!==s))return s;a=a.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++s)})},removeUniqueId:function(){return this.each(function(){a.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,n){return!!e.data(t,n[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var n=e.attr(t,"tabindex"),s=isNaN(n);return(s||n>=0)&&i(t,!s)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(i,n){function s(t,i,n,s){return e.each(a,function(){i-=parseFloat(e.css(t,"padding"+this))||0,n&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var a="Width"===n?["Left","Right"]:["Top","Bottom"],o=n.toLowerCase(),r={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+n]=function(i){return i===t?r["inner"+n].call(this):this.each(function(){e(this).css(o,s(this,i)+"px")})},e.fn["outer"+n]=function(t,i){return"number"!=typeof t?r["outer"+n].call(this,t):this.each(function(){e(this).css(o,s(this,t,!0,i)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in document.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,i,n){var s,a=e.ui[t].prototype;for(s in n)a.plugins[s]=a.plugins[s]||[],a.plugins[s].push([i,n[s]])},call:function(e,t,i){var n,s=e.plugins[t];if(s&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(n=0;s.length>n;n++)e.options[s[n][0]]&&s[n][1].apply(e.element,i)}},hasScroll:function(t,i){if("hidden"===e(t).css("overflow"))return!1;var n=i&&"left"===i?"scrollLeft":"scrollTop",s=!1;return t[n]>0?!0:(t[n]=1,s=t[n]>0,t[n]=0,s)}})})(jQuery);(function(t,e){var i=0,s=Array.prototype.slice,n=t.cleanData;t.cleanData=function(e){for(var i,s=0;null!=(i=e[s]);s++)try{t(i).triggerHandler("remove")}catch(a){}n(e)},t.widget=function(i,s,n){var a,o,r,h,l={},u=i.split(".")[0];i=i.split(".")[1],a=u+"-"+i,n||(n=s,s=t.Widget),t.expr[":"][a.toLowerCase()]=function(e){return!!t.data(e,a)},t[u]=t[u]||{},o=t[u][i],r=t[u][i]=function(t,i){return this._createWidget?(arguments.length&&this._createWidget(t,i),e):new r(t,i)},t.extend(r,o,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),h=new s,h.options=t.widget.extend({},h.options),t.each(n,function(i,n){return t.isFunction(n)?(l[i]=function(){var t=function(){return s.prototype[i].apply(this,arguments)},e=function(t){return s.prototype[i].apply(this,t)};return function(){var i,s=this._super,a=this._superApply;return this._super=t,this._superApply=e,i=n.apply(this,arguments),this._super=s,this._superApply=a,i}}(),e):(l[i]=n,e)}),r.prototype=t.widget.extend(h,{widgetEventPrefix:o?h.widgetEventPrefix||i:i},l,{constructor:r,namespace:u,widgetName:i,widgetFullName:a}),o?(t.each(o._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,r,i._proto)}),delete o._childConstructors):s._childConstructors.push(r),t.widget.bridge(i,r)},t.widget.extend=function(i){for(var n,a,o=s.call(arguments,1),r=0,h=o.length;h>r;r++)for(n in o[r])a=o[r][n],o[r].hasOwnProperty(n)&&a!==e&&(i[n]=t.isPlainObject(a)?t.isPlainObject(i[n])?t.widget.extend({},i[n],a):t.widget.extend({},a):a);return i},t.widget.bridge=function(i,n){var a=n.prototype.widgetFullName||i;t.fn[i]=function(o){var r="string"==typeof o,h=s.call(arguments,1),l=this;return o=!r&&h.length?t.widget.extend.apply(null,[o].concat(h)):o,r?this.each(function(){var s,n=t.data(this,a);return n?t.isFunction(n[o])&&"_"!==o.charAt(0)?(s=n[o].apply(n,h),s!==n&&s!==e?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):e):t.error("no such method '"+o+"' for "+i+" widget instance"):t.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+o+"'")}):this.each(function(){var e=t.data(this,a);e?e.option(o||{})._init():t.data(this,a,new n(o,this))}),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=t(),this.hoverable=t(),this.focusable=t(),s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(i,s){var n,a,o,r=i;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof i)if(r={},n=i.split("."),i=n.shift(),n.length){for(a=r[i]=t.widget.extend({},this.options[i]),o=0;n.length-1>o;o++)a[n[o]]=a[n[o]]||{},a=a[n[o]];if(i=n.pop(),1===arguments.length)return a[i]===e?null:a[i];a[i]=s}else{if(1===arguments.length)return this.options[i]===e?null:this.options[i];r[i]=s}return this._setOptions(r),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var a,o=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=a=t(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,a=this.widget()),t.each(n,function(n,r){function h(){return i||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof r?o[r]:r).apply(o,arguments):e}"string"!=typeof r&&(h.guid=r.guid=r.guid||h.guid||t.guid++);var l=n.match(/^(\w+)\s*(.*)$/),u=l[1]+o.eventNamespace,c=l[2];c?a.delegate(c,u,h):s.bind(u,h)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,i,s){var n,a,o=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(n in a)n in i||(i[n]=a[n]);return this.element.trigger(i,s),!(t.isFunction(o)&&o.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,a){"string"==typeof n&&(n={effect:n});var o,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),o=!t.isEmptyObject(n),n.complete=a,n.delay&&s.delay(n.delay),o&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,a):s.queue(function(i){t(this)[e](),a&&a.call(s[0]),i()})}})})(jQuery);(function(t){var e=!1;t(document).mouseup(function(){e=!1}),t.widget("ui.mouse",{version:"1.10.4",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!e){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,n=1===i.which,a="string"==typeof this.options.cancel&&i.target.nodeName?t(i.target).closest(this.options.cancel).length:!1;return n&&!a&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===t.data(i.target,this.widgetName+".preventClickEvent")&&t.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return s._mouseMove(t)},this._mouseUpDelegate=function(t){return s._mouseUp(t)},t(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),e=!0,!0)):!0}},_mouseMove:function(e){return t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button?this._mouseUp(e):this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(jQuery);(function(t,e){function i(t,e,i){return[parseFloat(t[0])*(p.test(t[0])?e/100:1),parseFloat(t[1])*(p.test(t[1])?i/100:1)]}function s(e,i){return parseInt(t.css(e,i),10)||0}function n(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var a,o=Math.max,r=Math.abs,l=Math.round,h=/left|center|right/,c=/top|center|bottom/,u=/[\+\-]\d+(\.[\d]+)?%?/,d=/^\w+/,p=/%$/,f=t.fn.position;t.position={scrollbarWidth:function(){if(a!==e)return a;var i,s,n=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=n.children()[0];return t("body").append(n),i=o.offsetWidth,n.css("overflow","scroll"),s=o.offsetWidth,i===s&&(s=n[0].clientWidth),n.remove(),a=i-s},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,a="scroll"===s||"auto"===s&&e.height<e.element[0].scrollHeight;return{width:a?t.position.scrollbarWidth():0,height:n?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),s=t.isWindow(i[0]),n=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:s,isDocument:n,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:s?i.width():i.outerWidth(),height:s?i.height():i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return f.apply(this,arguments);e=t.extend({},e);var a,p,g,m,v,_,b=t(e.of),y=t.position.getWithinInfo(e.within),k=t.position.getScrollInfo(y),D=(e.collision||"flip").split(" "),w={};return _=n(b),b[0].preventDefault&&(e.at="left top"),p=_.width,g=_.height,m=_.offset,v=t.extend({},m),t.each(["my","at"],function(){var t,i,s=(e[this]||"").split(" ");1===s.length&&(s=h.test(s[0])?s.concat(["center"]):c.test(s[0])?["center"].concat(s):["center","center"]),s[0]=h.test(s[0])?s[0]:"center",s[1]=c.test(s[1])?s[1]:"center",t=u.exec(s[0]),i=u.exec(s[1]),w[this]=[t?t[0]:0,i?i[0]:0],e[this]=[d.exec(s[0])[0],d.exec(s[1])[0]]}),1===D.length&&(D[1]=D[0]),"right"===e.at[0]?v.left+=p:"center"===e.at[0]&&(v.left+=p/2),"bottom"===e.at[1]?v.top+=g:"center"===e.at[1]&&(v.top+=g/2),a=i(w.at,p,g),v.left+=a[0],v.top+=a[1],this.each(function(){var n,h,c=t(this),u=c.outerWidth(),d=c.outerHeight(),f=s(this,"marginLeft"),_=s(this,"marginTop"),x=u+f+s(this,"marginRight")+k.width,C=d+_+s(this,"marginBottom")+k.height,M=t.extend({},v),T=i(w.my,c.outerWidth(),c.outerHeight());"right"===e.my[0]?M.left-=u:"center"===e.my[0]&&(M.left-=u/2),"bottom"===e.my[1]?M.top-=d:"center"===e.my[1]&&(M.top-=d/2),M.left+=T[0],M.top+=T[1],t.support.offsetFractions||(M.left=l(M.left),M.top=l(M.top)),n={marginLeft:f,marginTop:_},t.each(["left","top"],function(i,s){t.ui.position[D[i]]&&t.ui.position[D[i]][s](M,{targetWidth:p,targetHeight:g,elemWidth:u,elemHeight:d,collisionPosition:n,collisionWidth:x,collisionHeight:C,offset:[a[0]+T[0],a[1]+T[1]],my:e.my,at:e.at,within:y,elem:c})}),e.using&&(h=function(t){var i=m.left-M.left,s=i+p-u,n=m.top-M.top,a=n+g-d,l={target:{element:b,left:m.left,top:m.top,width:p,height:g},element:{element:c,left:M.left,top:M.top,width:u,height:d},horizontal:0>s?"left":i>0?"right":"center",vertical:0>a?"top":n>0?"bottom":"middle"};u>p&&p>r(i+s)&&(l.horizontal="center"),d>g&&g>r(n+a)&&(l.vertical="middle"),l.important=o(r(i),r(s))>o(r(n),r(a))?"horizontal":"vertical",e.using.call(this,t,l)}),c.offset(t.extend(M,{using:h}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,l=n-r,h=r+e.collisionWidth-a-n;e.collisionWidth>a?l>0&&0>=h?(i=t.left+l+e.collisionWidth-a-n,t.left+=l-i):t.left=h>0&&0>=l?n:l>h?n+a-e.collisionWidth:n:l>0?t.left+=l:h>0?t.left-=h:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,l=n-r,h=r+e.collisionHeight-a-n;e.collisionHeight>a?l>0&&0>=h?(i=t.top+l+e.collisionHeight-a-n,t.top+=l-i):t.top=h>0&&0>=l?n:l>h?n+a-e.collisionHeight:n:l>0?t.top+=l:h>0?t.top-=h:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,a=n.offset.left+n.scrollLeft,o=n.width,l=n.isWindow?n.scrollLeft:n.offset.left,h=t.left-e.collisionPosition.marginLeft,c=h-l,u=h+e.collisionWidth-o-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-o-a,(0>i||r(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-l,(s>0||u>r(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,a=n.offset.top+n.scrollTop,o=n.height,l=n.isWindow?n.scrollTop:n.offset.top,h=t.top-e.collisionPosition.marginTop,c=h-l,u=h+e.collisionHeight-o-l,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-o-a,t.top+p+f+g>c&&(0>s||r(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-l,t.top+p+f+g>u&&(i>0||u>r(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,s,n,a,o=document.getElementsByTagName("body")[0],r=document.createElement("div");e=document.createElement(o?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},o&&t.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(a in s)e.style[a]=s[a];e.appendChild(r),i=o||document.documentElement,i.insertBefore(e,i.firstChild),r.style.cssText="position: absolute; left: 10.7432222px;",n=t(r).offset().left,t.support.offsetFractions=n>10&&11>n,e.innerHTML="",i.removeChild(e)}()})(jQuery);(function(t){t.widget("ui.draggable",t.ui.mouse,{version:"1.10.4",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(e),this.handle?(t(i.iframeFix===!0?"iframe":i.iframeFix).each(function(){t("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(t(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offsetParent=this.helper.offsetParent(),this.offsetParentCssPosition=this.offsetParent.css("position"),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.offset.scroll=!1,t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_mouseDrag:function(e,i){if("fixed"===this.offsetParentCssPosition&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",e,s)===!1)return this._mouseUp({}),!1;this.position=s.position}return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,s=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(s=t.ui.ddmanager.drop(this,e)),this.dropped&&(s=this.dropped,this.dropped=!1),"original"!==this.options.helper||t.contains(this.element[0].ownerDocument,this.element[0])?("invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){i._trigger("stop",e)!==!1&&i._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1):!1},_mouseUp:function(e){return t("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;return n.containment?"window"===n.containment?(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):"document"===n.containment?(this.containment=[0,0,t(document).width()-this.helperProportions.width-this.margins.left,(t(document).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top],undefined):n.containment.constructor===Array?(this.containment=n.containment,undefined):("parent"===n.containment&&(n.containment=this.helper[0].parentNode),i=t(n.containment),s=i[0],s&&(e="hidden"!==i.css("overflow"),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i),undefined):(this.containment=null,undefined)},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent;return this.offset.scroll||(this.offset.scroll={top:n.scrollTop(),left:n.scrollLeft()}),{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top)*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)*s}},_generatePosition:function(e){var i,s,n,a,o=this.options,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=e.pageX,h=e.pageY;return this.offset.scroll||(this.offset.scroll={top:r.scrollTop(),left:r.scrollLeft()}),this.originalPosition&&(this.containment&&(this.relative_container?(s=this.relative_container.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,e.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(h=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(h=i[3]+this.offset.click.top)),o.grid&&(n=o.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,h=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-o.grid[1]:n+o.grid[1]:n,a=o.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,l=i?a-this.offset.click.left>=i[0]||a-this.offset.click.left>i[2]?a:a-this.offset.click.left>=i[0]?a-o.grid[0]:a+o.grid[0]:a)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():this.offset.scroll.left)}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(e,i,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[i,s]),"drag"===e&&(this.positionAbs=this._convertPositionTo("absolute")),t.Widget.prototype._trigger.call(this,e,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i){var s=t(this).data("ui-draggable"),n=s.options,a=t.extend({},i,{item:s.element});s.sortables=[],t(n.connectToSortable).each(function(){var i=t.data(this,"ui-sortable");i&&!i.options.disabled&&(s.sortables.push({instance:i,shouldRevert:i.options.revert}),i.refreshPositions(),i._trigger("activate",e,a))})},stop:function(e,i){var s=t(this).data("ui-draggable"),n=t.extend({},i,{item:s.element});t.each(s.sortables,function(){this.instance.isOver?(this.instance.isOver=0,s.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(e),this.instance.options.helper=this.instance.options._helper,"original"===s.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",e,n))})},drag:function(e,i){var s=t(this).data("ui-draggable"),n=this;t.each(s.sortables,function(){var a=!1,o=this;this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(a=!0,t.each(s.sortables,function(){return this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this!==o&&this.instance._intersectsWith(this.instance.containerCache)&&t.contains(o.instance.element[0],this.instance.element[0])&&(a=!1),a})),a?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=t(n).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return i.helper[0]},e.target=this.instance.currentItem[0],this.instance._mouseCapture(e,!0),this.instance._mouseStart(e,!0,!0),this.instance.offset.click.top=s.offset.click.top,this.instance.offset.click.left=s.offset.click.left,this.instance.offset.parent.left-=s.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=s.offset.parent.top-this.instance.offset.parent.top,s._trigger("toSortable",e),s.dropped=this.instance.element,s.currentItem=s.element,this.instance.fromOutside=s),this.instance.currentItem&&this.instance._mouseDrag(e)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",e,this.instance._uiHash(this.instance)),this.instance._mouseStop(e,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),s._trigger("fromSortable",e),s.dropped=!1)})}}),t.ui.plugin.add("draggable","cursor",{start:function(){var e=t("body"),i=t(this).data("ui-draggable").options;e.css("cursor")&&(i._cursor=e.css("cursor")),e.css("cursor",i.cursor)},stop:function(){var e=t(this).data("ui-draggable").options;e._cursor&&t("body").css("cursor",e._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("opacity")&&(n._opacity=s.css("opacity")),s.css("opacity",n.opacity)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._opacity&&t(i.helper).css("opacity",s._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(){var e=t(this).data("ui-draggable");e.scrollParent[0]!==document&&"HTML"!==e.scrollParent[0].tagName&&(e.overflowOffset=e.scrollParent.offset())},drag:function(e){var i=t(this).data("ui-draggable"),s=i.options,n=!1;i.scrollParent[0]!==document&&"HTML"!==i.scrollParent[0].tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-e.pageY<s.scrollSensitivity?i.scrollParent[0].scrollTop=n=i.scrollParent[0].scrollTop+s.scrollSpeed:e.pageY-i.overflowOffset.top<s.scrollSensitivity&&(i.scrollParent[0].scrollTop=n=i.scrollParent[0].scrollTop-s.scrollSpeed)),s.axis&&"y"===s.axis||(i.overflowOffset.left+i.scrollParent[0].offsetWidth-e.pageX<s.scrollSensitivity?i.scrollParent[0].scrollLeft=n=i.scrollParent[0].scrollLeft+s.scrollSpeed:e.pageX-i.overflowOffset.left<s.scrollSensitivity&&(i.scrollParent[0].scrollLeft=n=i.scrollParent[0].scrollLeft-s.scrollSpeed))):(s.axis&&"x"===s.axis||(e.pageY-t(document).scrollTop()<s.scrollSensitivity?n=t(document).scrollTop(t(document).scrollTop()-s.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<s.scrollSensitivity&&(n=t(document).scrollTop(t(document).scrollTop()+s.scrollSpeed))),s.axis&&"y"===s.axis||(e.pageX-t(document).scrollLeft()<s.scrollSensitivity?n=t(document).scrollLeft(t(document).scrollLeft()-s.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<s.scrollSensitivity&&(n=t(document).scrollLeft(t(document).scrollLeft()+s.scrollSpeed)))),n!==!1&&t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(i,e)}}),t.ui.plugin.add("draggable","snap",{start:function(){var e=t(this).data("ui-draggable"),i=e.options;e.snapElements=[],t(i.snap.constructor!==String?i.snap.items||":data(ui-draggable)":i.snap).each(function(){var i=t(this),s=i.offset();this!==e.element[0]&&e.snapElements.push({item:this,width:i.outerWidth(),height:i.outerHeight(),top:s.top,left:s.left})})},drag:function(e,i){var s,n,a,o,r,l,h,c,u,d,p=t(this).data("ui-draggable"),g=p.options,f=g.snapTolerance,m=i.offset.left,_=m+p.helperProportions.width,v=i.offset.top,b=v+p.helperProportions.height;for(u=p.snapElements.length-1;u>=0;u--)r=p.snapElements[u].left,l=r+p.snapElements[u].width,h=p.snapElements[u].top,c=h+p.snapElements[u].height,r-f>_||m>l+f||h-f>b||v>c+f||!t.contains(p.snapElements[u].item.ownerDocument,p.snapElements[u].item)?(p.snapElements[u].snapping&&p.options.snap.release&&p.options.snap.release.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=!1):("inner"!==g.snapMode&&(s=f>=Math.abs(h-b),n=f>=Math.abs(c-v),a=f>=Math.abs(r-_),o=f>=Math.abs(l-m),s&&(i.position.top=p._convertPositionTo("relative",{top:h-p.helperProportions.height,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c,left:0}).top-p.margins.top),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r-p.helperProportions.width}).left-p.margins.left),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:l}).left-p.margins.left)),d=s||n||a||o,"outer"!==g.snapMode&&(s=f>=Math.abs(h-v),n=f>=Math.abs(c-b),a=f>=Math.abs(r-m),o=f>=Math.abs(l-_),s&&(i.position.top=p._convertPositionTo("relative",{top:h,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c-p.helperProportions.height,left:0}).top-p.margins.top),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r}).left-p.margins.left),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:l-p.helperProportions.width}).left-p.margins.left)),!p.snapElements[u].snapping&&(s||n||a||o||d)&&p.options.snap.snap&&p.options.snap.snap.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=s||n||a||o||d)}}),t.ui.plugin.add("draggable","stack",{start:function(){var e,i=this.data("ui-draggable").options,s=t.makeArray(t(i.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});s.length&&(e=parseInt(t(s[0]).css("zIndex"),10)||0,t(s).each(function(i){t(this).css("zIndex",e+i)}),this.css("zIndex",e+s.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("zIndex")&&(n._zIndex=s.css("zIndex")),s.css("zIndex",n.zIndex)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._zIndex&&t(i.helper).css("zIndex",s._zIndex)}})})(jQuery);(function(t){function e(t,e,i){return t>e&&e+i>t}t.widget("ui.droppable",{version:"1.10.4",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,i=this.options,s=i.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(s)?s:function(t){return t.is(s)},this.proportions=function(){return arguments.length?(e=arguments[0],undefined):e?e:e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}},t.ui.ddmanager.droppables[i.scope]=t.ui.ddmanager.droppables[i.scope]||[],t.ui.ddmanager.droppables[i.scope].push(this),i.addClasses&&this.element.addClass("ui-droppable")},_destroy:function(){for(var e=0,i=t.ui.ddmanager.droppables[this.options.scope];i.length>e;e++)i[e]===this&&i.splice(e,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(e,i){"accept"===e&&(this.accept=t.isFunction(i)?i:function(t){return t.is(i)}),t.Widget.prototype._setOption.apply(this,arguments)},_activate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var s=i||t.ui.ddmanager.current,n=!1;return s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=t.data(this,"ui-droppable");return e.options.greedy&&!e.options.disabled&&e.options.scope===s.options.scope&&e.accept.call(e.element[0],s.currentItem||s.element)&&t.ui.intersect(s,t.extend(e,{offset:e.element.offset()}),e.options.tolerance)?(n=!0,!1):undefined}),n?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",e,this.ui(s)),this.element):!1):!1},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),t.ui.intersect=function(t,i,s){if(!i.offset)return!1;var n,a,o=(t.positionAbs||t.position.absolute).left,r=(t.positionAbs||t.position.absolute).top,l=o+t.helperProportions.width,h=r+t.helperProportions.height,c=i.offset.left,u=i.offset.top,d=c+i.proportions().width,p=u+i.proportions().height;switch(s){case"fit":return o>=c&&d>=l&&r>=u&&p>=h;case"intersect":return o+t.helperProportions.width/2>c&&d>l-t.helperProportions.width/2&&r+t.helperProportions.height/2>u&&p>h-t.helperProportions.height/2;case"pointer":return n=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,a=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,e(a,u,i.proportions().height)&&e(n,c,i.proportions().width);case"touch":return(r>=u&&p>=r||h>=u&&p>=h||u>r&&h>p)&&(o>=c&&d>=o||l>=c&&d>=l||c>o&&l>d);default:return!1}},t.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(e,i){var s,n,a=t.ui.ddmanager.droppables[e.options.scope]||[],o=i?i.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(s=0;a.length>s;s++)if(!(a[s].options.disabled||e&&!a[s].accept.call(a[s].element[0],e.currentItem||e.element))){for(n=0;r.length>n;n++)if(r[n]===a[s].element[0]){a[s].proportions().height=0;continue t}a[s].visible="none"!==a[s].element.css("display"),a[s].visible&&("mousedown"===o&&a[s]._activate.call(a[s],i),a[s].offset=a[s].element.offset(),a[s].proportions({width:a[s].element[0].offsetWidth,height:a[s].element[0].offsetHeight}))}},drop:function(e,i){var s=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&t.ui.intersect(e,this,this.options.tolerance)&&(s=this._drop.call(this,i)||s),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),s},dragStart:function(e,i){e.element.parentsUntil("body").bind("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,n,a,o=t.ui.intersect(e,this,this.options.tolerance),r=!o&&this.isover?"isout":o&&!this.isover?"isover":null;r&&(this.options.greedy&&(n=this.options.scope,a=this.element.parents(":data(ui-droppable)").filter(function(){return t.data(this,"ui-droppable").options.scope===n}),a.length&&(s=t.data(a[0],"ui-droppable"),s.greedyChild="isover"===r)),s&&"isover"===r&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,this["isover"===r?"_over":"_out"].call(this,i),s&&"isout"===r&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(e,i){e.element.parentsUntil("body").unbind("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}}})(jQuery);(function(t){function e(t){return parseInt(t,10)||0}function i(t){return!isNaN(parseInt(t,10))}t.widget("ui.resizable",t.ui.mouse,{version:"1.10.4",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var e,i,s,n,a,o=this,r=this.options;if(this.element.addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!r.aspectRatio,aspectRatio:r.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:r.helper||r.ghost||r.animate?r.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=r.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},i=0;e.length>i;i++)s=t.trim(e[i]),a="ui-resizable-"+s,n=t("<div class='ui-resizable-handle "+a+"'></div>"),n.css({zIndex:r.zIndex}),"se"===s&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(n);this._renderAxis=function(e){var i,s,n,a;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String&&(this.handles[i]=t(this.handles[i],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=t(this.handles[i],this.element),a=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,a),this._proportionallyResize()),t(this.handles[i]).length},this._renderAxis(this.element),this._handles=t(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){o.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=n&&n[1]?n[1]:"se")}),r.autoHide&&(this._handles.hide(),t(this.element).addClass("ui-resizable-autohide").mouseenter(function(){r.disabled||(t(this).removeClass("ui-resizable-autohide"),o._handles.show())}).mouseleave(function(){r.disabled||o.resizing||(t(this).addClass("ui-resizable-autohide"),o._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(i){var s,n,a,o=this.options,r=this.element.position(),l=this.element;return this.resizing=!0,/absolute/.test(l.css("position"))?l.css({position:"absolute",top:l.css("top"),left:l.css("left")}):l.is(".ui-draggable")&&l.css({position:"absolute",top:r.top,left:r.left}),this._renderProxy(),s=e(this.helper.css("left")),n=e(this.helper.css("top")),o.containment&&(s+=t(o.containment).scrollLeft()||0,n+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:s,top:n},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:l.width(),height:l.height()},this.originalSize=this._helper?{width:l.outerWidth(),height:l.outerHeight()}:{width:l.width(),height:l.height()},this.originalPosition={left:s,top:n},this.sizeDiff={width:l.outerWidth()-l.width(),height:l.outerHeight()-l.height()},this.originalMousePosition={left:i.pageX,top:i.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,a=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===a?this.axis+"-resize":a),l.addClass("ui-resizable-resizing"),this._propagate("start",i),!0},_mouseDrag:function(e){var i,s=this.helper,n={},a=this.originalMousePosition,o=this.axis,r=this.position.top,l=this.position.left,h=this.size.width,u=this.size.height,c=e.pageX-a.left||0,d=e.pageY-a.top||0,p=this._change[o];return p?(i=p.apply(this,[e,c,d]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),this.position.top!==r&&(n.top=this.position.top+"px"),this.position.left!==l&&(n.left=this.position.left+"px"),this.size.width!==h&&(n.width=this.size.width+"px"),this.size.height!==u&&(n.height=this.size.height+"px"),s.css(n),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(n)||this._trigger("resize",e,this.ui()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,a,o,r,l,h=this.options,u=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&t.ui.hasScroll(i[0],"left")?0:u.sizeDiff.height,a=s?0:u.sizeDiff.width,o={width:u.helper.width()-a,height:u.helper.height()-n},r=parseInt(u.element.css("left"),10)+(u.position.left-u.originalPosition.left)||null,l=parseInt(u.element.css("top"),10)+(u.position.top-u.originalPosition.top)||null,h.animate||this.element.css(t.extend(o,{top:l,left:r})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper&&!h.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,s,n,a,o,r=this.options;o={minWidth:i(r.minWidth)?r.minWidth:0,maxWidth:i(r.maxWidth)?r.maxWidth:1/0,minHeight:i(r.minHeight)?r.minHeight:0,maxHeight:i(r.maxHeight)?r.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,n=o.minWidth/this.aspectRatio,s=o.maxHeight*this.aspectRatio,a=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),n>o.minHeight&&(o.minHeight=n),o.maxWidth>s&&(o.maxWidth=s),o.maxHeight>a&&(o.maxHeight=a)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),i(t.left)&&(this.position.left=t.left),i(t.top)&&(this.position.top=t.top),i(t.height)&&(this.size.height=t.height),i(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,s=this.size,n=this.axis;return i(t.height)?t.width=t.height*this.aspectRatio:i(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(s.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(s.height-t.height),t.left=e.left+(s.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,s=this.axis,n=i(t.width)&&e.maxWidth&&e.maxWidth<t.width,a=i(t.height)&&e.maxHeight&&e.maxHeight<t.height,o=i(t.width)&&e.minWidth&&e.minWidth>t.width,r=i(t.height)&&e.minHeight&&e.minHeight>t.height,l=this.originalPosition.left+this.originalSize.width,h=this.position.top+this.size.height,u=/sw|nw|w/.test(s),c=/nw|ne|n/.test(s);return o&&(t.width=e.minWidth),r&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),a&&(t.height=e.maxHeight),o&&u&&(t.left=l-e.minWidth),n&&u&&(t.left=l-e.maxWidth),r&&c&&(t.top=h-e.minHeight),a&&c&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var t,e,i,s,n,a=this.helper||this.element;for(t=0;this._proportionallyResizeElements.length>t;t++){if(n=this._proportionallyResizeElements[t],!this.borderDif)for(this.borderDif=[],i=[n.css("borderTopWidth"),n.css("borderRightWidth"),n.css("borderBottomWidth"),n.css("borderLeftWidth")],s=[n.css("paddingTop"),n.css("paddingRight"),n.css("paddingBottom"),n.css("paddingLeft")],e=0;i.length>e;e++)this.borderDif[e]=(parseInt(i[e],10)||0)+(parseInt(s[e],10)||0);n.css({height:a.height()-this.borderDif[0]-this.borderDif[2]||0,width:a.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).data("ui-resizable"),s=i.options,n=i._proportionallyResizeElements,a=n.length&&/textarea/i.test(n[0].nodeName),o=a&&t.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,r=a?0:i.sizeDiff.width,l={width:i.size.width-r,height:i.size.height-o},h=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,u=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,u&&h?{top:u,left:h}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var i,s,n,a,o,r,l,h=t(this).data("ui-resizable"),u=h.options,c=h.element,d=u.containment,p=d instanceof t?d.get(0):/parent/.test(d)?c.parent().get(0):d;p&&(h.containerElement=t(p),/document/.test(d)||d===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(i=t(p),s=[],t(["Top","Right","Left","Bottom"]).each(function(t,n){s[t]=e(i.css("padding"+n))}),h.containerOffset=i.offset(),h.containerPosition=i.position(),h.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},n=h.containerOffset,a=h.containerSize.height,o=h.containerSize.width,r=t.ui.hasScroll(p,"left")?p.scrollWidth:o,l=t.ui.hasScroll(p)?p.scrollHeight:a,h.parentData={element:p,left:n.left,top:n.top,width:r,height:l}))},resize:function(e){var i,s,n,a,o=t(this).data("ui-resizable"),r=o.options,l=o.containerOffset,h=o.position,u=o._aspectRatio||e.shiftKey,c={top:0,left:0},d=o.containerElement;d[0]!==document&&/static/.test(d.css("position"))&&(c=l),h.left<(o._helper?l.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-l.left:o.position.left-c.left),u&&(o.size.height=o.size.width/o.aspectRatio),o.position.left=r.helper?l.left:0),h.top<(o._helper?l.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-l.top:o.position.top),u&&(o.size.width=o.size.height*o.aspectRatio),o.position.top=o._helper?l.top:0),o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top,i=Math.abs((o._helper?o.offset.left-c.left:o.offset.left-c.left)+o.sizeDiff.width),s=Math.abs((o._helper?o.offset.top-c.top:o.offset.top-l.top)+o.sizeDiff.height),n=o.containerElement.get(0)===o.element.parent().get(0),a=/relative|absolute/.test(o.containerElement.css("position")),n&&a&&(i-=Math.abs(o.parentData.left)),i+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-i,u&&(o.size.height=o.size.width/o.aspectRatio)),s+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-s,u&&(o.size.width=o.size.height*o.aspectRatio))},stop:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.containerOffset,n=e.containerPosition,a=e.containerElement,o=t(e.helper),r=o.offset(),l=o.outerWidth()-e.sizeDiff.width,h=o.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(a.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:l,height:h}),e._helper&&!i.animate&&/static/.test(a.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:l,height:h})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=function(e){t(e).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10)})})};"object"!=typeof i.alsoResize||i.alsoResize.parentNode?s(i.alsoResize):i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):t.each(i.alsoResize,function(t){s(t)})},resize:function(e,i){var s=t(this).data("ui-resizable"),n=s.options,a=s.originalSize,o=s.originalPosition,r={height:s.size.height-a.height||0,width:s.size.width-a.width||0,top:s.position.top-o.top||0,left:s.position.left-o.left||0},l=function(e,s){t(e).each(function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),a={},o=s&&s.length?s:e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(n[e]||0)+(r[e]||0);i&&i>=0&&(a[e]=i||null)}),e.css(a)})};"object"!=typeof n.alsoResize||n.alsoResize.nodeType?l(n.alsoResize):t.each(n.alsoResize,function(t,e){l(t,e)})},stop:function(){t(this).removeData("resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof i.ghost?i.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).data("ui-resizable");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).data("ui-resizable");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size,n=e.originalSize,a=e.originalPosition,o=e.axis,r="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=r[0]||1,h=r[1]||1,u=Math.round((s.width-n.width)/l)*l,c=Math.round((s.height-n.height)/h)*h,d=n.width+u,p=n.height+c,f=i.maxWidth&&d>i.maxWidth,g=i.maxHeight&&p>i.maxHeight,m=i.minWidth&&i.minWidth>d,v=i.minHeight&&i.minHeight>p;i.grid=r,m&&(d+=l),v&&(p+=h),f&&(d-=l),g&&(p-=h),/^(se|s|e)$/.test(o)?(e.size.width=d,e.size.height=p):/^(ne)$/.test(o)?(e.size.width=d,e.size.height=p,e.position.top=a.top-c):/^(sw)$/.test(o)?(e.size.width=d,e.size.height=p,e.position.left=a.left-u):(p-h>0?(e.size.height=p,e.position.top=a.top-c):(e.size.height=h,e.position.top=a.top+n.height-h),d-l>0?(e.size.width=d,e.position.left=a.left-u):(e.size.width=l,e.position.left=a.left+n.width-l))}})})(jQuery);(function(t){t.widget("ui.selectable",t.ui.mouse,{version:"1.10.4",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e,i=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e=t(i.options.filter,i.element[0]),e.addClass("ui-selectee"),e.each(function(){var e=t(this),i=e.offset();t.data(this,"selectable-item",{element:this,$element:e,left:i.left,top:i.top,right:i.left+e.outerWidth(),bottom:i.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=e.addClass("ui-selectee"),this._mouseInit(),this.helper=t("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(e){var i=this,s=this.options;this.opos=[e.pageX,e.pageY],this.options.disabled||(this.selectees=t(s.filter,this.element[0]),this._trigger("start",e),t(s.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var s=t.data(this,"selectable-item");s.startselected=!0,e.metaKey||e.ctrlKey||(s.$element.removeClass("ui-selected"),s.selected=!1,s.$element.addClass("ui-unselecting"),s.unselecting=!0,i._trigger("unselecting",e,{unselecting:s.element}))}),t(e.target).parents().addBack().each(function(){var s,n=t.data(this,"selectable-item");return n?(s=!e.metaKey&&!e.ctrlKey||!n.$element.hasClass("ui-selected"),n.$element.removeClass(s?"ui-unselecting":"ui-selected").addClass(s?"ui-selecting":"ui-unselecting"),n.unselecting=!s,n.selecting=s,n.selected=s,s?i._trigger("selecting",e,{selecting:n.element}):i._trigger("unselecting",e,{unselecting:n.element}),!1):undefined}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,s=this,n=this.options,a=this.opos[0],o=this.opos[1],r=e.pageX,l=e.pageY;return a>r&&(i=r,r=a,a=i),o>l&&(i=l,l=o,o=i),this.helper.css({left:a,top:o,width:r-a,height:l-o}),this.selectees.each(function(){var i=t.data(this,"selectable-item"),h=!1;i&&i.element!==s.element[0]&&("touch"===n.tolerance?h=!(i.left>r||a>i.right||i.top>l||o>i.bottom):"fit"===n.tolerance&&(h=i.left>a&&r>i.right&&i.top>o&&l>i.bottom),h?(i.selected&&(i.$element.removeClass("ui-selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-selecting"),i.selecting=!0,s._trigger("selecting",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.$element.addClass("ui-selected"),i.selected=!0):(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-unselecting"),i.unselecting=!0),s._trigger("unselecting",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,s._trigger("unselecting",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",e,{unselected:s.element})}),t(".ui-selecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-selecting").addClass("ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected",e,{selected:s.element})}),this._trigger("stop",e),this.helper.remove(),!1}})})(jQuery);(function(t){function e(t,e,i){return t>e&&e+i>t}function i(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))}t.widget("ui.sortable",t.ui.mouse,{version:"1.10.4",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?"x"===t.axis||i(this.items[0].item):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(e,i){"disabled"===e?(this.options[e]=i,this.widget().toggleClass("ui-sortable-disabled",!!i)):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,i){var s=null,n=!1,a=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,a.widgetName+"-item")===a?(s=t(this),!1):undefined}),t.data(e.target,a.widgetName+"-item")===a&&(s=t(e.target)),s?!this.options.handle||i||(t(this.options.handle,s).find("*").addBack().each(function(){this===e.target&&(n=!0)}),n)?(this.currentItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(e,i,s){var n,a,o=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(a=this.document.find("body"),this.storedCursor=a.css("cursor"),a.css("cursor",o.cursor),this.storedStylesheet=t("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(a)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.length-1;n>=0;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,s,n,a,o=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+o.scrollSpeed:e.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+o.scrollSpeed:e.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(e.pageY-t(document).scrollTop()<o.scrollSensitivity?r=t(document).scrollTop(t(document).scrollTop()-o.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<o.scrollSensitivity&&(r=t(document).scrollTop(t(document).scrollTop()+o.scrollSpeed)),e.pageX-t(document).scrollLeft()<o.scrollSensitivity?r=t(document).scrollLeft(t(document).scrollLeft()-o.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<o.scrollSensitivity&&(r=t(document).scrollLeft(t(document).scrollLeft()+o.scrollSpeed))),r!==!1&&t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),i=this.items.length-1;i>=0;i--)if(s=this.items[i],n=s.item[0],a=this._intersectsWithPointer(s),a&&s.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===a?"next":"prev"]()[0]!==n&&!t.contains(this.placeholder[0],n)&&("semi-dynamic"===this.options.type?!t.contains(this.element[0],n):!0)){if(this.direction=1===a?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break;this._rearrange(e,s),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var s=this,n=this.placeholder.offset(),a=this.options.axis,o={};a&&"x"!==a||(o.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),a&&"y"!==a||(o.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){s._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&s.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!s.length&&e.key&&s.push(e.key+"="),s.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},i.each(function(){s.push(t(e.item||this).attr(e.attribute||"id")||"")}),s},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,a=t.left,o=a+t.width,r=t.top,h=r+t.height,l=this.offset.click.top,c=this.offset.click.left,u="x"===this.options.axis||s+l>r&&h>s+l,d="y"===this.options.axis||e+c>a&&o>e+c,p=u&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?p:e+this.helperProportions.width/2>a&&o>i-this.helperProportions.width/2&&s+this.helperProportions.height/2>r&&h>n-this.helperProportions.height/2},_intersectsWithPointer:function(t){var i="x"===this.options.axis||e(this.positionAbs.top+this.offset.click.top,t.top,t.height),s="y"===this.options.axis||e(this.positionAbs.left+this.offset.click.left,t.left,t.width),n=i&&s,a=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return n?this.floating?o&&"right"===o||"down"===a?2:1:a&&("down"===a?2:1):!1},_intersectsWithSides:function(t){var i=e(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),s=e(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),a=this._getDragHorizontalDirection();return this.floating&&a?"right"===a&&s||"left"===a&&!s:n&&("down"===n&&i||"up"===n&&!i)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){function i(){r.push(this)}var s,n,a,o,r=[],h=[],l=this._connectWith();if(l&&e)for(s=l.length-1;s>=0;s--)for(a=t(l[s]),n=a.length-1;n>=0;n--)o=t.data(a[n],this.widgetFullName),o&&o!==this&&!o.options.disabled&&h.push([t.isFunction(o.options.items)?o.options.items.call(o.element):t(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(h.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),s=h.length-1;s>=0;s--)h[s][0].each(i);return t(r)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;e.length>i;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,s,n,a,o,r,h,l,c=this.items,u=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=t(d[i]),s=n.length-1;s>=0;s--)a=t.data(n[s],this.widgetFullName),a&&a!==this&&!a.options.disabled&&(u.push([t.isFunction(a.options.items)?a.options.items.call(a.element[0],e,{item:this.currentItem}):t(a.options.items,a.element),a]),this.containers.push(a));for(i=u.length-1;i>=0;i--)for(o=u[i][1],r=u[i][0],s=0,l=r.length;l>s;s++)h=t(r[s]),h.data(this.widgetName+"-item",o),c.push({item:h,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,n,a;for(i=this.items.length-1;i>=0;i--)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?t(this.options.toleranceElement,s.item):s.item,e||(s.width=n.outerWidth(),s.height=n.outerHeight()),a=n.offset(),s.left=a.left,s.top=a.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)a=this.containers[i].element.offset(),this.containers[i].containerCache.left=a.left,this.containers[i].containerCache.top=a.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var i,s=e.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,s.placeholder={element:function(){var s=e.currentItem[0].nodeName.toLowerCase(),n=t("<"+s+">",e.document[0]).addClass(i||e.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===s?e.currentItem.children().each(function(){t("<td> </td>",e.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(n)}):"img"===s&&n.attr("src",e.currentItem.attr("src")),i||n.css("visibility","hidden"),n},update:function(t,n){(!i||s.forcePlaceholderSize)&&(n.height()||n.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_contactContainers:function(s){var n,a,o,r,h,l,c,u,d,p,f=null,g=null;for(n=this.containers.length-1;n>=0;n--)if(!t.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(f&&t.contains(this.containers[n].element[0],f.element[0]))continue;f=this.containers[n],g=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",s,this._uiHash(this)),this.containers[n].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[g].containerCache.over||(this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1);else{for(o=1e4,r=null,p=f.floating||i(this.currentItem),h=p?"left":"top",l=p?"width":"height",c=this.positionAbs[h]+this.offset.click[h],a=this.items.length-1;a>=0;a--)t.contains(this.containers[g].element[0],this.items[a].item[0])&&this.items[a].item[0]!==this.currentItem[0]&&(!p||e(this.positionAbs.top+this.offset.click.top,this.items[a].top,this.items[a].height))&&(u=this.items[a].item.offset()[h],d=!1,Math.abs(u-c)>Math.abs(u+this.items[a][l]-c)&&(d=!0,u+=this.items[a][l]),o>Math.abs(u-c)&&(o=Math.abs(u-c),r=this.items[a],this.direction=d?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[g])return;r?this._rearrange(s,r,null,!0):this._rearrange(s,null,this.containers[g].element,!0),this._trigger("change",s,this._uiHash()),this.containers[g]._trigger("change",s,this._uiHash(this)),this.currentContainer=this.containers[g],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1}},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,t("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,(t("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=t(n.containment)[0],i=t(n.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,a=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():a?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():a?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n=this.options,a=e.pageX,o=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(a=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(a=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),n.grid&&(i=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1],o=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-n.grid[1]:i+n.grid[1]:i,s=this.originalPageX+Math.round((a-this.originalPageX)/n.grid[0])*n.grid[0],a=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-n.grid[0]:s+n.grid[0]:s)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:a-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){function i(t,e,i){return function(s){i._trigger(t,s,e._uiHash(e))}}this.reverting=!1;var s,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(s in this._storedCSS)("auto"===this._storedCSS[s]||"static"===this._storedCSS[s])&&(this._storedCSS[s]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&n.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(n.push(function(t){this._trigger("remove",t,this._uiHash())}),n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),s=this.containers.length-1;s>=0;s--)e||n.push(i("deactivate",this,this.containers[s])),this.containers[s].containerCache.over&&(n.push(i("out",this,this.containers[s])),this.containers[s].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){for(this._trigger("beforeStop",t,this._uiHash()),s=0;n.length>s;s++)n[s].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!1}if(e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(s=0;n.length>s;s++)n[s].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})})(jQuery);(function(e){var t=0,i={},a={};i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="hide",a.height=a.paddingTop=a.paddingBottom=a.borderTopWidth=a.borderBottomWidth="show",e.widget("ui.accordion",{version:"1.10.4",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var t=this.options;this.prevShow=this.prevHide=e(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),t.collapsible||t.active!==!1&&null!=t.active||(t.active=0),this._processPanels(),0>t.active&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():e(),content:this.active.length?this.active.next():e()}},_createIcons:function(){var t=this.options.icons;t&&(e("<span>").addClass("ui-accordion-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){return"active"===e?(this._activate(t),undefined):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||this.options.active!==!1||this._activate(0),"icons"===e&&(this._destroyIcons(),t&&this._createIcons()),"disabled"===e&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!t),undefined)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var i=e.ui.keyCode,a=this.headers.length,s=this.headers.index(t.target),n=!1;switch(t.keyCode){case i.RIGHT:case i.DOWN:n=this.headers[(s+1)%a];break;case i.LEFT:case i.UP:n=this.headers[(s-1+a)%a];break;case i.SPACE:case i.ENTER:this._eventHandler(t);break;case i.HOME:n=this.headers[0];break;case i.END:n=this.headers[a-1]}n&&(e(t.target).attr("tabIndex",-1),e(n).attr("tabIndex",0),n.focus(),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===e.ui.keyCode.UP&&t.ctrlKey&&e(t.currentTarget).prev().focus()},refresh:function(){var t=this.options;this._processPanels(),t.active===!1&&t.collapsible===!0||!this.headers.length?(t.active=!1,this.active=e()):t.active===!1?this._activate(0):this.active.length&&!e.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=e()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var i,a=this.options,s=a.heightStyle,n=this.element.parent(),r=this.accordionId="ui-accordion-"+(this.element.attr("id")||++t);this.active=this._findActive(a.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(t){var i=e(this),a=i.attr("id"),s=i.next(),n=s.attr("id");a||(a=r+"-header-"+t,i.attr("id",a)),n||(n=r+"-panel-"+t,s.attr("id",n)),i.attr("aria-controls",n),s.attr("aria-labelledby",a)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(a.event),"fill"===s?(i=n.height(),this.element.siblings(":visible").each(function(){var t=e(this),a=t.css("position");"absolute"!==a&&"fixed"!==a&&(i-=t.outerHeight(!0))}),this.headers.each(function(){i-=e(this).outerHeight(!0)}),this.headers.next().each(function(){e(this).height(Math.max(0,i-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):"auto"===s&&(i=0,this.headers.next().each(function(){i=Math.max(i,e(this).css("height","").height())}).height(i))},_activate:function(t){var i=this._findActive(t)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:e.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):e()},_setupEvents:function(t){var i={keydown:"_keydown"};t&&e.each(t.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var i=this.options,a=this.active,s=e(t.currentTarget),n=s[0]===a[0],r=n&&i.collapsible,o=r?e():s.next(),h=a.next(),d={oldHeader:a,oldPanel:h,newHeader:r?e():s,newPanel:o};t.preventDefault(),n&&!i.collapsible||this._trigger("beforeActivate",t,d)===!1||(i.active=r?!1:this.headers.index(s),this.active=n?e():s,this._toggle(d),a.removeClass("ui-accordion-header-active ui-state-active"),i.icons&&a.children(".ui-accordion-header-icon").removeClass(i.icons.activeHeader).addClass(i.icons.header),n||(s.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),i.icons&&s.children(".ui-accordion-header-icon").removeClass(i.icons.header).addClass(i.icons.activeHeader),s.next().addClass("ui-accordion-content-active")))},_toggle:function(t){var i=t.newPanel,a=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=a,this.options.animate?this._animate(i,a,t):(a.hide(),i.show(),this._toggleComplete(t)),a.attr({"aria-hidden":"true"}),a.prev().attr("aria-selected","false"),i.length&&a.length?a.prev().attr({tabIndex:-1,"aria-expanded":"false"}):i.length&&this.headers.filter(function(){return 0===e(this).attr("tabIndex")}).attr("tabIndex",-1),i.attr("aria-hidden","false").prev().attr({"aria-selected":"true",tabIndex:0,"aria-expanded":"true"})},_animate:function(e,t,s){var n,r,o,h=this,d=0,c=e.length&&(!t.length||e.index()<t.index()),l=this.options.animate||{},u=c&&l.down||l,v=function(){h._toggleComplete(s)};return"number"==typeof u&&(o=u),"string"==typeof u&&(r=u),r=r||u.easing||l.easing,o=o||u.duration||l.duration,t.length?e.length?(n=e.show().outerHeight(),t.animate(i,{duration:o,easing:r,step:function(e,t){t.now=Math.round(e)}}),e.hide().animate(a,{duration:o,easing:r,complete:v,step:function(e,i){i.now=Math.round(e),"height"!==i.prop?d+=i.now:"content"!==h.options.heightStyle&&(i.now=Math.round(n-t.outerHeight()-d),d=0)}}),undefined):t.animate(i,o,r,v):e.animate(a,o,r,v)},_toggleComplete:function(e){var t=e.oldPanel;t.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}})})(jQuery);(function(e){e.widget("ui.autocomplete",{version:"1.10.4",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var t,i,s,n=this.element[0].nodeName.toLowerCase(),a="textarea"===n,o="input"===n;this.isMultiLine=a?!0:o?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[a||o?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return t=!0,s=!0,i=!0,undefined;t=!1,s=!1,i=!1;var a=e.ui.keyCode;switch(n.keyCode){case a.PAGE_UP:t=!0,this._move("previousPage",n);break;case a.PAGE_DOWN:t=!0,this._move("nextPage",n);break;case a.UP:t=!0,this._keyEvent("previous",n);break;case a.DOWN:t=!0,this._keyEvent("next",n);break;case a.ENTER:case a.NUMPAD_ENTER:this.menu.active&&(t=!0,n.preventDefault(),this.menu.select(n));break;case a.TAB:this.menu.active&&this.menu.select(n);break;case a.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(t)return t=!1,(!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault(),undefined;if(!i){var n=e.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(e){return s?(s=!1,e.preventDefault(),undefined):(this._searchTimeout(e),undefined)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){return this.cancelBlur?(delete this.cancelBlur,undefined):(clearTimeout(this.searching),this.close(e),this._change(e),undefined)}}),this._initSource(),this.menu=e("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({role:null}).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];e(t.target).closest(".ui-menu-item").length||this._delay(function(){var t=this;this.document.one("mousedown",function(s){s.target===t.element[0]||s.target===i||e.contains(i,s.target)||t.close()})})},menufocus:function(t,i){if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),this.document.one("mousemove",function(){e(t.target).trigger(t.originalEvent)}),undefined;var s=i.item.data("ui-autocomplete-item");!1!==this._trigger("focus",t,{item:s})?t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(s.value):this.liveRegion.text(s.value)},menuselect:function(e,t){var i=t.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=e("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertBefore(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t||(t=this.element.closest(".ui-front")),t.length||(t=this.document[0].body),t},_initSource:function(){var t,i,s=this;e.isArray(this.options.source)?(t=this.options.source,this.source=function(i,s){s(e.ui.autocomplete.filter(t,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(t,n){s.xhr&&s.xhr.abort(),s.xhr=e.ajax({url:i,data:t,dataType:"json",success:function(e){n(e)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,e))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):this._trigger("search",t)!==!1?this._search(e):undefined},_search:function(e){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return e.proxy(function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this.element.removeClass("ui-autocomplete-loading")},this)},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:e.map(t,function(t){return"string"==typeof t?{label:t,value:t}:e.extend({label:t.label||t.value,value:t.value||t.label},t)})},_suggest:function(t){var i=this.menu.element.empty();this._renderMenu(i,t),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,i){var s=this;e.each(i,function(e,i){s._renderItemData(t,i)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(t,i){return e("<li>").append(e("<a>").text(i.label)).appendTo(t)},_move:function(e,t){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this._value(this.term),this.menu.blur(),undefined):(this.menu[e](t),undefined):(this.search(null,t),undefined)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(e,t),t.preventDefault())}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var s=RegExp(e.ui.autocomplete.escapeRegex(i),"i");return e.grep(t,function(e){return s.test(e.label||e.value||e)})}}),e.widget("ui.autocomplete",e.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(e>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.text(t))}})})(jQuery);(function(e){var t,i="ui-button ui-widget ui-state-default ui-corner-all",n="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",s=function(){var t=e(this);setTimeout(function(){t.find(":ui-button").button("refresh")},1)},a=function(t){var i=t.name,n=t.form,s=e([]);return i&&(i=i.replace(/'/g,"\\'"),s=n?e(n).find("[name='"+i+"']"):e("[name='"+i+"']",t.ownerDocument).filter(function(){return!this.form})),s};e.widget("ui.button",{version:"1.10.4",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,s),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var n=this,o=this.options,r="checkbox"===this.type||"radio"===this.type,h=r?"":"ui-state-active";null===o.label&&(o.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(i).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){o.disabled||this===t&&e(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){o.disabled||e(this).removeClass(h)}).bind("click"+this.eventNamespace,function(e){o.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}),this._on({focus:function(){this.buttonElement.addClass("ui-state-focus")},blur:function(){this.buttonElement.removeClass("ui-state-focus")}}),r&&this.element.bind("change"+this.eventNamespace,function(){n.refresh()}),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return o.disabled?!1:undefined}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(o.disabled)return!1;e(this).addClass("ui-state-active"),n.buttonElement.attr("aria-pressed","true");var t=n.element[0];a(t).not(t).map(function(){return e(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return o.disabled?!1:(e(this).addClass("ui-state-active"),t=this,n.document.one("mouseup",function(){t=null}),undefined)}).bind("mouseup"+this.eventNamespace,function(){return o.disabled?!1:(e(this).removeClass("ui-state-active"),undefined)}).bind("keydown"+this.eventNamespace,function(t){return o.disabled?!1:((t.keyCode===e.ui.keyCode.SPACE||t.keyCode===e.ui.keyCode.ENTER)&&e(this).addClass("ui-state-active"),undefined)}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){e(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(t){t.keyCode===e.ui.keyCode.SPACE&&e(this).click()})),this._setOption("disabled",o.disabled),this._resetButton()},_determineButtonType:function(){var e,t,i;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(e=this.element.parents().last(),t="label[for='"+this.element.attr("id")+"']",this.buttonElement=e.find(t),this.buttonElement.length||(e=e.length?e.siblings():this.element.siblings(),this.buttonElement=e.filter(t),this.buttonElement.length||(this.buttonElement=e.find(t))),this.element.addClass("ui-helper-hidden-accessible"),i=this.element.is(":checked"),i&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(i+" ui-state-active "+n).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(e,t){return this._super(e,t),"disabled"===e?(this.element.prop("disabled",!!t),t&&this.buttonElement.removeClass("ui-state-focus"),undefined):(this._resetButton(),undefined)},refresh:function(){var t=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOption("disabled",t),"radio"===this.type?a(this.element[0]).each(function(){e(this).is(":checked")?e(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):e(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if("input"===this.type)return this.options.label&&this.element.val(this.options.label),undefined;var t=this.buttonElement.removeClass(n),i=e("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(t.empty()).text(),s=this.options.icons,a=s.primary&&s.secondary,o=[];s.primary||s.secondary?(this.options.text&&o.push("ui-button-text-icon"+(a?"s":s.primary?"-primary":"-secondary")),s.primary&&t.prepend("<span class='ui-button-icon-primary ui-icon "+s.primary+"'></span>"),s.secondary&&t.append("<span class='ui-button-icon-secondary ui-icon "+s.secondary+"'></span>"),this.options.text||(o.push(a?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||t.attr("title",e.trim(i)))):o.push("ui-button-text-only"),t.addClass(o.join(" "))}}),e.widget("ui.buttonset",{version:"1.10.4",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(e,t){"disabled"===e&&this.buttons.button("option",e,t),this._super(e,t)},refresh:function(){var t="rtl"===this.element.css("direction");this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return e(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(t?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(t?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return e(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}})})(jQuery);(function(e,t){function i(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},e.extend(this._defaults,this.regional[""]),this.dpDiv=a(e("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function a(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.delegate(i,"mouseout",function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")}).delegate(i,"mouseover",function(){e.datepicker._isDisabledDatepicker(n.inline?t.parent()[0]:n.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))})}function s(t,i){e.extend(t,i);for(var a in i)null==i[a]&&(t[a]=i[a]);return t}e.extend(e.ui,{datepicker:{version:"1.10.4"}});var n,r="datepicker";e.extend(i.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return s(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var a,s,n;a=t.nodeName.toLowerCase(),s="div"===a||"span"===a,t.id||(this.uuid+=1,t.id="dp"+this.uuid),n=this._newInst(e(t),s),n.settings=e.extend({},i||{}),"input"===a?this._connectDatepicker(t,n):s&&this._inlineDatepicker(t,n)},_newInst:function(t,i){var s=t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:s,input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?a(e("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,i){var a=e(t);i.append=e([]),i.trigger=e([]),a.hasClass(this.markerClassName)||(this._attachments(a,i),a.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),e.data(t,r,i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var a,s,n,r=this._get(i,"appendText"),o=this._get(i,"isRTL");i.append&&i.append.remove(),r&&(i.append=e("<span class='"+this._appendClass+"'>"+r+"</span>"),t[o?"before":"after"](i.append)),t.unbind("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),a=this._get(i,"showOn"),("focus"===a||"both"===a)&&t.focus(this._showDatepicker),("button"===a||"both"===a)&&(s=this._get(i,"buttonText"),n=this._get(i,"buttonImage"),i.trigger=e(this._get(i,"buttonImageOnly")?e("<img/>").addClass(this._triggerClass).attr({src:n,alt:s,title:s}):e("<button type='button'></button>").addClass(this._triggerClass).html(n?e("<img/>").attr({src:n,alt:s,title:s}):s)),t[o?"before":"after"](i.trigger),i.trigger.click(function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,a,s,n=new Date(2009,11,20),r=this._get(e,"dateFormat");r.match(/[DM]/)&&(t=function(e){for(i=0,a=0,s=0;e.length>s;s++)e[s].length>i&&(i=e[s].length,a=s);return a},n.setMonth(t(this._get(e,r.match(/MM/)?"monthNames":"monthNamesShort"))),n.setDate(t(this._get(e,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-n.getDay())),e.input.attr("size",this._formatDate(e,n).length)}},_inlineDatepicker:function(t,i){var a=e(t);a.hasClass(this.markerClassName)||(a.addClass(this.markerClassName).append(i.dpDiv),e.data(t,r,i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,a,n,o){var u,c,h,l,d,p=this._dialogInst;return p||(this.uuid+=1,u="dp"+this.uuid,this._dialogInput=e("<input type='text' id='"+u+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),e("body").append(this._dialogInput),p=this._dialogInst=this._newInst(this._dialogInput,!1),p.settings={},e.data(this._dialogInput[0],r,p)),s(p.settings,n||{}),i=i&&i.constructor===Date?this._formatDate(p,i):i,this._dialogInput.val(i),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(c=document.documentElement.clientWidth,h=document.documentElement.clientHeight,l=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[c/2-100+l,h/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),p.settings.onSelect=a,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],r,p),this},_destroyDatepicker:function(t){var i,a=e(t),s=e.data(t,r);a.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),e.removeData(t,r),"input"===i?(s.append.remove(),s.trigger.remove(),a.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===i||"span"===i)&&a.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var i,a,s=e(t),n=e.data(t,r);s.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),"input"===i?(t.disabled=!1,n.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(a=s.children("."+this._inlineClass),a.children().removeClass("ui-state-disabled"),a.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var i,a,s=e(t),n=e.data(t,r);s.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),"input"===i?(t.disabled=!0,n.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(a=s.children("."+this._inlineClass),a.children().addClass("ui-state-disabled"),a.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;this._disabledInputs.length>t;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(t){try{return e.data(t,r)}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(i,a,n){var r,o,u,c,h=this._getInst(i);return 2===arguments.length&&"string"==typeof a?"defaults"===a?e.extend({},e.datepicker._defaults):h?"all"===a?e.extend({},h.settings):this._get(h,a):null:(r=a||{},"string"==typeof a&&(r={},r[a]=n),h&&(this._curInst===h&&this._hideDatepicker(),o=this._getDateDatepicker(i,!0),u=this._getMinMaxDate(h,"min"),c=this._getMinMaxDate(h,"max"),s(h.settings,r),null!==u&&r.dateFormat!==t&&r.minDate===t&&(h.settings.minDate=this._formatDate(h,u)),null!==c&&r.dateFormat!==t&&r.maxDate===t&&(h.settings.maxDate=this._formatDate(h,c)),"disabled"in r&&(r.disabled?this._disableDatepicker(i):this._enableDatepicker(i)),this._attachments(e(i),h),this._autoSize(h),this._setDate(h,o),this._updateAlternate(h),this._updateDatepicker(h)),t)},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var i=this._getInst(e);i&&(this._setDate(i,t),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(e,t){var i=this._getInst(e);return i&&!i.inline&&this._setDateFromField(i,t),i?this._getDate(i):null},_doKeyDown:function(t){var i,a,s,n=e.datepicker._getInst(t.target),r=!0,o=n.dpDiv.is(".ui-datepicker-rtl");if(n._keyEvent=!0,e.datepicker._datepickerShowing)switch(t.keyCode){case 9:e.datepicker._hideDatepicker(),r=!1;break;case 13:return s=e("td."+e.datepicker._dayOverClass+":not(."+e.datepicker._currentClass+")",n.dpDiv),s[0]&&e.datepicker._selectDay(t.target,n.selectedMonth,n.selectedYear,s[0]),i=e.datepicker._get(n,"onSelect"),i?(a=e.datepicker._formatDate(n),i.apply(n.input?n.input[0]:null,[a,n])):e.datepicker._hideDatepicker(),!1;case 27:e.datepicker._hideDatepicker();break;case 33:e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(n,"stepBigMonths"):-e.datepicker._get(n,"stepMonths"),"M");break;case 34:e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(n,"stepBigMonths"):+e.datepicker._get(n,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&e.datepicker._clearDate(t.target),r=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&e.datepicker._gotoToday(t.target),r=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,o?1:-1,"D"),r=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?-e.datepicker._get(n,"stepBigMonths"):-e.datepicker._get(n,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,-7,"D"),r=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,o?-1:1,"D"),r=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&e.datepicker._adjustDate(t.target,t.ctrlKey?+e.datepicker._get(n,"stepBigMonths"):+e.datepicker._get(n,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&e.datepicker._adjustDate(t.target,7,"D"),r=t.ctrlKey||t.metaKey;break;default:r=!1}else 36===t.keyCode&&t.ctrlKey?e.datepicker._showDatepicker(this):r=!1;r&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(i){var a,s,n=e.datepicker._getInst(i.target);return e.datepicker._get(n,"constrainInput")?(a=e.datepicker._possibleChars(e.datepicker._get(n,"dateFormat")),s=String.fromCharCode(null==i.charCode?i.keyCode:i.charCode),i.ctrlKey||i.metaKey||" ">s||!a||a.indexOf(s)>-1):t},_doKeyUp:function(t){var i,a=e.datepicker._getInst(t.target);if(a.input.val()!==a.lastVal)try{i=e.datepicker.parseDate(e.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,e.datepicker._getFormatConfig(a)),i&&(e.datepicker._setDateFromField(a),e.datepicker._updateAlternate(a),e.datepicker._updateDatepicker(a))}catch(s){}return!0},_showDatepicker:function(t){if(t=t.target||t,"input"!==t.nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),!e.datepicker._isDisabledDatepicker(t)&&e.datepicker._lastInput!==t){var i,a,n,r,o,u,c;i=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==i&&(e.datepicker._curInst.dpDiv.stop(!0,!0),i&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),a=e.datepicker._get(i,"beforeShow"),n=a?a.apply(t,[t,i]):{},n!==!1&&(s(i.settings,n),i.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(i),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),r=!1,e(t).parents().each(function(){return r|="fixed"===e(this).css("position"),!r}),o={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(i),o=e.datepicker._checkOffset(i,o,r),i.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":r?"fixed":"absolute",display:"none",left:o.left+"px",top:o.top+"px"}),i.inline||(u=e.datepicker._get(i,"showAnim"),c=e.datepicker._get(i,"duration"),i.dpDiv.zIndex(e(t).zIndex()+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[u]?i.dpDiv.show(u,e.datepicker._get(i,"showOptions"),c):i.dpDiv[u||"show"](u?c:null),e.datepicker._shouldFocusInput(i)&&i.input.focus(),e.datepicker._curInst=i))}},_updateDatepicker:function(t){this.maxRows=4,n=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t),t.dpDiv.find("."+this._dayOverClass+" a").mouseover();var i,a=this._getNumberOfMonths(t),s=a[1],r=17;t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),s>1&&t.dpDiv.addClass("ui-datepicker-multi-"+s).css("width",r*s+"em"),t.dpDiv[(1!==a[0]||1!==a[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.focus(),t.yearshtml&&(i=t.yearshtml,setTimeout(function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),i=t.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,i,a){var s=t.dpDiv.outerWidth(),n=t.dpDiv.outerHeight(),r=t.input?t.input.outerWidth():0,o=t.input?t.input.outerHeight():0,u=document.documentElement.clientWidth+(a?0:e(document).scrollLeft()),c=document.documentElement.clientHeight+(a?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?s-r:0,i.left-=a&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-=a&&i.top===t.input.offset().top+o?e(document).scrollTop():0,i.left-=Math.min(i.left,i.left+s>u&&u>s?Math.abs(i.left+s-u):0),i.top-=Math.min(i.top,i.top+n>c&&c>n?Math.abs(n+o):0),i},_findPos:function(t){for(var i,a=this._getInst(t),s=this._get(a,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.filters.hidden(t));)t=t[s?"previousSibling":"nextSibling"];return i=e(t).offset(),[i.left,i.top]},_hideDatepicker:function(t){var i,a,s,n,o=this._curInst;!o||t&&o!==e.data(t,r)||this._datepickerShowing&&(i=this._get(o,"showAnim"),a=this._get(o,"duration"),s=function(){e.datepicker._tidyDialog(o)},e.effects&&(e.effects.effect[i]||e.effects[i])?o.dpDiv.hide(i,e.datepicker._get(o,"showOptions"),a,s):o.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?a:null,s),i||s(),this._datepickerShowing=!1,n=this._get(o,"onClose"),n&&n.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var i=e(t.target),a=e.datepicker._getInst(i[0]);(i[0].id!==e.datepicker._mainDivId&&0===i.parents("#"+e.datepicker._mainDivId).length&&!i.hasClass(e.datepicker.markerClassName)&&!i.closest("."+e.datepicker._triggerClass).length&&e.datepicker._datepickerShowing&&(!e.datepicker._inDialog||!e.blockUI)||i.hasClass(e.datepicker.markerClassName)&&e.datepicker._curInst!==a)&&e.datepicker._hideDatepicker()}},_adjustDate:function(t,i,a){var s=e(t),n=this._getInst(s[0]);this._isDisabledDatepicker(s[0])||(this._adjustInstDate(n,i+("M"===a?this._get(n,"showCurrentAtPos"):0),a),this._updateDatepicker(n))},_gotoToday:function(t){var i,a=e(t),s=this._getInst(a[0]);this._get(s,"gotoCurrent")&&s.currentDay?(s.selectedDay=s.currentDay,s.drawMonth=s.selectedMonth=s.currentMonth,s.drawYear=s.selectedYear=s.currentYear):(i=new Date,s.selectedDay=i.getDate(),s.drawMonth=s.selectedMonth=i.getMonth(),s.drawYear=s.selectedYear=i.getFullYear()),this._notifyChange(s),this._adjustDate(a)},_selectMonthYear:function(t,i,a){var s=e(t),n=this._getInst(s[0]);n["selected"+("M"===a?"Month":"Year")]=n["draw"+("M"===a?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(n),this._adjustDate(s)},_selectDay:function(t,i,a,s){var n,r=e(t);e(s).hasClass(this._unselectableClass)||this._isDisabledDatepicker(r[0])||(n=this._getInst(r[0]),n.selectedDay=n.currentDay=e("a",s).html(),n.selectedMonth=n.currentMonth=i,n.selectedYear=n.currentYear=a,this._selectDate(t,this._formatDate(n,n.currentDay,n.currentMonth,n.currentYear)))},_clearDate:function(t){var i=e(t);this._selectDate(i,"")},_selectDate:function(t,i){var a,s=e(t),n=this._getInst(s[0]);i=null!=i?i:this._formatDate(n),n.input&&n.input.val(i),this._updateAlternate(n),a=this._get(n,"onSelect"),a?a.apply(n.input?n.input[0]:null,[i,n]):n.input&&n.input.trigger("change"),n.inline?this._updateDatepicker(n):(this._hideDatepicker(),this._lastInput=n.input[0],"object"!=typeof n.input[0]&&n.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var i,a,s,n=this._get(t,"altField");n&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),a=this._getDate(t),s=this.formatDate(i,a,this._getFormatConfig(t)),e(n).each(function(){e(this).val(s)}))},noWeekends:function(e){var t=e.getDay();return[t>0&&6>t,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(i,a,s){if(null==i||null==a)throw"Invalid arguments";if(a="object"==typeof a?""+a:a+"",""===a)return null;var n,r,o,u,c=0,h=(s?s.shortYearCutoff:null)||this._defaults.shortYearCutoff,l="string"!=typeof h?h:(new Date).getFullYear()%100+parseInt(h,10),d=(s?s.dayNamesShort:null)||this._defaults.dayNamesShort,p=(s?s.dayNames:null)||this._defaults.dayNames,g=(s?s.monthNamesShort:null)||this._defaults.monthNamesShort,m=(s?s.monthNames:null)||this._defaults.monthNames,f=-1,_=-1,v=-1,k=-1,y=!1,b=function(e){var t=i.length>n+1&&i.charAt(n+1)===e;return t&&n++,t},D=function(e){var t=b(e),i="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,s=RegExp("^\\d{1,"+i+"}"),n=a.substring(c).match(s);if(!n)throw"Missing number at position "+c;return c+=n[0].length,parseInt(n[0],10)},w=function(i,s,n){var r=-1,o=e.map(b(i)?n:s,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(e.each(o,function(e,i){var s=i[1];return a.substr(c,s.length).toLowerCase()===s.toLowerCase()?(r=i[0],c+=s.length,!1):t}),-1!==r)return r+1;throw"Unknown name at position "+c},M=function(){if(a.charAt(c)!==i.charAt(n))throw"Unexpected literal at position "+c;c++};for(n=0;i.length>n;n++)if(y)"'"!==i.charAt(n)||b("'")?M():y=!1;else switch(i.charAt(n)){case"d":v=D("d");break;case"D":w("D",d,p);break;case"o":k=D("o");break;case"m":_=D("m");break;case"M":_=w("M",g,m);break;case"y":f=D("y");break;case"@":u=new Date(D("@")),f=u.getFullYear(),_=u.getMonth()+1,v=u.getDate();break;case"!":u=new Date((D("!")-this._ticksTo1970)/1e4),f=u.getFullYear(),_=u.getMonth()+1,v=u.getDate();break;case"'":b("'")?M():y=!0;break;default:M()}if(a.length>c&&(o=a.substr(c),!/^\s+/.test(o)))throw"Extra/unparsed characters found in date: "+o;if(-1===f?f=(new Date).getFullYear():100>f&&(f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(l>=f?0:-100)),k>-1)for(_=1,v=k;;){if(r=this._getDaysInMonth(f,_-1),r>=v)break;_++,v-=r}if(u=this._daylightSavingAdjust(new Date(f,_-1,v)),u.getFullYear()!==f||u.getMonth()+1!==_||u.getDate()!==v)throw"Invalid date";return u},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(e,t,i){if(!t)return"";var a,s=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,n=(i?i.dayNames:null)||this._defaults.dayNames,r=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,o=(i?i.monthNames:null)||this._defaults.monthNames,u=function(t){var i=e.length>a+1&&e.charAt(a+1)===t;return i&&a++,i},c=function(e,t,i){var a=""+t;if(u(e))for(;i>a.length;)a="0"+a;return a},h=function(e,t,i,a){return u(e)?a[t]:i[t]},l="",d=!1;if(t)for(a=0;e.length>a;a++)if(d)"'"!==e.charAt(a)||u("'")?l+=e.charAt(a):d=!1;else switch(e.charAt(a)){case"d":l+=c("d",t.getDate(),2);break;case"D":l+=h("D",t.getDay(),s,n);break;case"o":l+=c("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":l+=c("m",t.getMonth()+1,2);break;case"M":l+=h("M",t.getMonth(),r,o);break;case"y":l+=u("y")?t.getFullYear():(10>t.getYear()%100?"0":"")+t.getYear()%100;break;case"@":l+=t.getTime();break;case"!":l+=1e4*t.getTime()+this._ticksTo1970;break;case"'":u("'")?l+="'":d=!0;break;default:l+=e.charAt(a)}return l},_possibleChars:function(e){var t,i="",a=!1,s=function(i){var a=e.length>t+1&&e.charAt(t+1)===i;return a&&t++,a};for(t=0;e.length>t;t++)if(a)"'"!==e.charAt(t)||s("'")?i+=e.charAt(t):a=!1;else switch(e.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":s("'")?i+="'":a=!0;break;default:i+=e.charAt(t)}return i},_get:function(e,i){return e.settings[i]!==t?e.settings[i]:this._defaults[i]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),a=e.lastVal=e.input?e.input.val():null,s=this._getDefaultDate(e),n=s,r=this._getFormatConfig(e);try{n=this.parseDate(i,a,r)||s}catch(o){a=t?"":a}e.selectedDay=n.getDate(),e.drawMonth=e.selectedMonth=n.getMonth(),e.drawYear=e.selectedYear=n.getFullYear(),e.currentDay=a?n.getDate():0,e.currentMonth=a?n.getMonth():0,e.currentYear=a?n.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(t,i,a){var s=function(e){var t=new Date;return t.setDate(t.getDate()+e),t},n=function(i){try{return e.datepicker.parseDate(e.datepicker._get(t,"dateFormat"),i,e.datepicker._getFormatConfig(t))}catch(a){}for(var s=(i.toLowerCase().match(/^c/)?e.datepicker._getDate(t):null)||new Date,n=s.getFullYear(),r=s.getMonth(),o=s.getDate(),u=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,c=u.exec(i);c;){switch(c[2]||"d"){case"d":case"D":o+=parseInt(c[1],10);break;case"w":case"W":o+=7*parseInt(c[1],10);break;case"m":case"M":r+=parseInt(c[1],10),o=Math.min(o,e.datepicker._getDaysInMonth(n,r));break;case"y":case"Y":n+=parseInt(c[1],10),o=Math.min(o,e.datepicker._getDaysInMonth(n,r))}c=u.exec(i)}return new Date(n,r,o)},r=null==i||""===i?a:"string"==typeof i?n(i):"number"==typeof i?isNaN(i)?a:s(i):new Date(i.getTime());return r=r&&"Invalid Date"==""+r?a:r,r&&(r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0)),this._daylightSavingAdjust(r)},_daylightSavingAdjust:function(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var a=!t,s=e.selectedMonth,n=e.selectedYear,r=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=r.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=r.getMonth(),e.drawYear=e.selectedYear=e.currentYear=r.getFullYear(),s===e.selectedMonth&&n===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(a?"":this._formatDate(e))},_getDate:function(e){var t=!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return t},_attachHandlers:function(t){var i=this._get(t,"stepMonths"),a="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){e.datepicker._adjustDate(a,-i,"M")},next:function(){e.datepicker._adjustDate(a,+i,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(a)},selectDay:function(){return e.datepicker._selectDay(a,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(a,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(a,this,"Y"),!1}};e(this).bind(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,a,s,n,r,o,u,c,h,l,d,p,g,m,f,_,v,k,y,b,D,w,M,C,x,I,N,T,A,E,S,Y,F,P,O,j,K,R,H=new Date,W=this._daylightSavingAdjust(new Date(H.getFullYear(),H.getMonth(),H.getDate())),L=this._get(e,"isRTL"),U=this._get(e,"showButtonPanel"),B=this._get(e,"hideIfNoPrevNext"),z=this._get(e,"navigationAsDateFormat"),q=this._getNumberOfMonths(e),G=this._get(e,"showCurrentAtPos"),J=this._get(e,"stepMonths"),Q=1!==q[0]||1!==q[1],V=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),$=this._getMinMaxDate(e,"min"),X=this._getMinMaxDate(e,"max"),Z=e.drawMonth-G,et=e.drawYear;if(0>Z&&(Z+=12,et--),X)for(t=this._daylightSavingAdjust(new Date(X.getFullYear(),X.getMonth()-q[0]*q[1]+1,X.getDate())),t=$&&$>t?$:t;this._daylightSavingAdjust(new Date(et,Z,1))>t;)Z--,0>Z&&(Z=11,et--);for(e.drawMonth=Z,e.drawYear=et,i=this._get(e,"prevText"),i=z?this.formatDate(i,this._daylightSavingAdjust(new Date(et,Z-J,1)),this._getFormatConfig(e)):i,a=this._canAdjustMonth(e,-1,et,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(L?"e":"w")+"'>"+i+"</span></a>":B?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(L?"e":"w")+"'>"+i+"</span></a>",s=this._get(e,"nextText"),s=z?this.formatDate(s,this._daylightSavingAdjust(new Date(et,Z+J,1)),this._getFormatConfig(e)):s,n=this._canAdjustMonth(e,1,et,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(L?"w":"e")+"'>"+s+"</span></a>":B?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(L?"w":"e")+"'>"+s+"</span></a>",r=this._get(e,"currentText"),o=this._get(e,"gotoCurrent")&&e.currentDay?V:W,r=z?this.formatDate(r,o,this._getFormatConfig(e)):r,u=e.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(e,"closeText")+"</button>",c=U?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(L?u:"")+(this._isInRange(e,o)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+r+"</button>":"")+(L?"":u)+"</div>":"",h=parseInt(this._get(e,"firstDay"),10),h=isNaN(h)?0:h,l=this._get(e,"showWeek"),d=this._get(e,"dayNames"),p=this._get(e,"dayNamesMin"),g=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),f=this._get(e,"beforeShowDay"),_=this._get(e,"showOtherMonths"),v=this._get(e,"selectOtherMonths"),k=this._getDefaultDate(e),y="",D=0;q[0]>D;D++){for(w="",this.maxRows=4,M=0;q[1]>M;M++){if(C=this._daylightSavingAdjust(new Date(et,Z,e.selectedDay)),x=" ui-corner-all",I="",Q){if(I+="<div class='ui-datepicker-group",q[1]>1)switch(M){case 0:I+=" ui-datepicker-group-first",x=" ui-corner-"+(L?"right":"left");break;case q[1]-1:I+=" ui-datepicker-group-last",x=" ui-corner-"+(L?"left":"right");break;default:I+=" ui-datepicker-group-middle",x=""}I+="'>"}for(I+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+x+"'>"+(/all|left/.test(x)&&0===D?L?n:a:"")+(/all|right/.test(x)&&0===D?L?a:n:"")+this._generateMonthYearHeader(e,Z,et,$,X,D>0||M>0,g,m)+"</div><table class='ui-datepicker-calendar'><thead>"+"<tr>",N=l?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",b=0;7>b;b++)T=(b+h)%7,N+="<th"+((b+h+6)%7>=5?" class='ui-datepicker-week-end'":"")+">"+"<span title='"+d[T]+"'>"+p[T]+"</span></th>";for(I+=N+"</tr></thead><tbody>",A=this._getDaysInMonth(et,Z),et===e.selectedYear&&Z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,A)),E=(this._getFirstDayOfMonth(et,Z)-h+7)%7,S=Math.ceil((E+A)/7),Y=Q?this.maxRows>S?this.maxRows:S:S,this.maxRows=Y,F=this._daylightSavingAdjust(new Date(et,Z,1-E)),P=0;Y>P;P++){for(I+="<tr>",O=l?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(F)+"</td>":"",b=0;7>b;b++)j=f?f.apply(e.input?e.input[0]:null,[F]):[!0,""],K=F.getMonth()!==Z,R=K&&!v||!j[0]||$&&$>F||X&&F>X,O+="<td class='"+((b+h+6)%7>=5?" ui-datepicker-week-end":"")+(K?" ui-datepicker-other-month":"")+(F.getTime()===C.getTime()&&Z===e.selectedMonth&&e._keyEvent||k.getTime()===F.getTime()&&k.getTime()===C.getTime()?" "+this._dayOverClass:"")+(R?" "+this._unselectableClass+" ui-state-disabled":"")+(K&&!_?"":" "+j[1]+(F.getTime()===V.getTime()?" "+this._currentClass:"")+(F.getTime()===W.getTime()?" ui-datepicker-today":""))+"'"+(K&&!_||!j[2]?"":" title='"+j[2].replace(/'/g,"'")+"'")+(R?"":" data-handler='selectDay' data-event='click' data-month='"+F.getMonth()+"' data-year='"+F.getFullYear()+"'")+">"+(K&&!_?" ":R?"<span class='ui-state-default'>"+F.getDate()+"</span>":"<a class='ui-state-default"+(F.getTime()===W.getTime()?" ui-state-highlight":"")+(F.getTime()===V.getTime()?" ui-state-active":"")+(K?" ui-priority-secondary":"")+"' href='#'>"+F.getDate()+"</a>")+"</td>",F.setDate(F.getDate()+1),F=this._daylightSavingAdjust(F);I+=O+"</tr>"}Z++,Z>11&&(Z=0,et++),I+="</tbody></table>"+(Q?"</div>"+(q[0]>0&&M===q[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),w+=I}y+=w}return y+=c,e._keyEvent=!1,y},_generateMonthYearHeader:function(e,t,i,a,s,n,r,o){var u,c,h,l,d,p,g,m,f=this._get(e,"changeMonth"),_=this._get(e,"changeYear"),v=this._get(e,"showMonthAfterYear"),k="<div class='ui-datepicker-title'>",y="";if(n||!f)y+="<span class='ui-datepicker-month'>"+r[t]+"</span>";else{for(u=a&&a.getFullYear()===i,c=s&&s.getFullYear()===i,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",h=0;12>h;h++)(!u||h>=a.getMonth())&&(!c||s.getMonth()>=h)&&(y+="<option value='"+h+"'"+(h===t?" selected='selected'":"")+">"+o[h]+"</option>");y+="</select>"}if(v||(k+=y+(!n&&f&&_?"":" ")),!e.yearshtml)if(e.yearshtml="",n||!_)k+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(l=this._get(e,"yearRange").split(":"),d=(new Date).getFullYear(),p=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?d+parseInt(e,10):parseInt(e,10); +return isNaN(t)?d:t},g=p(l[0]),m=Math.max(g,p(l[1]||"")),g=a?Math.max(g,a.getFullYear()):g,m=s?Math.min(m,s.getFullYear()):m,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";m>=g;g++)e.yearshtml+="<option value='"+g+"'"+(g===i?" selected='selected'":"")+">"+g+"</option>";e.yearshtml+="</select>",k+=e.yearshtml,e.yearshtml=null}return k+=this._get(e,"yearSuffix"),v&&(k+=(!n&&f&&_?"":" ")+y),k+="</div>"},_adjustInstDate:function(e,t,i){var a=e.drawYear+("Y"===i?t:0),s=e.drawMonth+("M"===i?t:0),n=Math.min(e.selectedDay,this._getDaysInMonth(a,s))+("D"===i?t:0),r=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(a,s,n)));e.selectedDay=r.getDate(),e.drawMonth=e.selectedMonth=r.getMonth(),e.drawYear=e.selectedYear=r.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),s=i&&i>t?i:t;return a&&s>a?a:s},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,a){var s=this._getNumberOfMonths(e),n=this._daylightSavingAdjust(new Date(i,a+(0>t?t:s[0]*s[1]),1));return 0>t&&n.setDate(this._getDaysInMonth(n.getFullYear(),n.getMonth())),this._isInRange(e,n)},_isInRange:function(e,t){var i,a,s=this._getMinMaxDate(e,"min"),n=this._getMinMaxDate(e,"max"),r=null,o=null,u=this._get(e,"yearRange");return u&&(i=u.split(":"),a=(new Date).getFullYear(),r=parseInt(i[0],10),o=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(r+=a),i[1].match(/[+\-].*/)&&(o+=a)),(!s||t.getTime()>=s.getTime())&&(!n||t.getTime()<=n.getTime())&&(!r||t.getFullYear()>=r)&&(!o||o>=t.getFullYear())},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,a){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var s=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(a,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),s,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).mousedown(e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.datepicker._attachDatepicker(this,t)}):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i))},e.datepicker=new i,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.10.4"})(jQuery);(function(e){var t={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};e.widget("ui.dialog",{version:"1.10.4",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var i=e(this).css(t).offset().top;0>i&&e(this).css("top",t.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&e.fn.draggable&&this._makeDraggable(),this.options.resizable&&e.fn.resizable&&this._makeResizable(),this._isOpen=!1},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?e(t):this.document.find(t||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),e=t.parent.children().eq(t.index),e.length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:e.noop,enable:e.noop,close:function(t){var i,a=this;if(this._isOpen&&this._trigger("beforeClose",t)!==!1){if(this._isOpen=!1,this._destroyOverlay(),!this.opener.filter(":focusable").focus().length)try{i=this.document[0].activeElement,i&&"body"!==i.nodeName.toLowerCase()&&e(i).blur()}catch(s){}this._hide(this.uiDialog,this.options.hide,function(){a._trigger("close",t)})}},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,t){var i=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;return i&&!t&&this._trigger("focus",e),i},open:function(){var t=this;return this._isOpen?(this._moveToTop()&&this._focusTabbable(),undefined):(this._isOpen=!0,this.opener=e(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable(),t._trigger("focus")}),this._trigger("open"),undefined)},_focusTabbable:function(){var e=this.element.find("[autofocus]");e.length||(e=this.element.find(":tabbable")),e.length||(e=this.uiDialogButtonPane.find(":tabbable")),e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable")),e.length||(e=this.uiDialog),e.eq(0).focus()},_keepFocus:function(t){function i(){var t=this.document[0].activeElement,i=this.uiDialog[0]===t||e.contains(this.uiDialog[0],t);i||this._focusTabbable()}t.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=e("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===e.ui.keyCode.ESCAPE)return t.preventDefault(),this.close(t),undefined;if(t.keyCode===e.ui.keyCode.TAB){var i=this.uiDialog.find(":tabbable"),a=i.filter(":first"),s=i.filter(":last");t.target!==s[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==a[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(s.focus(1),t.preventDefault()):(a.focus(1),t.preventDefault())}},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=e("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(t){e(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=e("<button type='button'></button>").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),t=e("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(t),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(e){this.options.title||e.html(" "),e.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=e("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=e("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var t=this,i=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),e.isEmptyObject(i)||e.isArray(i)&&!i.length?(this.uiDialog.removeClass("ui-dialog-buttons"),undefined):(e.each(i,function(i,a){var s,n;a=e.isFunction(a)?{click:a,text:i}:a,a=e.extend({type:"button"},a),s=a.click,a.click=function(){s.apply(t.element[0],arguments)},n={icons:a.icons,text:a.showText},delete a.icons,delete a.showText,e("<button></button>",a).button(n).appendTo(t.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),undefined)},_makeDraggable:function(){function t(e){return{position:e.position,offset:e.offset}}var i=this,a=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(a,s){e(this).addClass("ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",a,t(s))},drag:function(e,a){i._trigger("drag",e,t(a))},stop:function(s,n){a.position=[n.position.left-i.document.scrollLeft(),n.position.top-i.document.scrollTop()],e(this).removeClass("ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",s,t(n))}})},_makeResizable:function(){function t(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}var i=this,a=this.options,s=a.resizable,n=this.uiDialog.css("position"),r="string"==typeof s?s:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:a.maxWidth,maxHeight:a.maxHeight,minWidth:a.minWidth,minHeight:this._minHeight(),handles:r,start:function(a,s){e(this).addClass("ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",a,t(s))},resize:function(e,a){i._trigger("resize",e,t(a))},stop:function(s,n){a.height=e(this).height(),a.width=e(this).width(),e(this).removeClass("ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",s,t(n))}}).css("position",n)},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(a){var s=this,n=!1,r={};e.each(a,function(e,a){s._setOption(e,a),e in t&&(n=!0),e in i&&(r[e]=a)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",r)},_setOption:function(e,t){var i,a,s=this.uiDialog;"dialogClass"===e&&s.removeClass(this.options.dialogClass).addClass(t),"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:""+t}),"draggable"===e&&(i=s.is(":data(ui-draggable)"),i&&!t&&s.draggable("destroy"),!i&&t&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&(a=s.is(":data(ui-resizable)"),a&&!t&&s.resizable("destroy"),a&&"string"==typeof t&&s.resizable("option","handles",t),a||t===!1||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var e,t,i,a=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),a.minWidth>a.width&&(a.width=a.minWidth),e=this.uiDialog.css({height:"auto",width:a.width}).outerHeight(),t=Math.max(0,a.minHeight-e),i="number"==typeof a.maxHeight?Math.max(0,a.maxHeight-e):"none","auto"===a.height?this.element.css({minHeight:t,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,a.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var t=e(this);return e("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return e(t.target).closest(".ui-dialog").length?!0:!!e(t.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=this,i=this.widgetFullName;e.ui.dialog.overlayInstances||this._delay(function(){e.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(a){t._allowInteraction(a)||(a.preventDefault(),e(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())})}),this.overlay=e("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),e.ui.dialog.overlayInstances++}},_destroyOverlay:function(){this.options.modal&&this.overlay&&(e.ui.dialog.overlayInstances--,e.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null)}}),e.ui.dialog.overlayInstances=0,e.uiBackCompat!==!1&&e.widget("ui.dialog",e.ui.dialog,{_position:function(){var t,i=this.options.position,a=[],s=[0,0];i?(("string"==typeof i||"object"==typeof i&&"0"in i)&&(a=i.split?i.split(" "):[i[0],i[1]],1===a.length&&(a[1]=a[0]),e.each(["left","top"],function(e,t){+a[e]===a[e]&&(s[e]=a[e],a[e]=t)}),i={my:a[0]+(0>s[0]?s[0]:"+"+s[0])+" "+a[1]+(0>s[1]?s[1]:"+"+s[1]),at:a.join(" ")}),i=e.extend({},e.ui.dialog.prototype.options.position,i)):i=e.ui.dialog.prototype.options.position,t=this.uiDialog.is(":visible"),t||this.uiDialog.show(),this.uiDialog.position(i),t||this.uiDialog.hide()}})})(jQuery);(function(t){t.widget("ui.menu",{version:"1.10.4",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(e){var i=t(e.target).closest(".ui-menu-item");!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&t(this.document[0].activeElement).closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var i=t(e.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(e,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(".ui-menu").length||this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=t(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var s,n,a,o,r,l=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:l=!1,n=this.previousFilter||"",a=String.fromCharCode(e.keyCode),o=!1,clearTimeout(this.filterTimer),a===n?o=!0:a=n+a,r=RegExp("^"+i(a),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())}),s=o&&-1!==s.index(this.active.next())?this.active.nextAll(".ui-menu-item"):s,s.length||(a=String.fromCharCode(e.keyCode),r=RegExp("^"+i(a),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())})),s.length?(this.focus(e,s),s.length>1?(this.previousFilter=a,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}l&&e.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,s=this.element.find(this.options.menus);this.element.toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length),s.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),s=e.prev("a"),n=t("<span>").addClass("ui-menu-icon ui-icon "+i).data("ui-menu-submenu-carat",!0);s.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",s.attr("id"))}),e=s.add(this.element),e.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),e.children(":not(.ui-menu-item)").each(function(){var e=t(this);/[^\-\u2014\u2013\s]/.test(e.text())||e.addClass("ui-widget-content ui-menu-divider")}),e.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,s;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,a,o,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,a=this.activeMenu.scrollTop(),o=this.activeMenu.height(),r=e.height(),0>n?this.activeMenu.scrollTop(a+n):n+r>o&&this.activeMenu.scrollTop(a+n-o+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())),undefined):(this.next(e),undefined)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item").first())),undefined):(this.next(e),undefined)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,i)}})})(jQuery);(function(t,e){t.widget("ui.progressbar",{version:"1.10.4",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=t("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(t){return t===e?this.options.value:(this.options.value=this._constrainedValue(t),this._refreshValue(),e)},_constrainedValue:function(t){return t===e&&(t=this.options.value),this.indeterminate=t===!1,"number"!=typeof t&&(t=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(i.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}})})(jQuery);(function(t){var e=5;t.widget("ui.slider",t.ui.mouse,{version:"1.10.4",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),a="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",o=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)o.push(a);this.handles=n.add(t(o.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,i="";e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=t("<div></div>").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,s,n,a,o,r,l,h,u=this,c=this.options;return c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(s-u.values(e));(n>i||n===i&&(e===u._lastChangedValue||u.values(e)===c.min))&&(n=i,a=t(this),o=e)}),r=this._start(e,o),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,a.addClass("ui-state-active").focus(),l=a.offset(),h=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=h?{left:0,top:0}:{left:e.pageX-l.left-a.width()/2,top:e.pageY-l.top-a.height()/2-(parseInt(a.css("borderTopWidth"),10)||0)-(parseInt(a.css("borderBottomWidth"),10)||0)+(parseInt(a.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,o,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,s,n,a;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),a=this._valueMin()+s*n,this._trimAlignValue(a)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var s,n,a;this.options.values&&this.options.values.length?(s=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&i>s||1===e&&s>i)&&(i=s),i!==this.values(e)&&(n=this.values(),n[e]=i,a=this._trigger("slide",t,{handle:this.handles[e],value:i,values:n}),s=this.values(e?0:1),a!==!1&&this.values(e,i))):i!==this.value()&&(a=this._trigger("slide",t,{handle:this.handles[e],value:i}),a!==!1&&this.value(i))},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(e,i){var s,n,a;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),undefined;if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(s=this.options.values,n=arguments[0],a=0;s.length>a;a+=1)s[a]=this._trimAlignValue(n[a]),this._change(null,a);this._refreshValue()},_setOption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return 2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,s,n,a,o=this.options.range,r=this.options,l=this,h=this._animateOff?!1:r.animate,u={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((l.values(s)-l._valueMin())/(l._valueMax()-l._valueMin())),u["horizontal"===l.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[h?"animate":"css"](u,r.animate),l.options.range===!0&&("horizontal"===l.orientation?(0===s&&l.range.stop(1,1)[h?"animate":"css"]({left:i+"%"},r.animate),1===s&&l.range[h?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&l.range.stop(1,1)[h?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&l.range[h?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),a=this._valueMax(),i=a!==n?100*((s-n)/(a-n)):0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[h?"animate":"css"](u,r.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({width:i+"%"},r.animate),"max"===o&&"horizontal"===this.orientation&&this.range[h?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:i+"%"},r.animate),"max"===o&&"vertical"===this.orientation&&this.range[h?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(i){var s,n,a,o,r=t(i.target).data("ui-slider-handle-index");switch(i.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(i.target).addClass("ui-state-active"),s=this._start(i,r),s===!1))return}switch(o=this.options.step,n=a=this.options.values&&this.options.values.length?this.values(r):this.value(),i.keyCode){case t.ui.keyCode.HOME:a=this._valueMin();break;case t.ui.keyCode.END:a=this._valueMax();break;case t.ui.keyCode.PAGE_UP:a=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.PAGE_DOWN:a=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;a=this._trimAlignValue(n+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;a=this._trimAlignValue(n-o)}this._slide(i,r,a)},click:function(t){t.preventDefault()},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass("ui-state-active"))}}})})(jQuery);(function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.widget("ui.spinner",{version:"1.10.4",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e={},i=this.element;return t.each(["min","max","step"],function(t,s){var n=i.attr(s);void 0!==n&&n.length&&(e[s]=n)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t),void 0)},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){function i(){var t=this.element[0]===this.document[0].activeElement;t||(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s}))}var s;s=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return t(e.currentTarget).hasClass("ui-state-active")?this._start(e)===!1?!1:(this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e),void 0):void 0},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var t=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=t.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*t.height())&&t.height()>0&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(e){var i=this.options,s=t.ui.keyCode;switch(e.keyCode){case s.UP:return this._repeat(null,1,e),!0;case s.DOWN:return this._repeat(null,-1,e),!0;case s.PAGE_UP:return this._repeat(null,i.page,e),!0;case s.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>▲</span>"+"</a>"+"<a class='ui-spinner-button ui-spinner-down ui-corner-br'>"+"<span class='ui-icon "+this.options.icons.down+"'>▼</span>"+"</a>"},_start:function(t){return this.spinning||this._trigger("start",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&this._trigger("spin",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,s=this.options;return e=null!==s.min?s.min:0,i=t-e,i=Math.round(i/s.step)*s.step,t=e+i,t=parseFloat(t.toFixed(this._precision())),null!==s.max&&t>s.max?s.max:null!==s.min&&s.min>t?s.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){if("culture"===t||"numberFormat"===t){var i=this._parse(this.element.val());return this.options[t]=e,this.element.val(this._format(i)),void 0}("max"===t||"min"===t||"step"===t)&&"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(e.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(e.down)),this._super(t,e),"disabled"===t&&(e?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable")))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(t,e){var i;""!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustValue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?(e(this._value).call(this,t),void 0):this._parse(this.element.val())},widget:function(){return this.uiSpinner}})})(jQuery);(function(t,e){function i(){return++n}function s(t){return t=t.cloneNode(!1),t.hash.length>1&&decodeURIComponent(t.href.replace(a,""))===decodeURIComponent(location.href.replace(a,""))}var n=0,a=/#.*$/;t.widget("ui.tabs",{version:"1.10.4",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,i=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",i.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.active=this.options.active!==!1&&this.anchors.length?this._findActive(i.active):t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var i=this.options.active,s=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(s,a){return t(a).attr("aria-controls")===n?(i=s,!1):e}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===i||-1===i)&&(i=this.tabs.length?0:!1)),i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),-1===i&&(i=s?!1:0)),!s&&i===!1&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(i){var s=t(this.document[0].activeElement).closest("li"),n=this.tabs.index(s),a=!0;if(!this._handlePageNav(i)){switch(i.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:a=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return i.preventDefault(),clearTimeout(this.activating),this._activate(n),e;case t.ui.keyCode.ENTER:return i.preventDefault(),clearTimeout(this.activating),this._activate(n===this.options.active?!1:n),e;default:return}i.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,a),i.ctrlKey||(s.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(i){return i.altKey&&i.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):i.altKey&&i.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):e},_findNextTab:function(e,i){function s(){return e>n&&(e=0),0>e&&(e=n),e}for(var n=this.tabs.length-1;-1!==t.inArray(s(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,i){return"active"===t?(this._activate(i),e):"disabled"===t?(this._setupDisabled(i),e):(this._super(t,i),"collapsible"===t&&(this.element.toggleClass("ui-tabs-collapsible",i),i||this.options.active!==!1||this._activate(0)),"event"===t&&this._setupEvents(i),"heightStyle"===t&&this._setupHeightStyle(i),e)},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),e.active!==!1&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=t(),this.anchors.each(function(i,n){var a,o,r,h=t(n).uniqueId().attr("id"),l=t(n).closest("li"),c=l.attr("aria-controls");s(n)?(a=n.hash,o=e.element.find(e._sanitizeSelector(a))):(r=e._tabId(l),a="#"+r,o=e.element.find(a),o.length||(o=e._createPanel(r),o.insertAfter(e.panels[i-1]||e.tablist)),o.attr("aria-live","polite")),o.length&&(e.panels=e.panels.add(o)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":a.substring(1),"aria-labelledby":h}),o.attr("aria-labelledby",h)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.tablist||this.element.find("ol,ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(e){t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var i,s=0;i=this.tabs[s];s++)e===!0||-1!==t.inArray(s,e)?t(i).addClass("ui-state-disabled").attr("aria-disabled","true"):t(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=e},_setupEvents:function(e){var i={click:function(t){t.preventDefault()}};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,s=this.element.parent();"fill"===e?(i=s.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),a=n.closest("li"),o=a[0]===s[0],r=o&&i.collapsible,h=r?t():this._getPanelForTab(a),l=s.length?this._getPanelForTab(s):t(),c={oldTab:s,oldPanel:l,newTab:r?t():a,newPanel:h};e.preventDefault(),a.hasClass("ui-state-disabled")||a.hasClass("ui-tabs-loading")||this.running||o&&!i.collapsible||this._trigger("beforeActivate",e,c)===!1||(i.active=r?!1:this.tabs.index(a),this.active=o?t():a,this.xhr&&this.xhr.abort(),l.length||h.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(a),e),this._toggle(e,c))},_toggle:function(e,i){function s(){a.running=!1,a._trigger("activate",e,i)}function n(){i.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),o.length&&a.options.show?a._show(o,a.options.show,s):(o.show(),s())}var a=this,o=i.newPanel,r=i.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r.hide(),n()),r.attr({"aria-expanded":"false","aria-hidden":"true"}),i.oldTab.attr("aria-selected","false"),o.length&&r.length?i.oldTab.attr("tabIndex",-1):o.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),o.attr({"aria-expanded":"true","aria-hidden":"false"}),i.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(e){var i,s=this._findActive(e);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return e===!1?t():this.tabs.eq(e)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+t+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var s=this.options.disabled;s!==!1&&(i===e?s=!1:(i=this._getIndex(i),s=t.isArray(s)?t.map(s,function(t){return t!==i?t:null}):t.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(s))},disable:function(i){var s=this.options.disabled;if(s!==!0){if(i===e)s=!0;else{if(i=this._getIndex(i),-1!==t.inArray(i,s))return;s=t.isArray(s)?t.merge([i],s).sort():[i]}this._setupDisabled(s)}},load:function(e,i){e=this._getIndex(e);var n=this,a=this.tabs.eq(e),o=a.find(".ui-tabs-anchor"),r=this._getPanelForTab(a),h={tab:a,panel:r};s(o[0])||(this.xhr=t.ajax(this._ajaxSettings(o,i,h)),this.xhr&&"canceled"!==this.xhr.statusText&&(a.addClass("ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){r.html(t),n._trigger("load",i,h)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&n.panels.stop(!1,!0),a.removeClass("ui-tabs-loading"),r.removeAttr("aria-busy"),t===n.xhr&&delete n.xhr},1)})))},_ajaxSettings:function(e,i,s){var n=this;return{url:e.attr("href"),beforeSend:function(e,a){return n._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:a},s))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}})})(jQuery);(function(t){function e(e,i){var s=(e.attr("aria-describedby")||"").split(/\s+/);s.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(s.join(" ")))}function i(e){var i=e.data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),n=t.inArray(i,s);-1!==n&&s.splice(n,1),e.removeData("ui-tooltip-id"),s=t.trim(s.join(" ")),s?e.attr("aria-describedby",s):e.removeAttr("aria-describedby")}var s=0;t.widget("ui.tooltip",{version:"1.10.4",options:{content:function(){var e=t(this).attr("title")||"";return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(e,i){var s=this;return"disabled"===e?(this[i?"_disable":"_enable"](),this.options[e]=i,void 0):(this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){s._updateContent(e)}),void 0)},_disable:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0)}),this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.is("[title]")&&e.data("ui-tooltip-title",e.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))})},open:function(e){var i=this,s=t(e?e.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(function(){var e,s=t(this);s.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,i.close(e,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._updateContent(s,e))},_updateContent:function(t,e){var i,s=this.options.content,n=this,a=e?e.type:null;return"string"==typeof s?this._open(e,t,s):(i=s.call(t[0],function(i){t.data("ui-tooltip-open")&&n._delay(function(){e&&(e.type=a),this._open(e,t,i)})}),i&&this._open(e,t,i),void 0)},_open:function(i,s,n){function a(t){l.of=t,o.is(":hidden")||o.position(l)}var o,r,h,l=t.extend({},this.options.position);if(n){if(o=this._find(s),o.length)return o.find(".ui-tooltip-content").html(n),void 0;s.is("[title]")&&(i&&"mouseover"===i.type?s.attr("title",""):s.removeAttr("title")),o=this._tooltip(s),e(s,o.attr("id")),o.find(".ui-tooltip-content").html(n),this.options.track&&i&&/^mouse/.test(i.type)?(this._on(this.document,{mousemove:a}),a(i)):o.position(t.extend({of:s},this.options.position)),o.hide(),this._show(o,this.options.show),this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){o.is(":visible")&&(a(l.of),clearInterval(h))},t.fx.interval)),this._trigger("open",i,{tooltip:o}),r={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var i=t.Event(e);i.currentTarget=s[0],this.close(i,!0)}},remove:function(){this._removeTooltip(o)}},i&&"mouseover"!==i.type||(r.mouseleave="close"),i&&"focusin"!==i.type||(r.focusout="close"),this._on(!0,s,r)}},close:function(e){var s=this,n=t(e?e.currentTarget:this.element),a=this._find(n);this.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&n.attr("title",n.data("ui-tooltip-title")),i(n),a.stop(!0),this._hide(a,this.options.hide,function(){s._removeTooltip(t(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete s.parents[e]}),this.closing=!0,this._trigger("close",e,{tooltip:a}),this.closing=!1)},_tooltip:function(e){var i="ui-tooltip-"+s++,n=t("<div>").attr({id:i,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return t("<div>").addClass("ui-tooltip-content").appendTo(n),n.appendTo(this.document[0].body),this.tooltips[i]=e,n},_find:function(e){var i=e.data("ui-tooltip-id");return i?t("#"+i):t()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0),t("#"+i).remove(),s.data("ui-tooltip-title")&&(s.attr("title",s.data("ui-tooltip-title")),s.removeData("ui-tooltip-title"))})}})})(jQuery);(function(e,t){var i="ui-effects-";e.effects={effect:{}},function(e,t){function i(e,t,i){var a=d[t.type]||{};return null==e?i||!t.def?null:t.def:(e=a.floor?~~e:parseFloat(e),isNaN(e)?t.def:a.mod?(e+a.mod)%a.mod:0>e?0:e>a.max?a.max:e)}function a(i){var a=l(),s=a._rgba=[];return i=i.toLowerCase(),m(h,function(e,n){var r,o=n.re.exec(i),h=o&&n.parse(o),l=n.space||"rgba";return h?(r=a[l](h),a[u[l].cache]=r[u[l].cache],s=a._rgba=r._rgba,!1):t}),s.length?("0,0,0,0"===s.join()&&e.extend(s,n.transparent),a):n[i]}function s(e,t,i){return i=(i+1)%1,1>6*i?e+6*(t-e)*i:1>2*i?t:2>3*i?e+6*(t-e)*(2/3-i):e}var n,r="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",o=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,a,s){return new e.Color.fn.parse(t,i,a,s)},u={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},d={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},c=l.support={},p=e("<p>")[0],m=e.each;p.style.cssText="background-color:rgba(1,1,1,.5)",c.rgba=p.style.backgroundColor.indexOf("rgba")>-1,m(u,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(s,r,o,h){if(s===t)return this._rgba=[null,null,null,null],this;(s.jquery||s.nodeType)&&(s=e(s).css(r),r=t);var d=this,c=e.type(s),p=this._rgba=[];return r!==t&&(s=[s,r,o,h],c="array"),"string"===c?this.parse(a(s)||n._default):"array"===c?(m(u.rgba.props,function(e,t){p[t.idx]=i(s[t.idx],t)}),this):"object"===c?(s instanceof l?m(u,function(e,t){s[t.cache]&&(d[t.cache]=s[t.cache].slice())}):m(u,function(t,a){var n=a.cache;m(a.props,function(e,t){if(!d[n]&&a.to){if("alpha"===e||null==s[e])return;d[n]=a.to(d._rgba)}d[n][t.idx]=i(s[e],t,!0)}),d[n]&&0>e.inArray(null,d[n].slice(0,3))&&(d[n][3]=1,a.from&&(d._rgba=a.from(d[n])))}),this):t},is:function(e){var i=l(e),a=!0,s=this;return m(u,function(e,n){var r,o=i[n.cache];return o&&(r=s[n.cache]||n.to&&n.to(s._rgba)||[],m(n.props,function(e,i){return null!=o[i.idx]?a=o[i.idx]===r[i.idx]:t})),a}),a},_space:function(){var e=[],t=this;return m(u,function(i,a){t[a.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var a=l(e),s=a._space(),n=u[s],r=0===this.alpha()?l("transparent"):this,o=r[n.cache]||n.to(r._rgba),h=o.slice();return a=a[n.cache],m(n.props,function(e,s){var n=s.idx,r=o[n],l=a[n],u=d[s.type]||{};null!==l&&(null===r?h[n]=l:(u.mod&&(l-r>u.mod/2?r+=u.mod:r-l>u.mod/2&&(r-=u.mod)),h[n]=i((l-r)*t+r,s)))}),this[s](h)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),a=i.pop(),s=l(t)._rgba;return l(e.map(i,function(e,t){return(1-a)*s[t]+a*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),a=i.pop();return t&&i.push(~~(255*a)),"#"+e.map(i,function(e){return e=(e||0).toString(16),1===e.length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,u.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,a=e[0]/255,s=e[1]/255,n=e[2]/255,r=e[3],o=Math.max(a,s,n),h=Math.min(a,s,n),l=o-h,u=o+h,d=.5*u;return t=h===o?0:a===o?60*(s-n)/l+360:s===o?60*(n-a)/l+120:60*(a-s)/l+240,i=0===l?0:.5>=d?l/u:l/(2-u),[Math.round(t)%360,i,d,null==r?1:r]},u.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],a=e[2],n=e[3],r=.5>=a?a*(1+i):a+i-a*i,o=2*a-r;return[Math.round(255*s(o,r,t+1/3)),Math.round(255*s(o,r,t)),Math.round(255*s(o,r,t-1/3)),n]},m(u,function(a,s){var n=s.props,r=s.cache,h=s.to,u=s.from;l.fn[a]=function(a){if(h&&!this[r]&&(this[r]=h(this._rgba)),a===t)return this[r].slice();var s,o=e.type(a),d="array"===o||"object"===o?a:arguments,c=this[r].slice();return m(n,function(e,t){var a=d["object"===o?e:t.idx];null==a&&(a=c[t.idx]),c[t.idx]=i(a,t)}),u?(s=l(u(c)),s[r]=c,s):l(c)},m(n,function(t,i){l.fn[t]||(l.fn[t]=function(s){var n,r=e.type(s),h="alpha"===t?this._hsla?"hsla":"rgba":a,l=this[h](),u=l[i.idx];return"undefined"===r?u:("function"===r&&(s=s.call(this,u),r=e.type(s)),null==s&&i.empty?this:("string"===r&&(n=o.exec(s),n&&(s=u+parseFloat(n[2])*("+"===n[1]?1:-1))),l[i.idx]=s,this[h](l)))})})}),l.hook=function(t){var i=t.split(" ");m(i,function(t,i){e.cssHooks[i]={set:function(t,s){var n,r,o="";if("transparent"!==s&&("string"!==e.type(s)||(n=a(s)))){if(s=l(n||s),!c.rgba&&1!==s._rgba[3]){for(r="backgroundColor"===i?t.parentNode:t;(""===o||"transparent"===o)&&r&&r.style;)try{o=e.css(r,"backgroundColor"),r=r.parentNode}catch(h){}s=s.blend(o&&"transparent"!==o?o:"_default")}s=s.toRgbaString()}try{t.style[i]=s}catch(h){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook(r),e.cssHooks.borderColor={expand:function(e){var t={};return m(["Top","Right","Bottom","Left"],function(i,a){t["border"+a+"Color"]=e}),t}},n=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(t){var i,a,s=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,n={};if(s&&s.length&&s[0]&&s[s[0]])for(a=s.length;a--;)i=s[a],"string"==typeof s[i]&&(n[e.camelCase(i)]=s[i]);else for(i in s)"string"==typeof s[i]&&(n[i]=s[i]);return n}function a(t,i){var a,s,r={};for(a in i)s=i[a],t[a]!==s&&(n[a]||(e.fx.step[a]||!isNaN(parseFloat(s)))&&(r[a]=s));return r}var s=["add","remove","toggle"],n={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,i){e.fx.step[i]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(jQuery.style(e.elem,i,e.end),e.setAttr=!0)}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(t,n,r,o){var h=e.speed(n,r,o);return this.queue(function(){var n,r=e(this),o=r.attr("class")||"",l=h.children?r.find("*").addBack():r;l=l.map(function(){var t=e(this);return{el:t,start:i(this)}}),n=function(){e.each(s,function(e,i){t[i]&&r[i+"Class"](t[i])})},n(),l=l.map(function(){return this.end=i(this.el[0]),this.diff=a(this.start,this.end),this}),r.attr("class",o),l=l.map(function(){var t=this,i=e.Deferred(),a=e.extend({},h,{queue:!1,complete:function(){i.resolve(t)}});return this.el.animate(this.diff,a),i.promise()}),e.when.apply(e,l.get()).done(function(){n(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),h.complete.call(r[0])})})},e.fn.extend({addClass:function(t){return function(i,a,s,n){return a?e.effects.animateClass.call(this,{add:i},a,s,n):t.apply(this,arguments)}}(e.fn.addClass),removeClass:function(t){return function(i,a,s,n){return arguments.length>1?e.effects.animateClass.call(this,{remove:i},a,s,n):t.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(i){return function(a,s,n,r,o){return"boolean"==typeof s||s===t?n?e.effects.animateClass.call(this,s?{add:a}:{remove:a},n,r,o):i.apply(this,arguments):e.effects.animateClass.call(this,{toggle:a},s,n,r)}}(e.fn.toggleClass),switchClass:function(t,i,a,s,n){return e.effects.animateClass.call(this,{add:i,remove:t},a,s,n)}})}(),function(){function a(t,i,a,s){return e.isPlainObject(t)&&(i=t,t=t.effect),t={effect:t},null==i&&(i={}),e.isFunction(i)&&(s=i,a=null,i={}),("number"==typeof i||e.fx.speeds[i])&&(s=a,a=i,i={}),e.isFunction(a)&&(s=a,a=null),i&&e.extend(t,i),a=a||i.duration,t.duration=e.fx.off?0:"number"==typeof a?a:a in e.fx.speeds?e.fx.speeds[a]:e.fx.speeds._default,t.complete=s||i.complete,t}function s(t){return!t||"number"==typeof t||e.fx.speeds[t]?!0:"string"!=typeof t||e.effects.effect[t]?e.isFunction(t)?!0:"object"!=typeof t||t.effect?!1:!0:!0}e.extend(e.effects,{version:"1.10.4",save:function(e,t){for(var a=0;t.length>a;a++)null!==t[a]&&e.data(i+t[a],e[0].style[t[a]])},restore:function(e,a){var s,n;for(n=0;a.length>n;n++)null!==a[n]&&(s=e.data(i+a[n]),s===t&&(s=""),e.css(a[n],s))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},getBaseline:function(e,t){var i,a;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":a=0;break;case"center":a=.5;break;case"right":a=1;break;default:a=e[1]/t.width}return{x:a,y:i}},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var i={width:t.outerWidth(!0),height:t.outerHeight(!0),"float":t.css("float")},a=e("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),s={width:t.width(),height:t.height()},n=document.activeElement;try{n.id}catch(r){n=document.body}return t.wrap(a),(t[0]===n||e.contains(t[0],n))&&e(n).focus(),a=t.parent(),"static"===t.css("position")?(a.css({position:"relative"}),t.css({position:"relative"})):(e.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,a){i[a]=t.css(a),isNaN(parseInt(i[a],10))&&(i[a]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(s),a.css(i).show()},removeWrapper:function(t){var i=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===i||e.contains(t[0],i))&&e(i).focus()),t},setTransition:function(t,i,a,s){return s=s||{},e.each(i,function(e,i){var n=t.cssUnit(i);n[0]>0&&(s[i]=n[0]*a+n[1])}),s}}),e.fn.extend({effect:function(){function t(t){function a(){e.isFunction(n)&&n.call(s[0]),e.isFunction(t)&&t()}var s=e(this),n=i.complete,o=i.mode;(s.is(":hidden")?"hide"===o:"show"===o)?(s[o](),a()):r.call(s[0],i,a)}var i=a.apply(this,arguments),s=i.mode,n=i.queue,r=e.effects.effect[i.effect];return e.fx.off||!r?s?this[s](i.duration,i.complete):this.each(function(){i.complete&&i.complete.call(this)}):n===!1?this.each(t):this.queue(n||"fx",t)},show:function(e){return function(t){if(s(t))return e.apply(this,arguments);var i=a.apply(this,arguments);return i.mode="show",this.effect.call(this,i)}}(e.fn.show),hide:function(e){return function(t){if(s(t))return e.apply(this,arguments);var i=a.apply(this,arguments);return i.mode="hide",this.effect.call(this,i)}}(e.fn.hide),toggle:function(e){return function(t){if(s(t)||"boolean"==typeof t)return e.apply(this,arguments);var i=a.apply(this,arguments);return i.mode="toggle",this.effect.call(this,i)}}(e.fn.toggle),cssUnit:function(t){var i=this.css(t),a=[];return e.each(["em","px","%","pt"],function(e,t){i.indexOf(t)>0&&(a=[parseFloat(i),t])}),a}})}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,i){t[i]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,function(t,i){e.easing["easeIn"+t]=i,e.easing["easeOut"+t]=function(e){return 1-i(1-e)},e.easing["easeInOut"+t]=function(e){return.5>e?i(2*e)/2:1-i(-2*e+2)/2}})}()})(jQuery);(function(e){var t=/up|down|vertical/,i=/up|left|vertical|horizontal/;e.effects.effect.blind=function(a,s){var n,r,o,h=e(this),l=["position","top","bottom","left","right","height","width"],u=e.effects.setMode(h,a.mode||"hide"),d=a.direction||"up",c=t.test(d),p=c?"height":"width",m=c?"top":"left",f=i.test(d),g={},y="show"===u;h.parent().is(".ui-effects-wrapper")?e.effects.save(h.parent(),l):e.effects.save(h,l),h.show(),n=e.effects.createWrapper(h).css({overflow:"hidden"}),r=n[p](),o=parseFloat(n.css(m))||0,g[p]=y?r:0,f||(h.css(c?"bottom":"right",0).css(c?"top":"left","auto").css({position:"absolute"}),g[m]=y?o:r+o),y&&(n.css(p,0),f||n.css(m,o+r)),n.animate(g,{duration:a.duration,easing:a.easing,queue:!1,complete:function(){"hide"===u&&h.hide(),e.effects.restore(h,l),e.effects.removeWrapper(h),s()}})}})(jQuery);(function(e){e.effects.effect.bounce=function(t,i){var a,s,n,r=e(this),o=["position","top","bottom","left","right","height","width"],h=e.effects.setMode(r,t.mode||"effect"),l="hide"===h,u="show"===h,d=t.direction||"up",c=t.distance,p=t.times||5,m=2*p+(u||l?1:0),f=t.duration/m,g=t.easing,y="up"===d||"down"===d?"top":"left",v="up"===d||"left"===d,b=r.queue(),x=b.length;for((u||l)&&o.push("opacity"),e.effects.save(r,o),r.show(),e.effects.createWrapper(r),c||(c=r["top"===y?"outerHeight":"outerWidth"]()/3),u&&(n={opacity:1},n[y]=0,r.css("opacity",0).css(y,v?2*-c:2*c).animate(n,f,g)),l&&(c/=Math.pow(2,p-1)),n={},n[y]=0,a=0;p>a;a++)s={},s[y]=(v?"-=":"+=")+c,r.animate(s,f,g).animate(n,f,g),c=l?2*c:c/2;l&&(s={opacity:0},s[y]=(v?"-=":"+=")+c,r.animate(s,f,g)),r.queue(function(){l&&r.hide(),e.effects.restore(r,o),e.effects.removeWrapper(r),i()}),x>1&&b.splice.apply(b,[1,0].concat(b.splice(x,m+1))),r.dequeue()}})(jQuery);(function(e){e.effects.effect.clip=function(t,i){var a,s,n,r=e(this),o=["position","top","bottom","left","right","height","width"],h=e.effects.setMode(r,t.mode||"hide"),l="show"===h,u=t.direction||"vertical",d="vertical"===u,c=d?"height":"width",p=d?"top":"left",m={};e.effects.save(r,o),r.show(),a=e.effects.createWrapper(r).css({overflow:"hidden"}),s="IMG"===r[0].tagName?a:r,n=s[c](),l&&(s.css(c,0),s.css(p,n/2)),m[c]=l?n:0,m[p]=l?0:n/2,s.animate(m,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){l||r.hide(),e.effects.restore(r,o),e.effects.removeWrapper(r),i()}})}})(jQuery);(function(e){e.effects.effect.drop=function(t,i){var a,s=e(this),n=["position","top","bottom","left","right","opacity","height","width"],r=e.effects.setMode(s,t.mode||"hide"),o="show"===r,h=t.direction||"left",l="up"===h||"down"===h?"top":"left",u="up"===h||"left"===h?"pos":"neg",d={opacity:o?1:0};e.effects.save(s,n),s.show(),e.effects.createWrapper(s),a=t.distance||s["top"===l?"outerHeight":"outerWidth"](!0)/2,o&&s.css("opacity",0).css(l,"pos"===u?-a:a),d[l]=(o?"pos"===u?"+=":"-=":"pos"===u?"-=":"+=")+a,s.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===r&&s.hide(),e.effects.restore(s,n),e.effects.removeWrapper(s),i()}})}})(jQuery);(function(e){e.effects.effect.explode=function(t,i){function a(){b.push(this),b.length===d*c&&s()}function s(){p.css({visibility:"visible"}),e(b).remove(),f||p.hide(),i()}var n,r,o,h,l,u,d=t.pieces?Math.round(Math.sqrt(t.pieces)):3,c=d,p=e(this),m=e.effects.setMode(p,t.mode||"hide"),f="show"===m,g=p.show().css("visibility","hidden").offset(),y=Math.ceil(p.outerWidth()/c),v=Math.ceil(p.outerHeight()/d),b=[];for(n=0;d>n;n++)for(h=g.top+n*v,u=n-(d-1)/2,r=0;c>r;r++)o=g.left+r*y,l=r-(c-1)/2,p.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-r*y,top:-n*v}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:y,height:v,left:o+(f?l*y:0),top:h+(f?u*v:0),opacity:f?0:1}).animate({left:o+(f?0:l*y),top:h+(f?0:u*v),opacity:f?1:0},t.duration||500,t.easing,a)}})(jQuery);(function(e){e.effects.effect.fade=function(t,i){var a=e(this),s=e.effects.setMode(a,t.mode||"toggle");a.animate({opacity:s},{queue:!1,duration:t.duration,easing:t.easing,complete:i})}})(jQuery);(function(e){e.effects.effect.fold=function(t,i){var a,s,n=e(this),r=["position","top","bottom","left","right","height","width"],o=e.effects.setMode(n,t.mode||"hide"),h="show"===o,l="hide"===o,u=t.size||15,d=/([0-9]+)%/.exec(u),c=!!t.horizFirst,p=h!==c,m=p?["width","height"]:["height","width"],f=t.duration/2,g={},v={};e.effects.save(n,r),n.show(),a=e.effects.createWrapper(n).css({overflow:"hidden"}),s=p?[a.width(),a.height()]:[a.height(),a.width()],d&&(u=parseInt(d[1],10)/100*s[l?0:1]),h&&a.css(c?{height:0,width:u}:{height:u,width:0}),g[m[0]]=h?s[0]:u,v[m[1]]=h?s[1]:0,a.animate(g,f,t.easing).animate(v,f,t.easing,function(){l&&n.hide(),e.effects.restore(n,r),e.effects.removeWrapper(n),i()})}})(jQuery);(function(e){e.effects.effect.highlight=function(t,i){var a=e(this),s=["backgroundImage","backgroundColor","opacity"],n=e.effects.setMode(a,t.mode||"show"),r={backgroundColor:a.css("backgroundColor")};"hide"===n&&(r.opacity=0),e.effects.save(a,s),a.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(r,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===n&&a.hide(),e.effects.restore(a,s),i()}})}})(jQuery);(function(e){e.effects.effect.pulsate=function(t,i){var a,s=e(this),n=e.effects.setMode(s,t.mode||"show"),r="show"===n,o="hide"===n,h=r||"hide"===n,l=2*(t.times||5)+(h?1:0),u=t.duration/l,d=0,c=s.queue(),p=c.length;for((r||!s.is(":visible"))&&(s.css("opacity",0).show(),d=1),a=1;l>a;a++)s.animate({opacity:d},u,t.easing),d=1-d;s.animate({opacity:d},u,t.easing),s.queue(function(){o&&s.hide(),i()}),p>1&&c.splice.apply(c,[1,0].concat(c.splice(p,l+1))),s.dequeue()}})(jQuery);(function(e){e.effects.effect.puff=function(t,i){var a=e(this),s=e.effects.setMode(a,t.mode||"hide"),r="hide"===s,n=parseInt(t.percent,10)||150,o=n/100,h={height:a.height(),width:a.width(),outerHeight:a.outerHeight(),outerWidth:a.outerWidth()};e.extend(t,{effect:"scale",queue:!1,fade:!0,mode:s,complete:i,percent:r?n:100,from:r?h:{height:h.height*o,width:h.width*o,outerHeight:h.outerHeight*o,outerWidth:h.outerWidth*o}}),a.effect(t)},e.effects.effect.scale=function(t,i){var a=e(this),s=e.extend(!0,{},t),r=e.effects.setMode(a,t.mode||"effect"),n=parseInt(t.percent,10)||(0===parseInt(t.percent,10)?0:"hide"===r?0:100),o=t.direction||"both",h=t.origin,l={height:a.height(),width:a.width(),outerHeight:a.outerHeight(),outerWidth:a.outerWidth()},u={y:"horizontal"!==o?n/100:1,x:"vertical"!==o?n/100:1};s.effect="size",s.queue=!1,s.complete=i,"effect"!==r&&(s.origin=h||["middle","center"],s.restore=!0),s.from=t.from||("show"===r?{height:0,width:0,outerHeight:0,outerWidth:0}:l),s.to={height:l.height*u.y,width:l.width*u.x,outerHeight:l.outerHeight*u.y,outerWidth:l.outerWidth*u.x},s.fade&&("show"===r&&(s.from.opacity=0,s.to.opacity=1),"hide"===r&&(s.from.opacity=1,s.to.opacity=0)),a.effect(s)},e.effects.effect.size=function(t,i){var a,s,r,n=e(this),o=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],u=["fontSize"],d=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=e.effects.setMode(n,t.mode||"effect"),m=t.restore||"effect"!==p,f=t.scale||"both",g=t.origin||["middle","center"],y=n.css("position"),v=m?o:h,b={height:0,width:0,outerHeight:0,outerWidth:0};"show"===p&&n.show(),a={height:n.height(),width:n.width(),outerHeight:n.outerHeight(),outerWidth:n.outerWidth()},"toggle"===t.mode&&"show"===p?(n.from=t.to||b,n.to=t.from||a):(n.from=t.from||("show"===p?b:a),n.to=t.to||("hide"===p?b:a)),r={from:{y:n.from.height/a.height,x:n.from.width/a.width},to:{y:n.to.height/a.height,x:n.to.width/a.width}},("box"===f||"both"===f)&&(r.from.y!==r.to.y&&(v=v.concat(d),n.from=e.effects.setTransition(n,d,r.from.y,n.from),n.to=e.effects.setTransition(n,d,r.to.y,n.to)),r.from.x!==r.to.x&&(v=v.concat(c),n.from=e.effects.setTransition(n,c,r.from.x,n.from),n.to=e.effects.setTransition(n,c,r.to.x,n.to))),("content"===f||"both"===f)&&r.from.y!==r.to.y&&(v=v.concat(u).concat(l),n.from=e.effects.setTransition(n,u,r.from.y,n.from),n.to=e.effects.setTransition(n,u,r.to.y,n.to)),e.effects.save(n,v),n.show(),e.effects.createWrapper(n),n.css("overflow","hidden").css(n.from),g&&(s=e.effects.getBaseline(g,a),n.from.top=(a.outerHeight-n.outerHeight())*s.y,n.from.left=(a.outerWidth-n.outerWidth())*s.x,n.to.top=(a.outerHeight-n.to.outerHeight)*s.y,n.to.left=(a.outerWidth-n.to.outerWidth)*s.x),n.css(n.from),("content"===f||"both"===f)&&(d=d.concat(["marginTop","marginBottom"]).concat(u),c=c.concat(["marginLeft","marginRight"]),l=o.concat(d).concat(c),n.find("*[width]").each(function(){var i=e(this),a={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};m&&e.effects.save(i,l),i.from={height:a.height*r.from.y,width:a.width*r.from.x,outerHeight:a.outerHeight*r.from.y,outerWidth:a.outerWidth*r.from.x},i.to={height:a.height*r.to.y,width:a.width*r.to.x,outerHeight:a.height*r.to.y,outerWidth:a.width*r.to.x},r.from.y!==r.to.y&&(i.from=e.effects.setTransition(i,d,r.from.y,i.from),i.to=e.effects.setTransition(i,d,r.to.y,i.to)),r.from.x!==r.to.x&&(i.from=e.effects.setTransition(i,c,r.from.x,i.from),i.to=e.effects.setTransition(i,c,r.to.x,i.to)),i.css(i.from),i.animate(i.to,t.duration,t.easing,function(){m&&e.effects.restore(i,l)})})),n.animate(n.to,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){0===n.to.opacity&&n.css("opacity",n.from.opacity),"hide"===p&&n.hide(),e.effects.restore(n,v),m||("static"===y?n.css({position:"relative",top:n.to.top,left:n.to.left}):e.each(["top","left"],function(e,t){n.css(t,function(t,i){var a=parseInt(i,10),s=e?n.to.left:n.to.top;return"auto"===i?s+"px":a+s+"px"})})),e.effects.removeWrapper(n),i()}})}})(jQuery);(function(e){e.effects.effect.shake=function(t,i){var a,s=e(this),r=["position","top","bottom","left","right","height","width"],n=e.effects.setMode(s,t.mode||"effect"),o=t.direction||"left",h=t.distance||20,l=t.times||3,u=2*l+1,d=Math.round(t.duration/u),c="up"===o||"down"===o?"top":"left",p="up"===o||"left"===o,m={},f={},g={},y=s.queue(),v=y.length;for(e.effects.save(s,r),s.show(),e.effects.createWrapper(s),m[c]=(p?"-=":"+=")+h,f[c]=(p?"+=":"-=")+2*h,g[c]=(p?"-=":"+=")+2*h,s.animate(m,d,t.easing),a=1;l>a;a++)s.animate(f,d,t.easing).animate(g,d,t.easing);s.animate(f,d,t.easing).animate(m,d/2,t.easing).queue(function(){"hide"===n&&s.hide(),e.effects.restore(s,r),e.effects.removeWrapper(s),i()}),v>1&&y.splice.apply(y,[1,0].concat(y.splice(v,u+1))),s.dequeue()}})(jQuery);(function(e){e.effects.effect.slide=function(t,i){var a,s=e(this),r=["position","top","bottom","left","right","width","height"],n=e.effects.setMode(s,t.mode||"show"),o="show"===n,h=t.direction||"left",l="up"===h||"down"===h?"top":"left",u="up"===h||"left"===h,d={};e.effects.save(s,r),s.show(),a=t.distance||s["top"===l?"outerHeight":"outerWidth"](!0),e.effects.createWrapper(s).css({overflow:"hidden"}),o&&s.css(l,u?isNaN(a)?"-"+a:-a:a),d[l]=(o?u?"+=":"-=":u?"-=":"+=")+a,s.animate(d,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===n&&s.hide(),e.effects.restore(s,r),e.effects.removeWrapper(s),i()}})}})(jQuery);(function(e){e.effects.effect.transfer=function(t,i){var a=e(this),s=e(t.to),r="fixed"===s.css("position"),n=e("body"),o=r?n.scrollTop():0,h=r?n.scrollLeft():0,l=s.offset(),u={top:l.top-o,left:l.left-h,height:s.innerHeight(),width:s.innerWidth()},d=a.offset(),c=e("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(t.className).css({top:d.top-o,left:d.left-h,height:a.innerHeight(),width:a.innerWidth(),position:r?"fixed":"absolute"}).animate(u,t.duration,t.easing,function(){c.remove(),i()})}})(jQuery); + +/*! jQuery UI Accessible Datepicker extension +* Copyright 2014 Kolab Systems AG +*/ +(function($, undefined) { + +// references to super class methods +var __newInst = $.datepicker._newInst; +var __updateDatepicker = $.datepicker._updateDatepicker; +var __connectDatepicker = $.datepicker._connectDatepicker; +var __showDatepicker = $.datepicker._showDatepicker; +var __hideDatepicker = $.datepicker._hideDatepicker; + +// "extend" singleton instance methods +$.extend($.datepicker, { + + /* Create a new instance object */ + _newInst: function(target, inline) { + var that = this, inst = __newInst.call(this, target, inline); + + if (inst.inline) { + // attach keyboard event handler + inst.dpDiv.on('keydown.datepicker', '.ui-datepicker-calendar', function(event) { + // we're only interested navigation keys + if ($.inArray(event.keyCode, [ 13, 33, 34, 35, 36, 37, 38, 39, 40]) == -1) { + return; + } + event.stopPropagation(); + event.preventDefault(); + inst._hasfocus = true; + + var activeCell; + switch (event.keyCode) { + case $.ui.keyCode.ENTER: + if ((activeCell = $('.' + that._dayOverClass, inst.dpDiv).get(0) || $('.' + that._currentClass, inst.dpDiv).get(0))) { + that._selectDay(inst.input, inst.selectedMonth, inst.selectedYear, activeCell); + } + break; + + case $.ui.keyCode.PAGE_UP: + that._adjustDate(inst.input, -that._get(inst, 'stepMonths'), 'M'); + break; + case $.ui.keyCode.PAGE_DOWN: + that._adjustDate(inst.input, that._get(inst, 'stepMonths'), 'M'); + break; + + default: + return that._cursorKeydown(event, inst); + } + }) + .attr('role', 'region') + .attr('aria-labelledby', inst.id + '-dp-title'); + } + else { + var widgetId = inst.dpDiv.attr('id') || inst.id + '-dp-widget'; + inst.dpDiv.attr('id', widgetId) + .attr('aria-hidden', 'true') + .attr('aria-labelledby', inst.id + '-dp-title'); + + $(inst.input).attr('aria-haspopup', 'true') + .attr('aria-expanded', 'false') + .attr('aria-owns', widgetId); + } + + return inst; + }, + + /* Attach the date picker to an input field */ + _connectDatepicker: function(target, inst) { + __connectDatepicker.call(this, target, inst); + + var that = this; + + // register additional keyboard events to control date selection with cursor keys + $(target).unbind('keydown.datepicker-extended').bind('keydown.datepicker-extended', function(event) { + var inc = 1; + switch (event.keyCode) { + case 109: + case 173: + case 189: // "minus" + inc = -1; + case 61: + case 107: + case 187: // "plus" + // do nothing if the input does not contain full date string + if (this.value.length < that._formatDate(inst, inst.selectedDay, inst.selectedMonth, inst.selectedYear).length) { + return true; + } + that._adjustInstDate(inst, inc, 'D'); + that._selectDateRC(target, that._formatDate(inst, inst.selectedDay, inst.selectedMonth, inst.selectedYear)); + return false; + + case $.ui.keyCode.UP: + case $.ui.keyCode.DOWN: + // unfold datepicker if not visible + if ($.datepicker._lastInput !== target && !$.datepicker._isDisabledDatepicker(target)) { + that._showDatepicker(event); + event.stopPropagation(); + event.preventDefault(); + return false; + } + + default: + if (!$.datepicker._isDisabledDatepicker(target) && !event.ctrlKey && !event.metaKey) { + return that._cursorKeydown(event, inst); + } + } + }) + .attr('autocomplete', 'off'); + }, + + /* Handle keyboard event on datepicker widget */ + _cursorKeydown: function(event, inst) { + inst._keyEvent = true; + + var isRTL = inst.dpDiv.hasClass('ui-datepicker-rtl'); + + switch (event.keyCode) { + case $.ui.keyCode.LEFT: + this._adjustDate(inst.input, (isRTL ? +1 : -1), 'D'); + break; + case $.ui.keyCode.RIGHT: + this._adjustDate(inst.input, (isRTL ? -1 : +1), 'D'); + break; + case $.ui.keyCode.UP: + this._adjustDate(inst.input, -7, 'D'); + break; + case $.ui.keyCode.DOWN: + this._adjustDate(inst.input, +7, 'D'); + break; + case $.ui.keyCode.HOME: + // TODO: jump to first of month + break; + case $.ui.keyCode.END: + // TODO: jump to end of month + break; + } + + return true; + }, + + /* Pop-up the date picker for a given input field */ + _showDatepicker: function(input) { + input = input.target || input; + __showDatepicker.call(this, input); + + var inst = $.datepicker._getInst(input); + if (inst && $.datepicker._datepickerShowing) { + inst.dpDiv.attr('aria-hidden', 'false'); + $(input).attr('aria-expanded', 'true'); + } + }, + + /* Hide the date picker from view */ + _hideDatepicker: function(input) { + __hideDatepicker.call(this, input); + + var inst = this._curInst;; + if (inst && !$.datepicker._datepickerShowing) { + inst.dpDiv.attr('aria-hidden', 'true'); + $(inst.input).attr('aria-expanded', 'false'); + } + }, + + /* Render the date picker content */ + _updateDatepicker: function(inst) { + __updateDatepicker.call(this, inst); + + var activeCell = $('.' + this._dayOverClass, inst.dpDiv).get(0) || $('.' + this._currentClass, inst.dpDiv).get(0); + if (activeCell) { + activeCell = $(activeCell); + activeCell.attr('id', inst.id + '-day-' + activeCell.text()); + } + + // allow focus on main container only + inst.dpDiv.find('.ui-datepicker-calendar') + .attr('tabindex', inst.inline ? '0' : '-1') + .attr('role', 'grid') + .attr('aria-readonly', 'true') + .attr('aria-activedescendant', activeCell ? activeCell.attr('id') : '') + .find('td').attr('role', 'gridcell').attr('aria-selected', 'false') + .find('a').attr('tabindex', '-1'); + + $('.ui-datepicker-current-day', inst.dpDiv).attr('aria-selected', 'true'); + + inst.dpDiv.find('.ui-datepicker-title') + .attr('id', inst.id + '-dp-title') + + // set focus again after update + if (inst._hasfocus) { + inst.dpDiv.find('.ui-datepicker-calendar').focus(); + inst._hasfocus = false; + } + }, + + _selectDateRC: function(id, dateStr) { + var target = $(id), inst = this._getInst(target[0]); + + dateStr = (dateStr != null ? dateStr : this._formatDate(inst)); + if (inst.input) { + inst.input.val(dateStr); + } + this._updateAlternate(inst); + if (inst.input) { + inst.input.trigger("change"); // fire the change event + } + if (inst.inline) { + this._updateDatepicker(inst); + } + } +}); + +}(jQuery)); diff --git a/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js b/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js new file mode 100644 index 000000000..ef7561c7b --- /dev/null +++ b/plugins/jqueryui/js/jquery-ui-accessible-datepicker.js @@ -0,0 +1,235 @@ +/*! jQuery UI Accessible Datepicker extension +* (to be appended to jquery-ui-*.custom.min.js) +* +* @licstart The following is the entire license notice for the +* JavaScript code in this page. +* +* Copyright 2014 Kolab Systems AG +* +* The JavaScript code in this page is free software: you can +* redistribute it and/or modify it under the terms of the GNU +* General Public License (GNU GPL) as published by the Free Software +* Foundation, either version 3 of the License, or (at your option) +* any later version. The code is distributed WITHOUT ANY WARRANTY; +* without even the implied warranty of MERCHANTABILITY or FITNESS +* FOR A PARTICULAR PURPOSE. See the GNU GPL for more details. +* +* As additional permission under GNU GPL version 3 section 7, you +* may distribute non-source (e.g., minimized or compacted) forms of +* that code without the copy of the GNU GPL normally required by +* section 4, provided you include this license notice and a URL +* through which recipients can access the Corresponding Source. +* +* @licend The above is the entire license notice +* for the JavaScript code in this page. +*/ + +(function($, undefined) { + +// references to super class methods +var __newInst = $.datepicker._newInst; +var __updateDatepicker = $.datepicker._updateDatepicker; +var __connectDatepicker = $.datepicker._connectDatepicker; +var __showDatepicker = $.datepicker._showDatepicker; +var __hideDatepicker = $.datepicker._hideDatepicker; + +// "extend" singleton instance methods +$.extend($.datepicker, { + + /* Create a new instance object */ + _newInst: function(target, inline) { + var that = this, inst = __newInst.call(this, target, inline); + + if (inst.inline) { + // attach keyboard event handler + inst.dpDiv.on('keydown.datepicker', '.ui-datepicker-calendar', function(event) { + // we're only interested navigation keys + if ($.inArray(event.keyCode, [ 13, 33, 34, 35, 36, 37, 38, 39, 40]) == -1) { + return; + } + event.stopPropagation(); + event.preventDefault(); + inst._hasfocus = true; + + var activeCell; + switch (event.keyCode) { + case $.ui.keyCode.ENTER: + if ((activeCell = $('.' + that._dayOverClass, inst.dpDiv).get(0) || $('.' + that._currentClass, inst.dpDiv).get(0))) { + that._selectDay(inst.input, inst.selectedMonth, inst.selectedYear, activeCell); + } + break; + + case $.ui.keyCode.PAGE_UP: + that._adjustDate(inst.input, -that._get(inst, 'stepMonths'), 'M'); + break; + case $.ui.keyCode.PAGE_DOWN: + that._adjustDate(inst.input, that._get(inst, 'stepMonths'), 'M'); + break; + + default: + return that._cursorKeydown(event, inst); + } + }) + .attr('role', 'region') + .attr('aria-labelledby', inst.id + '-dp-title'); + } + else { + var widgetId = inst.dpDiv.attr('id') || inst.id + '-dp-widget'; + inst.dpDiv.attr('id', widgetId) + .attr('aria-hidden', 'true') + .attr('aria-labelledby', inst.id + '-dp-title'); + + $(inst.input).attr('aria-haspopup', 'true') + .attr('aria-expanded', 'false') + .attr('aria-owns', widgetId); + } + + return inst; + }, + + /* Attach the date picker to an input field */ + _connectDatepicker: function(target, inst) { + __connectDatepicker.call(this, target, inst); + + var that = this; + + // register additional keyboard events to control date selection with cursor keys + $(target).unbind('keydown.datepicker-extended').bind('keydown.datepicker-extended', function(event) { + var inc = 1; + switch (event.keyCode) { + case 109: + case 173: + case 189: // "minus" + inc = -1; + case 61: + case 107: + case 187: // "plus" + // do nothing if the input does not contain full date string + if (this.value.length < that._formatDate(inst, inst.selectedDay, inst.selectedMonth, inst.selectedYear).length) { + return true; + } + that._adjustInstDate(inst, inc, 'D'); + that._selectDateRC(target, that._formatDate(inst, inst.selectedDay, inst.selectedMonth, inst.selectedYear)); + return false; + + case $.ui.keyCode.UP: + case $.ui.keyCode.DOWN: + // unfold datepicker if not visible + if ($.datepicker._lastInput !== target && !$.datepicker._isDisabledDatepicker(target)) { + that._showDatepicker(event); + event.stopPropagation(); + event.preventDefault(); + return false; + } + + default: + if (!$.datepicker._isDisabledDatepicker(target) && !event.ctrlKey && !event.metaKey) { + return that._cursorKeydown(event, inst); + } + } + }) + .attr('autocomplete', 'off'); + }, + + /* Handle keyboard event on datepicker widget */ + _cursorKeydown: function(event, inst) { + inst._keyEvent = true; + + var isRTL = inst.dpDiv.hasClass('ui-datepicker-rtl'); + + switch (event.keyCode) { + case $.ui.keyCode.LEFT: + this._adjustDate(inst.input, (isRTL ? +1 : -1), 'D'); + break; + case $.ui.keyCode.RIGHT: + this._adjustDate(inst.input, (isRTL ? -1 : +1), 'D'); + break; + case $.ui.keyCode.UP: + this._adjustDate(inst.input, -7, 'D'); + break; + case $.ui.keyCode.DOWN: + this._adjustDate(inst.input, +7, 'D'); + break; + case $.ui.keyCode.HOME: + // TODO: jump to first of month + break; + case $.ui.keyCode.END: + // TODO: jump to end of month + break; + } + + return true; + }, + + /* Pop-up the date picker for a given input field */ + _showDatepicker: function(input) { + input = input.target || input; + __showDatepicker.call(this, input); + + var inst = $.datepicker._getInst(input); + if (inst && $.datepicker._datepickerShowing) { + inst.dpDiv.attr('aria-hidden', 'false'); + $(input).attr('aria-expanded', 'true'); + } + }, + + /* Hide the date picker from view */ + _hideDatepicker: function(input) { + __hideDatepicker.call(this, input); + + var inst = this._curInst;; + if (inst && !$.datepicker._datepickerShowing) { + inst.dpDiv.attr('aria-hidden', 'true'); + $(inst.input).attr('aria-expanded', 'false'); + } + }, + + /* Render the date picker content */ + _updateDatepicker: function(inst) { + __updateDatepicker.call(this, inst); + + var activeCell = $('.' + this._dayOverClass, inst.dpDiv).get(0) || $('.' + this._currentClass, inst.dpDiv).get(0); + if (activeCell) { + activeCell = $(activeCell); + activeCell.attr('id', inst.id + '-day-' + activeCell.text()); + } + + // allow focus on main container only + inst.dpDiv.find('.ui-datepicker-calendar') + .attr('tabindex', inst.inline ? '0' : '-1') + .attr('role', 'grid') + .attr('aria-readonly', 'true') + .attr('aria-activedescendant', activeCell ? activeCell.attr('id') : '') + .find('td').attr('role', 'gridcell').attr('aria-selected', 'false') + .find('a').attr('tabindex', '-1'); + + $('.ui-datepicker-current-day', inst.dpDiv).attr('aria-selected', 'true'); + + inst.dpDiv.find('.ui-datepicker-title') + .attr('id', inst.id + '-dp-title') + + // set focus again after update + if (inst._hasfocus) { + inst.dpDiv.find('.ui-datepicker-calendar').focus(); + inst._hasfocus = false; + } + }, + + _selectDateRC: function(id, dateStr) { + var target = $(id), inst = this._getInst(target[0]); + + dateStr = (dateStr != null ? dateStr : this._formatDate(inst)); + if (inst.input) { + inst.input.val(dateStr); + } + this._updateAlternate(inst); + if (inst.input) { + inst.input.trigger("change"); // fire the change event + } + if (inst.inline) { + this._updateDatepicker(inst); + } + } +}); + +}(jQuery)); diff --git a/plugins/jqueryui/js/jquery.miniColors.min.js b/plugins/jqueryui/js/jquery.miniColors.min.js new file mode 100644 index 000000000..487e6ade1 --- /dev/null +++ b/plugins/jqueryui/js/jquery.miniColors.min.js @@ -0,0 +1,49 @@ +/** + * jQuery MiniColors: A tiny color picker built on jQuery + * + * @source https://github.com/claviska/jquery-minicolors/blob/master/jquery.minicolors.js + * + * @licstart The following is the entire license notice for the + * JavaScript code in this file. + * + * Copyright Cory LaViska for A Beautiful Site, LLC. (http://www.abeautifulsite.net/) + * + * Licensed under the MIT licenses + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + * @licend The above is the entire license notice + * for the JavaScript code in this file. + */ +jQuery&&function(d){d.extend(d.fn,{miniColors:function(j,k){var x=function(a,b){var e=l(a.val());e||(e="FFFFFF");var c=p(e),e=d('<a class="miniColors-trigger" style="background-color: #'+e+'" href="#"></a>');e.insertAfter(a);a.addClass("miniColors").attr("maxlength",7).attr("autocomplete","off");a.data("trigger",e);a.data("hsb",c);b.change&&a.data("change",b.change);b.readonly&&a.attr("readonly",true);b.disabled&&q(a);b.colorValues&&a.data("colorValues",b.colorValues);e.bind("click.miniColors",function(b){b.preventDefault(); +a.trigger("focus")});a.bind("focus.miniColors",function(){w(a)});a.bind("blur.miniColors",function(){var b=l(a.val());a.val(b?"#"+b:"")});a.bind("keydown.miniColors",function(b){b.keyCode===9&&i(a)});a.bind("keyup.miniColors",function(){var b=a.val().replace(/[^A-F0-9#]/ig,"");a.val(b);r(a)||a.data("trigger").css("backgroundColor","#FFF")});a.bind("paste.miniColors",function(){setTimeout(function(){a.trigger("keyup")},5)})},q=function(a){i(a);a.attr("disabled",true);a.data("trigger").css("opacity", +0.5)},w=function(a){if(a.attr("disabled"))return false;i();var b=d('<div class="miniColors-selector"></div>');b.append('<div class="miniColors-colors" style="background-color: #FFF;"><div class="miniColors-colorPicker"></div></div>');b.append('<div class="miniColors-hues"><div class="miniColors-huePicker"></div></div>');b.css({top:a.is(":visible")?a.offset().top+a.outerHeight():a.data("trigger").offset().top+a.data("trigger").outerHeight(),left:a.is(":visible")?a.offset().left:a.data("trigger").offset().left, +display:"none"}).addClass(a.attr("class")).appendTo(d("BODY"));;var e=a.data("colorValues");if(e&&e.length){var c,f='<div class="miniColors-presets">',g;for(g in e)c=l(e[g]),f+='<div class="miniColors-colorPreset" style="background-color:#'+c+'" rel="'+c+'"></div>';f+="</div>";b.append(f);c=Math.ceil(e.length/7)*24;b.css("width",b.width()+c+5+"px");b.find(".miniColors-presets").css("width",c+"px")}c=a.data("hsb");b.find(".miniColors-colors").css("backgroundColor","#"+n(m({h:c.h,s:100,b:100})));(f=a.data("colorPosition"))|| +(f=s(c));b.find(".miniColors-colorPicker").css("top",f.y+"px").css("left",f.x+"px");(f=a.data("huePosition"))||(f=t(c));b.find(".miniColors-huePicker").css("top",f.y+"px");a.data("selector",b);a.data("huePicker",b.find(".miniColors-huePicker"));a.data("colorPicker",b.find(".miniColors-colorPicker"));a.data("mousebutton",0);b.fadeIn(100);b.bind("selectstart",function(){return false});d(document).bind("mousedown.miniColors",function(b){a.data("mousebutton",1);d(b.target).parents().andSelf().hasClass("miniColors-colors")&& +(b.preventDefault(),a.data("moving","colors"),u(a,b));d(b.target).parents().andSelf().hasClass("miniColors-hues")&&(b.preventDefault(),a.data("moving","hues"),v(a,b));d(b.target).parents().andSelf().hasClass("miniColors-selector")?b.preventDefault():d(b.target).parents().andSelf().hasClass("miniColors")||i(a)});d(document).bind("mouseup.miniColors",function(){a.data("mousebutton",0);a.removeData("moving")});d(document).bind("mousemove.miniColors",function(b){a.data("mousebutton")===1&&(a.data("moving")=== +"colors"&&u(a,b),a.data("moving")==="hues"&&v(a,b))});e&&(b.find(".miniColors-colorPreset").click(function(){a.val(d(this).attr("rel"));r(a)}),b.find('.miniColors-presets div[rel="'+a.val().replace(/#/,"")+'"]').addClass("miniColors-colorPreset-active"))},i=function(a){a||(a=".miniColors");d(a).each(function(){var a=d(this).data("selector");d(this).removeData("selector");d(a).fadeOut(100,function(){d(this).remove()})});d(document).unbind("mousedown.miniColors");d(document).unbind("mousemove.miniColors")}, +u=function(a,b){var e=a.data("colorPicker");e.hide();var c={x:b.clientX-a.data("selector").find(".miniColors-colors").offset().left+d(document).scrollLeft()-5,y:b.clientY-a.data("selector").find(".miniColors-colors").offset().top+d(document).scrollTop()-5};if(c.x<=-5)c.x=-5;if(c.x>=144)c.x=144;if(c.y<=-5)c.y=-5;if(c.y>=144)c.y=144;a.data("colorPosition",c);e.css("left",c.x).css("top",c.y).show();e=Math.round((c.x+5)*0.67);e<0&&(e=0);e>100&&(e=100);c=100-Math.round((c.y+5)*0.67);c<0&&(c=0);c>100&& +(c=100);var f=a.data("hsb");f.s=e;f.b=c;o(a,f,true)},v=function(a,b){var e=a.data("huePicker");e.hide();var c={y:b.clientY-a.data("selector").find(".miniColors-colors").offset().top+d(document).scrollTop()-1};if(c.y<=-1)c.y=-1;if(c.y>=149)c.y=149;a.data("huePosition",c);e.css("top",c.y).show();e=Math.round((150-c.y-1)*2.4);e<0&&(e=0);e>360&&(e=360);c=a.data("hsb");c.h=e;o(a,c,true)},o=function(a,b,e){a.data("hsb",b);var c=n(m(b));e&&a.val("#"+c);a.data("trigger").css("backgroundColor","#"+c);a.data("selector")&& +a.data("selector").find(".miniColors-colors").css("backgroundColor","#"+n(m({h:b.h,s:100,b:100})));a.data("change")&&a.data("change").call(a,"#"+c,m(b));a.data("colorValues")&&(a.data("selector").find(".miniColors-colorPreset-active").removeClass("miniColors-colorPreset-active"),a.data("selector").find('.miniColors-presets div[rel="'+c+'"]').addClass("miniColors-colorPreset-active"))},r=function(a){var b=l(a.val());if(!b)return false;var b=p(b),e=a.data("hsb");if(b.h===e.h&&b.s===e.s&&b.b===e.b)return true; +e=s(b);d(a.data("colorPicker")).css("top",e.y+"px").css("left",e.x+"px");e=t(b);d(a.data("huePicker")).css("top",e.y+"px");o(a,b,false);return true},s=function(a){var b=Math.ceil(a.s/0.67);b<0&&(b=0);b>150&&(b=150);a=150-Math.ceil(a.b/0.67);a<0&&(a=0);a>150&&(a=150);return{x:b-5,y:a-5}},t=function(a){a=150-a.h/2.4;a<0&&(h=0);a>150&&(h=150);return{y:a-1}},l=function(a){a=a.replace(/[^A-Fa-f0-9]/,"");a.length==3&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]);return a.length===6?a:null},m=function(a){var b,e,c; +b=Math.round(a.h);var d=Math.round(a.s*255/100),a=Math.round(a.b*255/100);if(d==0)b=e=c=a;else{var d=(255-d)*a/255,g=(a-d)*(b%60)/60;b==360&&(b=0);b<60?(b=a,c=d,e=d+g):b<120?(e=a,c=d,b=a-g):b<180?(e=a,b=d,c=d+g):b<240?(c=a,b=d,e=a-g):b<300?(c=a,e=d,b=d+g):b<360?(b=a,e=d,c=a-g):c=e=b=0}return{r:Math.round(b),g:Math.round(e),b:Math.round(c)}},n=function(a){var b=[a.r.toString(16),a.g.toString(16),a.b.toString(16)];d.each(b,function(a,c){c.length==1&&(b[a]="0"+c)});return b.join("")},p=function(a){var b= +a,b=parseInt(b.indexOf("#")>-1?b.substring(1):b,16),a=b>>16,d=(b&65280)>>8;b&=255;var c={h:0,s:0,b:0},f=Math.min(a,d,b),g=Math.max(a,d,b),f=g-f;c.b=g;c.s=g!=0?255*f/g:0;c.h=c.s!=0?a==g?(d-b)/f:d==g?2+(b-a)/f:4+(a-d)/f:-1;c.h*=60;c.h<0&&(c.h+=360);c.s*=100/255;c.b*=100/255;if(c.s===0)c.h=360;return c};switch(j){case "readonly":return d(this).each(function(){d(this).attr("readonly",k)}),d(this);case "disabled":return d(this).each(function(){if(k)q(d(this));else{var a=d(this);a.attr("disabled",false); +a.data("trigger").css("opacity",1)}}),d(this);case "value":return d(this).each(function(){d(this).val(k).trigger("keyup")}),d(this);case "destroy":return d(this).each(function(){var a=d(this);i();a=d(a);a.data("trigger").remove();a.removeAttr("autocomplete");a.removeData("trigger");a.removeData("selector");a.removeData("hsb");a.removeData("huePicker");a.removeData("colorPicker");a.removeData("mousebutton");a.removeData("moving");a.unbind("click.miniColors");a.unbind("focus.miniColors");a.unbind("blur.miniColors"); +a.unbind("keyup.miniColors");a.unbind("keydown.miniColors");a.unbind("paste.miniColors");d(document).unbind("mousedown.miniColors");d(document).unbind("mousemove.miniColors")}),d(this);default:return j||(j={}),d(this).each(function(){d(this)[0].tagName.toLowerCase()==="input"&&(d(this).data("trigger")||x(d(this),j,k))}),d(this)}}})}(jQuery); diff --git a/plugins/jqueryui/js/jquery.tagedit.js b/plugins/jqueryui/js/jquery.tagedit.js new file mode 100644 index 000000000..baab701cf --- /dev/null +++ b/plugins/jqueryui/js/jquery.tagedit.js @@ -0,0 +1,683 @@ +/* +* Tagedit - jQuery Plugin +* The Plugin can be used to edit tags from a database the easy way +* +* Examples and documentation at: tagedit.webwork-albrecht.de +* +* License: +* This work is licensed under a MIT License +* +* @licstart The following is the entire license notice for the +* JavaScript code in this file. +* +* Copyright (c) 2010 Oliver Albrecht <info@webwork-albrecht.de> +* Copyright (c) 2014 Thomas Brüderli <thomas@roundcube.net> +* +* Licensed under the MIT licenses +* +* Permission is hereby granted, free of charge, to any person obtaining +* a copy of this software and associated documentation files (the +* "Software"), to deal in the Software without restriction, including +* without limitation the rights to use, copy, modify, merge, publish, +* distribute, sublicense, and/or sell copies of the Software, and to +* permit persons to whom the Software is furnished to do so, subject to +* the following conditions: +* +* The above copyright notice and this permission notice shall be +* included in all copies or substantial portions of the Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +* +* @licend The above is the entire license notice +* for the JavaScript code in this file. +* +* @author Oliver Albrecht Mial: info@webwork-albrecht.de Twitter: @webworka +* @version 1.5.2 (06/2014) +* Requires: jQuery v1.4+, jQueryUI v1.8+, jQuerry.autoGrowInput +* +* Example of usage: +* +* $( "input.tag" ).tagedit(); +* +* Possible options: +* +* autocompleteURL: '', // url for a autocompletion +* deleteEmptyItems: true, // Deletes items with empty value +* deletedPostfix: '-d', // will be put to the Items that are marked as delete +* addedPostfix: '-a', // will be put to the Items that are choosem from the database +* additionalListClass: '', // put a classname here if the wrapper ul shoud receive a special class +* allowEdit: true, // Switch on/off edit entries +* allowDelete: true, // Switch on/off deletion of entries. Will be ignored if allowEdit = false +* allowAdd: true, // switch on/off the creation of new entries +* direction: 'ltr' // Sets the writing direction for Outputs and Inputs +* animSpeed: 500 // Sets the animation speed for effects +* autocompleteOptions: {}, // Setting Options for the jquery UI Autocomplete (http://jqueryui.com/demos/autocomplete/) +* breakKeyCodes: [ 13, 44 ], // Sets the characters to break on to parse the tags (defaults: return, comma) +* checkNewEntriesCaseSensitive: false, // If there is a new Entry, it is checked against the autocompletion list. This Flag controlls if the check is (in-)casesensitive +* texts: { // some texts +* removeLinkTitle: 'Remove from list.', +* saveEditLinkTitle: 'Save changes.', +* deleteLinkTitle: 'Delete this tag from database.', +* deleteConfirmation: 'Are you sure to delete this entry?', +* deletedElementTitle: 'This Element will be deleted.', +* breakEditLinkTitle: 'Cancel' +* } +*/ + +(function($) { + + $.fn.tagedit = function(options) { + /** + * Merge Options with defaults + */ + options = $.extend(true, { + // default options here + autocompleteURL: null, + checkToDeleteURL: null, + deletedPostfix: '-d', + addedPostfix: '-a', + additionalListClass: '', + allowEdit: true, + allowDelete: true, + allowAdd: true, + direction: 'ltr', + animSpeed: 500, + autocompleteOptions: { + select: function( event, ui ) { + $(this).val(ui.item.value).trigger('transformToTag', [ui.item.id]); + return false; + } + }, + breakKeyCodes: [ 13, 44 ], + checkNewEntriesCaseSensitive: false, + texts: { + removeLinkTitle: 'Remove from list.', + saveEditLinkTitle: 'Save changes.', + deleteLinkTitle: 'Delete this tag from database.', + deleteConfirmation: 'Are you sure to delete this entry?', + deletedElementTitle: 'This Element will be deleted.', + breakEditLinkTitle: 'Cancel', + forceDeleteConfirmation: 'There are more records using this tag, are you sure do you want to remove it?' + }, + tabindex: false + }, options || {}); + + // no action if there are no elements + if(this.length == 0) { + return; + } + + // set the autocompleteOptions source + if(options.autocompleteURL) { + options.autocompleteOptions.source = options.autocompleteURL; + } + + // Set the direction of the inputs + var direction= this.attr('dir'); + if(direction && direction.length > 0) { + options.direction = this.attr('dir'); + } + + var elements = this; + var focusItem = null; + + var baseNameRegexp = new RegExp("^(.*)\\[([0-9]*?("+options.deletedPostfix+"|"+options.addedPostfix+")?)?\]$", "i"); + + var baseName = elements.eq(0).attr('name').match(baseNameRegexp); + if(baseName && baseName.length == 4) { + baseName = baseName[1]; + } + else { + // Elementname does not match the expected format, exit + alert('elementname dows not match the expected format (regexp: '+baseNameRegexp+')') + return; + } + + // read tabindex from source element + var ti; + if (!options.tabindex && (ti = elements.eq(0).attr('tabindex'))) + options.tabindex = ti; + + // init elements + inputsToList(); + + /** + * Creates the tageditinput from a list of textinputs + * + */ + function inputsToList() { + var html = '<ul class="tagedit-list '+options.additionalListClass+'">'; + + elements.each(function(i) { + var element_name = $(this).attr('name').match(baseNameRegexp); + if(element_name && element_name.length == 4 && (options.deleteEmptyItems == false || $(this).val().length > 0)) { + if(element_name[1].length > 0) { + var elementId = typeof element_name[2] != 'undefined'? element_name[2]: '', + domId = 'tagedit-' + baseName + '-' + (elementId || i); + + html += '<li class="tagedit-listelement tagedit-listelement-old" aria-labelledby="'+domId+'">'; + html += '<span dir="'+options.direction+'" id="'+domId+'">' + $(this).val() + '</span>'; + html += '<input type="hidden" name="'+baseName+'['+elementId+']" value="'+$(this).val()+'" />'; + if (options.allowDelete) + html += '<a class="tagedit-close" title="'+options.texts.removeLinkTitle+'" aria-label="'+options.texts.removeLinkTitle+' '+$(this).val()+'">x</a>'; + html += '</li>'; + } + } + }); + + // replace Elements with the list and save the list in the local variable elements + elements.last().after(html) + var newList = elements.last().next(); + elements.remove(); + elements = newList; + + // Check if some of the elementshav to be marked as deleted + if(options.deletedPostfix.length > 0) { + elements.find('input[name$="'+options.deletedPostfix+'\]"]').each(function() { + markAsDeleted($(this).parent()); + }); + } + + // put an input field at the End + // Put an empty element at the end + html = '<li class="tagedit-listelement tagedit-listelement-new">'; + if (options.allowAdd) + html += '<input type="text" name="'+baseName+'[]" value="" id="tagedit-input" disabled="disabled" class="tagedit-input-disabled" dir="'+options.direction+'"/>'; + html += '</li>'; + html += '</ul>'; + + elements + .append(html) + .attr('tabindex', options.tabindex) // set tabindex to <ul> to recieve focus + + // Set function on the input + .find('#tagedit-input') + .attr('tabindex', options.tabindex) + .each(function() { + $(this).autoGrowInput({comfortZone: 15, minWidth: 15, maxWidth: 20000}); + + // Event is triggert in case of choosing an item from the autocomplete, or finish the input + $(this).bind('transformToTag', function(event, id) { + var oldValue = (typeof id != 'undefined' && (id.length > 0 || id > 0)); + + var checkAutocomplete = oldValue == true || options.autocompleteOptions.noCheck ? false : true; + // check if the Value ist new + var isNewResult = isNew($(this).val(), checkAutocomplete); + if(isNewResult[0] === true || (isNewResult[0] === false && typeof isNewResult[1] == 'string')) { + + if(oldValue == false && typeof isNewResult[1] == 'string') { + oldValue = true; + id = isNewResult[1]; + } + + if(options.allowAdd == true || oldValue) { + var domId = 'tagedit-' + baseName + '-' + id; + // Make a new tag in front the input + html = '<li class="tagedit-listelement tagedit-listelement-old" aria-labelledby="'+domId+'">'; + html += '<span dir="'+options.direction+'" id="'+domId+'">' + $(this).val() + '</span>'; + var name = oldValue? baseName + '['+id+options.addedPostfix+']' : baseName + '[]'; + html += '<input type="hidden" name="'+name+'" value="'+$(this).val()+'" />'; + html += '<a class="tagedit-close" title="'+options.texts.removeLinkTitle+'" aria-label="'+options.texts.removeLinkTitle+' '+$(this).val()+'">x</a>'; + html += '</li>'; + + $(this).parent().before(html); + } + } + $(this).val(''); + + // close autocomplete + if(options.autocompleteOptions.source) { + if($(this).is(':ui-autocomplete')) + $(this).autocomplete( "close" ); + } + + }) + .keydown(function(event) { + var code = event.keyCode > 0? event.keyCode : event.which; + + switch(code) { + case 46: + if (!focusItem) + break; + case 8: // BACKSPACE + if(focusItem) { + focusItem.fadeOut(options.animSpeed, function() { + $(this).remove(); + }) + unfocusItem(); + event.preventDefault(); + return false; + } + else if($(this).val().length == 0) { + // delete Last Tag + var elementToRemove = elements.find('li.tagedit-listelement-old').last(); + elementToRemove.fadeOut(options.animSpeed, function() {elementToRemove.remove();}) + event.preventDefault(); + return false; + } + break; + case 9: // TAB + if($(this).val().length > 0 && $('ul.ui-autocomplete #ui-active-menuitem').length == 0) { + $(this).trigger('transformToTag'); + event.preventDefault(); + return false; + } + break; + case 37: // LEFT + case 39: // RIGHT + if($(this).val().length == 0) { + // select previous Tag + var inc = code == 37 ? -1 : 1, + items = elements.find('li.tagedit-listelement-old') + x = items.length, next = 0; + items.each(function(i, elem) { + if ($(elem).hasClass('tagedit-listelement-focus')) { + x = i; + return true; + } + }); + unfocusItem(); + next = Math.max(0, x + inc); + if (items.get(next)) { + focusItem = items.eq(next).addClass('tagedit-listelement-focus'); + $(this).attr('aria-activedescendant', focusItem.attr('aria-labelledby')) + + if(options.autocompleteOptions.source != false) { + $(this).autocomplete('close').autocomplete('disable'); + } + } + event.preventDefault(); + return false; + } + break; + default: + // ignore input if an item is focused + if (focusItem !== null) { + event.preventDefault(); + event.bubble = false; + return false; + } + } + return true; + }) + .keypress(function(event) { + var code = event.keyCode > 0? event.keyCode : event.which; + if($.inArray(code, options.breakKeyCodes) > -1) { + if($(this).val().length > 0 && $('ul.ui-autocomplete #ui-active-menuitem').length == 0) { + $(this).trigger('transformToTag'); + } + event.preventDefault(); + return false; + } + else if($(this).val().length > 0){ + unfocusItem(); + } + return true; + }) + .bind('paste', function(e){ + var that = $(this); + if (e.type == 'paste'){ + setTimeout(function(){ + that.trigger('transformToTag'); + }, 1); + } + }) + .blur(function() { + if($(this).val().length == 0) { + // disable the field to prevent sending with the form + $(this).attr('disabled', 'disabled').addClass('tagedit-input-disabled'); + } + else { + // Delete entry after a timeout + var input = $(this); + $(this).data('blurtimer', window.setTimeout(function() {input.val('');}, 500)); + } + unfocusItem(); + // restore tabindex when widget looses focus + if (options.tabindex) + elements.attr('tabindex', options.tabindex); + }) + .focus(function() { + window.clearTimeout($(this).data('blurtimer')); + // remove tabindex on <ul> because #tagedit-input now has it + elements.attr('tabindex', '-1'); + }); + + if(options.autocompleteOptions.source != false) { + $(this).autocomplete(options.autocompleteOptions); + } + }) + .end() + .click(function(event) { + switch(event.target.tagName) { + case 'A': + $(event.target).parent().fadeOut(options.animSpeed, function() { + $(event.target).parent().remove(); + elements.find('#tagedit-input').focus(); + }); + break; + case 'INPUT': + case 'SPAN': + case 'LI': + if($(event.target).hasClass('tagedit-listelement-deleted') == false && + $(event.target).parent('li').hasClass('tagedit-listelement-deleted') == false) { + // Don't edit an deleted Items + return doEdit(event); + } + default: + $(this).find('#tagedit-input') + .removeAttr('disabled') + .removeClass('tagedit-input-disabled') + .focus(); + } + return false; + }) + // forward focus event (on tabbing through the form) + .focus(function(e){ $(this).click(); }) + } + + /** + * Remove class and reference to currently focused tag item + */ + function unfocusItem() { + if(focusItem){ + if(options.autocompleteOptions.source != false) { + elements.find('#tagedit-input').autocomplete('enable'); + } + focusItem.removeClass('tagedit-listelement-focus'); + focusItem = null; + elements.find('#tagedit-input').removeAttr('aria-activedescendant'); + } + } + + /** + * Sets all Actions and events for editing an Existing Tag. + * + * @param event {object} The original Event that was given + * return {boolean} + */ + function doEdit(event) { + if(options.allowEdit == false) { + // Do nothing + return; + } + + var element = event.target.tagName == 'SPAN'? $(event.target).parent() : $(event.target); + + var closeTimer = null; + + // Event that is fired if the User finishes the edit of a tag + element.bind('finishEdit', function(event, doReset) { + window.clearTimeout(closeTimer); + + var textfield = $(this).find(':text'); + var isNewResult = isNew(textfield.val(), true); + if(textfield.val().length > 0 && (typeof doReset == 'undefined' || doReset === false) && (isNewResult[0] == true)) { + // This is a new Value and we do not want to do a reset. Set the new value + $(this).find(':hidden').val(textfield.val()); + $(this).find('span').html(textfield.val()); + } + + textfield.remove(); + $(this).find('a.tagedit-save, a.tagedit-break, a.tagedit-delete').remove(); // Workaround. This normaly has to be done by autogrow Plugin + $(this).removeClass('tagedit-listelement-edit').unbind('finishEdit'); + return false; + }); + + var hidden = element.find(':hidden'); + html = '<input type="text" name="tmpinput" autocomplete="off" value="'+hidden.val()+'" class="tagedit-edit-input" dir="'+options.direction+'"/>'; + html += '<a class="tagedit-save" title="'+options.texts.saveEditLinkTitle+'">o</a>'; + html += '<a class="tagedit-break" title="'+options.texts.breakEditLinkTitle+'">x</a>'; + + // If the Element is one from the Database, it can be deleted + if(options.allowDelete == true && element.find(':hidden').length > 0 && + typeof element.find(':hidden').attr('name').match(baseNameRegexp)[3] != 'undefined') { + html += '<a class="tagedit-delete" title="'+options.texts.deleteLinkTitle+'">d</a>'; + } + + hidden.after(html); + element + .addClass('tagedit-listelement-edit') + .find('a.tagedit-save') + .click(function() { + $(this).parent().trigger('finishEdit'); + return false; + }) + .end() + .find('a.tagedit-break') + .click(function() { + $(this).parent().trigger('finishEdit', [true]); + return false; + }) + .end() + .find('a.tagedit-delete') + .click(function() { + window.clearTimeout(closeTimer); + if(confirm(options.texts.deleteConfirmation)) { + var canDelete = checkToDelete($(this).parent()); + if (!canDelete && confirm(options.texts.forceDeleteConfirmation)) { + markAsDeleted($(this).parent()); + } + + if(canDelete) { + markAsDeleted($(this).parent()); + } + + $(this).parent().find(':text').trigger('finishEdit', [true]); + } + else { + $(this).parent().find(':text').trigger('finishEdit', [true]); + } + return false; + }) + .end() + .find(':text') + .focus() + .autoGrowInput({comfortZone: 10, minWidth: 15, maxWidth: 20000}) + .keypress(function(event) { + switch(event.keyCode) { + case 13: // RETURN + event.preventDefault(); + $(this).parent().trigger('finishEdit'); + return false; + case 27: // ESC + event.preventDefault(); + $(this).parent().trigger('finishEdit', [true]); + return false; + } + return true; + }) + .blur(function() { + var that = $(this); + closeTimer = window.setTimeout(function() {that.parent().trigger('finishEdit', [true])}, 500); + }); + } + + /** + * Verifies if the tag select to be deleted is used by other records using an Ajax request. + * + * @param element + * @returns {boolean} + */ + function checkToDelete(element) { + // if no URL is provide will not verify + if(options.checkToDeleteURL === null) { + return false; + } + + var inputName = element.find('input:hidden').attr('name'); + var idPattern = new RegExp('\\d'); + var tagId = inputName.match(idPattern); + var checkResult = false; + + $.ajax({ + async : false, + url : options.checkToDeleteURL, + dataType: 'json', + type : 'POST', + data : { 'tagId' : tagId}, + complete: function (XMLHttpRequest, textStatus) { + + // Expected JSON Object: { "success": Boolean, "allowDelete": Boolean} + var result = $.parseJSON(XMLHttpRequest.responseText); + if(result.success === true){ + checkResult = result.allowDelete; + } + } + }); + + return checkResult; + } + + /** + * Marks a single Tag as deleted. + * + * @param element {object} + */ + function markAsDeleted(element) { + element + .trigger('finishEdit', [true]) + .addClass('tagedit-listelement-deleted') + .attr('title', options.deletedElementTitle); + element.find(':hidden').each(function() { + var nameEndRegexp = new RegExp('('+options.addedPostfix+'|'+options.deletedPostfix+')?\]'); + var name = $(this).attr('name').replace(nameEndRegexp, options.deletedPostfix+']'); + $(this).attr('name', name); + }); + + } + + /** + * Checks if a tag is already choosen. + * + * @param value {string} + * @param checkAutocomplete {boolean} optional Check also the autocomplet values + * @returns {Array} First item is a boolean, telling if the item should be put to the list, second is optional the ID from autocomplete list + */ + function isNew(value, checkAutocomplete) { + checkAutocomplete = typeof checkAutocomplete == 'undefined'? false : checkAutocomplete; + var autoCompleteId = null; + + var compareValue = options.checkNewEntriesCaseSensitive == true? value : value.toLowerCase(); + + var isNew = true; + elements.find('li.tagedit-listelement-old input:hidden').each(function() { + var elementValue = options.checkNewEntriesCaseSensitive == true? $(this).val() : $(this).val().toLowerCase(); + if(elementValue == compareValue) { + isNew = false; + } + }); + + if (isNew == true && checkAutocomplete == true && options.autocompleteOptions.source != false) { + var result = []; + if ($.isArray(options.autocompleteOptions.source)) { + result = options.autocompleteOptions.source; + } + else if ($.isFunction(options.autocompleteOptions.source)) { + options.autocompleteOptions.source({term: value}, function (data) {result = data}); + } + else if (typeof options.autocompleteOptions.source === "string") { + // Check also autocomplete values + var autocompleteURL = options.autocompleteOptions.source; + if (autocompleteURL.match(/\?/)) { + autocompleteURL += '&'; + } else { + autocompleteURL += '?'; + } + autocompleteURL += 'term=' + value; + $.ajax({ + async: false, + url: autocompleteURL, + dataType: 'json', + complete: function (XMLHttpRequest, textStatus) { + result = $.parseJSON(XMLHttpRequest.responseText); + } + }); + } + + // If there is an entry for that already in the autocomplete, don't use it (Check could be case sensitive or not) + for (var i = 0; i < result.length; i++) { + var resultValue = result[i].label? result[i].label : result[i]; + var label = options.checkNewEntriesCaseSensitive == true? resultValue : resultValue.toLowerCase(); + if (label == compareValue) { + isNew = false; + autoCompleteId = typeof result[i] == 'string' ? i : result[i].id; + break; + } + } + } + + return new Array(isNew, autoCompleteId); + } + } +})(jQuery); + +(function($){ + +// jQuery autoGrowInput plugin by James Padolsey +// See related thread: http://stackoverflow.com/questions/931207/is-there-a-jquery-autogrow-plugin-for-text-fields + +$.fn.autoGrowInput = function(o) { + + o = $.extend({ + maxWidth: 1000, + minWidth: 0, + comfortZone: 70 + }, o); + + this.filter('input:text').each(function(){ + + var minWidth = o.minWidth || $(this).width(), + val = '', + input = $(this), + testSubject = $('<tester/>').css({ + position: 'absolute', + top: -9999, + left: -9999, + width: 'auto', + fontSize: input.css('fontSize'), + fontFamily: input.css('fontFamily'), + fontWeight: input.css('fontWeight'), + letterSpacing: input.css('letterSpacing'), + whiteSpace: 'nowrap' + }), + check = function() { + + if (val === (val = input.val())) {return;} + + // Enter new content into testSubject + var escaped = val.replace(/&/g, '&').replace(/\s/g,' ').replace(/</g, '<').replace(/>/g, '>'); + testSubject.html(escaped); + + // Calculate new width + whether to change + var testerWidth = testSubject.width(), + newWidth = (testerWidth + o.comfortZone) >= minWidth ? testerWidth + o.comfortZone : minWidth, + currentWidth = input.width(), + isValidWidthChange = (newWidth < currentWidth && newWidth >= minWidth) + || (newWidth > minWidth && newWidth < o.maxWidth); + + // Animate width + if (isValidWidthChange) { + input.width(newWidth); + } + + }; + + testSubject.insertAfter(input); + + $(this).bind('keyup keydown blur update', check); + + check(); + }); + + return this; + +}; + +})(jQuery);
\ No newline at end of file diff --git a/plugins/jqueryui/tests/Jqueryui.php b/plugins/jqueryui/tests/Jqueryui.php new file mode 100644 index 000000000..ee25818ec --- /dev/null +++ b/plugins/jqueryui/tests/Jqueryui.php @@ -0,0 +1,23 @@ +<?php + +class Jqueryui_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../jqueryui.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new jqueryui($rcube->api); + + $this->assertInstanceOf('jqueryui', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/jqueryui/themes/classic/images/animated-overlay.gif b/plugins/jqueryui/themes/classic/images/animated-overlay.gif Binary files differnew file mode 100755 index 000000000..d441f75eb --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/animated-overlay.gif diff --git a/plugins/jqueryui/themes/classic/images/buttongradient.png b/plugins/jqueryui/themes/classic/images/buttongradient.png Binary files differnew file mode 100644 index 000000000..0595474c7 --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/buttongradient.png diff --git a/plugins/jqueryui/themes/classic/images/listheader.png b/plugins/jqueryui/themes/classic/images/listheader.png Binary files differnew file mode 100644 index 000000000..670df0c4a --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/listheader.png diff --git a/plugins/jqueryui/themes/classic/images/ui-bg_flat_0_aaaaaa_40x100.png b/plugins/jqueryui/themes/classic/images/ui-bg_flat_0_aaaaaa_40x100.png Binary files differnew file mode 100755 index 000000000..5b5dab2ab --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-bg_flat_0_aaaaaa_40x100.png diff --git a/plugins/jqueryui/themes/classic/images/ui-bg_flat_75_ffffff_40x100.png b/plugins/jqueryui/themes/classic/images/ui-bg_flat_75_ffffff_40x100.png Binary files differnew file mode 100755 index 000000000..ac8b229af --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-bg_flat_75_ffffff_40x100.png diff --git a/plugins/jqueryui/themes/classic/images/ui-bg_flat_90_cc3333_40x100.png b/plugins/jqueryui/themes/classic/images/ui-bg_flat_90_cc3333_40x100.png Binary files differnew file mode 100755 index 000000000..6a5d37d65 --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-bg_flat_90_cc3333_40x100.png diff --git a/plugins/jqueryui/themes/classic/images/ui-bg_glass_95_fef1ec_1x400.png b/plugins/jqueryui/themes/classic/images/ui-bg_glass_95_fef1ec_1x400.png Binary files differnew file mode 100755 index 000000000..4443fdc1a --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-bg_glass_95_fef1ec_1x400.png diff --git a/plugins/jqueryui/themes/classic/images/ui-bg_highlight-hard_90_a3a3a3_1x100.png b/plugins/jqueryui/themes/classic/images/ui-bg_highlight-hard_90_a3a3a3_1x100.png Binary files differnew file mode 100755 index 000000000..b3533aafe --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-bg_highlight-hard_90_a3a3a3_1x100.png diff --git a/plugins/jqueryui/themes/classic/images/ui-bg_highlight-hard_90_e6e6e7_1x100.png b/plugins/jqueryui/themes/classic/images/ui-bg_highlight-hard_90_e6e6e7_1x100.png Binary files differnew file mode 100755 index 000000000..d0a127f4d --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-bg_highlight-hard_90_e6e6e7_1x100.png diff --git a/plugins/jqueryui/themes/classic/images/ui-bg_highlight-hard_90_f4f4f4_1x100.png b/plugins/jqueryui/themes/classic/images/ui-bg_highlight-hard_90_f4f4f4_1x100.png Binary files differnew file mode 100755 index 000000000..ecc0ac16a --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-bg_highlight-hard_90_f4f4f4_1x100.png diff --git a/plugins/jqueryui/themes/classic/images/ui-icons_000000_256x240.png b/plugins/jqueryui/themes/classic/images/ui-icons_000000_256x240.png Binary files differnew file mode 100755 index 000000000..7c211aa08 --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-icons_000000_256x240.png diff --git a/plugins/jqueryui/themes/classic/images/ui-icons_333333_256x240.png b/plugins/jqueryui/themes/classic/images/ui-icons_333333_256x240.png Binary files differnew file mode 100755 index 000000000..fe079a595 --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-icons_333333_256x240.png diff --git a/plugins/jqueryui/themes/classic/images/ui-icons_666666_256x240.png b/plugins/jqueryui/themes/classic/images/ui-icons_666666_256x240.png Binary files differnew file mode 100755 index 000000000..f87de1ca1 --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-icons_666666_256x240.png diff --git a/plugins/jqueryui/themes/classic/images/ui-icons_cc3333_256x240.png b/plugins/jqueryui/themes/classic/images/ui-icons_cc3333_256x240.png Binary files differnew file mode 100755 index 000000000..b2fe02927 --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-icons_cc3333_256x240.png diff --git a/plugins/jqueryui/themes/classic/images/ui-icons_dddddd_256x240.png b/plugins/jqueryui/themes/classic/images/ui-icons_dddddd_256x240.png Binary files differnew file mode 100755 index 000000000..91aada0ab --- /dev/null +++ b/plugins/jqueryui/themes/classic/images/ui-icons_dddddd_256x240.png diff --git a/plugins/jqueryui/themes/classic/jquery-ui-1.10.4.custom.css b/plugins/jqueryui/themes/classic/jquery-ui-1.10.4.custom.css new file mode 100755 index 000000000..4ead5aaf2 --- /dev/null +++ b/plugins/jqueryui/themes/classic/jquery-ui-1.10.4.custom.css @@ -0,0 +1,1223 @@ +/*! jQuery UI - v1.10.4 - 2014-06-17 +* http://jqueryui.com +* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande%2C%20Verdana%2C%20Arial%2C%20Helvetica%2C%20sans-serif&fwDefault=normal&fsDefault=1em&cornerRadius=0&bgColorHeader=f4f4f4&bgTextureHeader=highlight_hard&bgImgOpacityHeader=90&borderColorHeader=999999&fcHeader=333333&iconColorHeader=333333&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=000000&iconColorContent=000000&bgColorDefault=e6e6e7&bgTextureDefault=highlight_hard&bgImgOpacityDefault=90&borderColorDefault=aaaaaa&fcDefault=000000&iconColorDefault=666666&bgColorHover=e6e6e7&bgTextureHover=highlight_hard&bgImgOpacityHover=90&borderColorHover=999999&fcHover=000000&iconColorHover=333333&bgColorActive=a3a3a3&bgTextureActive=highlight_hard&bgImgOpacityActive=90&borderColorActive=a4a4a4&fcActive=000000&iconColorActive=333333&bgColorHighlight=cc3333&bgTextureHighlight=flat&bgImgOpacityHighlight=90&borderColorHighlight=cc3333&fcHighlight=ffffff&iconColorHighlight=dddddd&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cc3333&fcError=cc3333&iconColorError=cc3333&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=35&thicknessShadow=6px&offsetTopShadow=-6px&offsetLeftShadow=-6px&cornerRadiusShadow=6px&ctl=themeroller +* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { + display: none; +} +.ui-helper-hidden-accessible { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} +.ui-helper-reset { + margin: 0; + padding: 0; + border: 0; + outline: 0; + line-height: 1.3; + text-decoration: none; + font-size: 100%; + list-style: none; +} +.ui-helper-clearfix:before, +.ui-helper-clearfix:after { + content: ""; + display: table; + border-collapse: collapse; +} +.ui-helper-clearfix:after { + clear: both; +} +.ui-helper-clearfix { + min-height: 0; /* support: IE7 */ +} +.ui-helper-zfix { + width: 100%; + height: 100%; + top: 0; + left: 0; + position: absolute; + opacity: 0; + filter:Alpha(Opacity=0); +} + +.ui-front { + z-index: 100; +} + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { + cursor: default !important; +} + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + display: block; + text-indent: -99999px; + overflow: hidden; + background-repeat: no-repeat; +} + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; +} +.ui-resizable { + position: relative; +} +.ui-resizable-handle { + position: absolute; + font-size: 0.1px; + display: block; +} +.ui-resizable-disabled .ui-resizable-handle, +.ui-resizable-autohide .ui-resizable-handle { + display: none; +} +.ui-resizable-n { + cursor: n-resize; + height: 7px; + width: 100%; + top: -5px; + left: 0; +} +.ui-resizable-s { + cursor: s-resize; + height: 7px; + width: 100%; + bottom: -5px; + left: 0; +} +.ui-resizable-e { + cursor: e-resize; + width: 7px; + right: -5px; + top: 0; + height: 100%; +} +.ui-resizable-w { + cursor: w-resize; + width: 7px; + left: -5px; + top: 0; + height: 100%; +} +.ui-resizable-se { + cursor: se-resize; + width: 12px; + height: 12px; + right: 1px; + bottom: 1px; +} +.ui-resizable-sw { + cursor: sw-resize; + width: 9px; + height: 9px; + left: -5px; + bottom: -5px; +} +.ui-resizable-nw { + cursor: nw-resize; + width: 9px; + height: 9px; + left: -5px; + top: -5px; +} +.ui-resizable-ne { + cursor: ne-resize; + width: 9px; + height: 9px; + right: -5px; + top: -5px; +} +.ui-selectable-helper { + position: absolute; + z-index: 100; + border: 1px dotted black; +} +.ui-accordion .ui-accordion-header { + display: block; + cursor: pointer; + position: relative; + margin-top: 2px; + padding: .5em .5em .5em .7em; + min-height: 0; /* support: IE7 */ +} +.ui-accordion .ui-accordion-icons { + padding-left: 2.2em; +} +.ui-accordion .ui-accordion-noicons { + padding-left: .7em; +} +.ui-accordion .ui-accordion-icons .ui-accordion-icons { + padding-left: 2.2em; +} +.ui-accordion .ui-accordion-header .ui-accordion-header-icon { + position: absolute; + left: .5em; + top: 50%; + margin-top: -8px; +} +.ui-accordion .ui-accordion-content { + padding: 1em 2.2em; + border-top: 0; + overflow: auto; +} +.ui-autocomplete { + position: absolute; + top: 0; + left: 0; + cursor: default; +} +.ui-button { + display: inline-block; + position: relative; + padding: 0; + line-height: normal; + margin-right: .1em; + cursor: pointer; + vertical-align: middle; + text-align: center; + overflow: visible; /* removes extra width in IE */ +} +.ui-button, +.ui-button:link, +.ui-button:visited, +.ui-button:hover, +.ui-button:active { + text-decoration: none; +} +/* to make room for the icon, a width needs to be set here */ +.ui-button-icon-only { + width: 2.2em; +} +/* button elements seem to need a little more width */ +button.ui-button-icon-only { + width: 2.4em; +} +.ui-button-icons-only { + width: 3.4em; +} +button.ui-button-icons-only { + width: 3.7em; +} + +button.ui-button-text-only, +a.ui-button-text-only { + background-image: url("images/buttongradient.png") !important; +} + +/* button text element */ +.ui-button .ui-button-text { + display: block; + line-height: normal; +} +.ui-button-text-only .ui-button-text { + padding: .3em 1em; +} +.ui-button-icon-only .ui-button-text, +.ui-button-icons-only .ui-button-text { + padding: .4em; + text-indent: -9999999px; +} +.ui-button-text-icon-primary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 1em .4em 2.1em; +} +.ui-button-text-icon-secondary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 2.1em .4em 1em; +} +.ui-button-text-icons .ui-button-text { + padding-left: 2.1em; + padding-right: 2.1em; +} +/* no icon support for input elements, provide padding by default */ +input.ui-button { + padding: .4em 1em; +} + +/* button icon element(s) */ +.ui-button-icon-only .ui-icon, +.ui-button-text-icon-primary .ui-icon, +.ui-button-text-icon-secondary .ui-icon, +.ui-button-text-icons .ui-icon, +.ui-button-icons-only .ui-icon { + position: absolute; + top: 50%; + margin-top: -8px; +} +.ui-button-icon-only .ui-icon { + left: 50%; + margin-left: -8px; +} +.ui-button-text-icon-primary .ui-button-icon-primary, +.ui-button-text-icons .ui-button-icon-primary, +.ui-button-icons-only .ui-button-icon-primary { + left: .5em; +} +.ui-button-text-icon-secondary .ui-button-icon-secondary, +.ui-button-text-icons .ui-button-icon-secondary, +.ui-button-icons-only .ui-button-icon-secondary { + right: .5em; +} + +/* button sets */ +.ui-buttonset { + margin-right: 7px; +} +.ui-buttonset .ui-button { + margin-left: 0; + margin-right: -.3em; +} + +/* workarounds */ +/* reset extra padding in Firefox, see h5bp.com/l */ +input.ui-button::-moz-focus-inner, +button.ui-button::-moz-focus-inner { + border: 0; + padding: 0; +} +.ui-datepicker { + width: 17em; + padding: .2em .2em 0; + display: none; + box-shadow: 1px 1px 18px #999; + -moz-box-shadow: 1px 1px 12px #999; + -webkit-box-shadow: #999 1px 1px 12px; +} +.ui-datepicker .ui-datepicker-header { + position: relative; + padding: .2em 0; +} +.ui-datepicker .ui-datepicker-prev, +.ui-datepicker .ui-datepicker-next { + position: absolute; + top: 2px; + width: 1.8em; + height: 1.8em; +} +.ui-datepicker .ui-datepicker-prev-hover, +.ui-datepicker .ui-datepicker-next-hover { + top: 1px; +} +.ui-datepicker .ui-datepicker-prev { + left: 2px; +} +.ui-datepicker .ui-datepicker-next { + right: 2px; +} +.ui-datepicker .ui-datepicker-prev-hover { + left: 1px; +} +.ui-datepicker .ui-datepicker-next-hover { + right: 1px; +} +.ui-datepicker .ui-datepicker-prev span, +.ui-datepicker .ui-datepicker-next span { + display: block; + position: absolute; + left: 50%; + margin-left: -8px; + top: 50%; + margin-top: -8px; +} +.ui-datepicker .ui-datepicker-title { + margin: 0 2.3em; + line-height: 1.8em; + text-align: center; +} +.ui-datepicker .ui-datepicker-title select { + font-size: 1em; + margin: 1px 0; +} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { + width: 49%; +} +.ui-datepicker table { + width: 100%; + font-size: .9em; + border-collapse: collapse; + margin: 0 0 .4em; +} +.ui-datepicker th { + padding: .7em .3em; + text-align: center; + font-weight: bold; + border: 0; +} +.ui-datepicker td { + border: 0; + padding: 1px; +} +.ui-datepicker td span, +.ui-datepicker td a { + display: block; + padding: .2em; + text-align: right; + text-decoration: none; +} +.ui-datepicker td.ui-datepicker-current-day .ui-state-active { + background:#c33; + border-color:#a22; + color:#fff; +} +.ui-datepicker .ui-datepicker-buttonpane { + background-image: none; + margin: .7em 0 0 0; + padding: 0 .2em; + border-left: 0; + border-right: 0; + border-bottom: 0; +} +.ui-datepicker .ui-datepicker-buttonpane button { + float: right; + margin: .5em .2em .4em; + cursor: default; + padding: .2em .6em .3em .6em; + width: auto; + overflow: visible; +} +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { + float: left; +} + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { + width: auto; +} +.ui-datepicker-multi .ui-datepicker-group { + float: left; +} +.ui-datepicker-multi .ui-datepicker-group table { + width: 95%; + margin: 0 auto .4em; +} +.ui-datepicker-multi-2 .ui-datepicker-group { + width: 50%; +} +.ui-datepicker-multi-3 .ui-datepicker-group { + width: 33.3%; +} +.ui-datepicker-multi-4 .ui-datepicker-group { + width: 25%; +} +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { + border-left-width: 0; +} +.ui-datepicker-multi .ui-datepicker-buttonpane { + clear: left; +} +.ui-datepicker-row-break { + clear: both; + width: 100%; + font-size: 0; +} + +/* RTL support */ +.ui-datepicker-rtl { + direction: rtl; +} +.ui-datepicker-rtl .ui-datepicker-prev { + right: 2px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next { + left: 2px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-prev:hover { + right: 1px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next:hover { + left: 1px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane { + clear: right; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button { + float: left; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, +.ui-datepicker-rtl .ui-datepicker-group { + float: right; +} +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { + border-right-width: 0; + border-left-width: 1px; +} +.ui-dialog { + overflow: hidden; + position: absolute; + top: 0; + left: 0; + padding: .2em; + outline: 0; + -webkit-box-shadow: #999 1px 1px 12px; + -moz-box-shadow: 1px 1px 12px #999; + box-shadow: 1px 1px 18px #999; +} +.ui-dialog .ui-dialog-titlebar { + padding: .4em 1em; + position: relative; +} +.ui-dialog .ui-dialog-title { + float: left; + margin: .1em 0; + white-space: nowrap; + width: 90%; + overflow: hidden; + text-overflow: ellipsis; +} +.ui-dialog .ui-dialog-titlebar-close { + position: absolute; + right: .3em; + top: 50%; + width: 20px; + margin: -10px 0 0 0; + padding: 1px; + height: 20px; +} +.no-close .ui-dialog-titlebar-close { + display: none !important; +} +.ui-dialog .ui-dialog-content { + position: relative; + border: 0; + padding: .5em 1em; + background: none; + overflow: auto; +} +.ui-dialog .ui-dialog-buttonpane { + text-align: left; + border-width: 1px 0 0 0; + background-image: none; + margin-top: .5em; + padding: .3em 1em .5em .4em; +} +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { + float: right; +} +.ui-dialog .ui-dialog-buttonpane button { + margin: .5em .4em .5em 0; + cursor: default; +} +.ui-dialog .ui-resizable-se { + width: 12px; + height: 12px; + right: -5px; + bottom: -5px; + background-position: 16px 16px; +} +.ui-draggable .ui-dialog-titlebar { + cursor: move; +} +.ui-menu { + list-style: none; + padding: 2px; + margin: 0; + display: block; + outline: none; + -webkit-box-shadow: #999 1px 1px 12px; + -moz-box-shadow: 1px 1px 12px #999; + box-shadow: 1px 1px 18px #999; +} +.ui-menu .ui-menu { + margin-top: -3px; + position: absolute; +} +.ui-menu .ui-menu-item { + margin: 0; + padding: 0; + width: 100%; + /* support: IE10, see #8844 */ + list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); +} +.ui-menu .ui-menu-divider { + margin: 5px -2px 5px -2px; + height: 0; + font-size: 0; + line-height: 0; + border-width: 1px 0 0 0; +} +.ui-menu .ui-menu-item a { + text-decoration: none; + display: block; + padding: 2px .4em; + line-height: 1.5; + min-height: 0; /* support: IE7 */ + font-weight: normal; +} +.ui-menu .ui-menu-item a.ui-state-focus, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; + background: #c33; + border-color: #a22; + color: #fff; +} + +.ui-menu .ui-state-disabled { + font-weight: normal; + margin: .4em 0 .2em; + line-height: 1.5; +} +.ui-menu .ui-state-disabled a { + cursor: default; +} + +/* icon support */ +.ui-menu-icons { + position: relative; +} +.ui-menu-icons .ui-menu-item a { + position: relative; + padding-left: 2em; +} + +/* left-aligned */ +.ui-menu .ui-icon { + position: absolute; + top: .2em; + left: .2em; +} + +/* right-aligned */ +.ui-menu .ui-menu-icon { + position: static; + float: right; +} +.ui-progressbar { + height: 2em; + text-align: left; + overflow: hidden; +} +.ui-progressbar .ui-progressbar-value { + margin: -1px; + height: 100%; +} +.ui-progressbar .ui-progressbar-overlay { + background: url("images/animated-overlay.gif"); + height: 100%; + filter: alpha(opacity=25); + opacity: 0.25; +} +.ui-progressbar-indeterminate .ui-progressbar-value { + background-image: none; +} +.ui-slider { + position: relative; + text-align: left; +} +.ui-slider .ui-slider-handle { + position: absolute; + z-index: 2; + width: 1.2em; + height: 1.2em; + cursor: default; +} +.ui-slider .ui-slider-range { + position: absolute; + z-index: 1; + font-size: .7em; + display: block; + border: 0; + background-position: 0 0; +} + +/* For IE8 - See #6727 */ +.ui-slider.ui-state-disabled .ui-slider-handle, +.ui-slider.ui-state-disabled .ui-slider-range { + filter: inherit; +} + +.ui-slider-horizontal { + height: .8em; +} +.ui-slider-horizontal .ui-slider-handle { + top: -.3em; + margin-left: -.6em; +} +.ui-slider-horizontal .ui-slider-range { + top: 0; + height: 100%; +} +.ui-slider-horizontal .ui-slider-range-min { + left: 0; +} +.ui-slider-horizontal .ui-slider-range-max { + right: 0; +} + +.ui-slider-vertical { + width: .8em; + height: 100px; +} +.ui-slider-vertical .ui-slider-handle { + left: -.3em; + margin-left: 0; + margin-bottom: -.6em; +} +.ui-slider-vertical .ui-slider-range { + left: 0; + width: 100%; +} +.ui-slider-vertical .ui-slider-range-min { + bottom: 0; +} +.ui-slider-vertical .ui-slider-range-max { + top: 0; +} +.ui-spinner { + position: relative; + display: inline-block; + overflow: hidden; + padding: 0; + vertical-align: middle; +} +.ui-spinner-input { + border: none; + background: none; + color: inherit; + padding: 0; + margin: .2em 0; + vertical-align: middle; + margin-left: .4em; + margin-right: 22px; +} +.ui-spinner-button { + width: 16px; + height: 50%; + font-size: .5em; + padding: 0; + margin: 0; + text-align: center; + position: absolute; + cursor: default; + display: block; + overflow: hidden; + right: 0; +} +/* more specificity required here to override default borders */ +.ui-spinner a.ui-spinner-button { + border-top: none; + border-bottom: none; + border-right: none; +} +/* vertically center icon */ +.ui-spinner .ui-icon { + position: absolute; + margin-top: -8px; + top: 50%; + left: 0; +} +.ui-spinner-up { + top: 0; +} +.ui-spinner-down { + bottom: 0; +} + +/* TR overrides */ +.ui-spinner .ui-icon-triangle-1-s { + /* need to fix icons sprite */ + background-position: -65px -16px; +} +.ui-tabs { + position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ + padding: .2em; +} +.ui-tabs .ui-tabs-nav { + margin: 0; + padding: .2em .2em 0; +} +.ui-tabs .ui-tabs-nav li { + list-style: none; + float: left; + position: relative; + top: 0; + margin: 0; + border-bottom-width: 0; + padding: 0; + white-space: nowrap; + -webkit-border-top-left-radius: 2px; + -moz-border-radius-topleft: 2px; + border-top-left-radius: 2px; + -webkit-border-top-right-radius: 2px; + -moz-border-radius-topright: 2px; + border-top-right-radius: 2px; +} +.ui-tabs .ui-tabs-nav .ui-tabs-anchor { + float: left; + padding: .3em 1em; + text-decoration: none; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-active { + margin-bottom: -1px; + padding-bottom: 1px; +} +.ui-dialog .ui-tabs-nav li.ui-tabs-active { + background: #fff; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor, +.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor, +.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor { + cursor: text; +} +.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor { + cursor: pointer; +} +.ui-tabs .ui-tabs-panel { + display: block; + border-width: 0; + padding: 1em 1.4em; + background: none; +} +.ui-tooltip { + padding: 8px; + position: absolute; + z-index: 9999; + max-width: 300px; + -webkit-box-shadow: 0 0 5px #aaa; + box-shadow: 0 0 5px #aaa; +} +body .ui-tooltip { + border-width: 2px; +} + +/* Component containers +----------------------------------*/ +.ui-widget { + font-family: Lucida Grande, Verdana, Arial, Helvetica, sans-serif; + font-size: 1em; +} +.ui-widget .ui-widget { + font-size: 1em; +} +.ui-widget input, +.ui-widget select, +.ui-widget textarea, +.ui-widget button { + font-family: Lucida Grande, Verdana, Arial, Helvetica, sans-serif; + font-size: 1em; +} +.ui-widget-content { + border: 1px solid #aaaaaa; + background: #ffffff url("images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x; + color: #000000; +} +.ui-widget-content a { + color: #000000; +} +.ui-widget-header { + border: 1px solid #999999; + border-width: 0 0 1px 0; + background: #f4f4f4 url("images/listheader.png") 50% 50% repeat; + color: #333333; + font-weight: bold; + margin: -0.2em -0.2em 0 -0.2em; +} +.ui-widget-header a { + color: #333333; +} + +/* Interaction states +----------------------------------*/ +.ui-state-default, +.ui-widget-content .ui-state-default, +.ui-widget-header .ui-state-default { + border: 1px solid #aaaaaa; + background: #e6e6e7 url("images/ui-bg_highlight-hard_90_e6e6e7_1x100.png") 50% 50% repeat-x; + font-weight: normal; + color: #000000; +} +.ui-state-default a, +.ui-state-default a:link, +.ui-state-default a:visited { + color: #000000; + text-decoration: none; +} +.ui-state-hover, +.ui-widget-content .ui-state-hover, +.ui-widget-header .ui-state-hover, +.ui-state-focus, +.ui-widget-content .ui-state-focus, +.ui-widget-header .ui-state-focus { + border: 1px solid #999999; + background: #e6e6e7 url("images/ui-bg_highlight-hard_90_e6e6e7_1x100.png") 50% 50% repeat-x; + font-weight: normal; + color: #000000; +} +.ui-state-focus, +.ui-widget-content .ui-state-focus { + border: 1px solid #c33; + color: #a00; +} +.ui-tabs-nav .ui-state-focus { + border: 1px solid #a4a4a4; + color: #000; +} +.ui-state-hover a, +.ui-state-hover a:hover, +.ui-state-hover a:link, +.ui-state-hover a:visited, +.ui-state-focus a, +.ui-state-focus a:hover, +.ui-state-focus a:link, +.ui-state-focus a:visited { + color: #000000; + text-decoration: none; +} +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active { + border: 1px solid #a4a4a4; + background: #a3a3a3 url("images/ui-bg_highlight-hard_90_a3a3a3_1x100.png") 50% 50% repeat-x; + font-weight: normal; + color: #000000; +} +.ui-state-active a, +.ui-state-active a:link, +.ui-state-active a:visited { + color: #000000; + text-decoration: none; +} + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, +.ui-widget-content .ui-state-highlight, +.ui-widget-header .ui-state-highlight { + border: 1px solid #cc3333; + background: #cc3333 url("images/ui-bg_flat_90_cc3333_40x100.png") 50% 50% repeat-x; + color: #ffffff; +} +.ui-state-highlight a, +.ui-widget-content .ui-state-highlight a, +.ui-widget-header .ui-state-highlight a { + color: #ffffff; +} +.ui-state-error, +.ui-widget-content .ui-state-error, +.ui-widget-header .ui-state-error { + border: 1px solid #cc3333; + background: #fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x; + color: #cc3333; +} +.ui-state-error a, +.ui-widget-content .ui-state-error a, +.ui-widget-header .ui-state-error a { + color: #cc3333; +} +.ui-state-error-text, +.ui-widget-content .ui-state-error-text, +.ui-widget-header .ui-state-error-text { + color: #cc3333; +} +.ui-priority-primary, +.ui-widget-content .ui-priority-primary, +.ui-widget-header .ui-priority-primary { + font-weight: bold; +} +.ui-priority-secondary, +.ui-widget-content .ui-priority-secondary, +.ui-widget-header .ui-priority-secondary { + opacity: .6; + filter:Alpha(Opacity=60); + font-weight: normal; +} +.ui-state-disabled, +.ui-widget-content .ui-state-disabled, +.ui-widget-header .ui-state-disabled { + opacity: .35; + filter:Alpha(Opacity=35); + background-image: none; +} +.ui-state-disabled .ui-icon { + filter:Alpha(Opacity=35); /* For IE8 - See #6059 */ +} + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + width: 16px; + height: 16px; +} +.ui-icon, +.ui-widget-content .ui-icon { + background-image: url("images/ui-icons_000000_256x240.png"); +} +.ui-widget-header .ui-icon { + background-image: url("images/ui-icons_333333_256x240.png"); +} +.ui-state-default .ui-icon { + background-image: url("images/ui-icons_666666_256x240.png"); +} +.ui-state-hover .ui-icon, +.ui-state-focus .ui-icon { + background-image: url("images/ui-icons_333333_256x240.png"); +} +.ui-state-active .ui-icon { + background-image: url("images/ui-icons_333333_256x240.png"); +} +.ui-state-highlight .ui-icon { + background-image: url("images/ui-icons_dddddd_256x240.png"); +} +.ui-state-error .ui-icon, +.ui-state-error-text .ui-icon { + background-image: url("images/ui-icons_cc3333_256x240.png"); +} + +/* positioning */ +.ui-icon-blank { background-position: 16px 16px; } +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-on { background-position: -96px -144px; } +.ui-icon-radio-off { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-all, +.ui-corner-top, +.ui-corner-left, +.ui-corner-tl { + border-top-left-radius: 0; +} +.ui-corner-all, +.ui-corner-top, +.ui-corner-right, +.ui-corner-tr { + border-top-right-radius: 0; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-left, +.ui-corner-bl { + border-bottom-left-radius: 0; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-right, +.ui-corner-br { + border-bottom-right-radius: 0; +} + +/* Overlays */ +.ui-widget-overlay { + background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x; + opacity: .3; + filter: Alpha(Opacity=30); +} +.ui-widget-shadow { + margin: -6px 0 0 -6px; + padding: 6px; + background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x; + opacity: .35; + filter: Alpha(Opacity=35); + border-radius: 6px; +} diff --git a/plugins/jqueryui/themes/classic/roundcube-custom.diff b/plugins/jqueryui/themes/classic/roundcube-custom.diff new file mode 100644 index 000000000..8e99e1879 --- /dev/null +++ b/plugins/jqueryui/themes/classic/roundcube-custom.diff @@ -0,0 +1,174 @@ +--- jquery-ui-1.10.4.custom.orig.css 2014-06-17 00:44:04.000000000 +0200 ++++ jquery-ui-1.10.4.custom.css 2014-07-31 08:55:11.000000000 +0200 +@@ -226,13 +226,18 @@ + width: 3.7em; + } + ++button.ui-button-text-only, ++a.ui-button-text-only { ++ background-image: url("images/buttongradient.png") !important; ++} ++ + /* button text element */ + .ui-button .ui-button-text { + display: block; + line-height: normal; + } + .ui-button-text-only .ui-button-text { +- padding: .4em 1em; ++ padding: .3em 1em; + } + .ui-button-icon-only .ui-button-text, + .ui-button-icons-only .ui-button-text { +@@ -301,6 +306,9 @@ + width: 17em; + padding: .2em .2em 0; + display: none; ++ box-shadow: 1px 1px 18px #999; ++ -moz-box-shadow: 1px 1px 12px #999; ++ -webkit-box-shadow: #999 1px 1px 12px; + } + .ui-datepicker .ui-datepicker-header { + position: relative; +@@ -374,6 +382,11 @@ + text-align: right; + text-decoration: none; + } ++.ui-datepicker td.ui-datepicker-current-day .ui-state-active { ++ background:#c33; ++ border-color:#a22; ++ color:#fff; ++} + .ui-datepicker .ui-datepicker-buttonpane { + background-image: none; + margin: .7em 0 0 0; +@@ -385,7 +398,7 @@ + .ui-datepicker .ui-datepicker-buttonpane button { + float: right; + margin: .5em .2em .4em; +- cursor: pointer; ++ cursor: default; + padding: .2em .6em .3em .6em; + width: auto; + overflow: visible; +@@ -469,6 +482,9 @@ + left: 0; + padding: .2em; + outline: 0; ++ -webkit-box-shadow: #999 1px 1px 12px; ++ -moz-box-shadow: 1px 1px 12px #999; ++ box-shadow: 1px 1px 18px #999; + } + .ui-dialog .ui-dialog-titlebar { + padding: .4em 1em; +@@ -491,6 +507,9 @@ + padding: 1px; + height: 20px; + } ++.no-close .ui-dialog-titlebar-close { ++ display: none !important; ++} + .ui-dialog .ui-dialog-content { + position: relative; + border: 0; +@@ -510,7 +529,7 @@ + } + .ui-dialog .ui-dialog-buttonpane button { + margin: .5em .4em .5em 0; +- cursor: pointer; ++ cursor: default; + } + .ui-dialog .ui-resizable-se { + width: 12px; +@@ -528,6 +547,9 @@ + margin: 0; + display: block; + outline: none; ++ -webkit-box-shadow: #999 1px 1px 12px; ++ -moz-box-shadow: 1px 1px 12px #999; ++ box-shadow: 1px 1px 18px #999; + } + .ui-menu .ui-menu { + margin-top: -3px; +@@ -559,6 +581,9 @@ + .ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; ++ background: #c33; ++ border-color: #a22; ++ color: #fff; + } + + .ui-menu .ui-state-disabled { +@@ -740,20 +765,29 @@ + float: left; + position: relative; + top: 0; +- margin: 1px .2em 0 0; ++ margin: 0; + border-bottom-width: 0; + padding: 0; + white-space: nowrap; ++ -webkit-border-top-left-radius: 2px; ++ -moz-border-radius-topleft: 2px; ++ border-top-left-radius: 2px; ++ -webkit-border-top-right-radius: 2px; ++ -moz-border-radius-topright: 2px; ++ border-top-right-radius: 2px; + } + .ui-tabs .ui-tabs-nav .ui-tabs-anchor { + float: left; +- padding: .5em 1em; ++ padding: .3em 1em; + text-decoration: none; + } + .ui-tabs .ui-tabs-nav li.ui-tabs-active { + margin-bottom: -1px; + padding-bottom: 1px; + } ++.ui-dialog .ui-tabs-nav li.ui-tabs-active { ++ background: #fff; ++} + .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor, + .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor, + .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor { +@@ -806,9 +840,11 @@ + } + .ui-widget-header { + border: 1px solid #999999; +- background: #f4f4f4 url("images/ui-bg_highlight-hard_90_f4f4f4_1x100.png") 50% 50% repeat-x; ++ border-width: 0 0 1px 0; ++ background: #f4f4f4 url("images/listheader.png") 50% 50% repeat; + color: #333333; + font-weight: bold; ++ margin: -0.2em -0.2em 0 -0.2em; + } + .ui-widget-header a { + color: #333333; +@@ -841,6 +877,15 @@ + font-weight: normal; + color: #000000; + } ++.ui-state-focus, ++.ui-widget-content .ui-state-focus { ++ border: 1px solid #c33; ++ color: #a00; ++} ++.ui-tabs-nav .ui-state-focus { ++ border: 1px solid #a4a4a4; ++ color: #000; ++} + .ui-state-hover a, + .ui-state-hover a:hover, + .ui-state-hover a:link, +@@ -906,8 +951,8 @@ + .ui-priority-secondary, + .ui-widget-content .ui-priority-secondary, + .ui-widget-header .ui-priority-secondary { +- opacity: .7; +- filter:Alpha(Opacity=70); ++ opacity: .6; ++ filter:Alpha(Opacity=60); + font-weight: normal; + } + .ui-state-disabled, diff --git a/plugins/jqueryui/themes/larry/images/animated-overlay.gif b/plugins/jqueryui/themes/larry/images/animated-overlay.gif Binary files differnew file mode 100644 index 000000000..d441f75eb --- /dev/null +++ b/plugins/jqueryui/themes/larry/images/animated-overlay.gif diff --git a/plugins/jqueryui/themes/larry/images/minicolors-all.png b/plugins/jqueryui/themes/larry/images/minicolors-all.png Binary files differnew file mode 100644 index 000000000..001ed888c --- /dev/null +++ b/plugins/jqueryui/themes/larry/images/minicolors-all.png diff --git a/plugins/jqueryui/themes/larry/images/minicolors-handles.gif b/plugins/jqueryui/themes/larry/images/minicolors-handles.gif Binary files differnew file mode 100644 index 000000000..9aa9f758a --- /dev/null +++ b/plugins/jqueryui/themes/larry/images/minicolors-handles.gif diff --git a/plugins/jqueryui/themes/larry/images/ui-dialog-close.png b/plugins/jqueryui/themes/larry/images/ui-dialog-close.png Binary files differnew file mode 100644 index 000000000..bc2e244ac --- /dev/null +++ b/plugins/jqueryui/themes/larry/images/ui-dialog-close.png diff --git a/plugins/jqueryui/themes/larry/images/ui-icons-datepicker.png b/plugins/jqueryui/themes/larry/images/ui-icons-datepicker.png Binary files differnew file mode 100644 index 000000000..77ebd0c5c --- /dev/null +++ b/plugins/jqueryui/themes/larry/images/ui-icons-datepicker.png diff --git a/plugins/jqueryui/themes/larry/images/ui-icons_004458_256x240.png b/plugins/jqueryui/themes/larry/images/ui-icons_004458_256x240.png Binary files differnew file mode 100644 index 000000000..31a4ccacf --- /dev/null +++ b/plugins/jqueryui/themes/larry/images/ui-icons_004458_256x240.png diff --git a/plugins/jqueryui/themes/larry/images/ui-icons_d7211e_256x240.png b/plugins/jqueryui/themes/larry/images/ui-icons_d7211e_256x240.png Binary files differnew file mode 100644 index 000000000..0ad2dc38d --- /dev/null +++ b/plugins/jqueryui/themes/larry/images/ui-icons_d7211e_256x240.png diff --git a/plugins/jqueryui/themes/larry/jquery-ui-1.10.4.custom.css b/plugins/jqueryui/themes/larry/jquery-ui-1.10.4.custom.css new file mode 100755 index 000000000..106e24305 --- /dev/null +++ b/plugins/jqueryui/themes/larry/jquery-ui-1.10.4.custom.css @@ -0,0 +1,1517 @@ +/*! jQuery UI - v1.10.4 - 2014-06-17 +* http://jqueryui.com +* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.0em&cornerRadius=5px&bgColorHeader=e4e4e4&bgTextureHeader=highlight_soft&bgImgOpacityHeader=90&borderColorHeader=fafafa&fcHeader=666666&iconColorHeader=004458&bgColorContent=fafafa&bgTextureContent=highlight_soft&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=33333&iconColorContent=004458&bgColorDefault=f8f8f8&bgTextureDefault=highlight_hard&bgImgOpacityDefault=75&borderColorDefault=cccccc&fcDefault=666666&iconColorDefault=004458&bgColorHover=eaeaea&bgTextureHover=highlight_hard&bgImgOpacityHover=75&borderColorHover=aaaaaa&fcHover=333333&iconColorHover=004458&bgColorActive=ffffff&bgTextureActive=highlight_hard&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=333333&iconColorActive=004458&bgColorHighlight=b0ccd7&bgTextureHighlight=highlight_hard&bgImgOpacityHighlight=55&borderColorHighlight=a3a3a3&fcHighlight=004458&iconColorHighlight=004458&bgColorError=fef1ec&bgTextureError=flat&bgImgOpacityError=95&borderColorError=d7211e&fcError=d64040&iconColorError=d7211e&bgColorOverlay=333333&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=50&bgColorShadow=666666&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=20&thicknessShadow=6px&offsetTopShadow=-6px&offsetLeftShadow=-6px&cornerRadiusShadow=8px +* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { + display: none; +} +.ui-helper-hidden-accessible { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} +.ui-helper-reset { + margin: 0; + padding: 0; + border: 0; + outline: 0; + line-height: 1.3; + text-decoration: none; + font-size: 100%; + list-style: none; +} +.ui-helper-clearfix:before, +.ui-helper-clearfix:after { + content: ""; + display: table; + border-collapse: collapse; +} +.ui-helper-clearfix:after { + clear: both; +} +.ui-helper-clearfix { + min-height: 0; /* support: IE7 */ +} +.ui-helper-zfix { + width: 100%; + height: 100%; + top: 0; + left: 0; + position: absolute; + opacity: 0; + filter:Alpha(Opacity=0); +} + +.ui-front { + z-index: 100; +} + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { + cursor: default !important; +} + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + display: block; + text-indent: -99999px; + overflow: hidden; + background-repeat: no-repeat; +} + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; +} +.ui-resizable { + position: relative; +} +.ui-resizable-handle { + position: absolute; + font-size: 0.1px; + display: block; +} +.ui-resizable-disabled .ui-resizable-handle, +.ui-resizable-autohide .ui-resizable-handle { + display: none; +} +.ui-resizable-n { + cursor: n-resize; + height: 7px; + width: 100%; + top: -5px; + left: 0; +} +.ui-resizable-s { + cursor: s-resize; + height: 7px; + width: 100%; + bottom: -5px; + left: 0; +} +.ui-resizable-e { + cursor: e-resize; + width: 7px; + right: -5px; + top: 0; + height: 100%; +} +.ui-resizable-w { + cursor: w-resize; + width: 7px; + left: -5px; + top: 0; + height: 100%; +} +.ui-resizable-se { + cursor: se-resize; + width: 12px; + height: 12px; + right: 1px; + bottom: 1px; +} +.ui-resizable-sw { + cursor: sw-resize; + width: 9px; + height: 9px; + left: -5px; + bottom: -5px; +} +.ui-resizable-nw { + cursor: nw-resize; + width: 9px; + height: 9px; + left: -5px; + top: -5px; +} +.ui-resizable-ne { + cursor: ne-resize; + width: 9px; + height: 9px; + right: -5px; + top: -5px; +} +.ui-selectable-helper { + position: absolute; + z-index: 100; + border: 1px dotted black; +} +.ui-accordion .ui-accordion-header { + display: block; + cursor: pointer; + position: relative; + margin-top: 2px; + padding: .5em .5em .5em .7em; + min-height: 0; /* support: IE7 */ +} +.ui-accordion .ui-accordion-icons { + padding-left: 2.2em; +} +.ui-accordion .ui-accordion-noicons { + padding-left: .7em; +} +.ui-accordion .ui-accordion-icons .ui-accordion-icons { + padding-left: 2.2em; +} +.ui-accordion .ui-accordion-header .ui-accordion-header-icon { + position: absolute; + left: .5em; + top: 50%; + margin-top: -8px; +} +.ui-accordion .ui-accordion-content { + padding: 1em 2.2em; + border-top: 0; + overflow: auto; +} +.ui-autocomplete { + position: absolute; + top: 0; + left: 0; + cursor: default; +} +.ui-button { + display: inline-block; + position: relative; + padding: 0; + line-height: normal; + margin-right: .1em; + cursor: pointer; + vertical-align: middle; + text-align: center; + overflow: visible; /* removes extra width in IE */ +} +.ui-button, +.ui-button:link, +.ui-button:visited, +.ui-button:hover, +.ui-button:active { + text-decoration: none; +} +/* to make room for the icon, a width needs to be set here */ +.ui-button-icon-only { + width: 2.2em; +} +/* button elements seem to need a little more width */ +button.ui-button-icon-only { + width: 2.4em; +} +.ui-button-icons-only { + width: 3.4em; +} +button.ui-button-icons-only { + width: 3.7em; +} + +/* button text element */ +.ui-button .ui-button-text { + display: block; + line-height: normal; +} +.ui-button-text-only .ui-button-text { + padding: .4em 1em; +} +.ui-button-icon-only .ui-button-text, +.ui-button-icons-only .ui-button-text { + padding: .4em; + text-indent: -9999999px; + width: 1px; + overflow: hidden; +} +.ui-button-text-icon-primary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 1em .4em 2.1em; +} +.ui-button-text-icon-secondary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 2.1em .4em 1em; +} +.ui-button-text-icons .ui-button-text { + padding-left: 2.1em; + padding-right: 2.1em; +} +/* no icon support for input elements, provide padding by default */ +input.ui-button { + padding: .4em 1em; +} + +/* button icon element(s) */ +.ui-button-icon-only .ui-icon, +.ui-button-text-icon-primary .ui-icon, +.ui-button-text-icon-secondary .ui-icon, +.ui-button-text-icons .ui-icon, +.ui-button-icons-only .ui-icon { + position: absolute; + top: 50%; + margin-top: -8px; +} +.ui-button-icon-only .ui-icon { + left: 50%; + margin-left: -8px; +} +.ui-button-text-icon-primary .ui-button-icon-primary, +.ui-button-text-icons .ui-button-icon-primary, +.ui-button-icons-only .ui-button-icon-primary { + left: .5em; +} +.ui-button-text-icon-secondary .ui-button-icon-secondary, +.ui-button-text-icons .ui-button-icon-secondary, +.ui-button-icons-only .ui-button-icon-secondary { + right: .5em; +} + +/* button sets */ +.ui-buttonset { + margin-right: 7px; +} +.ui-buttonset .ui-button { + margin-left: 0; + margin-right: -.3em; +} + +/* workarounds */ +/* reset extra padding in Firefox, see h5bp.com/l */ +input.ui-button::-moz-focus-inner, +button.ui-button::-moz-focus-inner { + border: 0; + padding: 0; +} +.ui-datepicker { + width: 17em; + padding: .2em .2em 0; + display: none; +} +.ui-datepicker .ui-datepicker-header { + position: relative; + padding: .2em 0; +} +.ui-datepicker .ui-datepicker-prev, +.ui-datepicker .ui-datepicker-next { + position: absolute; + top: 2px; + width: 1.8em; + height: 1.8em; +} +.ui-datepicker .ui-datepicker-prev-hover, +.ui-datepicker .ui-datepicker-next-hover { + top: 1px; +} +.ui-datepicker .ui-datepicker-prev { + left: 2px; +} +.ui-datepicker .ui-datepicker-next { + right: 2px; +} +.ui-datepicker .ui-datepicker-prev-hover { + left: 1px; +} +.ui-datepicker .ui-datepicker-next-hover { + right: 1px; +} +.ui-datepicker .ui-datepicker-prev span, +.ui-datepicker .ui-datepicker-next span { + display: block; + position: absolute; + left: 50%; + margin-left: -8px; + top: 50%; + margin-top: -8px; +} +.ui-datepicker .ui-datepicker-title { + margin: 0 2.3em; + line-height: 1.8em; + text-align: center; +} +.ui-datepicker .ui-datepicker-title select { + font-size: 1em; + margin: 1px 0; +} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { + width: 49%; +} +.ui-datepicker table { + width: 100%; + font-size: .9em; + border-collapse: collapse; + margin: 0 0 .4em; +} +.ui-datepicker th { + padding: .7em .3em; + text-align: center; + font-weight: bold; + border: 0; +} +.ui-datepicker td { + border: 0; + padding: 1px; +} +.ui-datepicker td span, +.ui-datepicker td a { + display: block; + padding: .2em; + text-align: right; + text-decoration: none; +} +.ui-datepicker .ui-datepicker-buttonpane { + background-image: none; + margin: .7em 0 0 0; + padding: 0 .2em; + border-left: 0; + border-right: 0; + border-bottom: 0; +} +.ui-datepicker .ui-datepicker-buttonpane button { + float: right; + margin: .5em .2em .4em; + cursor: pointer; + padding: .2em .6em .3em .6em; + width: auto; + overflow: visible; +} +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { + float: left; +} + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { + width: auto; +} +.ui-datepicker-multi .ui-datepicker-group { + float: left; +} +.ui-datepicker-multi .ui-datepicker-group table { + width: 95%; + margin: 0 auto .4em; +} +.ui-datepicker-multi-2 .ui-datepicker-group { + width: 50%; +} +.ui-datepicker-multi-3 .ui-datepicker-group { + width: 33.3%; +} +.ui-datepicker-multi-4 .ui-datepicker-group { + width: 25%; +} +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { + border-left-width: 0; +} +.ui-datepicker-multi .ui-datepicker-buttonpane { + clear: left; +} +.ui-datepicker-row-break { + clear: both; + width: 100%; + font-size: 0; +} + +/* RTL support */ +.ui-datepicker-rtl { + direction: rtl; +} +.ui-datepicker-rtl .ui-datepicker-prev { + right: 2px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next { + left: 2px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-prev:hover { + right: 1px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next:hover { + left: 1px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane { + clear: right; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button { + float: left; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, +.ui-datepicker-rtl .ui-datepicker-group { + float: right; +} +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { + border-right-width: 0; + border-left-width: 1px; +} +.ui-dialog { + position: absolute; + top: 0; + left: 0; + padding: 3px; + background: #fff; + border-radius: 6px !important; + border: 0 !important; + outline: 0; + -webkit-box-shadow: #666 1px 1px 12px; + -moz-box-shadow: 1px 1px 12px #666; + box-shadow: 1px 1px 18px #666; +} +.ui-dialog .ui-dialog-titlebar { + padding: 15px 1em 8px 1em; + position: relative; + border: 0; + border-radius: 5px 5px 0 0; +} +.ui-dialog .ui-dialog-title { + float: left; + margin: .1em 16px .1em 0; + font-size: 1.3em; + text-shadow: 1px 1px 1px #fff; + white-space: nowrap; + width: 90%; + overflow: hidden; + text-overflow: ellipsis; +} +.ui-dialog .ui-button.ui-dialog-titlebar-close { + position: absolute; + right: -15px; + top: -15px; + width: 29px; + height: 29px; + margin: 0; + padding: 0; + z-index: 99999; + border-radius: 50%; + border-width: 0 !important; + background: none !important; + filter: none !important; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + -o-box-shadow: none !important; + box-shadow: none !important; +} +.ui-dialog .ui-dialog-titlebar-close.ui-button:focus, +.ui-dialog .ui-dialog-titlebar-close.ui-button.ui-state-focus { + box-shadow: 0 0 2px 2px rgba(71,135,177, 0.9) !important; + -webkit-box-shadow: 0 0 2px 2px rgba(71,135,177, 0.9) !important; +} +.ui-dialog .ui-dialog-titlebar-close .ui-icon-closethick { + top: 0; + left: -1px; + margin: 0; + width: 29px; + height: 29px; + border-radius: 50%; + background: url("images/ui-dialog-close.png") 0 0 no-repeat; +} +.no-close .ui-dialog-titlebar-close { + display: none !important; +} +.ui-dialog .ui-dialog-content { + position: relative; + border: 0; + padding: 1.5em 1em 0.5em 1em; + background: none; + overflow: auto; +} +.ui-dialog .ui-widget-content { + border: 0; +} +.ui-dialog .ui-dialog-buttonpane { + text-align: left; + border-width: 1px 0 0 0; + background-image: none; + border-color: #ddd; + border-style: solid; + margin: 0; + padding: .3em 1em .5em .8em; +} +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { + float: left; +} +.ui-dialog .ui-dialog-buttonpane button { + margin: .5em .4em .5em 0; + cursor: pointer; +} +.ui-dialog .ui-resizable-se { + width: 14px; + height: 14px; + right: 3px; + bottom: 3px; + background-position: -80px -224px; +} +.ui-draggable .ui-dialog-titlebar { + cursor: move; +} +.ui-menu { + list-style: none; + padding: 0; + margin: 0; + display: block; + outline: none; + background: #444; + border: 1px solid #999; + border-radius: 4px !important; + -webkit-box-shadow: 0 2px 6px 0 #333; + -moz-box-shadow: 0 2px 6px 0 #333; + -o-box-shadow: 0 2px 6px 0 #333; + box-shadow: 0 2px 6px 0 #333; +} +.ui-menu .ui-menu { + margin-top: -3px; + position: absolute; +} +.ui-menu .ui-menu-item { + margin: 0; + padding: 0; + width: 100%; + /* support: IE10, see #8844 */ + list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + color: #fff; + white-space: nowrap; + border-top: 1px solid #5a5a5a; + border-bottom: 1px solid #333; +} +.ui-menu .ui-menu-item:first-child { + border-top: 0; +} +.ui-menu .ui-menu-item:last-child { + border-bottom: 0; +} +.ui-menu .ui-menu-divider { + margin: 5px -2px 5px -2px; + height: 0; + font-size: 0; + line-height: 0; + border-width: 1px 0 0 0; +} +.ui-menu .ui-menu-item a { + text-decoration: none; + display: block; + padding: 6px 10px 4px 10px; + line-height: 1.5; + min-height: 0; /* support: IE7 */ + font-weight: normal; + border: 0; + margin: 0; + border-radius: 0; + color: #fff; + background: #444; + text-shadow: 0px 1px 1px #333; +} +.ui-menu .ui-menu-item a.ui-state-focus, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + background: #00aad6; + background: -moz-linear-gradient(top, #00aad6 0%, #008fc9 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00aad6), color-stop(100%,#008fc9)); + background: -o-linear-gradient(top, #00aad6 0%, #008fc9 100%); + background: -ms-linear-gradient(top, #00aad6 0%, #008fc9 100%); + background: linear-gradient(top, #00aad6 0%, #008fc9 100%); +} + +.ui-menu .ui-state-disabled { + font-weight: normal; + margin: .4em 0 .2em; + line-height: 1.5; +} +.ui-menu .ui-state-disabled a { + cursor: default; +} + +/* icon support */ +.ui-menu-icons { + position: relative; +} +.ui-menu-icons .ui-menu-item a { + position: relative; + padding-left: 2em; +} + +/* left-aligned */ +.ui-menu .ui-icon { + position: absolute; + top: .2em; + left: .2em; +} + +/* right-aligned */ +.ui-menu .ui-menu-icon { + position: static; + float: right; +} +.ui-progressbar { + height: 2em; + text-align: left; + overflow: hidden; +} +.ui-progressbar .ui-progressbar-value { + margin: -1px; + height: 100%; +} +.ui-progressbar .ui-progressbar-overlay { + background: url("images/animated-overlay.gif"); + height: 100%; + filter: alpha(opacity=25); + opacity: 0.25; +} +.ui-progressbar-indeterminate .ui-progressbar-value { + background-image: none; +} +.ui-slider { + position: relative; + text-align: left; +} +.ui-slider .ui-slider-handle { + position: absolute; + z-index: 2; + width: 1.2em; + height: 1.2em; + cursor: default; +} +.ui-slider .ui-slider-range { + position: absolute; + z-index: 1; + font-size: .7em; + display: block; + border: 0; + background: #019bc6; + background: -moz-linear-gradient(top, #019bc6 0%, #017cb4 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#019bc6), color-stop(100%,#017cb4)); + background: -o-linear-gradient(top, #019bc6 0%, #017cb4 100%); + background: -ms-linear-gradient(top, #019bc6 0%, #017cb4 100%); + background: linear-gradient(top, #019bc6 0%, #017cb4 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#019bc6', endColorstr='#017cb4', GradientType=0); +} + +/* For IE8 - See #6727 */ +.ui-slider.ui-state-disabled .ui-slider-handle, +.ui-slider.ui-state-disabled .ui-slider-range { + filter: inherit; +} + +.ui-slider-horizontal { + height: .8em; +} +.ui-slider-horizontal .ui-slider-handle { + top: -.3em; + margin-left: -.6em; +} +.ui-slider-horizontal .ui-slider-range { + top: 0; + height: 100%; +} +.ui-slider-horizontal .ui-slider-range-min { + left: 0; +} +.ui-slider-horizontal .ui-slider-range-max { + right: 0; +} + +.ui-slider-vertical { + width: .8em; + height: 100px; +} +.ui-slider-vertical .ui-slider-handle { + left: -.3em; + margin-left: 0; + margin-bottom: -.6em; +} +.ui-slider-vertical .ui-slider-range { + left: 0; + width: 100%; +} +.ui-slider-vertical .ui-slider-range-min { + bottom: 0; +} +.ui-slider-vertical .ui-slider-range-max { + top: 0; +} +.ui-spinner { + position: relative; + display: inline-block; + overflow: hidden; + padding: 0; + vertical-align: middle; +} +.ui-spinner-input { + border: none; + background: none; + color: inherit; + padding: 0; + margin: .2em 0; + vertical-align: middle; + margin-left: .4em; + margin-right: 22px; +} +.ui-spinner-button { + width: 16px; + height: 50%; + font-size: .5em; + padding: 0; + margin: 0; + text-align: center; + position: absolute; + cursor: default; + display: block; + overflow: hidden; + right: 0; +} +/* more specificity required here to override default borders */ +.ui-spinner a.ui-spinner-button { + border-top: none; + border-bottom: none; + border-right: none; +} +/* vertically center icon */ +.ui-spinner .ui-icon { + position: absolute; + margin-top: -8px; + top: 50%; + left: 0; +} +.ui-spinner-up { + top: 0; +} +.ui-spinner-down { + bottom: 0; +} + +/* TR overrides */ +.ui-spinner .ui-icon-triangle-1-s { + /* need to fix icons sprite */ + background-position: -65px -16px; +} +.ui-tabs { + position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ + padding: .2em; +} +.ui-tabs .ui-tabs-nav { + margin: 0; padding: 0; + border: 0; + background: transparent; + filter: none; + height: 44px; +} +.ui-tabs .ui-tabs-nav li { + list-style: none; + position: relative; + display: inline-block; + top: 0; + margin: 0; + border: 0 !important; + padding: 0 1px 0 0; + white-space: nowrap; + background: #f8f8f8; + background: -moz-linear-gradient(top, #f8f8f8 0%, #d3d3d3 50%, #f8f8f8 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(50%,#d3d3d3), color-stop(100%,#f8f8f8)); + background: -webkit-linear-gradient(top, #f8f8f8 0%, #d3d3d3 50%, #f8f8f8 100%); + background: -o-linear-gradient(top, #f8f8f8 0%, #d3d3d3 50%, #f8f8f8 100%); + background: -ms-linear-gradient(top, #f8f8f8 0%, #d3d3d3 50%, #f8f8f8 100%); + background: linear-gradient(top, #f8f8f8 0%, #d3d3d3 50%, #f8f8f8 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#d3d3d3', GradientType=0); +} +.ui-tabs .ui-tabs-nav li:last-child { + background: none; +} +.ui-tabs .ui-tabs-nav .ui-tabs-anchor { + display: inline-block; + padding: 15px; + text-decoration: none; + font-size: 12px; + color: #999; + background: #fafafa; + border-right: 1px solid #fafafa; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-active { + margin-bottom: -1px; + padding-bottom: 1px; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor, +.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor, +.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor { + cursor: text; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor { + outline: none; + color: #004458; + background: #efefef; + background: -moz-linear-gradient(top, #fafafa 40%, #e4e4e4 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(40%,#fff), color-stop(100%,#e4e4e4)); + background: -o-linear-gradient(top, #fafafa 40%, #e4e4e4 100%); + background: -ms-linear-gradient(top, #fafafa 40%, #e4e4e4 100%); + background: linear-gradient(top, #fafafa 40%, #e4e4e4 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#e4e4e4', GradientType=0); +} +.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor { + cursor: pointer; +} +.ui-tabs .ui-tabs-panel { + display: block; + border-width: 0; + padding: 0.5em 1em; + margin-top: 0.2em; + background: #efefef; +} +.ui-tooltip { + padding: 8px; + position: absolute; + z-index: 9999; + max-width: 300px; + -webkit-box-shadow: 0 0 5px #aaa; + box-shadow: 0 0 5px #aaa; +} +body .ui-tooltip { + border-width: 2px; +} + +/* Component containers +----------------------------------*/ +.ui-widget { + font-family: Lucida Grande,Verdana,Arial,sans-serif; + font-size: 1.0em; +} +.ui-widget .ui-widget { + font-size: 1em; +} +.ui-widget input, +.ui-widget select, +.ui-widget textarea, +.ui-widget button { + font-family: Lucida Grande,Verdana,Arial,sans-serif; + font-size: 1em; +} +.ui-widget-content { + border: 1px solid #aaaaaa; + background: #fafafa; + color: #333333; +} +.ui-widget-content a { + color: #0186ba; +} +.ui-widget-header { + border: 1px solid #fafafa; + background: #e4e4e4; + background: -moz-linear-gradient(top, #f2f2f2 0%, #e4e4e4 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#e4e4e4)); + background: -o-linear-gradient(top, #f2f2f2 0%, #e4e4e4 100%); + background: -ms-linear-gradient(top, #f2f2f2 0%, #e4e4e4 100%); + background: linear-gradient(top, #f2f2f2 0%, #e4e4e4 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2f2f2', endColorstr='#e4e4e4', GradientType=0); + color: #666666; + font-weight: bold; +} +.ui-widget-header a { + color: #666666; +} + +/* Interaction states +----------------------------------*/ +.ui-state-default, +.ui-widget-content .ui-state-default, +.ui-widget-header .ui-state-default { + border: 1px solid #cccccc; + background: #f8f8f8; + font-weight: bold; + color: #666666; +} +.ui-state-default a, +.ui-state-default a:link, +.ui-state-default a:visited { + color: #666666; + text-decoration: none; +} +.ui-state-hover, +.ui-widget-content .ui-state-hover, +.ui-widget-header .ui-state-hover, +.ui-state-focus, +.ui-widget-content .ui-state-focus, +.ui-widget-header .ui-state-focus { + border: 1px solid #aaaaaa; + background: #eaeaea; + font-weight: bold; + color: #333333; +} +.ui-state-hover a, +.ui-state-hover a:hover, +.ui-state-hover a:link, +.ui-state-hover a:visited, +.ui-state-focus a, +.ui-state-focus a:hover, +.ui-state-focus a:link, +.ui-state-focus a:visited { + color: #333333; + text-decoration: none; +} +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active { + border: 1px solid #aaaaaa; + background: #ffffff; + font-weight: bold; + color: #333333; +} +.ui-state-active a, +.ui-state-active a:link, +.ui-state-active a:visited { + color: #333333; + text-decoration: none; +} + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, +.ui-widget-content .ui-state-highlight, +.ui-widget-header .ui-state-highlight { + border: 1px solid #a3a3a3; + background: #b0ccd7; + color: #004458; +} +.ui-state-highlight a, +.ui-widget-content .ui-state-highlight a, +.ui-widget-header .ui-state-highlight a { + color: #004458; +} +.ui-state-error, +.ui-widget-content .ui-state-error, +.ui-widget-header .ui-state-error { + border: 1px solid #d7211e; + background: #fef1ec; + color: #d64040; +} +.ui-state-error a, +.ui-widget-content .ui-state-error a, +.ui-widget-header .ui-state-error a { + color: #d64040; +} +.ui-state-error-text, +.ui-widget-content .ui-state-error-text, +.ui-widget-header .ui-state-error-text { + color: #d64040; +} +.ui-priority-primary, +.ui-widget-content .ui-priority-primary, +.ui-widget-header .ui-priority-primary { + font-weight: bold; +} +.ui-priority-secondary, +.ui-widget-content .ui-priority-secondary, +.ui-widget-header .ui-priority-secondary { + opacity: .7; + filter:Alpha(Opacity=70); + font-weight: normal; +} +.ui-state-disabled, +.ui-widget-content .ui-state-disabled, +.ui-widget-header .ui-state-disabled { + opacity: .35; + filter:Alpha(Opacity=35); + background-image: none; +} +.ui-state-disabled .ui-icon { + filter:Alpha(Opacity=35); /* For IE8 - See #6059 */ +} + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + width: 16px; + height: 16px; +} +.ui-icon, +.ui-widget-content .ui-icon { + background-image: url("images/ui-icons_004458_256x240.png"); +} +.ui-widget-header .ui-icon { + background-image: url("images/ui-icons_004458_256x240.png"); +} +.ui-state-default .ui-icon { + background-image: url("images/ui-icons_004458_256x240.png"); +} +.ui-state-hover .ui-icon, +.ui-state-focus .ui-icon { + background-image: url("images/ui-icons_004458_256x240.png"); +} +.ui-state-active .ui-icon { + background-image: url("images/ui-icons_004458_256x240.png"); +} +.ui-state-highlight .ui-icon { + background-image: url("images/ui-icons_004458_256x240.png"); +} +.ui-state-error .ui-icon, +.ui-state-error-text .ui-icon { + background-image: url("images/ui-icons_d7211e_256x240.png"); +} + +/* positioning */ +.ui-icon-blank { background-position: 16px 16px; } +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-on { background-position: -96px -144px; } +.ui-icon-radio-off { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-all, +.ui-corner-top, +.ui-corner-left, +.ui-corner-tl { + border-top-left-radius: 5px; +} +.ui-corner-all, +.ui-corner-top, +.ui-corner-right, +.ui-corner-tr { + border-top-right-radius: 5px; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-left, +.ui-corner-bl { + border-bottom-left-radius: 5px; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-right, +.ui-corner-br { + border-bottom-right-radius: 5px; +} + +/* Overlays */ +.ui-widget-overlay { + background: #333333; + opacity: .5; + filter: Alpha(Opacity=50); +} +.ui-widget-shadow { + margin: -6px 0 0 -6px; + padding: 6px; + background: #666666; + opacity: .2; + filter: Alpha(Opacity=20); + border-radius: 8px; +} + +/* Roundcube button styling */ +.ui-button.ui-state-default { + display: inline-block; + margin: 0 2px; + padding: 1px 2px; + text-shadow: 0px 1px 1px #fff; + border: 1px solid #c6c6c6; + border-radius: 4px; + background: #f7f7f7; + background: -moz-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#e6e6e6)); + background: -o-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + background: -ms-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + background: linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e6e6e6', GradientType=0); + -webkit-box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); + -moz-box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); + -o-box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); + box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); + text-decoration: none; + outline: none; +} + +.ui-button.mainaction { + color: #ededed; + text-shadow: 0px 1px 1px #333; + border-color: #1f262c; + background: #505050; + background: -moz-linear-gradient(top, #505050 0%, #2a2e31 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#505050), color-stop(100%,#2a2e31)); + background: -o-linear-gradient(top, #505050 0%, #2a2e31 100%); + background: -ms-linear-gradient(top, #505050 0%, #2a2e31 100%); + background: linear-gradient(top, #505050 0%, #2a2e31 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#505050', endColorstr='#2a2e31', GradientType=0); + -moz-box-shadow: inset 0 1px 0 0 #777; + -webkit-box-shadow: inset 0 1px 0 0 #777; + -o-box-shadow: inset 0 1px 0 0 #777; + box-shadow: inset 0 1px 0 0 #777; +} + +.ui-button.ui-state-focus { + color: #525252; + border-color: #4fadd5; + -moz-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); + -webkit-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); + -o-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); + box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); +} + +.ui-button.ui-state-active { + color: #525252; + border-color: #aaa; + background: #e6e6e6; + background: -moz-linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e6e6e6), color-stop(100%,#f9f9f9)); + background: -o-linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); + background: -ms-linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); + background: linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e6e6', endColorstr='#f9f9f9', GradientType=0); +} + +.ui-button.ui-state-focus.mainaction, +.ui-button.ui-state-hover.mainaction { + color: #fff; +} + +.ui-button.ui-state-focus.mainaction { + border-color: #1f262c; + -moz-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6), inset 0 1px 0 0 #777; + -webkit-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6), inset 0 1px 0 0 #777; + -o-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6), inset 0 1px 0 0 #777; + box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6), inset 0 1px 0 0 #777; +} + +.ui-button.ui-state-active.mainaction { + color: #fff; + background: #515151; + background: -moz-linear-gradient(top, #2a2e31 0%, #505050 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2a2e31), color-stop(100%,#505050)); + background: -o-linear-gradient(top, #2a2e31 0%, #505050 100%); + background: -ms-linear-gradient(top, #2a2e31 0%, #505050 100%); + background: linear-gradient(top, #2a2e31 0%, #505050 100%); +} + +.ui-button[disabled], +.ui-button[disabled]:hover, +.ui-button.mainaction[disabled] { + color: #aaa !important; +} + +/* Roundcube's specific Datepicker style override */ +.ui-datepicker { + min-width: 20em; + padding: 0; + display: none; + border: 0; + border-radius: 3px; + -webkit-box-shadow: #666 1px 1px 10px; + -moz-box-shadow: 1px 1px 10px #666; + box-shadow: 1px 1px 16px #666; +} +.ui-datepicker .ui-datepicker-header { + padding: .3em 0; + border-radius: 3px 3px 0 0; + border: 0; + background: #3a3a3a; + filter: none; + color: #fff; + text-shadow: 0px 1px 1px #000; +} +.ui-datepicker .ui-datepicker-prev, +.ui-datepicker .ui-datepicker-next { + border: 0; + background: none; +} +.ui-datepicker .ui-datepicker-header .ui-icon { + background: url("images/ui-icons-datepicker.png") 0 0 no-repeat; +} +.ui-datepicker .ui-datepicker-header .ui-icon-circle-triangle-w { + background-position: 0 2px; +} +.ui-datepicker .ui-datepicker-header .ui-icon-circle-triangle-e { + background-position: -14px 2px; +} +.ui-datepicker .ui-datepicker-prev-hover, +.ui-datepicker .ui-datepicker-next-hover { + top: 2px; + border: 0; + background: none; +} +.ui-datepicker .ui-datepicker-prev, +.ui-datepicker .ui-datepicker-prev-hover { + left: 2px; +} +.ui-datepicker .ui-datepicker-next, +.ui-datepicker .ui-datepicker-next-hover { + right: 2px; +} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { + border: 0; + background: #3a3a3a; + outline: none; + color: #fff; + font-weight: bold; + width: auto; + margin-right: 4px; + padding-right: 4px; +} +.ui-datepicker .ui-datepicker-title select::-ms-expand { + display: none; +} +.ie10 .ui-datepicker .ui-datepicker-title select, +.webkit .ui-datepicker .ui-datepicker-title select { + background-image: url("images/ui-icons-datepicker.png"); + background-position: right -18px; + background-repeat: no-repeat; + padding-right: 16px; + -webkit-appearance: none; + appearance: none; +} + +@supports (-moz-appearance:none) and (mask-type:alpha) { + .mozilla .ui-datepicker .ui-datepicker-title select { + background-image: url("images/ui-icons-datepicker.png"); + background-position: right -14px; + background-repeat: no-repeat; + padding-right: 16px; + -moz-appearance: none; + } +} +.ui-datepicker .ui-datepicker-month:focus, +.ui-datepicker .ui-datepicker-year:focus { + outline: 1px solid #4fadd5; +} +.ui-datepicker table { + margin: 0; + border-spacing: 0; +} +.ui-datepicker table:focus { + outline: 2px solid #4fadd5; + outline-offset: -2px; +} +.ui-datepicker td { + border: 1px solid #bbb; + padding: 0; +} +.ui-datepicker td span, .ui-datepicker td a { + border: 0; + padding: .3em; + text-shadow: 0px 1px 1px #fff; +} +.ui-datepicker td a.ui-state-default { + border: 0px solid #fff; + border-top-width: 1px; + border-left-width: 1px; + background: #e6e6e6; + background: -moz-linear-gradient(top, #e6e6e6 0%, #d6d6d6 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e6e6e6), color-stop(100%,#d6d6d6)); + background: -o-linear-gradient(top, #e6e6e6 0%, #d6d6d6 100%); + background: -ms-linear-gradient(top, #e6e6e6 0%, #d6d6d6 100%); + background: linear-gradient(top, #e6e6e6 0%, #d6d6d6 100%); +} +.ui-datepicker td a.ui-priority-secondary { + background: #eee; +} +.ui-datepicker td a.ui-state-active { + color: #fff; + border-color: #0286ac !important; + text-shadow: 0px 1px 1px #00516e !important; + background: #00acd4 !important; + background: -moz-linear-gradient(top, #00acd4 0%, #008fc7 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00acd4), color-stop(100%,#008fc7)); + background: -o-linear-gradient(top, #00acd4 0%, #008fc7 100%); + background: -ms-linear-gradient(top, #00acd4 0%, #008fc7 100%); + background: linear-gradient(top, #00acd4 0%, #008fc7 100%); +} +.ui-datepicker .ui-state-highlight { + color: #0081c2; +} +.ui-datepicker td.ui-datepicker-days-cell-over a.ui-state-default { + color: #fff; + border-color: rgba(73,180,210,0.7); + background: rgba(73,180,210,0.7); + text-shadow: 0px 1px 1px #666; +} diff --git a/plugins/jqueryui/themes/larry/jquery-ui-css.diff b/plugins/jqueryui/themes/larry/jquery-ui-css.diff new file mode 100644 index 000000000..e3971ecdb --- /dev/null +++ b/plugins/jqueryui/themes/larry/jquery-ui-css.diff @@ -0,0 +1,600 @@ +--- jquery-ui-1.10.4.custom.orig.css 2014-06-17 00:47:00.000000000 +0200 ++++ jquery-ui-1.10.4.custom.css 2014-07-31 08:54:40.000000000 +0200 +@@ -238,6 +238,8 @@ + .ui-button-icons-only .ui-button-text { + padding: .4em; + text-indent: -9999999px; ++ width: 1px; ++ overflow: hidden; + } + .ui-button-text-icon-primary .ui-button-text, + .ui-button-text-icons .ui-button-text { +@@ -463,20 +465,29 @@ + border-left-width: 1px; + } + .ui-dialog { +- overflow: hidden; + position: absolute; + top: 0; + left: 0; +- padding: .2em; ++ padding: 3px; ++ background: #fff; ++ border-radius: 6px !important; ++ border: 0 !important; + outline: 0; ++ -webkit-box-shadow: #666 1px 1px 12px; ++ -moz-box-shadow: 1px 1px 12px #666; ++ box-shadow: 1px 1px 18px #666; + } + .ui-dialog .ui-dialog-titlebar { +- padding: .4em 1em; ++ padding: 15px 1em 8px 1em; + position: relative; ++ border: 0; ++ border-radius: 5px 5px 0 0; + } + .ui-dialog .ui-dialog-title { + float: left; +- margin: .1em 0; ++ margin: .1em 16px .1em 0; ++ font-size: 1.3em; ++ text-shadow: 1px 1px 1px #fff; + white-space: nowrap; + width: 90%; + overflow: hidden; +@@ -484,50 +495,84 @@ + } + .ui-dialog .ui-dialog-titlebar-close { + position: absolute; +- right: .3em; +- top: 50%; +- width: 20px; +- margin: -10px 0 0 0; +- padding: 1px; +- height: 20px; ++ right: -15px; ++ top: -15px; ++ width: 30px; ++ margin: 0; ++ padding: 0; ++ height: 30px; ++ z-index: 99999; ++ border-width: 0 !important; ++ background: none !important; ++ filter: none !important; ++ -webkit-box-shadow: none !important; ++ -moz-box-shadow: none !important; ++ -o-box-shadow: none !important; ++ box-shadow: none !important; ++} ++.ui-dialog .ui-dialog-titlebar-close.ui-state-focus { ++ outline: 2px solid #4fadd5; ++} ++.ui-dialog .ui-dialog-titlebar-close .ui-icon-closethick { ++ top: 0; ++ left: 0; ++ margin: 0; ++ width: 30px; ++ height: 30px; ++ background: url("images/ui-dialog-close.png") 0 0 no-repeat; ++} ++.no-close .ui-dialog-titlebar-close { ++ display: none !important; + } + .ui-dialog .ui-dialog-content { + position: relative; + border: 0; +- padding: .5em 1em; ++ padding: 1.5em 1em 0.5em 1em; + background: none; + overflow: auto; + } ++.ui-dialog .ui-widget-content { ++ border: 0; ++} + .ui-dialog .ui-dialog-buttonpane { + text-align: left; + border-width: 1px 0 0 0; + background-image: none; +- margin-top: .5em; +- padding: .3em 1em .5em .4em; ++ border-color: #ddd; ++ border-style: solid; ++ margin: 0; ++ padding: .3em 1em .5em .8em; + } + .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { +- float: right; ++ float: left; + } + .ui-dialog .ui-dialog-buttonpane button { + margin: .5em .4em .5em 0; + cursor: pointer; + } + .ui-dialog .ui-resizable-se { +- width: 12px; +- height: 12px; +- right: -5px; +- bottom: -5px; +- background-position: 16px 16px; ++ width: 14px; ++ height: 14px; ++ right: 3px; ++ bottom: 3px; ++ background-position: -80px -224px; + } + .ui-draggable .ui-dialog-titlebar { + cursor: move; + } + .ui-menu { + list-style: none; +- padding: 2px; ++ padding: 0; + margin: 0; + display: block; + outline: none; ++ background: #444; ++ border: 1px solid #999; ++ border-radius: 4px !important; ++ -webkit-box-shadow: 0 2px 6px 0 #333; ++ -moz-box-shadow: 0 2px 6px 0 #333; ++ -o-box-shadow: 0 2px 6px 0 #333; ++ box-shadow: 0 2px 6px 0 #333; + } + .ui-menu .ui-menu { + margin-top: -3px; +@@ -539,6 +584,16 @@ + width: 100%; + /* support: IE10, see #8844 */ + list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); ++ color: #fff; ++ white-space: nowrap; ++ border-top: 1px solid #5a5a5a; ++ border-bottom: 1px solid #333; ++} ++.ui-menu .ui-menu-item:first-child { ++ border-top: 0; ++} ++.ui-menu .ui-menu-item:last-child { ++ border-bottom: 0; + } + .ui-menu .ui-menu-divider { + margin: 5px -2px 5px -2px; +@@ -550,15 +605,26 @@ + .ui-menu .ui-menu-item a { + text-decoration: none; + display: block; +- padding: 2px .4em; ++ padding: 6px 10px 4px 10px; + line-height: 1.5; + min-height: 0; /* support: IE7 */ + font-weight: normal; ++ border: 0; ++ margin: 0; ++ border-radius: 0; ++ color: #fff; ++ background: #444; ++ text-shadow: 0px 1px 1px #333; + } + .ui-menu .ui-menu-item a.ui-state-focus, + .ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; +- margin: -1px; ++ background: #00aad6; ++ background: -moz-linear-gradient(top, #00aad6 0%, #008fc9 100%); ++ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00aad6), color-stop(100%,#008fc9)); ++ background: -o-linear-gradient(top, #00aad6 0%, #008fc9 100%); ++ background: -ms-linear-gradient(top, #00aad6 0%, #008fc9 100%); ++ background: linear-gradient(top, #00aad6 0%, #008fc9 100%); + } + + .ui-menu .ui-state-disabled { +@@ -626,7 +692,13 @@ + font-size: .7em; + display: block; + border: 0; +- background-position: 0 0; ++ background: #019bc6; ++ background: -moz-linear-gradient(top, #019bc6 0%, #017cb4 100%); ++ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#019bc6), color-stop(100%,#017cb4)); ++ background: -o-linear-gradient(top, #019bc6 0%, #017cb4 100%); ++ background: -ms-linear-gradient(top, #019bc6 0%, #017cb4 100%); ++ background: linear-gradient(top, #019bc6 0%, #017cb4 100%); ++ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#019bc6', endColorstr='#017cb4', GradientType=0); + } + + /* For IE8 - See #6727 */ +@@ -732,23 +804,41 @@ + padding: .2em; + } + .ui-tabs .ui-tabs-nav { +- margin: 0; +- padding: .2em .2em 0; ++ margin: 0; padding: 0; ++ border: 0; ++ background: transparent; ++ filter: none; ++ height: 44px; + } + .ui-tabs .ui-tabs-nav li { + list-style: none; +- float: left; + position: relative; ++ display: inline-block; + top: 0; +- margin: 1px .2em 0 0; +- border-bottom-width: 0; +- padding: 0; ++ margin: 0; ++ border: 0 !important; ++ padding: 0 1px 0 0; + white-space: nowrap; ++ background: #f8f8f8; ++ background: -moz-linear-gradient(top, #f8f8f8 0%, #d3d3d3 50%, #f8f8f8 100%); ++ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(50%,#d3d3d3), color-stop(100%,#f8f8f8)); ++ background: -webkit-linear-gradient(top, #f8f8f8 0%, #d3d3d3 50%, #f8f8f8 100%); ++ background: -o-linear-gradient(top, #f8f8f8 0%, #d3d3d3 50%, #f8f8f8 100%); ++ background: -ms-linear-gradient(top, #f8f8f8 0%, #d3d3d3 50%, #f8f8f8 100%); ++ background: linear-gradient(top, #f8f8f8 0%, #d3d3d3 50%, #f8f8f8 100%); ++ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#d3d3d3', GradientType=0); ++} ++.ui-tabs .ui-tabs-nav li:last-child { ++ background: none; + } + .ui-tabs .ui-tabs-nav .ui-tabs-anchor { +- float: left; +- padding: .5em 1em; ++ display: inline-block; ++ padding: 15px; + text-decoration: none; ++ font-size: 12px; ++ color: #999; ++ background: #fafafa; ++ border-right: 1px solid #fafafa; + } + .ui-tabs .ui-tabs-nav li.ui-tabs-active { + margin-bottom: -1px; +@@ -759,14 +849,26 @@ + .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor { + cursor: text; + } ++.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor { ++ outline: none; ++ color: #004458; ++ background: #efefef; ++ background: -moz-linear-gradient(top, #fafafa 40%, #e4e4e4 100%); ++ background: -webkit-gradient(linear, left top, left bottom, color-stop(40%,#fff), color-stop(100%,#e4e4e4)); ++ background: -o-linear-gradient(top, #fafafa 40%, #e4e4e4 100%); ++ background: -ms-linear-gradient(top, #fafafa 40%, #e4e4e4 100%); ++ background: linear-gradient(top, #fafafa 40%, #e4e4e4 100%); ++ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#e4e4e4', GradientType=0); ++} + .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor { + cursor: pointer; + } + .ui-tabs .ui-tabs-panel { + display: block; + border-width: 0; +- padding: 1em 1.4em; +- background: none; ++ padding: 0.5em 1em; ++ margin-top: 0.2em; ++ background: #efefef; + } + .ui-tooltip { + padding: 8px; +@@ -798,15 +900,21 @@ + } + .ui-widget-content { + border: 1px solid #aaaaaa; +- background: #fafafa url("images/ui-bg_highlight-soft_75_fafafa_1x100.png") 50% top repeat-x; +- color: 33333; ++ background: #fafafa; ++ color: #333333; + } + .ui-widget-content a { +- color: 33333; ++ color: #0186ba; + } + .ui-widget-header { + border: 1px solid #fafafa; +- background: #e4e4e4 url("images/ui-bg_highlight-soft_90_e4e4e4_1x100.png") 50% 50% repeat-x; ++ background: #e4e4e4; ++ background: -moz-linear-gradient(top, #f2f2f2 0%, #e4e4e4 100%); ++ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#e4e4e4)); ++ background: -o-linear-gradient(top, #f2f2f2 0%, #e4e4e4 100%); ++ background: -ms-linear-gradient(top, #f2f2f2 0%, #e4e4e4 100%); ++ background: linear-gradient(top, #f2f2f2 0%, #e4e4e4 100%); ++ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2f2f2', endColorstr='#e4e4e4', GradientType=0); + color: #666666; + font-weight: bold; + } +@@ -820,7 +928,7 @@ + .ui-widget-content .ui-state-default, + .ui-widget-header .ui-state-default { + border: 1px solid #cccccc; +- background: #f8f8f8 url("images/ui-bg_highlight-hard_75_f8f8f8_1x100.png") 50% 50% repeat-x; ++ background: #f8f8f8; + font-weight: bold; + color: #666666; + } +@@ -837,7 +945,7 @@ + .ui-widget-content .ui-state-focus, + .ui-widget-header .ui-state-focus { + border: 1px solid #aaaaaa; +- background: #eaeaea url("images/ui-bg_highlight-hard_75_eaeaea_1x100.png") 50% 50% repeat-x; ++ background: #eaeaea; + font-weight: bold; + color: #333333; + } +@@ -856,7 +964,7 @@ + .ui-widget-content .ui-state-active, + .ui-widget-header .ui-state-active { + border: 1px solid #aaaaaa; +- background: #ffffff url("images/ui-bg_highlight-hard_65_ffffff_1x100.png") 50% 50% repeat-x; ++ background: #ffffff; + font-weight: bold; + color: #333333; + } +@@ -873,7 +981,7 @@ + .ui-widget-content .ui-state-highlight, + .ui-widget-header .ui-state-highlight { + border: 1px solid #a3a3a3; +- background: #b0ccd7 url("images/ui-bg_highlight-hard_55_b0ccd7_1x100.png") 50% top repeat-x; ++ background: #b0ccd7; + color: #004458; + } + .ui-state-highlight a, +@@ -885,7 +993,7 @@ + .ui-widget-content .ui-state-error, + .ui-widget-header .ui-state-error { + border: 1px solid #d7211e; +- background: #fef1ec url("images/ui-bg_flat_95_fef1ec_40x100.png") 50% 50% repeat-x; ++ background: #fef1ec; + color: #d64040; + } + .ui-state-error a, +@@ -1164,15 +1272,240 @@ + + /* Overlays */ + .ui-widget-overlay { +- background: #333333 url("images/ui-bg_flat_0_333333_40x100.png") 50% 50% repeat-x; ++ background: #333333; + opacity: .5; + filter: Alpha(Opacity=50); + } + .ui-widget-shadow { + margin: -6px 0 0 -6px; + padding: 6px; +- background: #666666 url("images/ui-bg_flat_0_666666_40x100.png") 50% 50% repeat-x; ++ background: #666666; + opacity: .2; + filter: Alpha(Opacity=20); + border-radius: 8px; + } ++ ++/* Roundcube button styling */ ++.ui-button.ui-state-default { ++ display: inline-block; ++ margin: 0 2px; ++ padding: 1px 2px; ++ text-shadow: 0px 1px 1px #fff; ++ border: 1px solid #c6c6c6; ++ border-radius: 4px; ++ background: #f7f7f7; ++ background: -moz-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); ++ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#e6e6e6)); ++ background: -o-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); ++ background: -ms-linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); ++ background: linear-gradient(top, #f9f9f9 0%, #e6e6e6 100%); ++ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e6e6e6', GradientType=0); ++ -webkit-box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); ++ -moz-box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); ++ -o-box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); ++ box-shadow: 0 1px 1px 0 rgba(140, 140, 140, 0.3); ++ text-decoration: none; ++ outline: none; ++} ++ ++.ui-button.mainaction { ++ color: #ededed; ++ text-shadow: 0px 1px 1px #333; ++ border-color: #1f262c; ++ background: #505050; ++ background: -moz-linear-gradient(top, #505050 0%, #2a2e31 100%); ++ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#505050), color-stop(100%,#2a2e31)); ++ background: -o-linear-gradient(top, #505050 0%, #2a2e31 100%); ++ background: -ms-linear-gradient(top, #505050 0%, #2a2e31 100%); ++ background: linear-gradient(top, #505050 0%, #2a2e31 100%); ++ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#505050', endColorstr='#2a2e31', GradientType=0); ++ -moz-box-shadow: inset 0 1px 0 0 #777; ++ -webkit-box-shadow: inset 0 1px 0 0 #777; ++ -o-box-shadow: inset 0 1px 0 0 #777; ++ box-shadow: inset 0 1px 0 0 #777; ++} ++ ++.ui-button.ui-state-focus { ++ color: #525252; ++ border-color: #4fadd5; ++ -moz-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); ++ -webkit-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); ++ -o-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); ++ box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6); ++} ++ ++.ui-button.ui-state-active { ++ color: #525252; ++ border-color: #aaa; ++ background: #e6e6e6; ++ background: -moz-linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); ++ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e6e6e6), color-stop(100%,#f9f9f9)); ++ background: -o-linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); ++ background: -ms-linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); ++ background: linear-gradient(top, #e6e6e6 0%, #f9f9f9 100%); ++ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e6e6', endColorstr='#f9f9f9', GradientType=0); ++} ++ ++.ui-button.ui-state-focus.mainaction, ++.ui-button.ui-state-hover.mainaction { ++ color: #fff; ++} ++ ++.ui-button.ui-state-focus.mainaction { ++ border-color: #1f262c; ++ -moz-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6), inset 0 1px 0 0 #777; ++ -webkit-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6), inset 0 1px 0 0 #777; ++ -o-box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6), inset 0 1px 0 0 #777; ++ box-shadow: 0 0 2px 1px rgba(71,135,177, 0.6), inset 0 1px 0 0 #777; ++} ++ ++.ui-button.ui-state-active.mainaction { ++ color: #fff; ++ background: #515151; ++ background: -moz-linear-gradient(top, #2a2e31 0%, #505050 100%); ++ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2a2e31), color-stop(100%,#505050)); ++ background: -o-linear-gradient(top, #2a2e31 0%, #505050 100%); ++ background: -ms-linear-gradient(top, #2a2e31 0%, #505050 100%); ++ background: linear-gradient(top, #2a2e31 0%, #505050 100%); ++} ++ ++.ui-button[disabled], ++.ui-button[disabled]:hover, ++.ui-button.mainaction[disabled] { ++ color: #aaa !important; ++} ++ ++/* Roundcube's specific Datepicker style override */ ++.ui-datepicker { ++ min-width: 20em; ++ padding: 0; ++ display: none; ++ border: 0; ++ border-radius: 3px; ++ -webkit-box-shadow: #666 1px 1px 10px; ++ -moz-box-shadow: 1px 1px 10px #666; ++ box-shadow: 1px 1px 16px #666; ++} ++.ui-datepicker .ui-datepicker-header { ++ padding: .3em 0; ++ border-radius: 3px 3px 0 0; ++ border: 0; ++ background: #3a3a3a; ++ filter: none; ++ color: #fff; ++ text-shadow: 0px 1px 1px #000; ++} ++.ui-datepicker .ui-datepicker-prev, ++.ui-datepicker .ui-datepicker-next { ++ border: 0; ++ background: none; ++} ++.ui-datepicker .ui-datepicker-header .ui-icon { ++ background: url("images/ui-icons-datepicker.png") 0 0 no-repeat; ++} ++.ui-datepicker .ui-datepicker-header .ui-icon-circle-triangle-w { ++ background-position: 0 2px; ++} ++.ui-datepicker .ui-datepicker-header .ui-icon-circle-triangle-e { ++ background-position: -14px 2px; ++} ++.ui-datepicker .ui-datepicker-prev-hover, ++.ui-datepicker .ui-datepicker-next-hover { ++ top: 2px; ++ border: 0; ++ background: none; ++} ++.ui-datepicker .ui-datepicker-prev, ++.ui-datepicker .ui-datepicker-prev-hover { ++ left: 2px; ++} ++.ui-datepicker .ui-datepicker-next, ++.ui-datepicker .ui-datepicker-next-hover { ++ right: 2px; ++} ++.ui-datepicker select.ui-datepicker-month, ++.ui-datepicker select.ui-datepicker-year { ++ border: 0; ++ background: #3a3a3a; ++ outline: none; ++ color: #fff; ++ font-weight: bold; ++ width: auto; ++ margin-right: 4px; ++ padding-right: 4px; ++} ++.ui-datepicker .ui-datepicker-title select::-ms-expand { ++ display: none; ++} ++.ie10 .ui-datepicker .ui-datepicker-title select, ++.webkit .ui-datepicker .ui-datepicker-title select, ++.mozilla .ui-datepicker .ui-datepicker-title select { ++ background-image: url("images/ui-icons-datepicker.png"); ++ background-position: right -18px; ++ background-repeat: no-repeat; ++ padding-right: 14px; ++ -webkit-appearance: none; ++ -moz-appearance: none; ++ appearance: none; ++} ++.mozilla .ui-datepicker .ui-datepicker-title select { ++ background-position: right -14px; ++ text-indent: 0.01px; ++ text-overflow: ''; ++ padding-right: 10px; ++} ++.ui-datepicker .ui-datepicker-month:focus, ++.ui-datepicker .ui-datepicker-year:focus { ++ outline: 1px solid #4fadd5; ++} ++.ui-datepicker table { ++ margin: 0; ++ border-spacing: 0; ++} ++.ui-datepicker table:focus { ++ outline: 2px solid #4fadd5; ++ outline-offset: -2px; ++} ++.ui-datepicker td { ++ border: 1px solid #bbb; ++ padding: 0; ++} ++.ui-datepicker td span, .ui-datepicker td a { ++ border: 0; ++ padding: .3em; ++ text-shadow: 0px 1px 1px #fff; ++} ++.ui-datepicker td a.ui-state-default { ++ border: 0px solid #fff; ++ border-top-width: 1px; ++ border-left-width: 1px; ++ background: #e6e6e6; ++ background: -moz-linear-gradient(top, #e6e6e6 0%, #d6d6d6 100%); ++ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e6e6e6), color-stop(100%,#d6d6d6)); ++ background: -o-linear-gradient(top, #e6e6e6 0%, #d6d6d6 100%); ++ background: -ms-linear-gradient(top, #e6e6e6 0%, #d6d6d6 100%); ++ background: linear-gradient(top, #e6e6e6 0%, #d6d6d6 100%); ++} ++.ui-datepicker td a.ui-priority-secondary { ++ background: #eee; ++} ++.ui-datepicker td a.ui-state-active { ++ color: #fff; ++ border-color: #0286ac !important; ++ text-shadow: 0px 1px 1px #00516e !important; ++ background: #00acd4 !important; ++ background: -moz-linear-gradient(top, #00acd4 0%, #008fc7 100%); ++ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00acd4), color-stop(100%,#008fc7)); ++ background: -o-linear-gradient(top, #00acd4 0%, #008fc7 100%); ++ background: -ms-linear-gradient(top, #00acd4 0%, #008fc7 100%); ++ background: linear-gradient(top, #00acd4 0%, #008fc7 100%); ++} ++.ui-datepicker .ui-state-highlight { ++ color: #0081c2; ++} ++.ui-datepicker td.ui-datepicker-days-cell-over a.ui-state-default { ++ color: #fff; ++ border-color: rgba(73,180,210,0.7); ++ background: rgba(73,180,210,0.7); ++ text-shadow: 0px 1px 1px #666; ++} diff --git a/plugins/jqueryui/themes/larry/jquery.miniColors.css b/plugins/jqueryui/themes/larry/jquery.miniColors.css new file mode 100644 index 000000000..d9c47105e --- /dev/null +++ b/plugins/jqueryui/themes/larry/jquery.miniColors.css @@ -0,0 +1,106 @@ +.miniColors-trigger { + height: 22px; + width: 22px; + background: url('images/minicolors-all.png') -170px 0 no-repeat; + vertical-align: middle; + margin: 0 .25em; + display: inline-block; + outline: none; +} + +.miniColors-selector { + position: absolute; + width: 175px; + height: 150px; + background: #FFF; + border: solid 1px #BBB; + -moz-box-shadow: 0 0 6px rgba(0, 0, 0, .25); + -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, .25); + box-shadow: 0 0 6px rgba(0, 0, 0, .25); + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + padding: 5px; + z-index: 999999; +} + +.miniColors-selector.black { + background: #000; + border-color: #000; +} + +.miniColors-colors { + position: absolute; + top: 5px; + left: 5px; + width: 150px; + height: 150px; + background: url('images/minicolors-all.png') top left no-repeat; + cursor: crosshair; +} + +.miniColors-hues { + position: absolute; + top: 5px; + left: 160px; + width: 20px; + height: 150px; + background: url('images/minicolors-all.png') -150px 0 no-repeat; + cursor: crosshair; +} + +.miniColors-colorPicker { + position: absolute; + width: 11px; + height: 11px; + background: url('images/minicolors-all.png') -170px -28px no-repeat; +} + +.miniColors-huePicker { + position: absolute; + left: -3px; + width: 26px; + height: 3px; + background: url('images/minicolors-all.png') -170px -24px no-repeat; + overflow: hidden; +} + +.miniColors-presets { + position: absolute; + left: 185px; + top: 5px; + width: 60px; +} + +.miniColors-colorPreset { + float: left; + width: 18px; + height: 15px; + margin: 2px; + border: 1px solid #333; + cursor: pointer; +} + +.miniColors-colorPreset-active { + border: 2px dotted #666; + margin: 1px; +} + +/* Hacks for IE6/7 */ + +* html .miniColors-colors { + background-image: none; + filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='plugins/calendar/skins/classic/images/minicolors-all.png', sizingMethod='crop'); +} + +* html .miniColors-colorPicker { + background: url('images/minicolors-handles.gif') 0 -28px no-repeat; +} + +* html .miniColors-huePicker { + background: url('images/minicolors-handles.gif') 0 -24px no-repeat; +} + +* html .miniColors-trigger { + background: url('images/minicolors-handles.gif') 0 0 no-repeat; +} diff --git a/plugins/jqueryui/themes/larry/tagedit.css b/plugins/jqueryui/themes/larry/tagedit.css new file mode 100644 index 000000000..600481c61 --- /dev/null +++ b/plugins/jqueryui/themes/larry/tagedit.css @@ -0,0 +1,122 @@ +/** + * Styles of the tagedit inputsforms + */ +.tagedit-list { + width: 100%; + margin: 0; + padding: 4px 4px 0 5px; + overflow: auto; + min-height: 26px; + background: #fff; + border: 1px solid #b2b2b2; + border-radius: 4px; + box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1); + -moz-box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1); + -webkit-box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1); + -o-box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1); +} +.tagedit-list li.tagedit-listelement { + list-style-type: none; + float: left; + margin: 0 4px 4px 0; + padding: 0; +} + +/* New Item input */ +.tagedit-list li.tagedit-listelement-new input { + border: 0; + height: 100%; + padding: 4px 1px; + width: 15px; + background: #fff; + border-radius: 0; + box-shadow: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + -o-box-shadow: none; +} +.tagedit-list li.tagedit-listelement-new input:focus { + box-shadow: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + -o-box-shadow: none; + outline: none; +} +.tagedit-list li.tagedit-listelement-new input.tagedit-input-disabled { + display: none; +} + +/* Item that is put to the List */ +.tagedit span.tag-element, +.tagedit-list li.tagedit-listelement-old { + padding: 3px 6px 1px 6px; + background: #ddeef5; + background: -moz-linear-gradient(top, #edf6fa 0%, #d6e9f3 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#edf6fa), color-stop(100%,#d6e9f3)); + background: -o-linear-gradient(top, #edf6fa 0%, #d6e9f3 100%); + background: -ms-linear-gradient(top, #edf6fa 0%, #d6e9f3 100%); + background: linear-gradient(top, #edf6fa 0%, #d6e9f3 100%); + border: 1px solid #c2dae5; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + color: #0d5165; + line-height: 1.3em; +} + +.tagedit-list li.tagedit-listelement-focus { + border-color: #4787b1; + -moz-box-shadow: 0 0 3px 1px rgba(71,135,177, 0.8); + -webkit-box-shadow: 0 0 3px 1px rgba(71,135,177, 0.8); + -o-box-shadow: 0 0 3px 1px rgba(71,135,177, 0.8); + box-shadow: 0 0 3px 1px rgba(71,135,177, 0.8); +} + +.tagedit span.tag-element { + margin-right: 0.6em; + padding: 2px 6px; +/* cursor: pointer; */ +} + +.tagedit span.tag-element.inherit { + color: #666; + background: #f2f2f2; + border-color: #ddd; +} + +.tagedit-list li.tagedit-listelement-old a.tagedit-close, +.tagedit-list li.tagedit-listelement-old a.tagedit-break, +.tagedit-list li.tagedit-listelement-old a.tagedit-delete, +.tagedit-list li.tagedit-listelement-old a.tagedit-save { + text-indent: -2000px; + display: inline-block; + position: relative; + top: -1px; + width: 16px; + height: 16px; + margin: 0 -4px 0 6px; + background: url('data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAOCAYAAAD0f5bSAAAAgUlEQVQoz2NgQAKzdxwWAOIEIG5AwiC+AAM2AJQIAOL3QPwfCwaJB6BrSMChGB0nwDQYwATP3nn4f+Ge4ygKQXyQOJKYAUjTepjAm09fwBimEUTDxJA0rWdANxWmaMXB0xiGwDADurthGkEAmwbqaCLFeWQFBOlBTlbkkp2MSE2wAA8R50rWvqeRAAAAAElFTkSuQmCC') left 1px no-repeat; + cursor: pointer; +} + +.tagedit-list li.tagedit-listelement-old span { + display: inline-block; + height: 15px; +} + +/** Special hacks for IE7 **/ + +html.ie7 .tagedit span.tag-element, +html.ie7 .tagedit-list li.tagedit-listelement-old { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#edf6fa', endColorstr='#d6e9f3', GradientType=0); +} + +html.ie7 .tagedit-list li.tagedit-listelement span { + position: relative; + top: -3px; +} + +html.ie7 .tagedit-list li.tagedit-listelement-old a.tagedit-close { + left: 5px; +} + diff --git a/plugins/jqueryui/themes/redmond/images/animated-overlay.gif b/plugins/jqueryui/themes/redmond/images/animated-overlay.gif Binary files differnew file mode 100755 index 000000000..d441f75eb --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/animated-overlay.gif diff --git a/plugins/jqueryui/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png b/plugins/jqueryui/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png Binary files differnew file mode 100755 index 000000000..5b5dab2ab --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png b/plugins/jqueryui/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png Binary files differnew file mode 100755 index 000000000..47acaadd7 --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png b/plugins/jqueryui/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png Binary files differnew file mode 100755 index 000000000..9d149b1c6 --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png b/plugins/jqueryui/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png Binary files differnew file mode 100755 index 000000000..014951529 --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png b/plugins/jqueryui/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png Binary files differnew file mode 100755 index 000000000..4443fdc1a --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png b/plugins/jqueryui/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png Binary files differnew file mode 100755 index 000000000..81ecc362d --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png b/plugins/jqueryui/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png Binary files differnew file mode 100755 index 000000000..4f3faf8aa --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png b/plugins/jqueryui/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png Binary files differnew file mode 100755 index 000000000..38c38335d --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-icons_217bc0_256x240.png b/plugins/jqueryui/themes/redmond/images/ui-icons_217bc0_256x240.png Binary files differnew file mode 100755 index 000000000..6f4bd87c0 --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-icons_217bc0_256x240.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-icons_2e83ff_256x240.png b/plugins/jqueryui/themes/redmond/images/ui-icons_2e83ff_256x240.png Binary files differnew file mode 100755 index 000000000..09d1cdc85 --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-icons_2e83ff_256x240.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-icons_469bdd_256x240.png b/plugins/jqueryui/themes/redmond/images/ui-icons_469bdd_256x240.png Binary files differnew file mode 100755 index 000000000..bd2cf079a --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-icons_469bdd_256x240.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-icons_6da8d5_256x240.png b/plugins/jqueryui/themes/redmond/images/ui-icons_6da8d5_256x240.png Binary files differnew file mode 100755 index 000000000..9f3eafaab --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-icons_6da8d5_256x240.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-icons_cd0a0a_256x240.png b/plugins/jqueryui/themes/redmond/images/ui-icons_cd0a0a_256x240.png Binary files differnew file mode 100755 index 000000000..2ab019b73 --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-icons_cd0a0a_256x240.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-icons_d8e7f3_256x240.png b/plugins/jqueryui/themes/redmond/images/ui-icons_d8e7f3_256x240.png Binary files differnew file mode 100755 index 000000000..ad2dc6f9d --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-icons_d8e7f3_256x240.png diff --git a/plugins/jqueryui/themes/redmond/images/ui-icons_f9bd01_256x240.png b/plugins/jqueryui/themes/redmond/images/ui-icons_f9bd01_256x240.png Binary files differnew file mode 100755 index 000000000..78625024d --- /dev/null +++ b/plugins/jqueryui/themes/redmond/images/ui-icons_f9bd01_256x240.png diff --git a/plugins/jqueryui/themes/redmond/jquery-ui-1.10.4.custom.css b/plugins/jqueryui/themes/redmond/jquery-ui-1.10.4.custom.css new file mode 100755 index 000000000..934953b90 --- /dev/null +++ b/plugins/jqueryui/themes/redmond/jquery-ui-1.10.4.custom.css @@ -0,0 +1,1178 @@ +/*! jQuery UI - v1.10.4 - 2014-06-17 +* http://jqueryui.com +* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css +* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande%2CLucida%20Sans%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=5px&bgColorHeader=5c9ccc&bgTextureHeader=gloss_wave&bgImgOpacityHeader=55&borderColorHeader=4297d7&fcHeader=ffffff&iconColorHeader=d8e7f3&bgColorContent=fcfdfd&bgTextureContent=inset_hard&bgImgOpacityContent=100&borderColorContent=a6c9e2&fcContent=222222&iconColorContent=469bdd&bgColorDefault=dfeffc&bgTextureDefault=glass&bgImgOpacityDefault=85&borderColorDefault=c5dbec&fcDefault=2e6e9e&iconColorDefault=6da8d5&bgColorHover=d0e5f5&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=79b7e7&fcHover=1d5987&iconColorHover=217bc0&bgColorActive=f5f8f9&bgTextureActive=inset_hard&bgImgOpacityActive=100&borderColorActive=79b7e7&fcActive=e17009&iconColorActive=f9bd01&bgColorHighlight=fbec88&bgTextureHighlight=flat&bgImgOpacityHighlight=55&borderColorHighlight=fad42e&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px +* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { + display: none; +} +.ui-helper-hidden-accessible { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} +.ui-helper-reset { + margin: 0; + padding: 0; + border: 0; + outline: 0; + line-height: 1.3; + text-decoration: none; + font-size: 100%; + list-style: none; +} +.ui-helper-clearfix:before, +.ui-helper-clearfix:after { + content: ""; + display: table; + border-collapse: collapse; +} +.ui-helper-clearfix:after { + clear: both; +} +.ui-helper-clearfix { + min-height: 0; /* support: IE7 */ +} +.ui-helper-zfix { + width: 100%; + height: 100%; + top: 0; + left: 0; + position: absolute; + opacity: 0; + filter:Alpha(Opacity=0); +} + +.ui-front { + z-index: 100; +} + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { + cursor: default !important; +} + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + display: block; + text-indent: -99999px; + overflow: hidden; + background-repeat: no-repeat; +} + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; +} +.ui-resizable { + position: relative; +} +.ui-resizable-handle { + position: absolute; + font-size: 0.1px; + display: block; +} +.ui-resizable-disabled .ui-resizable-handle, +.ui-resizable-autohide .ui-resizable-handle { + display: none; +} +.ui-resizable-n { + cursor: n-resize; + height: 7px; + width: 100%; + top: -5px; + left: 0; +} +.ui-resizable-s { + cursor: s-resize; + height: 7px; + width: 100%; + bottom: -5px; + left: 0; +} +.ui-resizable-e { + cursor: e-resize; + width: 7px; + right: -5px; + top: 0; + height: 100%; +} +.ui-resizable-w { + cursor: w-resize; + width: 7px; + left: -5px; + top: 0; + height: 100%; +} +.ui-resizable-se { + cursor: se-resize; + width: 12px; + height: 12px; + right: 1px; + bottom: 1px; +} +.ui-resizable-sw { + cursor: sw-resize; + width: 9px; + height: 9px; + left: -5px; + bottom: -5px; +} +.ui-resizable-nw { + cursor: nw-resize; + width: 9px; + height: 9px; + left: -5px; + top: -5px; +} +.ui-resizable-ne { + cursor: ne-resize; + width: 9px; + height: 9px; + right: -5px; + top: -5px; +} +.ui-selectable-helper { + position: absolute; + z-index: 100; + border: 1px dotted black; +} +.ui-accordion .ui-accordion-header { + display: block; + cursor: pointer; + position: relative; + margin-top: 2px; + padding: .5em .5em .5em .7em; + min-height: 0; /* support: IE7 */ +} +.ui-accordion .ui-accordion-icons { + padding-left: 2.2em; +} +.ui-accordion .ui-accordion-noicons { + padding-left: .7em; +} +.ui-accordion .ui-accordion-icons .ui-accordion-icons { + padding-left: 2.2em; +} +.ui-accordion .ui-accordion-header .ui-accordion-header-icon { + position: absolute; + left: .5em; + top: 50%; + margin-top: -8px; +} +.ui-accordion .ui-accordion-content { + padding: 1em 2.2em; + border-top: 0; + overflow: auto; +} +.ui-autocomplete { + position: absolute; + top: 0; + left: 0; + cursor: default; +} +.ui-button { + display: inline-block; + position: relative; + padding: 0; + line-height: normal; + margin-right: .1em; + cursor: pointer; + vertical-align: middle; + text-align: center; + overflow: visible; /* removes extra width in IE */ +} +.ui-button, +.ui-button:link, +.ui-button:visited, +.ui-button:hover, +.ui-button:active { + text-decoration: none; +} +/* to make room for the icon, a width needs to be set here */ +.ui-button-icon-only { + width: 2.2em; +} +/* button elements seem to need a little more width */ +button.ui-button-icon-only { + width: 2.4em; +} +.ui-button-icons-only { + width: 3.4em; +} +button.ui-button-icons-only { + width: 3.7em; +} + +/* button text element */ +.ui-button .ui-button-text { + display: block; + line-height: normal; +} +.ui-button-text-only .ui-button-text { + padding: .4em 1em; +} +.ui-button-icon-only .ui-button-text, +.ui-button-icons-only .ui-button-text { + padding: .4em; + text-indent: -9999999px; +} +.ui-button-text-icon-primary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 1em .4em 2.1em; +} +.ui-button-text-icon-secondary .ui-button-text, +.ui-button-text-icons .ui-button-text { + padding: .4em 2.1em .4em 1em; +} +.ui-button-text-icons .ui-button-text { + padding-left: 2.1em; + padding-right: 2.1em; +} +/* no icon support for input elements, provide padding by default */ +input.ui-button { + padding: .4em 1em; +} + +/* button icon element(s) */ +.ui-button-icon-only .ui-icon, +.ui-button-text-icon-primary .ui-icon, +.ui-button-text-icon-secondary .ui-icon, +.ui-button-text-icons .ui-icon, +.ui-button-icons-only .ui-icon { + position: absolute; + top: 50%; + margin-top: -8px; +} +.ui-button-icon-only .ui-icon { + left: 50%; + margin-left: -8px; +} +.ui-button-text-icon-primary .ui-button-icon-primary, +.ui-button-text-icons .ui-button-icon-primary, +.ui-button-icons-only .ui-button-icon-primary { + left: .5em; +} +.ui-button-text-icon-secondary .ui-button-icon-secondary, +.ui-button-text-icons .ui-button-icon-secondary, +.ui-button-icons-only .ui-button-icon-secondary { + right: .5em; +} + +/* button sets */ +.ui-buttonset { + margin-right: 7px; +} +.ui-buttonset .ui-button { + margin-left: 0; + margin-right: -.3em; +} + +/* workarounds */ +/* reset extra padding in Firefox, see h5bp.com/l */ +input.ui-button::-moz-focus-inner, +button.ui-button::-moz-focus-inner { + border: 0; + padding: 0; +} +.ui-datepicker { + width: 17em; + padding: .2em .2em 0; + display: none; +} +.ui-datepicker .ui-datepicker-header { + position: relative; + padding: .2em 0; +} +.ui-datepicker .ui-datepicker-prev, +.ui-datepicker .ui-datepicker-next { + position: absolute; + top: 2px; + width: 1.8em; + height: 1.8em; +} +.ui-datepicker .ui-datepicker-prev-hover, +.ui-datepicker .ui-datepicker-next-hover { + top: 1px; +} +.ui-datepicker .ui-datepicker-prev { + left: 2px; +} +.ui-datepicker .ui-datepicker-next { + right: 2px; +} +.ui-datepicker .ui-datepicker-prev-hover { + left: 1px; +} +.ui-datepicker .ui-datepicker-next-hover { + right: 1px; +} +.ui-datepicker .ui-datepicker-prev span, +.ui-datepicker .ui-datepicker-next span { + display: block; + position: absolute; + left: 50%; + margin-left: -8px; + top: 50%; + margin-top: -8px; +} +.ui-datepicker .ui-datepicker-title { + margin: 0 2.3em; + line-height: 1.8em; + text-align: center; +} +.ui-datepicker .ui-datepicker-title select { + font-size: 1em; + margin: 1px 0; +} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { + width: 49%; +} +.ui-datepicker table { + width: 100%; + font-size: .9em; + border-collapse: collapse; + margin: 0 0 .4em; +} +.ui-datepicker th { + padding: .7em .3em; + text-align: center; + font-weight: bold; + border: 0; +} +.ui-datepicker td { + border: 0; + padding: 1px; +} +.ui-datepicker td span, +.ui-datepicker td a { + display: block; + padding: .2em; + text-align: right; + text-decoration: none; +} +.ui-datepicker .ui-datepicker-buttonpane { + background-image: none; + margin: .7em 0 0 0; + padding: 0 .2em; + border-left: 0; + border-right: 0; + border-bottom: 0; +} +.ui-datepicker .ui-datepicker-buttonpane button { + float: right; + margin: .5em .2em .4em; + cursor: pointer; + padding: .2em .6em .3em .6em; + width: auto; + overflow: visible; +} +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { + float: left; +} + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { + width: auto; +} +.ui-datepicker-multi .ui-datepicker-group { + float: left; +} +.ui-datepicker-multi .ui-datepicker-group table { + width: 95%; + margin: 0 auto .4em; +} +.ui-datepicker-multi-2 .ui-datepicker-group { + width: 50%; +} +.ui-datepicker-multi-3 .ui-datepicker-group { + width: 33.3%; +} +.ui-datepicker-multi-4 .ui-datepicker-group { + width: 25%; +} +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { + border-left-width: 0; +} +.ui-datepicker-multi .ui-datepicker-buttonpane { + clear: left; +} +.ui-datepicker-row-break { + clear: both; + width: 100%; + font-size: 0; +} + +/* RTL support */ +.ui-datepicker-rtl { + direction: rtl; +} +.ui-datepicker-rtl .ui-datepicker-prev { + right: 2px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next { + left: 2px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-prev:hover { + right: 1px; + left: auto; +} +.ui-datepicker-rtl .ui-datepicker-next:hover { + left: 1px; + right: auto; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane { + clear: right; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button { + float: left; +} +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, +.ui-datepicker-rtl .ui-datepicker-group { + float: right; +} +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { + border-right-width: 0; + border-left-width: 1px; +} +.ui-dialog { + overflow: hidden; + position: absolute; + top: 0; + left: 0; + padding: .2em; + outline: 0; +} +.ui-dialog .ui-dialog-titlebar { + padding: .4em 1em; + position: relative; +} +.ui-dialog .ui-dialog-title { + float: left; + margin: .1em 0; + white-space: nowrap; + width: 90%; + overflow: hidden; + text-overflow: ellipsis; +} +.ui-dialog .ui-dialog-titlebar-close { + position: absolute; + right: .3em; + top: 50%; + width: 20px; + margin: -10px 0 0 0; + padding: 1px; + height: 20px; +} +.ui-dialog .ui-dialog-content { + position: relative; + border: 0; + padding: .5em 1em; + background: none; + overflow: auto; +} +.ui-dialog .ui-dialog-buttonpane { + text-align: left; + border-width: 1px 0 0 0; + background-image: none; + margin-top: .5em; + padding: .3em 1em .5em .4em; +} +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { + float: right; +} +.ui-dialog .ui-dialog-buttonpane button { + margin: .5em .4em .5em 0; + cursor: pointer; +} +.ui-dialog .ui-resizable-se { + width: 12px; + height: 12px; + right: -5px; + bottom: -5px; + background-position: 16px 16px; +} +.ui-draggable .ui-dialog-titlebar { + cursor: move; +} +.ui-menu { + list-style: none; + padding: 2px; + margin: 0; + display: block; + outline: none; +} +.ui-menu .ui-menu { + margin-top: -3px; + position: absolute; +} +.ui-menu .ui-menu-item { + margin: 0; + padding: 0; + width: 100%; + /* support: IE10, see #8844 */ + list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); +} +.ui-menu .ui-menu-divider { + margin: 5px -2px 5px -2px; + height: 0; + font-size: 0; + line-height: 0; + border-width: 1px 0 0 0; +} +.ui-menu .ui-menu-item a { + text-decoration: none; + display: block; + padding: 2px .4em; + line-height: 1.5; + min-height: 0; /* support: IE7 */ + font-weight: normal; +} +.ui-menu .ui-menu-item a.ui-state-focus, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; +} + +.ui-menu .ui-state-disabled { + font-weight: normal; + margin: .4em 0 .2em; + line-height: 1.5; +} +.ui-menu .ui-state-disabled a { + cursor: default; +} + +/* icon support */ +.ui-menu-icons { + position: relative; +} +.ui-menu-icons .ui-menu-item a { + position: relative; + padding-left: 2em; +} + +/* left-aligned */ +.ui-menu .ui-icon { + position: absolute; + top: .2em; + left: .2em; +} + +/* right-aligned */ +.ui-menu .ui-menu-icon { + position: static; + float: right; +} +.ui-progressbar { + height: 2em; + text-align: left; + overflow: hidden; +} +.ui-progressbar .ui-progressbar-value { + margin: -1px; + height: 100%; +} +.ui-progressbar .ui-progressbar-overlay { + background: url("images/animated-overlay.gif"); + height: 100%; + filter: alpha(opacity=25); + opacity: 0.25; +} +.ui-progressbar-indeterminate .ui-progressbar-value { + background-image: none; +} +.ui-slider { + position: relative; + text-align: left; +} +.ui-slider .ui-slider-handle { + position: absolute; + z-index: 2; + width: 1.2em; + height: 1.2em; + cursor: default; +} +.ui-slider .ui-slider-range { + position: absolute; + z-index: 1; + font-size: .7em; + display: block; + border: 0; + background-position: 0 0; +} + +/* For IE8 - See #6727 */ +.ui-slider.ui-state-disabled .ui-slider-handle, +.ui-slider.ui-state-disabled .ui-slider-range { + filter: inherit; +} + +.ui-slider-horizontal { + height: .8em; +} +.ui-slider-horizontal .ui-slider-handle { + top: -.3em; + margin-left: -.6em; +} +.ui-slider-horizontal .ui-slider-range { + top: 0; + height: 100%; +} +.ui-slider-horizontal .ui-slider-range-min { + left: 0; +} +.ui-slider-horizontal .ui-slider-range-max { + right: 0; +} + +.ui-slider-vertical { + width: .8em; + height: 100px; +} +.ui-slider-vertical .ui-slider-handle { + left: -.3em; + margin-left: 0; + margin-bottom: -.6em; +} +.ui-slider-vertical .ui-slider-range { + left: 0; + width: 100%; +} +.ui-slider-vertical .ui-slider-range-min { + bottom: 0; +} +.ui-slider-vertical .ui-slider-range-max { + top: 0; +} +.ui-spinner { + position: relative; + display: inline-block; + overflow: hidden; + padding: 0; + vertical-align: middle; +} +.ui-spinner-input { + border: none; + background: none; + color: inherit; + padding: 0; + margin: .2em 0; + vertical-align: middle; + margin-left: .4em; + margin-right: 22px; +} +.ui-spinner-button { + width: 16px; + height: 50%; + font-size: .5em; + padding: 0; + margin: 0; + text-align: center; + position: absolute; + cursor: default; + display: block; + overflow: hidden; + right: 0; +} +/* more specificity required here to override default borders */ +.ui-spinner a.ui-spinner-button { + border-top: none; + border-bottom: none; + border-right: none; +} +/* vertically center icon */ +.ui-spinner .ui-icon { + position: absolute; + margin-top: -8px; + top: 50%; + left: 0; +} +.ui-spinner-up { + top: 0; +} +.ui-spinner-down { + bottom: 0; +} + +/* TR overrides */ +.ui-spinner .ui-icon-triangle-1-s { + /* need to fix icons sprite */ + background-position: -65px -16px; +} +.ui-tabs { + position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ + padding: .2em; +} +.ui-tabs .ui-tabs-nav { + margin: 0; + padding: .2em .2em 0; +} +.ui-tabs .ui-tabs-nav li { + list-style: none; + float: left; + position: relative; + top: 0; + margin: 1px .2em 0 0; + border-bottom-width: 0; + padding: 0; + white-space: nowrap; +} +.ui-tabs .ui-tabs-nav .ui-tabs-anchor { + float: left; + padding: .5em 1em; + text-decoration: none; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-active { + margin-bottom: -1px; + padding-bottom: 1px; +} +.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor, +.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor, +.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor { + cursor: text; +} +.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor { + cursor: pointer; +} +.ui-tabs .ui-tabs-panel { + display: block; + border-width: 0; + padding: 1em 1.4em; + background: none; +} +.ui-tooltip { + padding: 8px; + position: absolute; + z-index: 9999; + max-width: 300px; + -webkit-box-shadow: 0 0 5px #aaa; + box-shadow: 0 0 5px #aaa; +} +body .ui-tooltip { + border-width: 2px; +} + +/* Component containers +----------------------------------*/ +.ui-widget { + font-family: Lucida Grande,Lucida Sans,Arial,sans-serif; + font-size: 1.1em; +} +.ui-widget .ui-widget { + font-size: 1em; +} +.ui-widget input, +.ui-widget select, +.ui-widget textarea, +.ui-widget button { + font-family: Lucida Grande,Lucida Sans,Arial,sans-serif; + font-size: 1em; +} +.ui-widget-content { + border: 1px solid #a6c9e2; + background: #fcfdfd url("images/ui-bg_inset-hard_100_fcfdfd_1x100.png") 50% bottom repeat-x; + color: #222222; +} +.ui-widget-content a { + color: #222222; +} +.ui-widget-header { + border: 1px solid #4297d7; + background: #5c9ccc url("images/ui-bg_gloss-wave_55_5c9ccc_500x100.png") 50% 50% repeat-x; + color: #ffffff; + font-weight: bold; +} +.ui-widget-header a { + color: #ffffff; +} + +/* Interaction states +----------------------------------*/ +.ui-state-default, +.ui-widget-content .ui-state-default, +.ui-widget-header .ui-state-default { + border: 1px solid #c5dbec; + background: #dfeffc url("images/ui-bg_glass_85_dfeffc_1x400.png") 50% 50% repeat-x; + font-weight: bold; + color: #2e6e9e; +} +.ui-state-default a, +.ui-state-default a:link, +.ui-state-default a:visited { + color: #2e6e9e; + text-decoration: none; +} +.ui-state-hover, +.ui-widget-content .ui-state-hover, +.ui-widget-header .ui-state-hover, +.ui-state-focus, +.ui-widget-content .ui-state-focus, +.ui-widget-header .ui-state-focus { + border: 1px solid #79b7e7; + background: #d0e5f5 url("images/ui-bg_glass_75_d0e5f5_1x400.png") 50% 50% repeat-x; + font-weight: bold; + color: #1d5987; +} +.ui-state-hover a, +.ui-state-hover a:hover, +.ui-state-hover a:link, +.ui-state-hover a:visited, +.ui-state-focus a, +.ui-state-focus a:hover, +.ui-state-focus a:link, +.ui-state-focus a:visited { + color: #1d5987; + text-decoration: none; +} +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active { + border: 1px solid #79b7e7; + background: #f5f8f9 url("images/ui-bg_inset-hard_100_f5f8f9_1x100.png") 50% 50% repeat-x; + font-weight: bold; + color: #e17009; +} +.ui-state-active a, +.ui-state-active a:link, +.ui-state-active a:visited { + color: #e17009; + text-decoration: none; +} + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, +.ui-widget-content .ui-state-highlight, +.ui-widget-header .ui-state-highlight { + border: 1px solid #fad42e; + background: #fbec88 url("images/ui-bg_flat_55_fbec88_40x100.png") 50% 50% repeat-x; + color: #363636; +} +.ui-state-highlight a, +.ui-widget-content .ui-state-highlight a, +.ui-widget-header .ui-state-highlight a { + color: #363636; +} +.ui-state-error, +.ui-widget-content .ui-state-error, +.ui-widget-header .ui-state-error { + border: 1px solid #cd0a0a; + background: #fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x; + color: #cd0a0a; +} +.ui-state-error a, +.ui-widget-content .ui-state-error a, +.ui-widget-header .ui-state-error a { + color: #cd0a0a; +} +.ui-state-error-text, +.ui-widget-content .ui-state-error-text, +.ui-widget-header .ui-state-error-text { + color: #cd0a0a; +} +.ui-priority-primary, +.ui-widget-content .ui-priority-primary, +.ui-widget-header .ui-priority-primary { + font-weight: bold; +} +.ui-priority-secondary, +.ui-widget-content .ui-priority-secondary, +.ui-widget-header .ui-priority-secondary { + opacity: .7; + filter:Alpha(Opacity=70); + font-weight: normal; +} +.ui-state-disabled, +.ui-widget-content .ui-state-disabled, +.ui-widget-header .ui-state-disabled { + opacity: .35; + filter:Alpha(Opacity=35); + background-image: none; +} +.ui-state-disabled .ui-icon { + filter:Alpha(Opacity=35); /* For IE8 - See #6059 */ +} + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + width: 16px; + height: 16px; +} +.ui-icon, +.ui-widget-content .ui-icon { + background-image: url("images/ui-icons_469bdd_256x240.png"); +} +.ui-widget-header .ui-icon { + background-image: url("images/ui-icons_d8e7f3_256x240.png"); +} +.ui-state-default .ui-icon { + background-image: url("images/ui-icons_6da8d5_256x240.png"); +} +.ui-state-hover .ui-icon, +.ui-state-focus .ui-icon { + background-image: url("images/ui-icons_217bc0_256x240.png"); +} +.ui-state-active .ui-icon { + background-image: url("images/ui-icons_f9bd01_256x240.png"); +} +.ui-state-highlight .ui-icon { + background-image: url("images/ui-icons_2e83ff_256x240.png"); +} +.ui-state-error .ui-icon, +.ui-state-error-text .ui-icon { + background-image: url("images/ui-icons_cd0a0a_256x240.png"); +} + +/* positioning */ +.ui-icon-blank { background-position: 16px 16px; } +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-on { background-position: -96px -144px; } +.ui-icon-radio-off { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-all, +.ui-corner-top, +.ui-corner-left, +.ui-corner-tl { + border-top-left-radius: 5px; +} +.ui-corner-all, +.ui-corner-top, +.ui-corner-right, +.ui-corner-tr { + border-top-right-radius: 5px; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-left, +.ui-corner-bl { + border-bottom-left-radius: 5px; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-right, +.ui-corner-br { + border-bottom-right-radius: 5px; +} + +/* Overlays */ +.ui-widget-overlay { + background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x; + opacity: .3; + filter: Alpha(Opacity=30); +} +.ui-widget-shadow { + margin: -8px 0 0 -8px; + padding: 8px; + background: #aaaaaa url("images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x; + opacity: .3; + filter: Alpha(Opacity=30); + border-radius: 8px; +} diff --git a/plugins/legacy_browser/composer.json b/plugins/legacy_browser/composer.json new file mode 100644 index 000000000..edcfdbafe --- /dev/null +++ b/plugins/legacy_browser/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/legacy_browser", + "type": "roundcube-plugin", + "description": "Legacy browser (IE 7/8, Firefox < 4) support", + "license": "GPLv3+", + "version": "1.0", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/legacy_browser/js/iehacks.js b/plugins/legacy_browser/js/iehacks.js new file mode 100644 index 000000000..105b7dabc --- /dev/null +++ b/plugins/legacy_browser/js/iehacks.js @@ -0,0 +1,108 @@ + +// Make getElementById() case-sensitive on IE7 +document._getElementById = document.getElementById; +document.getElementById = function(id) +{ + var i = 0, obj = document._getElementById(id); + + if (obj && obj.id != id) + while ((obj = document.all[i]) && obj.id != id) + i++; + + return obj; +} + +// fix missing :last-child selectors +$(document).ready(function() { + if (rcmail && rcmail.env.skin != 'classic') + $('ul.treelist ul').each(function(i, ul) { + $('li:last-child', ul).css('border-bottom', 0); + }); +}); + +// gets cursor position (IE<9) +rcube_webmail.prototype.get_caret_pos = function(obj) +{ + if (document.selection && document.selection.createRange) { + var range = document.selection.createRange(); + if (range.parentElement() != obj) + return 0; + + var gm = range.duplicate(); + if (obj.tagName == 'TEXTAREA') + gm.moveToElementText(obj); + else + gm.expand('textedit'); + + gm.setEndPoint('EndToStart', range); + var p = gm.text.length; + + return p <= obj.value.length ? p : -1; + } + + return obj.value.length; +}; + +// moves cursor to specified position (IE<9) +rcube_webmail.prototype.set_caret_pos = function(obj, pos) +{ + if (obj.createTextRange) { + var range = obj.createTextRange(); + range.collapse(true); + range.moveEnd('character', pos); + range.moveStart('character', pos); + range.select(); + } +}; + +// get selected text from an input field (IE<9) +// http://stackoverflow.com/questions/7186586/how-to-get-the-selected-text-in-textarea-using-jquery-in-internet-explorer-7 +rcube_webmail.prototype.get_input_selection = function(obj) +{ + var start = 0, end = 0, len, + normalizedValue, textInputRange, endRange, + range = document.selection.createRange(); + + if (range && range.parentElement() == obj) { + len = obj.value.length; + normalizedValue = obj.value; //.replace(/\r\n/g, "\n"); + + // create a working TextRange that lives only in the input + textInputRange = obj.createTextRange(); + textInputRange.moveToBookmark(range.getBookmark()); + + // Check if the start and end of the selection are at the very end + // of the input, since moveStart/moveEnd doesn't return what we want + // in those cases + endRange = obj.createTextRange(); + endRange.collapse(false); + + if (textInputRange.compareEndPoints("StartToEnd", endRange) > -1) { + start = end = len; + } + else { + start = -textInputRange.moveStart("character", -len); + start += normalizedValue.slice(0, start).split("\n").length - 1; + + if (textInputRange.compareEndPoints("EndToEnd", endRange) > -1) { + end = len; + } + else { + end = -textInputRange.moveEnd("character", -len); + end += normalizedValue.slice(0, end).split("\n").length - 1; + } + } + } + + return {start: start, end: end, text: normalizedValue.substr(start, end-start)}; +}; + +// For IE<9 we have to do it this way +// otherwise the form will be posted to a new window +rcube_webmail.prototype.async_upload_form_frame = function(name) +{ + document.body.insertAdjacentHTML('BeforeEnd', '<iframe name="' + name + '"' + + ' src="' + rcmail.assets_path('program/resources/blank.gif') + '" style="width:0; height:0; visibility:hidden"></iframe>'); + + return $('iframe[name="' + name + '"]'); +}; diff --git a/plugins/legacy_browser/js/jquery.min.js b/plugins/legacy_browser/js/jquery.min.js new file mode 100644 index 000000000..73f33fb3a --- /dev/null +++ b/plugins/legacy_browser/js/jquery.min.js @@ -0,0 +1,4 @@ +/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k="".trim,l={},m="1.11.0",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(n.isPlainObject(c)||(b=n.isArray(c)))?(b?(b=!1,f=a&&n.isArray(a)?a:[]):f=a&&n.isPlainObject(a)?a:{},g[d]=n.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray||function(a){return"array"===n.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(l.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&n.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:k&&!k.call("\ufeff\xa0")?function(a){return null==a?"":k.call(a)}:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),n.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||n.guid++,e):void 0},now:function(){return+new Date},support:l}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s="sizzle"+-new Date,t=a.document,u=0,v=0,w=eb(),x=eb(),y=eb(),z=function(a,b){return a===b&&(j=!0),0},A="undefined",B=1<<31,C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=D.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",M=L.replace("w","w#"),N="\\["+K+"*("+L+")"+K+"*(?:([*^$|!~]?=)"+K+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+M+")|)|)"+K+"*\\]",O=":("+L+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+N.replace(3,8)+")*)|.*)\\)|)",P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(O),U=new RegExp("^"+M+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L.replace("w","w*")+")"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=/'|\\/g,ab=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),bb=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{G.apply(D=H.call(t.childNodes),t.childNodes),D[t.childNodes.length].nodeType}catch(cb){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function db(a,b,d,e){var f,g,h,i,j,m,p,q,u,v;if((b?b.ownerDocument||b:t)!==l&&k(b),b=b||l,d=d||[],!a||"string"!=typeof a)return d;if(1!==(i=b.nodeType)&&9!==i)return[];if(n&&!e){if(f=Z.exec(a))if(h=f[1]){if(9===i){if(g=b.getElementById(h),!g||!g.parentNode)return d;if(g.id===h)return d.push(g),d}else if(b.ownerDocument&&(g=b.ownerDocument.getElementById(h))&&r(b,g)&&g.id===h)return d.push(g),d}else{if(f[2])return G.apply(d,b.getElementsByTagName(a)),d;if((h=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(h)),d}if(c.qsa&&(!o||!o.test(a))){if(q=p=s,u=b,v=9===i&&a,1===i&&"object"!==b.nodeName.toLowerCase()){m=ob(a),(p=b.getAttribute("id"))?q=p.replace(_,"\\$&"):b.setAttribute("id",q),q="[id='"+q+"'] ",j=m.length;while(j--)m[j]=q+pb(m[j]);u=$.test(a)&&mb(b.parentNode)||b,v=m.join(",")}if(v)try{return G.apply(d,u.querySelectorAll(v)),d}catch(w){}finally{p||b.removeAttribute("id")}}}return xb(a.replace(P,"$1"),b,d,e)}function eb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function fb(a){return a[s]=!0,a}function gb(a){var b=l.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function hb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function ib(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||B)-(~a.sourceIndex||B);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function jb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function kb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function lb(a){return fb(function(b){return b=+b,fb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function mb(a){return a&&typeof a.getElementsByTagName!==A&&a}c=db.support={},f=db.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},k=db.setDocument=function(a){var b,e=a?a.ownerDocument||a:t,g=e.defaultView;return e!==l&&9===e.nodeType&&e.documentElement?(l=e,m=e.documentElement,n=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){k()},!1):g.attachEvent&&g.attachEvent("onunload",function(){k()})),c.attributes=gb(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=gb(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(e.getElementsByClassName)&&gb(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=gb(function(a){return m.appendChild(a).id=s,!e.getElementsByName||!e.getElementsByName(s).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==A&&n){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ab,bb);return function(a){var c=typeof a.getAttributeNode!==A&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==A?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==A&&n?b.getElementsByClassName(a):void 0},p=[],o=[],(c.qsa=Y.test(e.querySelectorAll))&&(gb(function(a){a.innerHTML="<select t=''><option selected=''></option></select>",a.querySelectorAll("[t^='']").length&&o.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||o.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll(":checked").length||o.push(":checked")}),gb(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&o.push("name"+K+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||o.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),o.push(",.*:")})),(c.matchesSelector=Y.test(q=m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&gb(function(a){c.disconnectedMatch=q.call(a,"div"),q.call(a,"[s!='']:x"),p.push("!=",O)}),o=o.length&&new RegExp(o.join("|")),p=p.length&&new RegExp(p.join("|")),b=Y.test(m.compareDocumentPosition),r=b||Y.test(m.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},z=b?function(a,b){if(a===b)return j=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===t&&r(t,a)?-1:b===e||b.ownerDocument===t&&r(t,b)?1:i?I.call(i,a)-I.call(i,b):0:4&d?-1:1)}:function(a,b){if(a===b)return j=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],k=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:i?I.call(i,a)-I.call(i,b):0;if(f===g)return ib(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)k.unshift(c);while(h[d]===k[d])d++;return d?ib(h[d],k[d]):h[d]===t?-1:k[d]===t?1:0},e):l},db.matches=function(a,b){return db(a,null,null,b)},db.matchesSelector=function(a,b){if((a.ownerDocument||a)!==l&&k(a),b=b.replace(S,"='$1']"),!(!c.matchesSelector||!n||p&&p.test(b)||o&&o.test(b)))try{var d=q.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return db(b,l,null,[a]).length>0},db.contains=function(a,b){return(a.ownerDocument||a)!==l&&k(a),r(a,b)},db.attr=function(a,b){(a.ownerDocument||a)!==l&&k(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!n):void 0;return void 0!==f?f:c.attributes||!n?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},db.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},db.uniqueSort=function(a){var b,d=[],e=0,f=0;if(j=!c.detectDuplicates,i=!c.sortStable&&a.slice(0),a.sort(z),j){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return i=null,a},e=db.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=db.selectors={cacheLength:50,createPseudo:fb,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ab,bb),a[3]=(a[4]||a[5]||"").replace(ab,bb),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||db.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&db.error(a[0]),a},PSEUDO:function(a){var b,c=!a[5]&&a[2];return V.CHILD.test(a[0])?null:(a[3]&&void 0!==a[4]?a[2]=a[4]:c&&T.test(c)&&(b=ob(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ab,bb).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=w[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&w(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==A&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=db.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),t=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&t){k=q[s]||(q[s]={}),j=k[a]||[],n=j[0]===u&&j[1],m=j[0]===u&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[u,n,m];break}}else if(t&&(j=(b[s]||(b[s]={}))[a])&&j[0]===u)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(t&&((l[s]||(l[s]={}))[a]=[u,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||db.error("unsupported pseudo: "+a);return e[s]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?fb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:fb(function(a){var b=[],c=[],d=g(a.replace(P,"$1"));return d[s]?fb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:fb(function(a){return function(b){return db(a,b).length>0}}),contains:fb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:fb(function(a){return U.test(a||"")||db.error("unsupported lang: "+a),a=a.replace(ab,bb).toLowerCase(),function(b){var c;do if(c=n?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===m},focus:function(a){return a===l.activeElement&&(!l.hasFocus||l.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:lb(function(){return[0]}),last:lb(function(a,b){return[b-1]}),eq:lb(function(a,b,c){return[0>c?c+b:c]}),even:lb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:lb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:lb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:lb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=jb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=kb(b);function nb(){}nb.prototype=d.filters=d.pseudos,d.setFilters=new nb;function ob(a,b){var c,e,f,g,h,i,j,k=x[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=Q.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?db.error(a):x(a,i).slice(0)}function pb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function qb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=v++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[u,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[s]||(b[s]={}),(h=i[d])&&h[0]===u&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function rb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function sb(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function tb(a,b,c,d,e,f){return d&&!d[s]&&(d=tb(d)),e&&!e[s]&&(e=tb(e,f)),fb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||wb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:sb(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=sb(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=sb(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ub(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],i=g||d.relative[" "],j=g?1:0,k=qb(function(a){return a===b},i,!0),l=qb(function(a){return I.call(b,a)>-1},i,!0),m=[function(a,c,d){return!g&&(d||c!==h)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>j;j++)if(c=d.relative[a[j].type])m=[qb(rb(m),c)];else{if(c=d.filter[a[j].type].apply(null,a[j].matches),c[s]){for(e=++j;f>e;e++)if(d.relative[a[e].type])break;return tb(j>1&&rb(m),j>1&&pb(a.slice(0,j-1).concat({value:" "===a[j-2].type?"*":""})).replace(P,"$1"),c,e>j&&ub(a.slice(j,e)),f>e&&ub(a=a.slice(e)),f>e&&pb(a))}m.push(c)}return rb(m)}function vb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,i,j,k){var m,n,o,p=0,q="0",r=f&&[],s=[],t=h,v=f||e&&d.find.TAG("*",k),w=u+=null==t?1:Math.random()||.1,x=v.length;for(k&&(h=g!==l&&g);q!==x&&null!=(m=v[q]);q++){if(e&&m){n=0;while(o=a[n++])if(o(m,g,i)){j.push(m);break}k&&(u=w)}c&&((m=!o&&m)&&p--,f&&r.push(m))}if(p+=q,c&&q!==p){n=0;while(o=b[n++])o(r,s,g,i);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=E.call(j));s=sb(s)}G.apply(j,s),k&&!f&&s.length>0&&p+b.length>1&&db.uniqueSort(j)}return k&&(u=w,h=t),r};return c?fb(f):f}g=db.compile=function(a,b){var c,d=[],e=[],f=y[a+" "];if(!f){b||(b=ob(a)),c=b.length;while(c--)f=ub(b[c]),f[s]?d.push(f):e.push(f);f=y(a,vb(e,d))}return f};function wb(a,b,c){for(var d=0,e=b.length;e>d;d++)db(a,b[d],c);return c}function xb(a,b,e,f){var h,i,j,k,l,m=ob(a);if(!f&&1===m.length){if(i=m[0]=m[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&c.getById&&9===b.nodeType&&n&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(ab,bb),b)||[])[0],!b)return e;a=a.slice(i.shift().value.length)}h=V.needsContext.test(a)?0:i.length;while(h--){if(j=i[h],d.relative[k=j.type])break;if((l=d.find[k])&&(f=l(j.matches[0].replace(ab,bb),$.test(i[0].type)&&mb(b.parentNode)||b))){if(i.splice(h,1),a=f.length&&pb(i),!a)return G.apply(e,f),e;break}}}return g(a,m)(f,b,!n,e,$.test(a)&&mb(b.parentNode)||b),e}return c.sortStable=s.split("").sort(z).join("")===s,c.detectDuplicates=!!j,k(),c.sortDetached=gb(function(a){return 1&a.compareDocumentPosition(l.createElement("div"))}),gb(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||hb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&gb(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||hb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),gb(function(a){return null==a.getAttribute("disabled")})||hb(J,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),db}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return n.inArray(a,b)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;e>b;b++)if(n.contains(d[b],this))return!0}));for(b=0;e>b;b++)n.find(a,d[b],c);return c=this.pushStack(e>1?n.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=a.document,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,B=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:A.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:z,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=z.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return y.find(a);this.length=1,this[0]=d}return this.context=z,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};B.prototype=n.fn,y=n(z);var C=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!n(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b,c=n(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(n.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?n.inArray(this[0],n(a)):n.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function E(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return E(a,"nextSibling")},prev:function(a){return E(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return n.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(D[a]||(e=n.unique(e)),C.test(a)&&(e=e.reverse())),this.pushStack(e)}});var F=/\S+/g,G={};function H(a){var b=G[a]={};return n.each(a.match(F)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?G[a]||H(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&n.each(arguments,function(a,c){var d;while((d=n.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){if(a===!0?!--n.readyWait:!n.isReady){if(!z.body)return setTimeout(n.ready);n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(z,[n]),n.fn.trigger&&n(z).trigger("ready").off("ready"))}}});function J(){z.addEventListener?(z.removeEventListener("DOMContentLoaded",K,!1),a.removeEventListener("load",K,!1)):(z.detachEvent("onreadystatechange",K),a.detachEvent("onload",K))}function K(){(z.addEventListener||"load"===event.type||"complete"===z.readyState)&&(J(),n.ready())}n.ready.promise=function(b){if(!I)if(I=n.Deferred(),"complete"===z.readyState)setTimeout(n.ready);else if(z.addEventListener)z.addEventListener("DOMContentLoaded",K,!1),a.addEventListener("load",K,!1);else{z.attachEvent("onreadystatechange",K),a.attachEvent("onload",K);var c=!1;try{c=null==a.frameElement&&z.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!n.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}J(),n.ready()}}()}return I.promise(b)};var L="undefined",M;for(M in n(l))break;l.ownLast="0"!==M,l.inlineBlockNeedsLayout=!1,n(function(){var a,b,c=z.getElementsByTagName("body")[0];c&&(a=z.createElement("div"),a.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",b=z.createElement("div"),c.appendChild(a).appendChild(b),typeof b.style.zoom!==L&&(b.style.cssText="border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1",(l.inlineBlockNeedsLayout=3===b.offsetWidth)&&(c.style.zoom=1)),c.removeChild(a),a=b=null)}),function(){var a=z.createElement("div");if(null==l.deleteExpando){l.deleteExpando=!0;try{delete a.test}catch(b){l.deleteExpando=!1}}a=null}(),n.acceptData=function(a){var b=n.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(O,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}n.data(a,b,c)}else c=void 0}return c}function Q(a){var b;for(b in a)if(("data"!==b||!n.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function R(a,b,d,e){if(n.acceptData(a)){var f,g,h=n.expando,i=a.nodeType,j=i?n.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||n.guid++:h),j[k]||(j[k]=i?{}:{toJSON:n.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=n.extend(j[k],b):j[k].data=n.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[n.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[n.camelCase(b)])):f=g,f +}}function S(a,b,c){if(n.acceptData(a)){var d,e,f=a.nodeType,g=f?n.cache:a,h=f?a[n.expando]:n.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){n.isArray(b)?b=b.concat(n.map(b,n.camelCase)):b in d?b=[b]:(b=n.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!Q(d):!n.isEmptyObject(d))return}(c||(delete g[h].data,Q(g[h])))&&(f?n.cleanData([a],!0):l.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}n.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?n.cache[a[n.expando]]:a[n.expando],!!a&&!Q(a)},data:function(a,b,c){return R(a,b,c)},removeData:function(a,b){return S(a,b)},_data:function(a,b,c){return R(a,b,c,!0)},_removeData:function(a,b){return S(a,b,!0)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=n.data(f),1===f.nodeType&&!n._data(f,"parsedAttrs"))){c=g.length;while(c--)d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d]));n._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){n.data(this,a)}):arguments.length>1?this.each(function(){n.data(this,a,b)}):f?P(f,a,n.data(f,a)):void 0},removeData:function(a){return this.each(function(){n.removeData(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=n._data(a,b),c&&(!d||n.isArray(c)?d=n._data(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return n._data(a,c)||n._data(a,c,{empty:n.Callbacks("once memory").add(function(){n._removeData(a,b+"queue"),n._removeData(a,c)})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=n._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var T=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,U=["Top","Right","Bottom","Left"],V=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)},W=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},X=/^(?:checkbox|radio)$/i;!function(){var a=z.createDocumentFragment(),b=z.createElement("div"),c=z.createElement("input");if(b.setAttribute("className","t"),b.innerHTML=" <link/><table></table><a href='/a'>a</a>",l.leadingWhitespace=3===b.firstChild.nodeType,l.tbody=!b.getElementsByTagName("tbody").length,l.htmlSerialize=!!b.getElementsByTagName("link").length,l.html5Clone="<:nav></:nav>"!==z.createElement("nav").cloneNode(!0).outerHTML,c.type="checkbox",c.checked=!0,a.appendChild(c),l.appendChecked=c.checked,b.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,a.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){l.noCloneEvent=!1}),b.cloneNode(!0).click()),null==l.deleteExpando){l.deleteExpando=!0;try{delete b.test}catch(d){l.deleteExpando=!1}}a=b=c=null}(),function(){var b,c,d=z.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(l[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),l[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var Y=/^(?:input|select|textarea)$/i,Z=/^key/,$=/^(?:mouse|contextmenu)|click/,_=/^(?:focusinfocus|focusoutblur)$/,ab=/^([^.]*)(?:\.(.+)|)$/;function bb(){return!0}function cb(){return!1}function db(){try{return z.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=n.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof n===L||a&&n.event.triggered===a.type?void 0:n.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(F)||[""],h=b.length;while(h--)f=ab.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=n.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=n.event.special[o]||{},l=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},i),(m=g[o])||(m=g[o]=[],m.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,l):m.push(l),n.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=n.hasData(a)&&n._data(a);if(r&&(k=r.events)){b=(b||"").match(F)||[""],j=b.length;while(j--)if(h=ab.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=m.length;while(f--)g=m[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(m.splice(f,1),g.selector&&m.delegateCount--,l.remove&&l.remove.call(a,g));i&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(k)&&(delete r.handle,n._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,m,o=[d||z],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||z,3!==d.nodeType&&8!==d.nodeType&&!_.test(p+n.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[n.expando]?b:new n.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),k=n.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!n.isWindow(d)){for(i=k.delegateType||p,_.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||z)&&o.push(l.defaultView||l.parentWindow||a)}m=0;while((h=o[m++])&&!b.isPropagationStopped())b.type=m>1?i:k.bindType||p,f=(n._data(h,"events")||{})[b.type]&&n._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&n.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&n.acceptData(d)&&g&&d[p]&&!n.isWindow(d)){l=d[g],l&&(d[g]=null),n.event.triggered=p;try{d[p]()}catch(r){}n.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(n._data(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((n.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?n(c,this).index(i)>=0:n.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=$.test(e)?this.mouseHooks:Z.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||z),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||z,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==db()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===db()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return n.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=z.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===L&&(a[d]=null),a.detachEvent(d,c))},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&(a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault())?bb:cb):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:cb,isPropagationStopped:cb,isImmediatePropagationStopped:cb,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=bb,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=bb,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=bb,this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),l.submitBubbles||(n.event.special.submit={setup:function(){return n.nodeName(this,"form")?!1:void n.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=n.nodeName(b,"input")||n.nodeName(b,"button")?b.form:void 0;c&&!n._data(c,"submitBubbles")&&(n.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),n._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&n.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return n.nodeName(this,"form")?!1:void n.event.remove(this,"._submit")}}),l.changeBubbles||(n.event.special.change={setup:function(){return Y.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(n.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),n.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),n.event.simulate("change",this,a,!0)})),!1):void n.event.add(this,"beforeactivate._change",function(a){var b=a.target;Y.test(b.nodeName)&&!n._data(b,"changeBubbles")&&(n.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||n.event.simulate("change",this.parentNode,a,!0)}),n._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return n.event.remove(this,"._change"),!Y.test(this.nodeName)}}),l.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=n._data(d,b);e||d.addEventListener(a,c,!0),n._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=n._data(d,b)-1;e?n._data(d,b,e):(d.removeEventListener(a,c,!0),n._removeData(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=cb;else if(!d)return this;return 1===e&&(g=d,d=function(a){return n().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=cb),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});function eb(a){var b=fb.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var fb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gb=/ jQuery\d+="(?:null|\d+)"/g,hb=new RegExp("<(?:"+fb+")[\\s/>]","i"),ib=/^\s+/,jb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,kb=/<([\w:]+)/,lb=/<tbody/i,mb=/<|&#?\w+;/,nb=/<(?:script|style|link)/i,ob=/checked\s*(?:[^=]|=\s*.checked.)/i,pb=/^$|\/(?:java|ecma)script/i,qb=/^true\/(.*)/,rb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,sb={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:l.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},tb=eb(z),ub=tb.appendChild(z.createElement("div"));sb.optgroup=sb.option,sb.tbody=sb.tfoot=sb.colgroup=sb.caption=sb.thead,sb.th=sb.td;function vb(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==L?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==L?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||n.nodeName(d,b)?f.push(d):n.merge(f,vb(d,b));return void 0===b||b&&n.nodeName(a,b)?n.merge([a],f):f}function wb(a){X.test(a.type)&&(a.defaultChecked=a.checked)}function xb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function yb(a){return a.type=(null!==n.find.attr(a,"type"))+"/"+a.type,a}function zb(a){var b=qb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Ab(a,b){for(var c,d=0;null!=(c=a[d]);d++)n._data(c,"globalEval",!b||n._data(b[d],"globalEval"))}function Bb(a,b){if(1===b.nodeType&&n.hasData(a)){var c,d,e,f=n._data(a),g=n._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)n.event.add(b,c,h[c][d])}g.data&&(g.data=n.extend({},g.data))}}function Cb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!l.noCloneEvent&&b[n.expando]){e=n._data(b);for(d in e.events)n.removeEvent(b,d,e.handle);b.removeAttribute(n.expando)}"script"===c&&b.text!==a.text?(yb(b).text=a.text,zb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),l.html5Clone&&a.innerHTML&&!n.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&X.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}n.extend({clone:function(a,b,c){var d,e,f,g,h,i=n.contains(a.ownerDocument,a);if(l.html5Clone||n.isXMLDoc(a)||!hb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(ub.innerHTML=a.outerHTML,ub.removeChild(f=ub.firstChild)),!(l.noCloneEvent&&l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(d=vb(f),h=vb(a),g=0;null!=(e=h[g]);++g)d[g]&&Cb(e,d[g]);if(b)if(c)for(h=h||vb(a),d=d||vb(f),g=0;null!=(e=h[g]);g++)Bb(e,d[g]);else Bb(a,f);return d=vb(f,"script"),d.length>0&&Ab(d,!i&&vb(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k,m=a.length,o=eb(b),p=[],q=0;m>q;q++)if(f=a[q],f||0===f)if("object"===n.type(f))n.merge(p,f.nodeType?[f]:f);else if(mb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(kb.exec(f)||["",""])[1].toLowerCase(),k=sb[i]||sb._default,h.innerHTML=k[1]+f.replace(jb,"<$1></$2>")+k[2],e=k[0];while(e--)h=h.lastChild;if(!l.leadingWhitespace&&ib.test(f)&&p.push(b.createTextNode(ib.exec(f)[0])),!l.tbody){f="table"!==i||lb.test(f)?"<table>"!==k[1]||lb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)n.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}n.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),l.appendChecked||n.grep(vb(p,"input"),wb),q=0;while(f=p[q++])if((!d||-1===n.inArray(f,d))&&(g=n.contains(f.ownerDocument,f),h=vb(o.appendChild(f),"script"),g&&Ab(h),c)){e=0;while(f=h[e++])pb.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=n.expando,j=n.cache,k=l.deleteExpando,m=n.event.special;null!=(d=a[h]);h++)if((b||n.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)m[e]?n.event.remove(d,e):n.removeEvent(d,e,g.handle);j[f]&&(delete j[f],k?delete d[i]:typeof d.removeAttribute!==L?d.removeAttribute(i):d[i]=null,c.push(f))}}}),n.fn.extend({text:function(a){return W(this,function(a){return void 0===a?n.text(this):this.empty().append((this[0]&&this[0].ownerDocument||z).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(vb(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&Ab(vb(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&n.cleanData(vb(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&n.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return W(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(gb,""):void 0;if(!("string"!=typeof a||nb.test(a)||!l.htmlSerialize&&hb.test(a)||!l.leadingWhitespace&&ib.test(a)||sb[(kb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(jb,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(vb(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(vb(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,k=this.length,m=this,o=k-1,p=a[0],q=n.isFunction(p);if(q||k>1&&"string"==typeof p&&!l.checkClone&&ob.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(k&&(i=n.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=n.map(vb(i,"script"),yb),f=g.length;k>j;j++)d=i,j!==o&&(d=n.clone(d,!0,!0),f&&n.merge(g,vb(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,n.map(g,zb),j=0;f>j;j++)d=g[j],pb.test(d.type||"")&&!n._data(d,"globalEval")&&n.contains(h,d)&&(d.src?n._evalUrl&&n._evalUrl(d.src):n.globalEval((d.text||d.textContent||d.innerHTML||"").replace(rb,"")));i=c=null}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=0,e=[],g=n(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),n(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Db,Eb={};function Fb(b,c){var d=n(c.createElement(b)).appendTo(c.body),e=a.getDefaultComputedStyle?a.getDefaultComputedStyle(d[0]).display:n.css(d[0],"display");return d.detach(),e}function Gb(a){var b=z,c=Eb[a];return c||(c=Fb(a,b),"none"!==c&&c||(Db=(Db||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Db[0].contentWindow||Db[0].contentDocument).document,b.write(),b.close(),c=Fb(a,b),Db.detach()),Eb[a]=c),c}!function(){var a,b,c=z.createElement("div"),d="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=c.getElementsByTagName("a")[0],a.style.cssText="float:left;opacity:.5",l.opacity=/^0.5/.test(a.style.opacity),l.cssFloat=!!a.style.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===c.style.backgroundClip,a=c=null,l.shrinkWrapBlocks=function(){var a,c,e,f;if(null==b){if(a=z.getElementsByTagName("body")[0],!a)return;f="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",c=z.createElement("div"),e=z.createElement("div"),a.appendChild(c).appendChild(e),b=!1,typeof e.style.zoom!==L&&(e.style.cssText=d+";width:1px;padding:1px;zoom:1",e.innerHTML="<div></div>",e.firstChild.style.width="5px",b=3!==e.offsetWidth),a.removeChild(c),a=c=e=null}return b}}();var Hb=/^margin/,Ib=new RegExp("^("+T+")(?!px)[a-z%]+$","i"),Jb,Kb,Lb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Jb=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Kb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Jb(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),Ib.test(g)&&Hb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):z.documentElement.currentStyle&&(Jb=function(a){return a.currentStyle},Kb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Jb(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Ib.test(g)&&!Lb.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Mb(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h=z.createElement("div"),i="border:0;width:0;height:0;position:absolute;top:0;left:-9999px",j="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";h.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",b=h.getElementsByTagName("a")[0],b.style.cssText="float:left;opacity:.5",l.opacity=/^0.5/.test(b.style.opacity),l.cssFloat=!!b.style.cssFloat,h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===h.style.backgroundClip,b=h=null,n.extend(l,{reliableHiddenOffsets:function(){if(null!=c)return c;var a,b,d,e=z.createElement("div"),f=z.getElementsByTagName("body")[0];if(f)return e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=z.createElement("div"),a.style.cssText=i,f.appendChild(a).appendChild(e),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",b=e.getElementsByTagName("td"),b[0].style.cssText="padding:0;margin:0;border:0;display:none",d=0===b[0].offsetHeight,b[0].style.display="",b[1].style.display="none",c=d&&0===b[0].offsetHeight,f.removeChild(a),e=f=null,c},boxSizing:function(){return null==d&&k(),d},boxSizingReliable:function(){return null==e&&k(),e},pixelPosition:function(){return null==f&&k(),f},reliableMarginRight:function(){var b,c,d,e;if(null==g&&a.getComputedStyle){if(b=z.getElementsByTagName("body")[0],!b)return;c=z.createElement("div"),d=z.createElement("div"),c.style.cssText=i,b.appendChild(c).appendChild(d),e=d.appendChild(z.createElement("div")),e.style.cssText=d.style.cssText=j,e.style.marginRight=e.style.width="0",d.style.width="1px",g=!parseFloat((a.getComputedStyle(e,null)||{}).marginRight),b.removeChild(c)}return g}});function k(){var b,c,h=z.getElementsByTagName("body")[0];h&&(b=z.createElement("div"),c=z.createElement("div"),b.style.cssText=i,h.appendChild(b).appendChild(c),c.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%",n.swap(h,null!=h.style.zoom?{zoom:1}:{},function(){d=4===c.offsetWidth}),e=!0,f=!1,g=!0,a.getComputedStyle&&(f="1%"!==(a.getComputedStyle(c,null)||{}).top,e="4px"===(a.getComputedStyle(c,null)||{width:"4px"}).width),h.removeChild(b),c=h=null)}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Nb=/alpha\([^)]*\)/i,Ob=/opacity\s*=\s*([^)]*)/,Pb=/^(none|table(?!-c[ea]).+)/,Qb=new RegExp("^("+T+")(.*)$","i"),Rb=new RegExp("^([+-])=("+T+")","i"),Sb={position:"absolute",visibility:"hidden",display:"block"},Tb={letterSpacing:0,fontWeight:400},Ub=["Webkit","O","Moz","ms"];function Vb(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Ub.length;while(e--)if(b=Ub[e]+c,b in a)return b;return d}function Wb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=n._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&V(d)&&(f[g]=n._data(d,"olddisplay",Gb(d.nodeName)))):f[g]||(e=V(d),(c&&"none"!==c||!e)&&n._data(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Xb(a,b,c){var d=Qb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Yb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+U[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+U[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+U[f]+"Width",!0,e))):(g+=n.css(a,"padding"+U[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+U[f]+"Width",!0,e)));return g}function Zb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Jb(a),g=l.boxSizing()&&"border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Kb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Ib.test(e))return e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Yb(a,b,c||(g?"border":"content"),d,f)+"px"}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Kb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":l.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;if(b=n.cssProps[h]||(n.cssProps[h]=Vb(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Rb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]="",i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Vb(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Kb(a,b,d)),"normal"===f&&b in Tb&&(f=Tb[b]),""===c||c?(e=parseFloat(f),c===!0||n.isNumeric(e)?e||0:f):f}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?0===a.offsetWidth&&Pb.test(n.css(a,"display"))?n.swap(a,Sb,function(){return Zb(a,b,d)}):Zb(a,b,d):void 0},set:function(a,c,d){var e=d&&Jb(a);return Xb(a,c,d?Yb(a,b,d,l.boxSizing()&&"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),l.opacity||(n.cssHooks.opacity={get:function(a,b){return Ob.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=n.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===n.trim(f.replace(Nb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Nb.test(f)?f.replace(Nb,e):f+" "+e)}}),n.cssHooks.marginRight=Mb(l.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},Kb,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+U[d]+b]=f[d]||f[d-2]||f[0];return e}},Hb.test(a)||(n.cssHooks[a+b].set=Xb)}),n.fn.extend({css:function(a,b){return W(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Jb(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b) +},a,b,arguments.length>1)},show:function(){return Wb(this,!0)},hide:function(){return Wb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).hide()})}});function $b(a,b,c,d,e){return new $b.prototype.init(a,b,c,d,e)}n.Tween=$b,$b.prototype={constructor:$b,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=$b.propHooks[this.prop];return a&&a.get?a.get(this):$b.propHooks._default.get(this)},run:function(a){var b,c=$b.propHooks[this.prop];return this.pos=b=this.options.duration?n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):$b.propHooks._default.set(this),this}},$b.prototype.init.prototype=$b.prototype,$b.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},$b.propHooks.scrollTop=$b.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},n.fx=$b.prototype.init,n.fx.step={};var _b,ac,bc=/^(?:toggle|show|hide)$/,cc=new RegExp("^(?:([+-])=|)("+T+")([a-z%]*)$","i"),dc=/queueHooks$/,ec=[jc],fc={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=cc.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&cc.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function gc(){return setTimeout(function(){_b=void 0}),_b=n.now()}function hc(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=U[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function ic(a,b,c){for(var d,e=(fc[b]||[]).concat(fc["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function jc(a,b,c){var d,e,f,g,h,i,j,k,m=this,o={},p=a.style,q=a.nodeType&&V(a),r=n._data(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,m.always(function(){m.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=n.css(a,"display"),k=Gb(a.nodeName),"none"===j&&(j=k),"inline"===j&&"none"===n.css(a,"float")&&(l.inlineBlockNeedsLayout&&"inline"!==k?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",l.shrinkWrapBlocks()||m.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],bc.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||n.style(a,d)}if(!n.isEmptyObject(o)){r?"hidden"in r&&(q=r.hidden):r=n._data(a,"fxshow",{}),f&&(r.hidden=!q),q?n(a).show():m.done(function(){n(a).hide()}),m.done(function(){var b;n._removeData(a,"fxshow");for(b in o)n.style(a,b,o[b])});for(d in o)g=ic(q?r[d]:0,d,m),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function kc(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function lc(a,b,c){var d,e,f=0,g=ec.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=_b||gc(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:_b||gc(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(kc(k,j.opts.specialEasing);g>f;f++)if(d=ec[f].call(j,a,k,j.opts))return d;return n.map(k,ic,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(lc,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],fc[c]=fc[c]||[],fc[c].unshift(b)},prefilter:function(a,b){b?ec.unshift(a):ec.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(V).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=lc(this,n.extend({},a),f);(e||n._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=n._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&dc.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=n._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(hc(b,!0),a,d,e)}}),n.each({slideDown:hc("show"),slideUp:hc("hide"),slideToggle:hc("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=n.timers,c=0;for(_b=n.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||n.fx.stop(),_b=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){ac||(ac=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(ac),ac=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e=z.createElement("div");e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",a=e.getElementsByTagName("a")[0],c=z.createElement("select"),d=c.appendChild(z.createElement("option")),b=e.getElementsByTagName("input")[0],a.style.cssText="top:1px",l.getSetAttribute="t"!==e.className,l.style=/top/.test(a.getAttribute("style")),l.hrefNormalized="/a"===a.getAttribute("href"),l.checkOn=!!b.value,l.optSelected=d.selected,l.enctype=!!z.createElement("form").enctype,c.disabled=!0,l.optDisabled=!d.disabled,b=z.createElement("input"),b.setAttribute("value",""),l.input=""===b.getAttribute("value"),b.value="t",b.setAttribute("type","radio"),l.radioValue="t"===b.value,a=b=c=d=e=null}();var mc=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(mc,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.text(a)}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(l.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)if(d=e[g],n.inArray(n.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var nc,oc,pc=n.expr.attrHandle,qc=/^(?:checked|selected)$/i,rc=l.getSetAttribute,sc=l.input;n.fn.extend({attr:function(a,b){return W(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===L?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?oc:nc)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(F);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)?sc&&rc||!qc.test(c)?a[d]=!1:a[n.camelCase("default-"+c)]=a[d]=!1:n.attr(a,c,""),a.removeAttribute(rc?c:d)},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),oc={set:function(a,b,c){return b===!1?n.removeAttr(a,c):sc&&rc||!qc.test(c)?a.setAttribute(!rc&&n.propFix[c]||c,c):a[n.camelCase("default-"+c)]=a[c]=!0,c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=pc[b]||n.find.attr;pc[b]=sc&&rc||!qc.test(b)?function(a,b,d){var e,f;return d||(f=pc[b],pc[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,pc[b]=f),e}:function(a,b,c){return c?void 0:a[n.camelCase("default-"+b)]?b.toLowerCase():null}}),sc&&rc||(n.attrHooks.value={set:function(a,b,c){return n.nodeName(a,"input")?void(a.defaultValue=b):nc&&nc.set(a,b,c)}}),rc||(nc={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},pc.id=pc.name=pc.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},n.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:nc.set},n.attrHooks.contenteditable={set:function(a,b,c){nc.set(a,""===b?!1:b,c)}},n.each(["width","height"],function(a,b){n.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),l.style||(n.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var tc=/^(?:input|select|textarea|button|object)$/i,uc=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return W(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return a=n.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):tc.test(a.nodeName)||uc.test(a.nodeName)&&a.href?0:-1}}}}),l.hrefNormalized||n.each(["href","src"],function(a,b){n.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this}),l.enctype||(n.propFix.enctype="encoding");var vc=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(F)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(vc," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(F)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(vc," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(F)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===L||"boolean"===c)&&(this.className&&n._data(this,"__className__",this.className),this.className=this.className||a===!1?"":n._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(vc," ").indexOf(b)>=0)return!0;return!1}}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var wc=n.now(),xc=/\?/,yc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;n.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=n.trim(b+"");return e&&!n.trim(e.replace(yc,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():n.error("Invalid JSON: "+b)},n.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var zc,Ac,Bc=/#.*$/,Cc=/([?&])_=[^&]*/,Dc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ec=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Fc=/^(?:GET|HEAD)$/,Gc=/^\/\//,Hc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ic={},Jc={},Kc="*/".concat("*");try{Ac=location.href}catch(Lc){Ac=z.createElement("a"),Ac.href="",Ac=Ac.href}zc=Hc.exec(Ac.toLowerCase())||[];function Mc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(F)||[];if(n.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Nc(a,b,c,d){var e={},f=a===Jc;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Oc(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&n.extend(!0,a,c),a}function Pc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Qc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ac,type:"GET",isLocal:Ec.test(zc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Oc(Oc(a,n.ajaxSettings),b):Oc(n.ajaxSettings,a)},ajaxPrefilter:Mc(Ic),ajaxTransport:Mc(Jc),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Dc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||Ac)+"").replace(Bc,"").replace(Gc,zc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(F)||[""],null==k.crossDomain&&(c=Hc.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===zc[1]&&c[2]===zc[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(zc[3]||("http:"===zc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),Nc(Ic,k,b,v),2===t)return v;h=k.global,h&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Fc.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(xc.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Cc.test(e)?e.replace(Cc,"$1_="+wc++):e+(xc.test(e)?"&":"?")+"_="+wc++)),k.ifModified&&(n.lastModified[e]&&v.setRequestHeader("If-Modified-Since",n.lastModified[e]),n.etag[e]&&v.setRequestHeader("If-None-Match",n.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Kc+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Nc(Jc,k,b,v)){v.readyState=1,h&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Pc(k,v,c)),u=Qc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(n.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){if(n.isFunction(a))return this.each(function(b){n(this).wrapAll(a.call(this,b))});if(this[0]){var b=n(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!l.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||n.css(a,"display"))},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var Rc=/%20/g,Sc=/\[\]$/,Tc=/\r?\n/g,Uc=/^(?:submit|button|image|reset|file)$/i,Vc=/^(?:input|select|textarea|keygen)/i;function Wc(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||Sc.test(a)?d(a,e):Wc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Wc(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Wc(c,a[c],b,e);return d.join("&").replace(Rc,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Vc.test(this.nodeName)&&!Uc.test(a)&&(this.checked||!X.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(Tc,"\r\n")}}):{name:b.name,value:c.replace(Tc,"\r\n")}}).get()}}),n.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&$c()||_c()}:$c;var Xc=0,Yc={},Zc=n.ajaxSettings.xhr();a.ActiveXObject&&n(a).on("unload",function(){for(var a in Yc)Yc[a](void 0,!0)}),l.cors=!!Zc&&"withCredentials"in Zc,Zc=l.ajax=!!Zc,Zc&&n.ajaxTransport(function(a){if(!a.crossDomain||l.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Xc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Yc[g],b=void 0,f.onreadystatechange=n.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Yc[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function $c(){try{return new a.XMLHttpRequest}catch(b){}}function _c(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=z.head||n("head")[0]||z.documentElement;return{send:function(d,e){b=z.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var ad=[],bd=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=ad.pop()||n.expando+"_"+wc++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(bd.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&bd.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(bd,"$1"+e):b.jsonp!==!1&&(b.url+=(xc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,ad.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||z;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var cd=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&cd)return cd.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=a.slice(h,a.length),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&n.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var dd=a.document.documentElement;function ed(a){return n.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&n.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,n.contains(b,e)?(typeof e.getBoundingClientRect!==L&&(d=e.getBoundingClientRect()),c=ed(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===n.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(c=a.offset()),c.top+=n.css(a[0],"borderTopWidth",!0),c.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-n.css(d,"marginTop",!0),left:b.left-c.left-n.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||dd;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||dd})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);n.fn[a]=function(d){return W(this,function(a,d,e){var f=ed(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?n(f).scrollLeft():e,c?e:n(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Mb(l.pixelPosition,function(a,c){return c?(c=Kb(a,b),Ib.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return W(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var fd=a.jQuery,gd=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=gd),b&&a.jQuery===n&&(a.jQuery=fd),n},typeof b===L&&(a.jQuery=a.$=n),n}); diff --git a/plugins/legacy_browser/legacy_browser.php b/plugins/legacy_browser/legacy_browser.php new file mode 100644 index 000000000..346a0ed8e --- /dev/null +++ b/plugins/legacy_browser/legacy_browser.php @@ -0,0 +1,112 @@ +<?php + +/** + * Plugin which adds support for legacy browsers (IE 7/8, Firefox < 4) + * + * @author Aleksander Machniak <alec@alec.pl> + * @license GNU GPLv3+ + */ +class legacy_browser extends rcube_plugin +{ + public $noajax = true; + private $rc; + + public function init() + { + $this->rc = $rcube = rcube::get_instance(); + + if ( + // IE < 9 + ($rcube->output->browser->ie && $rcube->output->browser->ver < 9) + // Firefox < 4 (Firefox 4 is recognized as 2.0) + || ($rcube->output->browser->mz && $rcube->output->browser->ver < 2) + ) { + $this->add_hook('send_page', array($this, 'send_page')); + $this->add_hook('render_page', array($this, 'render_page')); + } + } + + function send_page($args) + { + $p1 = $this->rc->output->asset_url('program/js'); + $p2 = $this->rc->output->asset_url('plugins/legacy_browser/js'); + + $assets_dir = $this->rc->config->get('assets_dir'); + + $ts1 = filemtime($this->home . '/js/jquery.min.js'); + $ts2 = filemtime($this->home . '/js/iehacks.js'); + + if (!$ts1 && $assets_dir) { + $ts1 = filemtime($assets_dir . '/plugins/legacy_browser/js/jquery.min.js'); + } + if (!$ts2 && $assets_dir) { + $ts2 = filemtime($assets_dir . '/plugins/legacy_browser/js/iehacks.js'); + } + + // put iehacks.js after app.js + if ($this->rc->output->browser->ie) { + $args['content'] = preg_replace( + '|(<script src="' . preg_quote($p1, '|') . '/app(\.min)?\.js(\?s=[0-9]+)?" type="text/javascript"></script>)|', + '\\1<script src="' . $p2 . '/iehacks.js?s=' . $ts2 . '" type="text/javascript"></script>', + $args['content'], 1, $count); + } + else { + $count = 1; + } + + // replace jQuery 2.x with 1.x + $args['content'] = preg_replace( + '|<script src="' . preg_quote($p1, '|') . '/jquery\.min\.js(\?s=[0-9]+)?" type="text/javascript"></script>|', + '<script src="' . $p2 . '/jquery.min.js?s=' . $ts1 . '" type="text/javascript"></script>' + // add iehacks.js if it is IE and it wasn't added yet + . ($count ? '' : "\n".'<script src="' . $p2 . '/iehacks.js?s=' . $ts2 . '" type="text/javascript"></script>'), + $args['content'], 1); + + return $args; + } + + function render_page($args) + { + if (!$this->rc->output->browser->ie) { + return $args; + } + + $skin = $this->skin(); + + if ($skin == 'classic') { + $minified = file_exists(INSTALL_PATH . '/plugins/legacy_browser/skins/classic/iehacks.min.css') ? '.min' : ''; + $this->rc->output->add_header( + '<link rel="stylesheet" type="text/css" href="plugins/legacy_browser/skins/classic/iehacks' . $minified . '.css" />' + ); + } + else if ($skin == 'larry') { + $minified = file_exists(INSTALL_PATH . '/plugins/legacy_browser/skins/larry/iehacks.min.css') ? '.min' : ''; + $this->rc->output->add_header( + '<link rel="stylesheet" type="text/css" href="plugins/legacy_browser/skins/larry/iehacks' . $minified . '.css" />' + ); + + if ($this->rc->output->browser->ver < 8) { + $this->rc->output->add_header( + '<link rel="stylesheet" type="text/css" href="plugins/legacy_browser/skins/larry/ie7hacks' . $minified . '.css" />' + ); + } + } + } + + private function skin() + { + $skin = $this->rc->config->get('skin'); + + // external skin, find if it inherits from other skin + if ($skin != 'larry' && $skin != 'classic') { + $json = @file_get_contents(INSTALL_PATH . "/skins/$skin/meta.json"); + $json = @json_decode($json, true); + + if (!empty($json['extends'])) { + return $json['extends']; + } + } + + return $skin; + } +} diff --git a/plugins/legacy_browser/skins/classic/iehacks.css b/plugins/legacy_browser/skins/classic/iehacks.css new file mode 100644 index 000000000..49b3256bb --- /dev/null +++ b/plugins/legacy_browser/skins/classic/iehacks.css @@ -0,0 +1,295 @@ + +input, textarea +{ + border-style: expression(this.type=='checkbox' || this.type=='radio' || this.id=='quicksearchbox' ? 'none' : 'solid'); + border-width: expression(this.type=='checkbox' || this.type=='radio' ? '0' : '1px'); + border-color: expression(this.type=='checkbox' || this.type=='radio' ? '' : '#666666'); + background-color: expression(this.type=='checkbox' || this.type=='radio' ? 'transparent' : '#ffffff'); +} + +body.iframe +{ + margin-top: 0px; +} + +body.iframe div.boxcontent +{ + margin-top: 20px; + z-index: 2; +} + +body.iframe div.boxtitle +{ + z-index: 100; +} + +body.iframe #prefs-details +{ + padding-top: 1px; +} + +#login-form form +{ + margin-top: 0; +} + +.pagenav a.buttonPas +{ + filter: alpha(opacity=35); +} + +body > #message +{ + filter: alpha(opacity=85); +} + +.popupmenu +{ + background-color: #ffffff; +} + +#tabsbar, +#partheader +{ + width: expression((parseInt(document.documentElement.clientWidth)-240)+'px'); +} + +#mainscreen +{ + height: expression((parseInt(document.documentElement.clientHeight)-105)+'px'); +} + +#mainscreen, +#messagepartcontainer +{ + width: expression((parseInt(document.documentElement.clientWidth)-40)+'px'); +} + +#messagetoolbar +{ + width: expression((parseInt(document.documentElement.clientWidth)-215)+'px'); + z-index: 240; +} + +#messagetoolbar select.mboxlist +{ + margin: 0 8px; + top: 8px; +} + +div.messageheaderbox +{ + margin-top: 0px; +} + +body.iframe div.messageheaderbox +{ + margin-top: 6px; +} + +#abooktoolbar a.buttonPas +{ + filter: alpha(opacity=35); + background-image: url(images/abook_toolbar.gif); +} + +#messagetoolbar a.buttonPas +{ + filter: alpha(opacity=35); + background-image: url(images/mail_toolbar.gif); +} + +#listcontrols a.buttonPas +{ + filter: alpha(opacity=35); +} + +#quicksearchbar +{ + z-index: 240; +} + +#addresslist, +#sectionslist, +#identities-list, +#mailleftcontainer, +#mailrightcontainer, +#compose-container, +#compose-attachments, +#compose-contacts, +#mailcontframe, +#mailboxlist-container, +#mailrightcontent, +#messageframe, +#identity-details, +#contacts-box, +#prefs-box, +#folder-box, +#directorylistbox, +#addressscreen +{ + height: expression(parseInt(this.parentNode.offsetHeight)+'px'); +} + +#mailrightcontainer +{ + width: expression((parseInt(this.parentNode.offsetWidth)-170)+'px'); +} + +#messagepartcontainer +{ + height: expression((parseInt(document.documentElement.clientHeight)-90)+'px'); +} + +#mailrightcontent +{ + width: 100%; +} + +#compose-div +{ + height: expression((parseInt(this.parentNode.offsetHeight)-1-parseInt(document.getElementById('compose-headers').offsetHeight))+'px'); +} + +#compose-attachments ul li +{ + width: 1000px; /* for IE7 */ +} + +#compose-attachments li a +{ + float: left; /* for IE7 */ +} + +#messagelist +{ + width: inherit; + *width: auto; /* IE6/7 conditional hack */ + border-collapse: collapse; +} + +#messagelist thead tr td, +#messagelist tbody tr td +{ + height: 18px; +} + +#messagelist tbody tr.unroot td.subject +{ + text-decoration: underline; +} + +#messageframe +{ + width: expression((parseInt(this.parentNode.offsetWidth)-180)+'px'); + overflow: hidden; +} + +body.iframe +{ + width: expression((parseInt(document.documentElement.clientWidth))+'px'); +} + +div.message-part pre, +div.message-htmlpart pre, +div.message-part div.pre +{ + word-wrap: break-word; +} + +#addressscreen +{ + width: expression((parseInt(document.documentElement.clientWidth)-245)+'px'); +} + +#contacts-box, +#prefs-box, +#folder-box +{ + width: expression((parseInt(this.parentNode.offsetWidth)-555)+'px'); + overflow: hidden; +} + +#rcmdraglayer +{ + filter: alpha(opacity=82); + padding-left: 20px; +} + +div.draglayercopy +{ + border-color: #00cc00; + background: url(../../../skins/classic/images/messageactions.png) 0 -125px no-repeat #fff; +} + +html.ie8 .draglayercopy:before +{ + content: ""; + display: none; +} + +ul.toolbarmenu +{ + margin: 0 0 -4px 0; +} + +.popupmenu ul li, +ul.toolbarmenu li +{ + min-width: auto; +} + +.popupmenu ul li a, +ul.toolbarmenu li a +{ + min-height: auto; +} + +.popupmenu li.block a +{ + clear: none; + display: inline-block; + padding-left: 2px; +} + +#console +{ + filter: alpha(opacity=80); +} + +table.records-table thead tr td +{ + height: 19px; +} + +#listmenu fieldset +{ + margin: 0 4px; + padding: 0.8em; +} + +#listcontrols input +{ + margin-top: 2px; +} + +#contact-details +{ + margin-top: 20px; +} + +#contact-details form { + margin-top: -1px; +} + +.contactfieldgroup legend +{ + padding: 0 0 0.5em 0; + margin-left: -4px; +} + +/* fix "jumping" login form in IE7 */ +#login-form div.boxcontent +{ + overflow: hidden; +} diff --git a/plugins/legacy_browser/skins/classic/images/abook_toolbar.gif b/plugins/legacy_browser/skins/classic/images/abook_toolbar.gif Binary files differnew file mode 100644 index 000000000..2e8f4e259 --- /dev/null +++ b/plugins/legacy_browser/skins/classic/images/abook_toolbar.gif diff --git a/plugins/legacy_browser/skins/classic/images/mail_toolbar.gif b/plugins/legacy_browser/skins/classic/images/mail_toolbar.gif Binary files differnew file mode 100644 index 000000000..4bddf5b45 --- /dev/null +++ b/plugins/legacy_browser/skins/classic/images/mail_toolbar.gif diff --git a/plugins/legacy_browser/skins/larry/ie7hacks.css b/plugins/legacy_browser/skins/larry/ie7hacks.css new file mode 100644 index 000000000..85ebaf239 --- /dev/null +++ b/plugins/legacy_browser/skins/larry/ie7hacks.css @@ -0,0 +1,211 @@ +/** + * Roundcube webmail CSS hacks for IE 7 + * + * Copyright (c) 2012, The Roundcube Dev Team + * + * The contents are subject to the Creative Commons Attribution-ShareAlike + * License. It is allowed to copy, distribute, transmit and to adapt the work + * by keeping credits to the original autors in the README file. + * See http://creativecommons.org/licenses/by-sa/3.0/ for details. + */ + +/* #1488618 */ +#mainscreen { + height: expression((parseInt(document.documentElement.clientHeight)-108)+'px'); +} +#mainscreen.offset { + height: expression((parseInt(document.documentElement.clientHeight)-150)+'px'); +} + +.minimal #mainscreen { + height: expression((parseInt(document.documentElement.clientHeight)-82)+'px'); +} + +.minimal #mainscreen.offset { + height: expression((parseInt(document.documentElement.clientHeight)-120)+'px'); +} + +#messagepartframe { + height: expression((parseInt(this.parentNode.offsetHeight)-1)+'px'); +} + +input.button { + display: inline; + font-size: 90%; +} + +a.iconbutton, +a.deletebutton, +.boxpagenav a.icon, +a.button span.icon, +.pagenav a.button span.inner, +.boxfooter .listbutton .inner, +.attachmentslist li a.delete, +.attachmentslist li a.cancelupload, +#contacts-table td.action a, +.previewheader .iconlink, +.minimal #taskbar .button-inner, +#preferences-details fieldset.advanced .advanced-toggle { + /* workaround for text-indent which also offsets the background image */ + text-indent: 0; + font-size: 0; + line-height: 0; + overflow: hidden; + text-align: right; + text-decoration: none; +} + +.boxpagenav a.icon { + color: #bbd3da; +} + +.pagenav a.button, +.pagenav a.button span.inner, +.previewheader .iconlink, +#uploadform a.iconlink { + display: inline; +} + +.pagenavbuttons { + top: 4px; +} + +.dropbutton .dropbuttontip { + right: -2px; +} + +#login-form .box-inner form { + margin: 0; +} + +#login-form #message div { + float: left; + display: block; + width: 200px; + margin-left: 130px; + white-space: nowrap; + text-align: left; +} + +#messageheader.previewheader .iconlink { + color: #fff; + height: 14px; +} + +#uploadform a.iconlink { + text-indent: 0px; +} + +.boxfooter .countdisplay { + top: -12px; +} + +ul.toolbarmenu li a { + width: 140px; +} + +#threadselectmenu li a { + width: 160px; +} + +#messagemenu li a { + width: 170px; +} + +#rcmKSearchpane { + width: 400px; +} +#rcmKSearchpane ul li { + width: 380px; + text-overflow: ellipsis; +} + + +table.listing, +table.records-table { + display: block; + width: auto; + border-collapse: expression('separate', cellSpacing = '0'); +} + +.records-table tbody td span { + white-space: nowrap; +} + +table.listing { + width: 100%; +} + +ul.toolbarmenu li label { + margin: 0; + padding: 3px 8px; +} + +.searchbox input { + padding-top: 4px; + padding-bottom: 2px; +} + +#messagelistfooter #listcontrols, +#messagelistfooter #listselectors, +#messagelistfooter #countcontrols, +.pagenav .countdisplay { + display: inline; +} + +#messagelistfooter #countcontrols { + position: relative; + top: -4px; +} + +#messagecontframe, +#preferences-frame { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; +} + +#composeoptionstoggle { + display: inline; + top: 3px; +} + +.propform { + margin: 0; +} + +.propform fieldset legend { + color: #333; + margin-left: -5px; + padding-left: 0; +} + +.contactfieldgroup legend { + margin-left: -14px; +} + +.contactfieldcontent .contactfieldbutton { + top: -6px; +} + +.tabsbar { + height: 15px; + padding-bottom: 15px; +} + +.tabsbar .tablink { + padding: 0 1px 0 0; +} + +.minimal #topline { + width: 100%; + height: 18px; + box-sizing: border-box; +} + +.minimal #taskbar a:hover .tooltip { + right: 34px; + top: 1px; +} diff --git a/plugins/legacy_browser/skins/larry/iehacks.css b/plugins/legacy_browser/skins/larry/iehacks.css new file mode 100644 index 000000000..18755ea1a --- /dev/null +++ b/plugins/legacy_browser/skins/larry/iehacks.css @@ -0,0 +1,200 @@ +/** + * Roundcube webmail CSS hacks for IE < 9 + * + * Copyright (c) 2012, The Roundcube Dev Team + * + * The contents are subject to the Creative Commons Attribution-ShareAlike + * License. It is allowed to copy, distribute, transmit and to adapt the work + * by keeping credits to the original autors in the README file. + * See http://creativecommons.org/licenses/by-sa/3.0/ for details. + */ + +.ie8 .minimal #taskbar .tooltip:after { + top: -6px; +} + +input.button, +a.disabled.button, +.buttongroup { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e6e6e6', GradientType=0); +} + +.formbuttons input.button { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7b7b7b', endColorstr='#606060', GradientType=0); +} + +.formbuttons input.button:active { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5c5c5c', endColorstr='#7b7b7b', GradientType=0); +} + +input.button.mainaction { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#505050', endColorstr='#2a2e31', GradientType=0); +} + +input.button.mainaction:active { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2a2e31', endColorstr='#505050', GradientType=0); +} + +a.button.pressed, +a.button:active, +input.button:active { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e6e6', endColorstr='#f9f9f9', GradientType=0); +} + +.pagenav.dark a.button { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d8d8d8', endColorstr='#bababa', GradientType=0); +} + +.pagenav.dark a.button.pressed { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bababa', endColorstr='#d8d8d8', GradientType=0); +} + +.buttongroup a.button.selected { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#909090', endColorstr='#858585', GradientType=0); +} + +#message.statusbar { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eaeaea', endColorstr='#c8c8c8', GradientType=0); +} + +#messagestack div { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e0404040', endColorstr='#e0303030', GradientType=0); +} + +.ui-dialog.popupmessage .ui-dialog-titlebar { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e3e3e3', endColorstr='#cfcfcf', GradientType=0); +} + +.ui-dialog.popupmessage .ui-widget-content { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#dcdcdc', GradientType=0); +} + +#topnav { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#404040', endColorstr='#060606', GradientType=0); +} + +#toplogo { + position: absolute; + top: 0px; + left: 10px; +} + +.records-table tr.selected td { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#019bc6', endColorstr='#017cb4', GradientType=0); +} + +.contentbox .boxtitle, +body.iframe .boxtitle { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#dfdfdf', GradientType=0); +} + +#login-form input.button { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e2e2e2', GradientType=0); +} + +#login-form input.button:active { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dcdcdc', endColorstr='#f9f9f9', GradientType=0); +} + +.toolbar a.button { + filter: none; +} + +a.menuselector { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#dddddd', GradientType=0); +} + +a.menuselector:active { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dddddd', endColorstr='#f8f8f8', GradientType=0); +} + +.googie_list td.googie_list_onhover, +ul.toolbarmenu li a.active:hover, +#rcmKSearchpane ul li.selected { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00aad6', endColorstr='#008fc9', GradientType=0); +} + +.tabsbar .tablink { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#d3d3d3 50%, #f8f8f8', GradientType=0); +} + +.tabsbar .selected a { + background-color: #fff; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#efefef', GradientType=0); +} + +.toolbar a.button.disabled, +.boxpagenav a.icon.disabled, +.pagenav a.button.disabled span.inner, +.boxfooter .listbutton.disabled .inner, +.dropbutton a.button.disabled + .dropbuttontip { + background-image: url(images/buttons.gif); +} + +/*** addressbook.css ***/ + +.contactfieldgroup { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7f7f7', endColorstr='#eeeeee', GradientType=0); +} + +.contactfieldgroup legend { + margin: -8px -8px 8px -8px; + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0', endColorstr='#d6d6d6', GradientType=0); +} + + +/*** mail.css ***/ + +#messagelistfooter { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb', endColorstr='#c6c6c6', GradientType=0); +} + +#mailboxlist li.mailbox .unreadcount { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#82acb5', endColorstr='#6a939f', GradientType=0); +} + +#mailboxlist li.mailbox.selected > a .unreadcount { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#005d76', endColorstr='#004558', GradientType=0); +} + +#messageheader, #partheader, #composeheaders { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f0f0f0', GradientType=0); +} + +.moreheaderstoggle { + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbfbfb', endColorstr='#e9e9e9', GradientType=1); +} + +#messagelist tbody tr td span.branch div { + float: left; + height: 18px; +} + +a.button.disabled span.inner, +a.iconbutton.disabled, +.boxfooter .listbutton.disabled .inner, +.boxpagenav a.icon.disabled, +.toolbar a.button.disabled { + filter: alpha(opacity=40); +} + +.dropbutton a.button.disabled + .dropbuttontip { + filter: alpha(opacity=50); +} + +select.decorated { + filter: alpha(opacity=0); +} + +ul.toolbarmenu li span.icon { + filter: alpha(opacity=20); +} + +ul.toolbarmenu li a.active span.icon { + filter: alpha(opacity=100); +} + +.minimal #topline:hover, +#rcmdraglayer { + filter: alpha(opacity=93); +} diff --git a/plugins/legacy_browser/skins/larry/images/buttons.gif b/plugins/legacy_browser/skins/larry/images/buttons.gif Binary files differnew file mode 100644 index 000000000..8a4a78ee4 --- /dev/null +++ b/plugins/legacy_browser/skins/larry/images/buttons.gif diff --git a/plugins/legacy_browser/tests/LegacyBrowser.php b/plugins/legacy_browser/tests/LegacyBrowser.php new file mode 100644 index 000000000..7a35ee5b6 --- /dev/null +++ b/plugins/legacy_browser/tests/LegacyBrowser.php @@ -0,0 +1,23 @@ +<?php + +class Legacy_Browser_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../legacy_browser.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new legacy_browser($rcube->api); + + $this->assertInstanceOf('legacy_browser', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/managesieve/Changelog b/plugins/managesieve/Changelog new file mode 100644 index 000000000..2618c6094 --- /dev/null +++ b/plugins/managesieve/Changelog @@ -0,0 +1,338 @@ +* version 8.4 [2015-04-20] +----------------------------------------------------------- +- Add option to prepopulate vacation addresses on form init (#1490030) +- Add option to define default vacation interval +- Fix missing position idicator in Larry skin when dragging a filter +- Fix incorrect filter data after filter delete (#1490356) + +* version 8.3 [2015-03-12] +----------------------------------------------------------- +- Fix PHP fatal error when visiting Vacation interface and there's no sieve script yet +- Fix handling of header test with one-element array as header name +- Fix missing host:port in connection error message + +* version 8.2 [2015-01-14] +----------------------------------------------------------- +- Fix bug where actions without if/elseif/else in sieve scripts were skipped +- Support "not allof" test as a negation of all sub-tests +- Fix bug where vacation rule was saved to wrong script if managesieve_kolab_master=true +- Improve procedure of script selection to write a vacation rule + +* version 8.1 [2014-12-09] +----------------------------------------------------------- +- Added simple API to manage vacation rule +- Fix missing css/js scripts in filter form in mail task +- Fix default vacation status (#1490019) +- Make possible to set vacation start/end date and time +- Fix compatibility with contextmenu plugin + +* version 8.0 [2014-07-16] +----------------------------------------------------------- +- Fix bug where non-existing (or unsubscribed) folder wasn't listed in folder selector (#1489956) +- Added optional separate interface for out-of-office management (#1488266) +- Fix disabled "create filter" action +- Fix enotify/notify extension handling +- Improved UI accessibility +- Added option to specify connection socket parameters - managesieve_conn_options +- Support vacation date rules without date extension (#1489978) + +* version 7.2 [2014-02-14] +----------------------------------------------------------- +- Nicely handle server-side modification of script names (#1489412) +- Add Filters tab/section using plugin API hook +- Fix issue where folder selector wasn't visible on new filter form +- Fix issue where multi-select fields were not visible in new filter action rows (#1489600) +- Fix issue in displaying filter form when managesieve_kolab_master=true + and sieve variables extension is supported by the server (#1489599) +- Fix wrong action folder selection if managesieve_domains is not empty (#1489617) +- Fix filter creation from an email when preview frame is disabled (#1489647) + +* version 7.1 [2013-11-22] +----------------------------------------------------------- +- lib/Net_Sieve.php moved to Roundcube /lib directory +- Added managesieve_domains option to limit redirect destinations +- Fix bug where at least one additional address of vacation message was required (#1489345) +- Fix so i;ascii-numeric comparator is not forced as default for :count and :value operators +- Fix date/currentdate related form issues and comparators handling (#1489346) +- Fix a bug where deleted filter was not removed from the list + +* version 7.0 [2013-09-09] +----------------------------------------------------------- +- Add vacation-seconds extension support (RFC 6131) +- Several script parser code improvements +- Support string list arguments in filter form (#1489018) +- Support date, currendate and index tests - RFC5260 (#1488120) +- Split plugin file into two files +- Fix handling of &, <, > characters in scripts/filter names (#1489208) +- Support 'keep' action (#1489226) +- Add common headers to header selector (#1489271) + +* version 6.2 [2013-02-17] +----------------------------------------------------------- +- Support tls:// prefix in managesieve_host option +- Removed depracated functions usage +- Don't trim whitespace in folder names (#1488955) + +* version 6.1 [2012-12-21] +----------------------------------------------------------- +- Fixed filter activation/deactivation confirmation message (#1488765) +- Moved rcube_* classes to <plugin>/lib/Roundcube for compat. with Roundcube Framework autoloader +- Fixed filter selection after filter deletion (#1488832) +- Fixed compatibility with jQueryUI-1.9 +- Don't force 'stop' action on last rule in a script + +* version 6.0 [2012-10-03] +----------------------------------------------------------- +- Fixed issue with DBMail bug [http://pear.php.net/bugs/bug.php?id=19077] (#1488594) +- Added support for enotify/notify (RFC5435, RFC5436, draft-ietf-sieve-notify-00) +- Change default port to 4190 (IANA-allocated), add port auto-detection (#1488713) +- Added request size limits detection and script corruption prevention (#1488648) +- Fix so scripts listed in managesieve_filename_exceptions aren't displayed on the list (#1488724) + +* version 5.2 [2012-07-24] +----------------------------------------------------------- +- Added GUI for variables setting - RFC5229 (patch from Paweł Słowik) +- Fixed scrollbars in Larry's iframes +- Fix performance issue in message_headers_output hook handling + +* version 5.1 [2012-06-21] +----------------------------------------------------------- +- Fixed filter popup width (for non-english localizations) +- Fixed tokenizer infinite loop on invalid script content +- Larry skin support +- Fixed custom header name validity check, made RFC2822-compliant + +* version 5.0 [2012-01-05] +----------------------------------------------------------- +- Fixed setting test type to :is when none is specified +- Fixed javascript error in IE8 +- Fixed possible ID duplication when adding filter rules very fast (#1488288) +- Fixed bug where drag layer wasn't removed when dragging was ended over sets list + +* version 5.0-rc1 [2011-11-17] +----------------------------------------------------------- +- Fixed sorting of scripts, scripts including aware of the sort order +- Fixed import of rules with unsupported tests +- Added 'address' and 'envelope' tests support +- Added 'body' extension support (RFC5173) +- Added 'subaddress' extension support (RFC5233) +- Added comparators support +- Changed Sender/Recipient labels to From/To +- Fixed importing rule names from Ingo +- Fixed handling of extensions disabled in config + +* version 5.0-beta [2011-10-17] +----------------------------------------------------------- +- Added possibility to create a filter based on selected message "in-place" +- Fixed import from Horde-INGO (#1488064) +- Add managesieve_script_name option for default name of the script (#1487956) +- Fixed handling of enabled magic_quotes_gpc setting +- Fixed PHP warning on connection error when submitting filter form +- Fixed bug where new action row with flags wasn't handled properly +- Added managesieve_connect hook for plugins +- Fixed doubled Filter tab on page refresh +- Added filters set selector in filter form when invoked in mail task +- Improved script parser, added support for include and variables extensions +- Added Kolab's KEP:14 support (http://wiki.kolab.org/User:Greve/Drafts/KEP:14) +- Use smaller action/rule buttons +- UI redesign: added possibility to move filter to any place using drag&drop + (instead of up/down buttons), added filter sets list object, added more + 'loading' messages +- Added option to hide some scripts (managesieve_filename_exceptions) + +* version 4.3 [2011-07-28] +----------------------------------------------------------- +- Fixed handling of error in Net_Sieve::listScripts() +- Fixed handling of REFERRAL responses (http://pear.php.net/bugs/bug.php?id=17107) +- Fixed bug where wrong folders hierarchy was displayed on folders listing + +* version 4.2 [2011-05-24] +----------------------------------------------------------- +- Moved elsif replacement code to handle only imports from other formats +- Fixed mod_mailbox() usage for newer Roundcube versions +- Fixed regex extension (error: regex require missing) + +* version 4.1 [2011-03-07] +----------------------------------------------------------- +- Fix fileinto target is always INBOX (#1487776) +- Fix escaping of backslash character in quoted strings (#1487780) +- Fix handling of non-safe characters (double-quote, backslash) + or UTF-8 characters (dovecot's implementation bug workaround) + in script names +- Fix saving of a script using flags extension on servers with imap4flags support (#1487825) + +* version 4.0 [2011-02-10] +----------------------------------------------------------- +- Fix STARTTLS for timsieved < 2.3.10 +- Added :regex and :matches support (#1487746) +- Added setflag/addflag/removeflag support (#1487449) +- Added support for vacation :subject field (#1487120) +- rcube_sieve_script class moved to separate file +- Moved javascript code from skin templates into managesieve.js file + +* version 3.0 [2011-02-01] +----------------------------------------------------------- +- Added support for SASL proxy authentication (#1486691) +- Fixed parsing of scripts with \r\n line separator +- Apply forgotten changes for form errors handling +- Fix multi-line strings parsing (#1487685) +- Added tests for script parser +- Rewritten script parser +- Fix double request when clicking on Filters tab using Firefox + +* version 2.10 [2010-10-10] +----------------------------------------------------------- +- Fixed import from Avelsieve +- Use localized size units (#1486976) +- Added support for relational operators and i;ascii-numeric comparator +- Added popups with form errors + +* version 2.9 [2010-08-02] +----------------------------------------------------------- +- Fixed vacation parameters parsing (#1486883) + +* version 2.8 [2010-07-08] +----------------------------------------------------------- +- Added managesieve_auth_type option (#1486731) + +* version 2.7 [2010-07-06] +----------------------------------------------------------- +- Update Net_Sieve to version 1.3.0 (fixes LOGIN athentication) +- Added support for copying and copy sending of messages (COPY extension) + +* version 2.6 [2010-06-03] +----------------------------------------------------------- +- Support %n and %d variables in managesieve_host option + +* version 2.5 [2010-05-04] +----------------------------------------------------------- +- Fix filters set label after activation +- Fix filters set activation, add possibility to deactivate sets (#1486699) +- Fix download button state when sets list is empty +- Fix errors when sets list is empty + +* version 2.4 [2010-04-01] +----------------------------------------------------------- +- Fixed bug in DIGEST-MD5 authentication (http://pear.php.net/bugs/bug.php?id=17285) +- Fixed disabling rules with many tests +- Small css unification with core +- Scripts import/export + +* version 2.3 [2010-03-18] +----------------------------------------------------------- +- Added import from Horde-INGO +- Support for more than one match using if+stop instead of if+elsif structures (#1486078) +- Support for selectively disabling rules within a single sieve script (#1485882) +- Added vertical splitter + +* version 2.2 [2010-02-06] +----------------------------------------------------------- +- Fix handling of "<>" characters in filter names (#1486477) + +* version 2.1 [2010-01-12] +----------------------------------------------------------- +- Fix "require" structure generation when many modules are used +- Fix problem with '<' and '>' characters in header tests + +* version 2.0 [2009-11-02] +----------------------------------------------------------- +- Added 'managesieve_debug' option +- Added multi-script support +- Small css improvements + sprite image buttons +- PEAR::NetSieve 1.2.0b1 + +* version 1.7 [2009-09-20] +----------------------------------------------------------- +- Support multiple managesieve hosts using %h variable + in managesieve_host option +- Fix first rule deleting (#1486140) + +* version 1.6 [2009-09-08] +----------------------------------------------------------- +- Fix warning when importing squirrelmail rules +- Fix handling of "true" as "anyof (true)" test + +* version 1.5 [2009-09-04] +----------------------------------------------------------- +- Added es_ES, ua_UA localizations +- Added 'managesieve_mbox_encoding' option + +* version 1.4 [2009-07-29] +----------------------------------------------------------- +- Updated PEAR::Net_Sieve to 1.1.7 + +* version 1.3 [2009-07-24] +----------------------------------------------------------- +- support more languages +- support config.inc.php file + +* version 1.2 [2009-06-28] +----------------------------------------------------------- +- Support IMAP namespaces in fileinto (#1485943) +- Added it_IT localization + +* version 1.1 [2009-05-27] +----------------------------------------------------------- +- Added new icons +- Added support for headers lists (coma-separated) in rules +- Added de_CH localization + +* version 1.0 [2009-05-21] +----------------------------------------------------------- +- Rewritten using plugin API +- Added hu_HU localization (Tamas Tevesz) + +* version beta7 (svn-r2300) [2009-03-01] +----------------------------------------------------------- +- Added SquirrelMail script auto-import (Jonathan Ernst) +- Added 'vacation' support (Jonathan Ernst & alec) +- Added 'stop' support (Jonathan Ernst) +- Added option for extensions disabling (Jonathan Ernst & alec) +- Added fi_FI, nl_NL, bg_BG localization +- Small style fixes + +* version 0.2-stable1 (svn-r2205) [2009-01-03] +----------------------------------------------------------- +- Fix moving down filter row +- Fixes for compressed js files in stable release package +- Created patch for svn version r2205 + +* version 0.2-stable [2008-12-31] +----------------------------------------------------------- +- Added ru_RU, fr_FR, zh_CN translation +- Fixes for Roundcube 0.2-stable + +* version 0.2-beta [2008-09-21] +----------------------------------------------------------- +- Small css fixes for IE +- Fixes for Roundcube 0.2-beta + +* version beta6 [2008-08-08] +----------------------------------------------------------- +- Added de_DE translation +- Fix for Roundcube r1634 + +* version beta5 [2008-06-10] +----------------------------------------------------------- +- Fixed 'exists' operators +- Fixed 'not*' operators for custom headers +- Fixed filters deleting + +* version beta4 [2008-06-09] +----------------------------------------------------------- +- Fix for Roundcube r1490 + +* version beta3 [2008-05-22] +----------------------------------------------------------- +- Fixed textarea error class setting +- Added pagetitle setting +- Added option 'managesieve_replace_delimiter' +- Fixed errors on IE (still need some css fixes) + +* version beta2 [2008-05-20] +----------------------------------------------------------- +- Use 'if' only for first filter and 'elsif' for the rest + +* version beta1 [2008-05-15] +----------------------------------------------------------- +- Initial version for Roundcube r1388. diff --git a/plugins/managesieve/composer.json b/plugins/managesieve/composer.json new file mode 100644 index 000000000..529167f23 --- /dev/null +++ b/plugins/managesieve/composer.json @@ -0,0 +1,29 @@ +{ + "name": "roundcube/managesieve", + "type": "roundcube-plugin", + "description": "Adds a possibility to manage Sieve scripts (incoming mail filters). It's clickable interface which operates on text scripts and communicates with server using managesieve protocol. Adds Filters tab in Settings.", + "license": "GPLv3+", + "version": "8.3", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + }, + { + "type": "pear", + "url": "http://pear.php.net/" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3", + "pear-pear/Net_Sieve": ">=1.3.2" + } +} diff --git a/plugins/managesieve/config.inc.php.dist b/plugins/managesieve/config.inc.php.dist new file mode 100644 index 000000000..835db538c --- /dev/null +++ b/plugins/managesieve/config.inc.php.dist @@ -0,0 +1,100 @@ +<?php + +// managesieve server port. When empty the port will be determined automatically +// using getservbyname() function, with 4190 as a fallback. +$config['managesieve_port'] = null; + +// managesieve server address, default is localhost. +// Replacement variables supported in host name: +// %h - user's IMAP hostname +// %n - http hostname ($_SERVER['SERVER_NAME']) +// %d - domain (http hostname without the first part) +// For example %n = mail.domain.tld, %d = domain.tld +$config['managesieve_host'] = 'localhost'; + +// authentication method. Can be CRAM-MD5, DIGEST-MD5, PLAIN, LOGIN, EXTERNAL +// or none. Optional, defaults to best method supported by server. +$config['managesieve_auth_type'] = null; + +// Optional managesieve authentication identifier to be used as authorization proxy. +// Authenticate as a different user but act on behalf of the logged in user. +// Works with PLAIN and DIGEST-MD5 auth. +$config['managesieve_auth_cid'] = null; + +// Optional managesieve authentication password to be used for imap_auth_cid +$config['managesieve_auth_pw'] = null; + +// use or not TLS for managesieve server connection +// Note: tls:// prefix in managesieve_host is also supported +$config['managesieve_usetls'] = false; + +// Connection scket context options +// See http://php.net/manual/en/context.ssl.php +// The example below enables server certificate validation +//$config['managesieve_conn_options'] = array( +// 'ssl' => array( +// 'verify_peer' => true, +// 'verify_depth' => 3, +// 'cafile' => '/etc/openssl/certs/ca.crt', +// ), +// ); +$config['managesieve_conn_options'] = null; + +// default contents of filters script (eg. default spam filter) +$config['managesieve_default'] = '/etc/dovecot/sieve/global'; + +// The name of the script which will be used when there's no user script +$config['managesieve_script_name'] = 'managesieve'; + +// Sieve RFC says that we should use UTF-8 endcoding for mailbox names, +// but some implementations does not covert UTF-8 to modified UTF-7. +// Defaults to UTF7-IMAP +$config['managesieve_mbox_encoding'] = 'UTF-8'; + +// I need this because my dovecot (with listescape plugin) uses +// ':' delimiter, but creates folders with dot delimiter +$config['managesieve_replace_delimiter'] = ''; + +// disabled sieve extensions (body, copy, date, editheader, encoded-character, +// envelope, environment, ereject, fileinto, ihave, imap4flags, index, +// mailbox, mboxmetadata, regex, reject, relational, servermetadata, +// spamtest, spamtestplus, subaddress, vacation, variables, virustest, etc. +// Note: not all extensions are implemented +$config['managesieve_disabled_extensions'] = array(); + +// Enables debugging of conversation with sieve server. Logs it into <log_dir>/sieve +$config['managesieve_debug'] = false; + +// Enables features described in http://wiki.kolab.org/KEP:14 +$config['managesieve_kolab_master'] = false; + +// Script name extension used for scripts including. Dovecot uses '.sieve', +// Cyrus uses '.siv'. Doesn't matter if you have managesieve_kolab_master disabled. +$config['managesieve_filename_extension'] = '.sieve'; + +// List of reserved script names (without extension). +// Scripts listed here will be not presented to the user. +$config['managesieve_filename_exceptions'] = array(); + +// List of domains limiting destination emails in redirect action +// If not empty, user will need to select domain from a list +$config['managesieve_domains'] = array(); + +// Enables separate management interface for vacation responses (out-of-office) +// 0 - no separate section (default), +// 1 - add Vacation section, +// 2 - add Vacation section, but hide Filters section +$config['managesieve_vacation'] = 0; + +// Default vacation interval (in days). +// Note: If server supports vacation-seconds extension it is possible +// to define interval in seconds here (as a string), e.g. "3600s". +$config['managesieve_vacation_interval'] = 0; + +// Some servers require vacation :addresses to be filled with all +// user addresses (aliases). This option enables automatic filling +// of these on initial vacation form creation. +$config['managesieve_vacation_addresses_init'] = false; + +// Supported methods of notify extension. Default: 'mailto' +$config['managesieve_notify_methods'] = array('mailto'); diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve.php b/plugins/managesieve/lib/Roundcube/rcube_sieve.php new file mode 100644 index 000000000..59a7bc134 --- /dev/null +++ b/plugins/managesieve/lib/Roundcube/rcube_sieve.php @@ -0,0 +1,426 @@ +<?php + +/** + * Classes for managesieve operations (using PEAR::Net_Sieve) + * + * Copyright (C) 2008-2011, The Roundcube Dev Team + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +// Managesieve Protocol: RFC5804 + +class rcube_sieve +{ + private $sieve; // Net_Sieve object + private $error = false; // error flag + private $list = array(); // scripts list + + public $script; // rcube_sieve_script object + public $current; // name of currently loaded script + private $exts; // array of supported extensions + + const ERROR_CONNECTION = 1; + const ERROR_LOGIN = 2; + const ERROR_NOT_EXISTS = 3; // script not exists + const ERROR_INSTALL = 4; // script installation + const ERROR_ACTIVATE = 5; // script activation + const ERROR_DELETE = 6; // script deletion + const ERROR_INTERNAL = 7; // internal error + const ERROR_DEACTIVATE = 8; // script activation + const ERROR_OTHER = 255; // other/unknown error + + + /** + * Object constructor + * + * @param string Username (for managesieve login) + * @param string Password (for managesieve login) + * @param string Managesieve server hostname/address + * @param string Managesieve server port number + * @param string Managesieve authentication method + * @param boolean Enable/disable TLS use + * @param array Disabled extensions + * @param boolean Enable/disable debugging + * @param string Proxy authentication identifier + * @param string Proxy authentication password + * @param array List of options to pass to stream_context_create(). + */ + public function __construct($username, $password='', $host='localhost', $port=2000, + $auth_type=null, $usetls=true, $disabled=array(), $debug=false, + $auth_cid=null, $auth_pw=null, $options=array()) + { + $this->sieve = new Net_Sieve(); + + if ($debug) { + $this->sieve->setDebug(true, array($this, 'debug_handler')); + } + + $result = $this->sieve->connect($host, $port, $options, $usetls); + + if (is_a($result, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_CONNECTION); + } + + if (!empty($auth_cid)) { + $authz = $username; + $username = $auth_cid; + $password = $auth_pw; + } + + $result = $this->sieve->login($username, $password, $auth_type ? strtoupper($auth_type) : null, $authz); + + if (is_a($result, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_LOGIN); + } + + $this->exts = $this->get_extensions(); + + // disable features by config + if (!empty($disabled)) { + // we're working on lower-cased names + $disabled = array_map('strtolower', (array) $disabled); + foreach ($disabled as $ext) { + if (($idx = array_search($ext, $this->exts)) !== false) { + unset($this->exts[$idx]); + } + } + } + } + + public function __destruct() { + $this->sieve->disconnect(); + } + + /** + * Getter for error code + */ + public function error() + { + return $this->error ? $this->error : false; + } + + /** + * Saves current script into server + */ + public function save($name = null) + { + if (!$this->sieve) { + return $this->_set_error(self::ERROR_INTERNAL); + } + + if (!$this->script) { + return $this->_set_error(self::ERROR_INTERNAL); + } + + if (!$name) { + $name = $this->current; + } + + $script = $this->script->as_text(); + + if (!$script) { + $script = '/* empty script */'; + } + + $result = $this->sieve->installScript($name, $script); + if (is_a($result, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_INSTALL); + } + + return true; + } + + /** + * Saves text script into server + */ + public function save_script($name, $content = null) + { + if (!$this->sieve) { + return $this->_set_error(self::ERROR_INTERNAL); + } + + if (!$content) { + $content = '/* empty script */'; + } + + $result = $this->sieve->installScript($name, $content); + + if (is_a($result, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_INSTALL); + } + + return true; + } + + /** + * Activates specified script + */ + public function activate($name = null) + { + if (!$this->sieve) { + return $this->_set_error(self::ERROR_INTERNAL); + } + + if (!$name) { + $name = $this->current; + } + + $result = $this->sieve->setActive($name); + + if (is_a($result, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_ACTIVATE); + } + + return true; + } + + /** + * De-activates specified script + */ + public function deactivate() + { + if (!$this->sieve) { + return $this->_set_error(self::ERROR_INTERNAL); + } + + $result = $this->sieve->setActive(''); + + if (is_a($result, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_DEACTIVATE); + } + + return true; + } + + /** + * Removes specified script + */ + public function remove($name = null) + { + if (!$this->sieve) { + return $this->_set_error(self::ERROR_INTERNAL); + } + + if (!$name) { + $name = $this->current; + } + + // script must be deactivated first + if ($name == $this->sieve->getActive()) { + $result = $this->sieve->setActive(''); + + if (is_a($result, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_DELETE); + } + } + + $result = $this->sieve->removeScript($name); + + if (is_a($result, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_DELETE); + } + + if ($name == $this->current) { + $this->current = null; + } + + return true; + } + + /** + * Gets list of supported by server Sieve extensions + */ + public function get_extensions() + { + if ($this->exts) + return $this->exts; + + if (!$this->sieve) + return $this->_set_error(self::ERROR_INTERNAL); + + $ext = $this->sieve->getExtensions(); + + if (is_a($ext, 'PEAR_Error')) { + return array(); + } + + // we're working on lower-cased names + $ext = array_map('strtolower', (array) $ext); + + if ($this->script) { + $supported = $this->script->get_extensions(); + foreach ($ext as $idx => $ext_name) + if (!in_array($ext_name, $supported)) + unset($ext[$idx]); + } + + return array_values($ext); + } + + /** + * Gets list of scripts from server + */ + public function get_scripts() + { + if (!$this->list) { + + if (!$this->sieve) + return $this->_set_error(self::ERROR_INTERNAL); + + $list = $this->sieve->listScripts(); + + if (is_a($list, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_OTHER); + } + + $this->list = $list; + } + + return $this->list; + } + + /** + * Returns active script name + */ + public function get_active() + { + if (!$this->sieve) + return $this->_set_error(self::ERROR_INTERNAL); + + return $this->sieve->getActive(); + } + + /** + * Loads script by name + */ + public function load($name) + { + if (!$this->sieve) + return $this->_set_error(self::ERROR_INTERNAL); + + if ($this->current == $name) + return true; + + $script = $this->sieve->getScript($name); + + if (is_a($script, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_OTHER); + } + + // try to parse from Roundcube format + $this->script = $this->_parse($script); + + $this->current = $name; + + return true; + } + + /** + * Loads script from text content + */ + public function load_script($script) + { + if (!$this->sieve) + return $this->_set_error(self::ERROR_INTERNAL); + + // try to parse from Roundcube format + $this->script = $this->_parse($script); + } + + /** + * Creates rcube_sieve_script object from text script + */ + private function _parse($txt) + { + // parse + $script = new rcube_sieve_script($txt, $this->exts); + + // fix/convert to Roundcube format + if (!empty($script->content)) { + // replace all elsif with if+stop, we support only ifs + foreach ($script->content as $idx => $rule) { + if (empty($rule['type']) || !preg_match('/^(if|elsif|else)$/', $rule['type'])) { + continue; + } + + $script->content[$idx]['type'] = 'if'; + + // 'stop' not found? + foreach ($rule['actions'] as $action) { + if (preg_match('/^(stop|vacation)$/', $action['type'])) { + continue 2; + } + } + if (!empty($script->content[$idx+1]) && $script->content[$idx+1]['type'] != 'if') { + $script->content[$idx]['actions'][] = array('type' => 'stop'); + } + } + } + + return $script; + } + + /** + * Gets specified script as text + */ + public function get_script($name) + { + if (!$this->sieve) + return $this->_set_error(self::ERROR_INTERNAL); + + $content = $this->sieve->getScript($name); + + if (is_a($content, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_OTHER); + } + + return $content; + } + + /** + * Creates empty script or copy of other script + */ + public function copy($name, $copy) + { + if (!$this->sieve) + return $this->_set_error(self::ERROR_INTERNAL); + + if ($copy) { + $content = $this->sieve->getScript($copy); + + if (is_a($content, 'PEAR_Error')) { + return $this->_set_error(self::ERROR_OTHER); + } + } + + + return $this->save_script($name, $content); + } + + private function _set_error($error) + { + $this->error = $error; + return false; + } + + /** + * This is our own debug handler for connection + */ + public function debug_handler(&$sieve, $message) + { + rcube::write_log('sieve', preg_replace('/\r\n$/', '', $message)); + } +} diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php new file mode 100644 index 000000000..362c529e5 --- /dev/null +++ b/plugins/managesieve/lib/Roundcube/rcube_sieve_engine.php @@ -0,0 +1,2419 @@ +<?php + +/** + * Managesieve (Sieve Filters) Engine + * + * Engine part of Managesieve plugin implementing UI and backend access. + * + * Copyright (C) 2008-2014, The Roundcube Dev Team + * Copyright (C) 2011-2014, Kolab Systems AG + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_sieve_engine +{ + protected $rc; + protected $sieve; + protected $errors; + protected $form; + protected $tips = array(); + protected $script = array(); + protected $exts = array(); + protected $list; + protected $active = array(); + protected $headers = array( + 'subject' => 'Subject', + 'from' => 'From', + 'to' => 'To', + ); + protected $addr_headers = array( + // Required + "from", "to", "cc", "bcc", "sender", "resent-from", "resent-to", + // Additional (RFC 822 / RFC 2822) + "reply-to", "resent-reply-to", "resent-sender", "resent-cc", "resent-bcc", + // Non-standard (RFC 2076, draft-palme-mailext-headers-08.txt) + "for-approval", "for-handling", "for-comment", "apparently-to", "errors-to", + "delivered-to", "return-receipt-to", "x-admin", "read-receipt-to", + "x-confirm-reading-to", "return-receipt-requested", + "registered-mail-reply-requested-by", "mail-followup-to", "mail-reply-to", + "abuse-reports-to", "x-complaints-to", "x-report-abuse-to", + // Undocumented + "x-beenthere", + ); + protected $notify_methods = array( + 'mailto', + // 'sms', + // 'tel', + ); + protected $notify_importance_options = array( + 3 => 'notifyimportancelow', + 2 => 'notifyimportancenormal', + 1 => 'notifyimportancehigh' + ); + + const VERSION = '8.4'; + const PROGNAME = 'Roundcube (Managesieve)'; + const PORT = 4190; + + + /** + * Class constructor + */ + function __construct($plugin) + { + $this->rc = rcube::get_instance(); + $this->plugin = $plugin; + } + + /** + * Loads configuration, initializes plugin (including sieve connection) + */ + function start($mode = null) + { + // register UI objects + $this->rc->output->add_handlers(array( + 'filterslist' => array($this, 'filters_list'), + 'filtersetslist' => array($this, 'filtersets_list'), + 'filterframe' => array($this, 'filter_frame'), + 'filterform' => array($this, 'filter_form'), + 'filtersetform' => array($this, 'filterset_form'), + )); + + // connect to managesieve server + $error = $this->connect($_SESSION['username'], $this->rc->decrypt($_SESSION['password'])); + + // load current/active script + if (!$error) { + // Get list of scripts + $list = $this->list_scripts(); + + // reset current script when entering filters UI (#1489412) + if ($this->rc->action == 'plugin.managesieve') { + $this->rc->session->remove('managesieve_current'); + } + + if ($mode != 'vacation') { + if (!empty($_GET['_set']) || !empty($_POST['_set'])) { + $script_name = rcube_utils::get_input_value('_set', rcube_utils::INPUT_GPC, true); + } + else if (!empty($_SESSION['managesieve_current'])) { + $script_name = $_SESSION['managesieve_current']; + } + } + + $error = $this->load_script($script_name); + } + + // finally set script objects + if ($error) { + switch ($error) { + case rcube_sieve::ERROR_CONNECTION: + case rcube_sieve::ERROR_LOGIN: + $this->rc->output->show_message('managesieve.filterconnerror', 'error'); + break; + + default: + $this->rc->output->show_message('managesieve.filterunknownerror', 'error'); + break; + } + + // reload interface in case of possible error when specified script wasn't found (#1489412) + if ($script_name !== null && !empty($list) && !in_array($script_name, $list)) { + $this->rc->output->command('reload', 500); + } + + // to disable 'Add filter' button set env variable + $this->rc->output->set_env('filterconnerror', true); + $this->script = array(); + } + else { + $this->exts = $this->sieve->get_extensions(); + $this->init_script(); + $this->rc->output->set_env('currentset', $this->sieve->current); + $_SESSION['managesieve_current'] = $this->sieve->current; + } + + return $error; + } + + /** + * Connect to configured managesieve server + * + * @param string $username User login + * @param string $password User password + * + * @return int Connection status: 0 on success, >0 on failure + */ + public function connect($username, $password) + { + // Get connection parameters + $host = $this->rc->config->get('managesieve_host', 'localhost'); + $port = $this->rc->config->get('managesieve_port'); + $tls = $this->rc->config->get('managesieve_usetls', false); + + $host = rcube_utils::parse_host($host); + $host = rcube_utils::idn_to_ascii($host); + + // remove tls:// prefix, set TLS flag + if (($host = preg_replace('|^tls://|i', '', $host, 1, $cnt)) && $cnt) { + $tls = true; + } + + if (empty($port)) { + $port = getservbyname('sieve', 'tcp'); + if (empty($port)) { + $port = self::PORT; + } + } + + $plugin = $this->rc->plugins->exec_hook('managesieve_connect', array( + 'user' => $username, + 'password' => $password, + 'host' => $host, + 'port' => $port, + 'usetls' => $tls, + 'auth_type' => $this->rc->config->get('managesieve_auth_type'), + 'disabled' => $this->rc->config->get('managesieve_disabled_extensions'), + 'debug' => $this->rc->config->get('managesieve_debug', false), + 'auth_cid' => $this->rc->config->get('managesieve_auth_cid'), + 'auth_pw' => $this->rc->config->get('managesieve_auth_pw'), + 'socket_options' => $this->rc->config->get('managesieve_conn_options'), + )); + + // try to connect to managesieve server and to fetch the script + $this->sieve = new rcube_sieve( + $plugin['user'], + $plugin['password'], + $plugin['host'], + $plugin['port'], + $plugin['auth_type'], + $plugin['usetls'], + $plugin['disabled'], + $plugin['debug'], + $plugin['auth_cid'], + $plugin['auth_pw'], + $plugin['socket_options'] + ); + + $error = $this->sieve->error(); + + if ($error) { + rcube::raise_error(array( + 'code' => 403, + 'file' => __FILE__, + 'line' => __LINE__, + 'message' => "Unable to connect to managesieve on $host:$port" + ), true, false); + } + + return $error; + } + + /** + * Load specified (or active) script + * + * @param string $script_name Optional script name + * + * @return int Connection status: 0 on success, >0 on failure + */ + protected function load_script($script_name = null) + { + // Get list of scripts + $list = $this->list_scripts(); + + if ($script_name === null || $script_name === '') { + // get (first) active script + if (!empty($this->active)) { + $script_name = $this->active[0]; + } + else if ($list) { + $script_name = $list[0]; + } + // create a new (initial) script + else { + // if script not exists build default script contents + $script_file = $this->rc->config->get('managesieve_default'); + $script_name = $this->rc->config->get('managesieve_script_name'); + + if (empty($script_name)) { + $script_name = 'roundcube'; + } + + if ($script_file && is_readable($script_file)) { + $content = file_get_contents($script_file); + } + + // add script and set it active + if ($this->sieve->save_script($script_name, $content)) { + $this->activate_script($script_name); + $this->list[] = $script_name; + } + } + } + + if ($script_name) { + $this->sieve->load($script_name); + } + + return $this->sieve->error(); + } + + /** + * User interface actions handler + */ + function actions() + { + $error = $this->start(); + + // Handle user requests + if ($action = rcube_utils::get_input_value('_act', rcube_utils::INPUT_GPC)) { + $fid = (int) rcube_utils::get_input_value('_fid', rcube_utils::INPUT_POST); + + if ($action == 'delete' && !$error) { + if (isset($this->script[$fid])) { + if ($this->sieve->script->delete_rule($fid)) + $result = $this->save_script(); + + if ($result === true) { + $this->rc->output->show_message('managesieve.filterdeleted', 'confirmation'); + $this->rc->output->command('managesieve_updatelist', 'del', array('id' => $fid)); + } else { + $this->rc->output->show_message('managesieve.filterdeleteerror', 'error'); + } + } + } + else if ($action == 'move' && !$error) { + if (isset($this->script[$fid])) { + $to = (int) rcube_utils::get_input_value('_to', rcube_utils::INPUT_POST); + $rule = $this->script[$fid]; + + // remove rule + unset($this->script[$fid]); + $this->script = array_values($this->script); + + // add at target position + if ($to >= count($this->script)) { + $this->script[] = $rule; + } + else { + $script = array(); + foreach ($this->script as $idx => $r) { + if ($idx == $to) + $script[] = $rule; + $script[] = $r; + } + $this->script = $script; + } + + $this->sieve->script->content = $this->script; + $result = $this->save_script(); + + if ($result === true) { + $result = $this->list_rules(); + + $this->rc->output->show_message('managesieve.moved', 'confirmation'); + $this->rc->output->command('managesieve_updatelist', 'list', + array('list' => $result, 'clear' => true, 'set' => $to)); + } else { + $this->rc->output->show_message('managesieve.moveerror', 'error'); + } + } + } + else if ($action == 'act' && !$error) { + if (isset($this->script[$fid])) { + $rule = $this->script[$fid]; + $disabled = $rule['disabled'] ? true : false; + $rule['disabled'] = !$disabled; + $result = $this->sieve->script->update_rule($fid, $rule); + + if ($result !== false) + $result = $this->save_script(); + + if ($result === true) { + if ($rule['disabled']) + $this->rc->output->show_message('managesieve.deactivated', 'confirmation'); + else + $this->rc->output->show_message('managesieve.activated', 'confirmation'); + $this->rc->output->command('managesieve_updatelist', 'update', + array('id' => $fid, 'disabled' => $rule['disabled'])); + } else { + if ($rule['disabled']) + $this->rc->output->show_message('managesieve.deactivateerror', 'error'); + else + $this->rc->output->show_message('managesieve.activateerror', 'error'); + } + } + } + else if ($action == 'setact' && !$error) { + $script_name = rcube_utils::get_input_value('_set', rcube_utils::INPUT_POST, true); + $result = $this->activate_script($script_name); + $kep14 = $this->rc->config->get('managesieve_kolab_master'); + + if ($result === true) { + $this->rc->output->set_env('active_sets', $this->active); + $this->rc->output->show_message('managesieve.setactivated', 'confirmation'); + $this->rc->output->command('managesieve_updatelist', 'setact', + array('name' => $script_name, 'active' => true, 'all' => !$kep14)); + } else { + $this->rc->output->show_message('managesieve.setactivateerror', 'error'); + } + } + else if ($action == 'deact' && !$error) { + $script_name = rcube_utils::get_input_value('_set', rcube_utils::INPUT_POST, true); + $result = $this->deactivate_script($script_name); + + if ($result === true) { + $this->rc->output->set_env('active_sets', $this->active); + $this->rc->output->show_message('managesieve.setdeactivated', 'confirmation'); + $this->rc->output->command('managesieve_updatelist', 'setact', + array('name' => $script_name, 'active' => false)); + } else { + $this->rc->output->show_message('managesieve.setdeactivateerror', 'error'); + } + } + else if ($action == 'setdel' && !$error) { + $script_name = rcube_utils::get_input_value('_set', rcube_utils::INPUT_POST, true); + $result = $this->remove_script($script_name); + + if ($result === true) { + $this->rc->output->show_message('managesieve.setdeleted', 'confirmation'); + $this->rc->output->command('managesieve_updatelist', 'setdel', + array('name' => $script_name)); + $this->rc->session->remove('managesieve_current'); + } else { + $this->rc->output->show_message('managesieve.setdeleteerror', 'error'); + } + } + else if ($action == 'setget') { + $script_name = rcube_utils::get_input_value('_set', rcube_utils::INPUT_GPC, true); + $script = $this->sieve->get_script($script_name); + + if (is_a($script, 'PEAR_Error')) { + exit; + } + + $browser = new rcube_browser; + + // send download headers + header("Content-Type: application/octet-stream"); + header("Content-Length: ".strlen($script)); + + if ($browser->ie) { + header("Content-Type: application/force-download"); + $filename = rawurlencode($script_name); + } + else { + $filename = addcslashes($script_name, '\\"'); + } + + header("Content-Disposition: attachment; filename=\"$filename.txt\""); + echo $script; + exit; + } + else if ($action == 'list') { + $result = $this->list_rules(); + + $this->rc->output->command('managesieve_updatelist', 'list', array('list' => $result)); + } + else if ($action == 'ruleadd') { + $rid = rcube_utils::get_input_value('_rid', rcube_utils::INPUT_POST); + $id = $this->genid(); + $content = $this->rule_div($fid, $id, false); + + $this->rc->output->command('managesieve_rulefill', $content, $id, $rid); + } + else if ($action == 'actionadd') { + $aid = rcube_utils::get_input_value('_aid', rcube_utils::INPUT_POST); + $id = $this->genid(); + $content = $this->action_div($fid, $id, false); + + $this->rc->output->command('managesieve_actionfill', $content, $id, $aid); + } + else if ($action == 'addresses') { + $aid = rcube_utils::get_input_value('_aid', rcube_utils::INPUT_POST); + + $this->rc->output->command('managesieve_vacation_addresses_update', $aid, $this->user_emails()); + } + + $this->rc->output->send(); + } + else if ($this->rc->task == 'mail') { + // Initialize the form + $rules = rcube_utils::get_input_value('r', rcube_utils::INPUT_GET); + if (!empty($rules)) { + $i = 0; + foreach ($rules as $rule) { + list($header, $value) = explode(':', $rule, 2); + $tests[$i] = array( + 'type' => 'contains', + 'test' => 'header', + 'arg1' => $header, + 'arg2' => $value, + ); + $i++; + } + + $this->form = array( + 'join' => count($tests) > 1 ? 'allof' : 'anyof', + 'name' => '', + 'tests' => $tests, + 'actions' => array( + 0 => array('type' => 'fileinto'), + 1 => array('type' => 'stop'), + ), + ); + } + } + + $this->send(); + } + + function save() + { + // Init plugin and handle managesieve connection + $error = $this->start(); + + // get request size limits (#1488648) + $max_post = max(array( + ini_get('max_input_vars'), + ini_get('suhosin.request.max_vars'), + ini_get('suhosin.post.max_vars'), + )); + $max_depth = max(array( + ini_get('suhosin.request.max_array_depth'), + ini_get('suhosin.post.max_array_depth'), + )); + + // check request size limit + if ($max_post && count($_POST, COUNT_RECURSIVE) >= $max_post) { + rcube::raise_error(array( + 'code' => 500, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Request size limit exceeded (one of max_input_vars/suhosin.request.max_vars/suhosin.post.max_vars)" + ), true, false); + $this->rc->output->show_message('managesieve.filtersaveerror', 'error'); + } + // check request depth limits + else if ($max_depth && count($_POST['_header']) > $max_depth) { + rcube::raise_error(array( + 'code' => 500, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Request size limit exceeded (one of suhosin.request.max_array_depth/suhosin.post.max_array_depth)" + ), true, false); + $this->rc->output->show_message('managesieve.filtersaveerror', 'error'); + } + // filters set add action + else if (!empty($_POST['_newset'])) { + $name = rcube_utils::get_input_value('_name', rcube_utils::INPUT_POST, true); + $copy = rcube_utils::get_input_value('_copy', rcube_utils::INPUT_POST, true); + $from = rcube_utils::get_input_value('_from', rcube_utils::INPUT_POST); + $exceptions = $this->rc->config->get('managesieve_filename_exceptions'); + $kolab = $this->rc->config->get('managesieve_kolab_master'); + $name_uc = mb_strtolower($name); + $list = $this->list_scripts(); + + if (!$name) { + $this->errors['name'] = $this->plugin->gettext('cannotbeempty'); + } + else if (mb_strlen($name) > 128) { + $this->errors['name'] = $this->plugin->gettext('nametoolong'); + } + else if (!empty($exceptions) && in_array($name, (array)$exceptions)) { + $this->errors['name'] = $this->plugin->gettext('namereserved'); + } + else if (!empty($kolab) && in_array($name_uc, array('MASTER', 'USER', 'MANAGEMENT'))) { + $this->errors['name'] = $this->plugin->gettext('namereserved'); + } + else if (in_array($name, $list)) { + $this->errors['name'] = $this->plugin->gettext('setexist'); + } + else if ($from == 'file') { + // from file + if (is_uploaded_file($_FILES['_file']['tmp_name'])) { + $file = file_get_contents($_FILES['_file']['tmp_name']); + $file = preg_replace('/\r/', '', $file); + // for security don't save script directly + // check syntax before, like this... + $this->sieve->load_script($file); + if (!$this->save_script($name)) { + $this->errors['file'] = $this->plugin->gettext('setcreateerror'); + } + } + else { // upload failed + $err = $_FILES['_file']['error']; + + if ($err == UPLOAD_ERR_INI_SIZE || $err == UPLOAD_ERR_FORM_SIZE) { + $msg = $this->rc->gettext(array('name' => 'filesizeerror', + 'vars' => array('size' => + $this->rc->show_bytes(parse_bytes(ini_get('upload_max_filesize')))))); + } + else { + $this->errors['file'] = $this->plugin->gettext('fileuploaderror'); + } + } + } + else if (!$this->sieve->copy($name, $from == 'set' ? $copy : '')) { + $error = 'managesieve.setcreateerror'; + } + + if (!$error && empty($this->errors)) { + // Find position of the new script on the list + $list[] = $name; + asort($list, SORT_LOCALE_STRING); + $list = array_values($list); + $index = array_search($name, $list); + + $this->rc->output->show_message('managesieve.setcreated', 'confirmation'); + $this->rc->output->command('parent.managesieve_updatelist', 'setadd', + array('name' => $name, 'index' => $index)); + } else if ($msg) { + $this->rc->output->command('display_message', $msg, 'error'); + } else if ($error) { + $this->rc->output->show_message($error, 'error'); + } + } + // filter add/edit action + else if (isset($_POST['_name'])) { + $name = trim(rcube_utils::get_input_value('_name', rcube_utils::INPUT_POST, true)); + $fid = trim(rcube_utils::get_input_value('_fid', rcube_utils::INPUT_POST)); + $join = trim(rcube_utils::get_input_value('_join', rcube_utils::INPUT_POST)); + + // and arrays + $headers = rcube_utils::get_input_value('_header', rcube_utils::INPUT_POST); + $cust_headers = rcube_utils::get_input_value('_custom_header', rcube_utils::INPUT_POST); + $ops = rcube_utils::get_input_value('_rule_op', rcube_utils::INPUT_POST); + $sizeops = rcube_utils::get_input_value('_rule_size_op', rcube_utils::INPUT_POST); + $sizeitems = rcube_utils::get_input_value('_rule_size_item', rcube_utils::INPUT_POST); + $sizetargets = rcube_utils::get_input_value('_rule_size_target', rcube_utils::INPUT_POST); + $targets = rcube_utils::get_input_value('_rule_target', rcube_utils::INPUT_POST, true); + $mods = rcube_utils::get_input_value('_rule_mod', rcube_utils::INPUT_POST); + $mod_types = rcube_utils::get_input_value('_rule_mod_type', rcube_utils::INPUT_POST); + $body_trans = rcube_utils::get_input_value('_rule_trans', rcube_utils::INPUT_POST); + $body_types = rcube_utils::get_input_value('_rule_trans_type', rcube_utils::INPUT_POST, true); + $comparators = rcube_utils::get_input_value('_rule_comp', rcube_utils::INPUT_POST); + $indexes = rcube_utils::get_input_value('_rule_index', rcube_utils::INPUT_POST); + $lastindexes = rcube_utils::get_input_value('_rule_index_last', rcube_utils::INPUT_POST); + $dateheaders = rcube_utils::get_input_value('_rule_date_header', rcube_utils::INPUT_POST); + $dateparts = rcube_utils::get_input_value('_rule_date_part', rcube_utils::INPUT_POST); + $act_types = rcube_utils::get_input_value('_action_type', rcube_utils::INPUT_POST, true); + $mailboxes = rcube_utils::get_input_value('_action_mailbox', rcube_utils::INPUT_POST, true); + $act_targets = rcube_utils::get_input_value('_action_target', rcube_utils::INPUT_POST, true); + $domain_targets = rcube_utils::get_input_value('_action_target_domain', rcube_utils::INPUT_POST); + $area_targets = rcube_utils::get_input_value('_action_target_area', rcube_utils::INPUT_POST, true); + $reasons = rcube_utils::get_input_value('_action_reason', rcube_utils::INPUT_POST, true); + $addresses = rcube_utils::get_input_value('_action_addresses', rcube_utils::INPUT_POST, true); + $intervals = rcube_utils::get_input_value('_action_interval', rcube_utils::INPUT_POST); + $interval_types = rcube_utils::get_input_value('_action_interval_type', rcube_utils::INPUT_POST); + $subject = rcube_utils::get_input_value('_action_subject', rcube_utils::INPUT_POST, true); + $flags = rcube_utils::get_input_value('_action_flags', rcube_utils::INPUT_POST); + $varnames = rcube_utils::get_input_value('_action_varname', rcube_utils::INPUT_POST); + $varvalues = rcube_utils::get_input_value('_action_varvalue', rcube_utils::INPUT_POST); + $varmods = rcube_utils::get_input_value('_action_varmods', rcube_utils::INPUT_POST); + $notifymethods = rcube_utils::get_input_value('_action_notifymethod', rcube_utils::INPUT_POST); + $notifytargets = rcube_utils::get_input_value('_action_notifytarget', rcube_utils::INPUT_POST, true); + $notifyoptions = rcube_utils::get_input_value('_action_notifyoption', rcube_utils::INPUT_POST, true); + $notifymessages = rcube_utils::get_input_value('_action_notifymessage', rcube_utils::INPUT_POST, true); + $notifyfrom = rcube_utils::get_input_value('_action_notifyfrom', rcube_utils::INPUT_POST); + $notifyimp = rcube_utils::get_input_value('_action_notifyimportance', rcube_utils::INPUT_POST); + + // we need a "hack" for radiobuttons + foreach ($sizeitems as $item) + $items[] = $item; + + $this->form['disabled'] = $_POST['_disabled'] ? true : false; + $this->form['join'] = $join=='allof' ? true : false; + $this->form['name'] = $name; + $this->form['tests'] = array(); + $this->form['actions'] = array(); + + if ($name == '') + $this->errors['name'] = $this->plugin->gettext('cannotbeempty'); + else { + foreach($this->script as $idx => $rule) + if($rule['name'] == $name && $idx != $fid) { + $this->errors['name'] = $this->plugin->gettext('ruleexist'); + break; + } + } + + $i = 0; + // rules + if ($join == 'any') { + $this->form['tests'][0]['test'] = 'true'; + } + else { + foreach ($headers as $idx => $header) { + // targets are indexed differently (assume form order) + $target = $this->strip_value(array_shift($targets), true); + $header = $this->strip_value($header); + $operator = $this->strip_value($ops[$idx]); + $comparator = $this->strip_value($comparators[$idx]); + + if ($header == 'size') { + $sizeop = $this->strip_value($sizeops[$idx]); + $sizeitem = $this->strip_value($items[$idx]); + $sizetarget = $this->strip_value($sizetargets[$idx]); + + $this->form['tests'][$i]['test'] = 'size'; + $this->form['tests'][$i]['type'] = $sizeop; + $this->form['tests'][$i]['arg'] = $sizetarget; + + if ($sizetarget == '') + $this->errors['tests'][$i]['sizetarget'] = $this->plugin->gettext('cannotbeempty'); + else if (!preg_match('/^[0-9]+(K|M|G)?$/i', $sizetarget.$sizeitem, $m)) { + $this->errors['tests'][$i]['sizetarget'] = $this->plugin->gettext('forbiddenchars'); + $this->form['tests'][$i]['item'] = $sizeitem; + } + else + $this->form['tests'][$i]['arg'] .= $m[1]; + } + else if ($header == 'currentdate') { + $datepart = $this->strip_value($dateparts[$idx]); + + if (preg_match('/^not/', $operator)) + $this->form['tests'][$i]['not'] = true; + $type = preg_replace('/^not/', '', $operator); + + if ($type == 'exists') { + $this->errors['tests'][$i]['op'] = true; + } + + $this->form['tests'][$i]['test'] = 'currentdate'; + $this->form['tests'][$i]['type'] = $type; + $this->form['tests'][$i]['part'] = $datepart; + $this->form['tests'][$i]['arg'] = $target; + + if ($type != 'exists') { + if (!count($target)) { + $this->errors['tests'][$i]['target'] = $this->plugin->gettext('cannotbeempty'); + } + else if (strpos($type, 'count-') === 0) { + foreach ($target as $arg) { + if (preg_match('/[^0-9]/', $arg)) { + $this->errors['tests'][$i]['target'] = $this->plugin->gettext('forbiddenchars'); + } + } + } + else if (strpos($type, 'value-') === 0) { + // Some date/time formats do not support i;ascii-numeric comparator + if ($comparator == 'i;ascii-numeric' && in_array($datepart, array('date', 'time', 'iso8601', 'std11'))) { + $comparator = ''; + } + } + + if (!preg_match('/^(regex|matches|count-)/', $type) && count($target)) { + foreach ($target as $arg) { + if (!$this->validate_date_part($datepart, $arg)) { + $this->errors['tests'][$i]['target'] = $this->plugin->gettext('invaliddateformat'); + break; + } + } + } + } + } + else if ($header == 'date') { + $datepart = $this->strip_value($dateparts[$idx]); + $dateheader = $this->strip_value($dateheaders[$idx]); + $index = $this->strip_value($indexes[$idx]); + $indexlast = $this->strip_value($lastindexes[$idx]); + + if (preg_match('/^not/', $operator)) + $this->form['tests'][$i]['not'] = true; + $type = preg_replace('/^not/', '', $operator); + + if ($type == 'exists') { + $this->errors['tests'][$i]['op'] = true; + } + + if (!empty($index) && $mod != 'envelope') { + $this->form['tests'][$i]['index'] = intval($index); + $this->form['tests'][$i]['last'] = !empty($indexlast); + } + + if (empty($dateheader)) { + $dateheader = 'Date'; + } + else if (!preg_match('/^[\x21-\x39\x41-\x7E]+$/i', $dateheader)) { + $this->errors['tests'][$i]['dateheader'] = $this->plugin->gettext('forbiddenchars'); + } + + $this->form['tests'][$i]['test'] = 'date'; + $this->form['tests'][$i]['type'] = $type; + $this->form['tests'][$i]['part'] = $datepart; + $this->form['tests'][$i]['arg'] = $target; + $this->form['tests'][$i]['header'] = $dateheader; + + if ($type != 'exists') { + if (!count($target)) { + $this->errors['tests'][$i]['target'] = $this->plugin->gettext('cannotbeempty'); + } + else if (strpos($type, 'count-') === 0) { + foreach ($target as $arg) { + if (preg_match('/[^0-9]/', $arg)) { + $this->errors['tests'][$i]['target'] = $this->plugin->gettext('forbiddenchars'); + } + } + } + else if (strpos($type, 'value-') === 0) { + // Some date/time formats do not support i;ascii-numeric comparator + if ($comparator == 'i;ascii-numeric' && in_array($datepart, array('date', 'time', 'iso8601', 'std11'))) { + $comparator = ''; + } + } + + if (count($target) && !preg_match('/^(regex|matches|count-)/', $type)) { + foreach ($target as $arg) { + if (!$this->validate_date_part($datepart, $arg)) { + $this->errors['tests'][$i]['target'] = $this->plugin->gettext('invaliddateformat'); + break; + } + } + } + } + } + else if ($header == 'body') { + $trans = $this->strip_value($body_trans[$idx]); + $trans_type = $this->strip_value($body_types[$idx], true); + + if (preg_match('/^not/', $operator)) + $this->form['tests'][$i]['not'] = true; + $type = preg_replace('/^not/', '', $operator); + + if ($type == 'exists') { + $this->errors['tests'][$i]['op'] = true; + } + + $this->form['tests'][$i]['test'] = 'body'; + $this->form['tests'][$i]['type'] = $type; + $this->form['tests'][$i]['arg'] = $target; + + if (empty($target) && $type != 'exists') { + $this->errors['tests'][$i]['target'] = $this->plugin->gettext('cannotbeempty'); + } + else if (preg_match('/^(value|count)-/', $type)) { + foreach ($target as $target_value) { + if (preg_match('/[^0-9]/', $target_value)) { + $this->errors['tests'][$i]['target'] = $this->plugin->gettext('forbiddenchars'); + } + } + } + + $this->form['tests'][$i]['part'] = $trans; + if ($trans == 'content') { + $this->form['tests'][$i]['content'] = $trans_type; + } + } + else { + $cust_header = $headers = $this->strip_value(array_shift($cust_headers)); + $mod = $this->strip_value($mods[$idx]); + $mod_type = $this->strip_value($mod_types[$idx]); + $index = $this->strip_value($indexes[$idx]); + $indexlast = $this->strip_value($lastindexes[$idx]); + + if (preg_match('/^not/', $operator)) + $this->form['tests'][$i]['not'] = true; + $type = preg_replace('/^not/', '', $operator); + + if (!empty($index) && $mod != 'envelope') { + $this->form['tests'][$i]['index'] = intval($index); + $this->form['tests'][$i]['last'] = !empty($indexlast); + } + + if ($header == '...') { + if (!count($headers)) + $this->errors['tests'][$i]['header'] = $this->plugin->gettext('cannotbeempty'); + else { + foreach ($headers as $hr) { + // RFC2822: printable ASCII except colon + if (!preg_match('/^[\x21-\x39\x41-\x7E]+$/i', $hr)) { + $this->errors['tests'][$i]['header'] = $this->plugin->gettext('forbiddenchars'); + } + } + } + + if (empty($this->errors['tests'][$i]['header'])) + $cust_header = (is_array($headers) && count($headers) == 1) ? $headers[0] : $headers; + } + + $header = $header == '...' ? $cust_header : $header; + + if (is_array($header)) { + foreach ($header as $h_index => $val) { + if (isset($this->headers[$val])) { + $header[$h_index] = $this->headers[$val]; + } + } + } + + if ($type == 'exists') { + $this->form['tests'][$i]['test'] = 'exists'; + $this->form['tests'][$i]['arg'] = $header; + } + else { + $test = 'header'; + + if ($mod == 'address' || $mod == 'envelope') { + $found = false; + if (empty($this->errors['tests'][$i]['header'])) { + foreach ((array)$header as $hdr) { + if (!in_array(strtolower(trim($hdr)), $this->addr_headers)) + $found = true; + } + } + if (!$found) + $test = $mod; + } + + $this->form['tests'][$i]['type'] = $type; + $this->form['tests'][$i]['test'] = $test; + $this->form['tests'][$i]['arg1'] = $header; + $this->form['tests'][$i]['arg2'] = $target; + + if (empty($target)) { + $this->errors['tests'][$i]['target'] = $this->plugin->gettext('cannotbeempty'); + } + else if (preg_match('/^(value|count)-/', $type)) { + foreach ($target as $target_value) { + if (preg_match('/[^0-9]/', $target_value)) { + $this->errors['tests'][$i]['target'] = $this->plugin->gettext('forbiddenchars'); + } + } + } + + if ($mod) { + $this->form['tests'][$i]['part'] = $mod_type; + } + } + } + + if ($header != 'size' && $comparator) { + $this->form['tests'][$i]['comparator'] = $comparator; + } + + $i++; + } + } + + $i = 0; + // actions + foreach ($act_types as $idx => $type) { + $type = $this->strip_value($type); + + switch ($type) { + case 'fileinto': + case 'fileinto_copy': + $mailbox = $this->strip_value($mailboxes[$idx], false, false); + $this->form['actions'][$i]['target'] = $this->mod_mailbox($mailbox, 'in'); + + if ($type == 'fileinto_copy') { + $type = 'fileinto'; + $this->form['actions'][$i]['copy'] = true; + } + break; + + case 'reject': + case 'ereject': + $target = $this->strip_value($area_targets[$idx]); + $this->form['actions'][$i]['target'] = str_replace("\r\n", "\n", $target); + + // if ($target == '') +// $this->errors['actions'][$i]['targetarea'] = $this->plugin->gettext('cannotbeempty'); + break; + + case 'redirect': + case 'redirect_copy': + $target = $this->strip_value($act_targets[$idx]); + $domain = $this->strip_value($domain_targets[$idx]); + + // force one of the configured domains + $domains = (array) $this->rc->config->get('managesieve_domains'); + if (!empty($domains) && !empty($target)) { + if (!$domain || !in_array($domain, $domains)) { + $domain = $domains[0]; + } + + $target .= '@' . $domain; + } + + $this->form['actions'][$i]['target'] = $target; + + if ($target == '') + $this->errors['actions'][$i]['target'] = $this->plugin->gettext('cannotbeempty'); + else if (!rcube_utils::check_email($target)) + $this->errors['actions'][$i]['target'] = $this->plugin->gettext(!empty($domains) ? 'forbiddenchars' : 'noemailwarning'); + + if ($type == 'redirect_copy') { + $type = 'redirect'; + $this->form['actions'][$i]['copy'] = true; + } + + break; + + case 'addflag': + case 'setflag': + case 'removeflag': + $_target = array(); + if (empty($flags[$idx])) { + $this->errors['actions'][$i]['target'] = $this->plugin->gettext('noflagset'); + } + else { + foreach ($flags[$idx] as $flag) { + $_target[] = $this->strip_value($flag); + } + } + $this->form['actions'][$i]['target'] = $_target; + break; + + case 'vacation': + $reason = $this->strip_value($reasons[$idx]); + $interval_type = $interval_types[$idx] == 'seconds' ? 'seconds' : 'days'; + + $this->form['actions'][$i]['reason'] = str_replace("\r\n", "\n", $reason); + $this->form['actions'][$i]['subject'] = $subject[$idx]; + $this->form['actions'][$i]['addresses'] = array_shift($addresses); + $this->form['actions'][$i][$interval_type] = $intervals[$idx]; +// @TODO: vacation :mime, :from, :handle + + foreach ((array)$this->form['actions'][$i]['addresses'] as $aidx => $address) { + $this->form['actions'][$i]['addresses'][$aidx] = $address = trim($address); + + if (empty($address)) { + unset($this->form['actions'][$i]['addresses'][$aidx]); + } + else if (!rcube_utils::check_email($address)) { + $this->errors['actions'][$i]['addresses'] = $this->plugin->gettext('noemailwarning'); + break; + } + } + + if ($this->form['actions'][$i]['reason'] == '') + $this->errors['actions'][$i]['reason'] = $this->plugin->gettext('cannotbeempty'); + if ($this->form['actions'][$i][$interval_type] && !preg_match('/^[0-9]+$/', $this->form['actions'][$i][$interval_type])) + $this->errors['actions'][$i]['interval'] = $this->plugin->gettext('forbiddenchars'); + break; + + case 'set': + $this->form['actions'][$i]['name'] = $varnames[$idx]; + $this->form['actions'][$i]['value'] = $varvalues[$idx]; + foreach ((array)$varmods[$idx] as $v_m) { + $this->form['actions'][$i][$v_m] = true; + } + + if (empty($varnames[$idx])) { + $this->errors['actions'][$i]['name'] = $this->plugin->gettext('cannotbeempty'); + } + else if (!preg_match('/^[0-9a-z_]+$/i', $varnames[$idx])) { + $this->errors['actions'][$i]['name'] = $this->plugin->gettext('forbiddenchars'); + } + + if (!isset($varvalues[$idx]) || $varvalues[$idx] === '') { + $this->errors['actions'][$i]['value'] = $this->plugin->gettext('cannotbeempty'); + } + break; + + case 'notify': + if (empty($notifymethods[$idx])) { + $this->errors['actions'][$i]['method'] = $this->plugin->gettext('cannotbeempty'); + } + if (empty($notifytargets[$idx])) { + $this->errors['actions'][$i]['target'] = $this->plugin->gettext('cannotbeempty'); + } + if (!empty($notifyfrom[$idx]) && !rcube_utils::check_email($notifyfrom[$idx])) { + $this->errors['actions'][$i]['from'] = $this->plugin->gettext('noemailwarning'); + } + + // skip empty options + foreach ((array)$notifyoptions[$idx] as $opt_idx => $opt) { + if (!strlen(trim($opt))) { + unset($notifyoptions[$idx][$opt_idx]); + } + } + + $this->form['actions'][$i]['method'] = $notifymethods[$idx] . ':' . $notifytargets[$idx]; + $this->form['actions'][$i]['options'] = $notifyoptions[$idx]; + $this->form['actions'][$i]['message'] = $notifymessages[$idx]; + $this->form['actions'][$i]['from'] = $notifyfrom[$idx]; + $this->form['actions'][$i]['importance'] = $notifyimp[$idx]; + break; + } + + $this->form['actions'][$i]['type'] = $type; + $i++; + } + + if (!$this->errors && !$error) { + // save the script + if (!isset($this->script[$fid])) { + $fid = $this->sieve->script->add_rule($this->form); + $new = true; + } + else { + $fid = $this->sieve->script->update_rule($fid, $this->form); + } + + if ($fid !== false) + $save = $this->save_script(); + + if ($save && $fid !== false) { + $this->rc->output->show_message('managesieve.filtersaved', 'confirmation'); + if ($this->rc->task != 'mail') { + $this->rc->output->command('parent.managesieve_updatelist', + isset($new) ? 'add' : 'update', + array( + 'name' => $this->form['name'], + 'id' => $fid, + 'disabled' => $this->form['disabled'] + )); + } + else { + $this->rc->output->command('managesieve_dialog_close'); + $this->rc->output->send('iframe'); + } + } + else { + $this->rc->output->show_message('managesieve.filtersaveerror', 'error'); +// $this->rc->output->send(); + } + } + } + + $this->send(); + } + + protected function send() + { + // Handle form action + if (isset($_GET['_framed']) || isset($_POST['_framed'])) { + if (isset($_GET['_newset']) || isset($_POST['_newset'])) { + $this->rc->output->send('managesieve.setedit'); + } + else { + $this->rc->output->send('managesieve.filteredit'); + } + } + else { + $this->rc->output->set_pagetitle($this->plugin->gettext('filters')); + $this->rc->output->send('managesieve.managesieve'); + } + } + + // return the filters list as HTML table + function filters_list($attrib) + { + // add id to message list table if not specified + if (!strlen($attrib['id'])) + $attrib['id'] = 'rcmfilterslist'; + + // define list of cols to be displayed + $a_show_cols = array('name'); + + $result = $this->list_rules(); + + // create XHTML table + $out = $this->rc->table_output($attrib, $result, $a_show_cols, 'id'); + + // set client env + $this->rc->output->add_gui_object('filterslist', $attrib['id']); + $this->rc->output->include_script('list.js'); + + // add some labels to client + $this->rc->output->add_label('managesieve.filterdeleteconfirm'); + + return $out; + } + + // return the filters list as <SELECT> + function filtersets_list($attrib, $no_env = false) + { + // add id to message list table if not specified + if (!strlen($attrib['id'])) + $attrib['id'] = 'rcmfiltersetslist'; + + $list = $this->list_scripts(); + + if ($list) { + asort($list, SORT_LOCALE_STRING); + } + + if (!empty($attrib['type']) && $attrib['type'] == 'list') { + // define list of cols to be displayed + $a_show_cols = array('name'); + + if ($list) { + foreach ($list as $idx => $set) { + $scripts['S'.$idx] = $set; + $result[] = array( + 'name' => $set, + 'id' => 'S'.$idx, + 'class' => !in_array($set, $this->active) ? 'disabled' : '', + ); + } + } + + // create XHTML table + $out = $this->rc->table_output($attrib, $result, $a_show_cols, 'id'); + + $this->rc->output->set_env('filtersets', $scripts); + $this->rc->output->include_script('list.js'); + } + else { + $select = new html_select(array('name' => '_set', 'id' => $attrib['id'], + 'onchange' => $this->rc->task != 'mail' ? 'rcmail.managesieve_set()' : '')); + + if ($list) { + foreach ($list as $set) + $select->add($set, $set); + } + + $out = $select->show($this->sieve->current); + } + + // set client env + if (!$no_env) { + $this->rc->output->add_gui_object('filtersetslist', $attrib['id']); + $this->rc->output->add_label('managesieve.setdeleteconfirm'); + } + + return $out; + } + + function filter_frame($attrib) + { + return $this->rc->output->frame($attrib, true); + } + + function filterset_form($attrib) + { + if (!$attrib['id']) + $attrib['id'] = 'rcmfiltersetform'; + + $out = '<form name="filtersetform" action="./" method="post" enctype="multipart/form-data">'."\n"; + + $hiddenfields = new html_hiddenfield(array('name' => '_task', 'value' => $this->rc->task)); + $hiddenfields->add(array('name' => '_action', 'value' => 'plugin.managesieve-save')); + $hiddenfields->add(array('name' => '_framed', 'value' => ($_POST['_framed'] || $_GET['_framed'] ? 1 : 0))); + $hiddenfields->add(array('name' => '_newset', 'value' => 1)); + + $out .= $hiddenfields->show(); + + $name = rcube_utils::get_input_value('_name', rcube_utils::INPUT_POST); + $copy = rcube_utils::get_input_value('_copy', rcube_utils::INPUT_POST); + $selected = rcube_utils::get_input_value('_from', rcube_utils::INPUT_POST); + + // filter set name input + $input_name = new html_inputfield(array('name' => '_name', 'id' => '_name', 'size' => 30, + 'class' => ($this->errors['name'] ? 'error' : ''))); + + $out .= sprintf('<label for="%s"><b>%s:</b></label> %s<br /><br />', + '_name', rcube::Q($this->plugin->gettext('filtersetname')), $input_name->show($name)); + + $out .="\n<fieldset class=\"itemlist\"><legend>" . $this->plugin->gettext('filters') . ":</legend>\n"; + $out .= '<input type="radio" id="from_none" name="_from" value="none"' + .(!$selected || $selected=='none' ? ' checked="checked"' : '').'></input>'; + $out .= sprintf('<label for="%s">%s</label> ', 'from_none', rcube::Q($this->plugin->gettext('none'))); + + // filters set list + $list = $this->list_scripts(); + $select = new html_select(array('name' => '_copy', 'id' => '_copy')); + + if (is_array($list)) { + asort($list, SORT_LOCALE_STRING); + + if (!$copy) + $copy = $_SESSION['managesieve_current']; + + foreach ($list as $set) { + $select->add($set, $set); + } + + $out .= '<br /><input type="radio" id="from_set" name="_from" value="set"' + .($selected=='set' ? ' checked="checked"' : '').'></input>'; + $out .= sprintf('<label for="%s">%s:</label> ', 'from_set', rcube::Q($this->plugin->gettext('fromset'))); + $out .= $select->show($copy); + } + + // script upload box + $upload = new html_inputfield(array('name' => '_file', 'id' => '_file', 'size' => 30, + 'type' => 'file', 'class' => ($this->errors['file'] ? 'error' : ''))); + + $out .= '<br /><input type="radio" id="from_file" name="_from" value="file"' + .($selected=='file' ? ' checked="checked"' : '').'></input>'; + $out .= sprintf('<label for="%s">%s:</label> ', 'from_file', rcube::Q($this->plugin->gettext('fromfile'))); + $out .= $upload->show(); + $out .= '</fieldset>'; + + $this->rc->output->add_gui_object('sieveform', 'filtersetform'); + + if ($this->errors['name']) + $this->add_tip('_name', $this->errors['name'], true); + if ($this->errors['file']) + $this->add_tip('_file', $this->errors['file'], true); + + $this->print_tips(); + + return $out; + } + + + function filter_form($attrib) + { + if (!$attrib['id']) + $attrib['id'] = 'rcmfilterform'; + + $fid = rcube_utils::get_input_value('_fid', rcube_utils::INPUT_GPC); + $scr = isset($this->form) ? $this->form : $this->script[$fid]; + + $hiddenfields = new html_hiddenfield(array('name' => '_task', 'value' => $this->rc->task)); + $hiddenfields->add(array('name' => '_action', 'value' => 'plugin.managesieve-save')); + $hiddenfields->add(array('name' => '_framed', 'value' => ($_POST['_framed'] || $_GET['_framed'] ? 1 : 0))); + $hiddenfields->add(array('name' => '_fid', 'value' => $fid)); + + $out = '<form name="filterform" action="./" method="post">'."\n"; + $out .= $hiddenfields->show(); + + // 'any' flag + if ((!isset($this->form) && empty($scr['tests']) && !empty($scr)) + || (sizeof($scr['tests']) == 1 && $scr['tests'][0]['test'] == 'true' && !$scr['tests'][0]['not']) + ) { + $any = true; + } + + // filter name input + $field_id = '_name'; + $input_name = new html_inputfield(array('name' => '_name', 'id' => $field_id, 'size' => 30, + 'class' => ($this->errors['name'] ? 'error' : ''))); + + if ($this->errors['name']) + $this->add_tip($field_id, $this->errors['name'], true); + + if (isset($scr)) + $input_name = $input_name->show($scr['name']); + else + $input_name = $input_name->show(); + + $out .= sprintf("\n<label for=\"%s\"><b>%s:</b></label> %s\n", + $field_id, rcube::Q($this->plugin->gettext('filtername')), $input_name); + + // filter set selector + if ($this->rc->task == 'mail') { + $out .= sprintf("\n <label for=\"%s\"><b>%s:</b></label> %s\n", + $field_id, rcube::Q($this->plugin->gettext('filterset')), + $this->filtersets_list(array('id' => 'sievescriptname'), true)); + } + + $out .= '<br /><br /><fieldset><legend>' . rcube::Q($this->plugin->gettext('messagesrules')) . "</legend>\n"; + + // any, allof, anyof radio buttons + $field_id = '_allof'; + $input_join = new html_radiobutton(array('name' => '_join', 'id' => $field_id, 'value' => 'allof', + 'onclick' => 'rule_join_radio(\'allof\')', 'class' => 'radio')); + + if (isset($scr) && !$any) + $input_join = $input_join->show($scr['join'] ? 'allof' : ''); + else + $input_join = $input_join->show(); + + $out .= sprintf("%s<label for=\"%s\">%s</label> \n", + $input_join, $field_id, rcube::Q($this->plugin->gettext('filterallof'))); + + $field_id = '_anyof'; + $input_join = new html_radiobutton(array('name' => '_join', 'id' => $field_id, 'value' => 'anyof', + 'onclick' => 'rule_join_radio(\'anyof\')', 'class' => 'radio')); + + if (isset($scr) && !$any) + $input_join = $input_join->show($scr['join'] ? '' : 'anyof'); + else + $input_join = $input_join->show('anyof'); // default + + $out .= sprintf("%s<label for=\"%s\">%s</label>\n", + $input_join, $field_id, rcube::Q($this->plugin->gettext('filteranyof'))); + + $field_id = '_any'; + $input_join = new html_radiobutton(array('name' => '_join', 'id' => $field_id, 'value' => 'any', + 'onclick' => 'rule_join_radio(\'any\')', 'class' => 'radio')); + + $input_join = $input_join->show($any ? 'any' : ''); + + $out .= sprintf("%s<label for=\"%s\">%s</label>\n", + $input_join, $field_id, rcube::Q($this->plugin->gettext('filterany'))); + + $rows_num = !empty($scr['tests']) ? sizeof($scr['tests']) : 1; + + $out .= '<div id="rules"'.($any ? ' style="display: none"' : '').'>'; + for ($x=0; $x<$rows_num; $x++) + $out .= $this->rule_div($fid, $x); + $out .= "</div>\n"; + + $out .= "</fieldset>\n"; + + // actions + $out .= '<fieldset><legend>' . rcube::Q($this->plugin->gettext('messagesactions')) . "</legend>\n"; + + $rows_num = isset($scr) ? sizeof($scr['actions']) : 1; + + $out .= '<div id="actions">'; + for ($x=0; $x<$rows_num; $x++) + $out .= $this->action_div($fid, $x); + $out .= "</div>\n"; + + $out .= "</fieldset>\n"; + + $this->print_tips(); + + if ($scr['disabled']) { + $this->rc->output->set_env('rule_disabled', true); + } + $this->rc->output->add_label( + 'managesieve.ruledeleteconfirm', + 'managesieve.actiondeleteconfirm' + ); + $this->rc->output->add_gui_object('sieveform', 'filterform'); + + return $out; + } + + function rule_div($fid, $id, $div=true) + { + $rule = isset($this->form) ? $this->form['tests'][$id] : $this->script[$fid]['tests'][$id]; + $rows_num = isset($this->form) ? sizeof($this->form['tests']) : sizeof($this->script[$fid]['tests']); + + // headers select + $select_header = new html_select(array('name' => "_header[]", 'id' => 'header'.$id, + 'onchange' => 'rule_header_select(' .$id .')')); + + foreach ($this->headers as $index => $header) { + $header = $this->rc->text_exists($index) ? $this->plugin->gettext($index) : $header; + $select_header->add($header, $index); + } + $select_header->add($this->plugin->gettext('...'), '...'); + if (in_array('body', $this->exts)) + $select_header->add($this->plugin->gettext('body'), 'body'); + $select_header->add($this->plugin->gettext('size'), 'size'); + if (in_array('date', $this->exts)) { + $select_header->add($this->plugin->gettext('datetest'), 'date'); + $select_header->add($this->plugin->gettext('currdate'), 'currentdate'); + } + + if (isset($rule['test'])) { + if (in_array($rule['test'], array('header', 'address', 'envelope'))) { + if (is_array($rule['arg1']) && count($rule['arg1']) == 1) { + $rule['arg1'] = $rule['arg1'][0]; + } + + $matches = ($header = strtolower($rule['arg1'])) && isset($this->headers[$header]); + $test = $matches ? $header : '...'; + } + else if ($rule['test'] == 'exists') { + if (is_array($rule['arg']) && count($rule['arg']) == 1) { + $rule['arg'] = $rule['arg'][0]; + } + + $matches = ($header = strtolower($rule['arg'])) && isset($this->headers[$header]); + $test = $matches ? $header : '...'; + } + else if (in_array($rule['test'], array('size', 'body', 'date', 'currentdate'))) { + $test = $rule['test']; + } + else if ($rule['test'] != 'true') { + $test = '...'; + } + } + + $aout = $select_header->show($test); + + // custom headers input + if (isset($rule['test']) && in_array($rule['test'], array('header', 'address', 'envelope'))) { + $custom = (array) $rule['arg1']; + if (count($custom) == 1 && isset($this->headers[strtolower($custom[0])])) { + unset($custom); + } + } + else if (isset($rule['test']) && $rule['test'] == 'exists') { + $custom = (array) $rule['arg']; + if (count($custom) == 1 && isset($this->headers[strtolower($custom[0])])) { + unset($custom); + } + } + + $tout = $this->list_input($id, 'custom_header', $custom, isset($custom), + $this->error_class($id, 'test', 'header', 'custom_header'), 15) . "\n"; + + // matching type select (operator) + $select_op = new html_select(array('name' => "_rule_op[]", 'id' => 'rule_op'.$id, + 'style' => 'display:' .($rule['test']!='size' ? 'inline' : 'none'), + 'class' => 'operator_selector', + 'onchange' => 'rule_op_select(this, '.$id.')')); + $select_op->add(rcube::Q($this->plugin->gettext('filtercontains')), 'contains'); + $select_op->add(rcube::Q($this->plugin->gettext('filternotcontains')), 'notcontains'); + $select_op->add(rcube::Q($this->plugin->gettext('filteris')), 'is'); + $select_op->add(rcube::Q($this->plugin->gettext('filterisnot')), 'notis'); + $select_op->add(rcube::Q($this->plugin->gettext('filterexists')), 'exists'); + $select_op->add(rcube::Q($this->plugin->gettext('filternotexists')), 'notexists'); + $select_op->add(rcube::Q($this->plugin->gettext('filtermatches')), 'matches'); + $select_op->add(rcube::Q($this->plugin->gettext('filternotmatches')), 'notmatches'); + if (in_array('regex', $this->exts)) { + $select_op->add(rcube::Q($this->plugin->gettext('filterregex')), 'regex'); + $select_op->add(rcube::Q($this->plugin->gettext('filternotregex')), 'notregex'); + } + if (in_array('relational', $this->exts)) { + $select_op->add(rcube::Q($this->plugin->gettext('countisgreaterthan')), 'count-gt'); + $select_op->add(rcube::Q($this->plugin->gettext('countisgreaterthanequal')), 'count-ge'); + $select_op->add(rcube::Q($this->plugin->gettext('countislessthan')), 'count-lt'); + $select_op->add(rcube::Q($this->plugin->gettext('countislessthanequal')), 'count-le'); + $select_op->add(rcube::Q($this->plugin->gettext('countequals')), 'count-eq'); + $select_op->add(rcube::Q($this->plugin->gettext('countnotequals')), 'count-ne'); + $select_op->add(rcube::Q($this->plugin->gettext('valueisgreaterthan')), 'value-gt'); + $select_op->add(rcube::Q($this->plugin->gettext('valueisgreaterthanequal')), 'value-ge'); + $select_op->add(rcube::Q($this->plugin->gettext('valueislessthan')), 'value-lt'); + $select_op->add(rcube::Q($this->plugin->gettext('valueislessthanequal')), 'value-le'); + $select_op->add(rcube::Q($this->plugin->gettext('valueequals')), 'value-eq'); + $select_op->add(rcube::Q($this->plugin->gettext('valuenotequals')), 'value-ne'); + } + + $test = self::rule_test($rule); + $target = ''; + + // target(s) input + if (in_array($rule['test'], array('header', 'address', 'envelope'))) { + $target = $rule['arg2']; + } + else if (in_array($rule['test'], array('body', 'date', 'currentdate'))) { + $target = $rule['arg']; + } + else if ($rule['test'] == 'size') { + if (preg_match('/^([0-9]+)(K|M|G)?$/', $rule['arg'], $matches)) { + $sizetarget = $matches[1]; + $sizeitem = $matches[2]; + } + else { + $sizetarget = $rule['arg']; + $sizeitem = $rule['item']; + } + } + + // (current)date part select + if (in_array('date', $this->exts) || in_array('currentdate', $this->exts)) { + $date_parts = array('date', 'iso8601', 'std11', 'julian', 'time', + 'year', 'month', 'day', 'hour', 'minute', 'second', 'weekday', 'zone'); + $select_dp = new html_select(array('name' => "_rule_date_part[]", 'id' => 'rule_date_part'.$id, + 'style' => in_array($rule['test'], array('currentdate', 'date')) && !preg_match('/^(notcount|count)-/', $test) ? '' : 'display:none', + 'class' => 'datepart_selector', + )); + + foreach ($date_parts as $part) { + $select_dp->add(rcube::Q($this->plugin->gettext($part)), $part); + } + + $tout .= $select_dp->show($rule['test'] == 'currentdate' || $rule['test'] == 'date' ? $rule['part'] : ''); + } + + $tout .= $select_op->show($test); + $tout .= $this->list_input($id, 'rule_target', $target, + $rule['test'] != 'size' && $rule['test'] != 'exists', + $this->error_class($id, 'test', 'target', 'rule_target')) . "\n"; + + $select_size_op = new html_select(array('name' => "_rule_size_op[]", 'id' => 'rule_size_op'.$id)); + $select_size_op->add(rcube::Q($this->plugin->gettext('filterover')), 'over'); + $select_size_op->add(rcube::Q($this->plugin->gettext('filterunder')), 'under'); + + $tout .= '<div id="rule_size' .$id. '" style="display:' . ($rule['test']=='size' ? 'inline' : 'none') .'">'; + $tout .= $select_size_op->show($rule['test']=='size' ? $rule['type'] : ''); + $tout .= '<input type="text" name="_rule_size_target[]" id="rule_size_i'.$id.'" value="'.$sizetarget.'" size="10" ' + . $this->error_class($id, 'test', 'sizetarget', 'rule_size_i') .' /> + <label><input type="radio" name="_rule_size_item['.$id.']" value=""' + . (!$sizeitem ? ' checked="checked"' : '') .' class="radio" />'.$this->rc->gettext('B').'</label> + <label><input type="radio" name="_rule_size_item['.$id.']" value="K"' + . ($sizeitem=='K' ? ' checked="checked"' : '') .' class="radio" />'.$this->rc->gettext('KB').'</label> + <label><input type="radio" name="_rule_size_item['.$id.']" value="M"' + . ($sizeitem=='M' ? ' checked="checked"' : '') .' class="radio" />'.$this->rc->gettext('MB').'</label> + <label><input type="radio" name="_rule_size_item['.$id.']" value="G"' + . ($sizeitem=='G' ? ' checked="checked"' : '') .' class="radio" />'.$this->rc->gettext('GB').'</label>'; + $tout .= '</div>'; + + // Advanced modifiers (address, envelope) + $select_mod = new html_select(array('name' => "_rule_mod[]", 'id' => 'rule_mod_op'.$id, + 'onchange' => 'rule_mod_select(' .$id .')')); + $select_mod->add(rcube::Q($this->plugin->gettext('none')), ''); + $select_mod->add(rcube::Q($this->plugin->gettext('address')), 'address'); + if (in_array('envelope', $this->exts)) + $select_mod->add(rcube::Q($this->plugin->gettext('envelope')), 'envelope'); + + $select_type = new html_select(array('name' => "_rule_mod_type[]", 'id' => 'rule_mod_type'.$id)); + $select_type->add(rcube::Q($this->plugin->gettext('allparts')), 'all'); + $select_type->add(rcube::Q($this->plugin->gettext('domain')), 'domain'); + $select_type->add(rcube::Q($this->plugin->gettext('localpart')), 'localpart'); + if (in_array('subaddress', $this->exts)) { + $select_type->add(rcube::Q($this->plugin->gettext('user')), 'user'); + $select_type->add(rcube::Q($this->plugin->gettext('detail')), 'detail'); + } + + $need_mod = !in_array($rule['test'], array('size', 'body', 'date', 'currentdate')); + $mout = '<div id="rule_mod' .$id. '" class="adv"' . (!$need_mod ? ' style="display:none"' : '') . '>'; + $mout .= ' <span class="label">' . rcube::Q($this->plugin->gettext('modifier')) . ' </span>'; + $mout .= $select_mod->show($rule['test']); + $mout .= ' <span id="rule_mod_type' . $id . '"'; + $mout .= ' style="display:' . (in_array($rule['test'], array('address', 'envelope')) ? 'inline' : 'none') .'">'; + $mout .= rcube::Q($this->plugin->gettext('modtype')) . ' '; + $mout .= $select_type->show($rule['part']); + $mout .= '</span>'; + $mout .= '</div>'; + + // Advanced modifiers (body transformations) + $select_mod = new html_select(array('name' => "_rule_trans[]", 'id' => 'rule_trans_op'.$id, + 'onchange' => 'rule_trans_select(' .$id .')')); + $select_mod->add(rcube::Q($this->plugin->gettext('text')), 'text'); + $select_mod->add(rcube::Q($this->plugin->gettext('undecoded')), 'raw'); + $select_mod->add(rcube::Q($this->plugin->gettext('contenttype')), 'content'); + + $mout .= '<div id="rule_trans' .$id. '" class="adv"' . ($rule['test'] != 'body' ? ' style="display:none"' : '') . '>'; + $mout .= '<span class="label">' . rcube::Q($this->plugin->gettext('modifier')) . '</span>'; + $mout .= $select_mod->show($rule['part']); + $mout .= '<input type="text" name="_rule_trans_type[]" id="rule_trans_type'.$id + . '" value="'.(is_array($rule['content']) ? implode(',', $rule['content']) : $rule['content']) + .'" size="20"' . ($rule['part'] != 'content' ? ' style="display:none"' : '') + . $this->error_class($id, 'test', 'part', 'rule_trans_type') .' />'; + $mout .= '</div>'; + + // Advanced modifiers (body transformations) + $select_comp = new html_select(array('name' => "_rule_comp[]", 'id' => 'rule_comp_op'.$id)); + $select_comp->add(rcube::Q($this->plugin->gettext('default')), ''); + $select_comp->add(rcube::Q($this->plugin->gettext('octet')), 'i;octet'); + $select_comp->add(rcube::Q($this->plugin->gettext('asciicasemap')), 'i;ascii-casemap'); + if (in_array('comparator-i;ascii-numeric', $this->exts)) { + $select_comp->add(rcube::Q($this->plugin->gettext('asciinumeric')), 'i;ascii-numeric'); + } + + // Comparators + $mout .= '<div id="rule_comp' .$id. '" class="adv"' . ($rule['test'] == 'size' ? ' style="display:none"' : '') . '>'; + $mout .= '<span class="label">' . rcube::Q($this->plugin->gettext('comparator')) . '</span>'; + $mout .= $select_comp->show($rule['comparator']); + $mout .= '</div>'; + + // Date header + if (in_array('date', $this->exts)) { + $mout .= '<div id="rule_date_header_div' .$id. '" class="adv"'. ($rule['test'] != 'date' ? ' style="display:none"' : '') .'>'; + $mout .= '<span class="label">' . rcube::Q($this->plugin->gettext('dateheader')) . '</span>'; + $mout .= '<input type="text" name="_rule_date_header[]" id="rule_date_header'.$id + . '" value="'. Q($rule['test'] == 'date' ? $rule['header'] : '') + . '" size="15"' . $this->error_class($id, 'test', 'dateheader', 'rule_date_header') .' />'; + $mout .= '</div>'; + } + + // Index + if (in_array('index', $this->exts)) { + $need_index = in_array($rule['test'], array('header', ', address', 'date')); + $mout .= '<div id="rule_index_div' .$id. '" class="adv"'. (!$need_index ? ' style="display:none"' : '') .'>'; + $mout .= '<span class="label">' . rcube::Q($this->plugin->gettext('index')) . '</span>'; + $mout .= '<input type="text" name="_rule_index[]" id="rule_index'.$id + . '" value="'. ($rule['index'] ? intval($rule['index']) : '') + . '" size="3"' . $this->error_class($id, 'test', 'index', 'rule_index') .' />'; + $mout .= ' <input type="checkbox" name="_rule_index_last[]" id="rule_index_last'.$id + . '" value="1"' . (!empty($rule['last']) ? ' checked="checked"' : '') . ' />' + . '<label for="rule_index_last'.$id.'">'.rcube::Q($this->plugin->gettext('indexlast')).'</label>'; + $mout .= '</div>'; + } + + // Build output table + $out = $div ? '<div class="rulerow" id="rulerow' .$id .'">'."\n" : ''; + $out .= '<table><tr>'; + $out .= '<td class="advbutton">'; + $out .= '<a href="#" id="ruleadv' . $id .'" title="'. rcube::Q($this->plugin->gettext('advancedopts')). '" + onclick="rule_adv_switch(' . $id .', this)" class="show"> </a>'; + $out .= '</td>'; + $out .= '<td class="rowactions">' . $aout . '</td>'; + $out .= '<td class="rowtargets">' . $tout . "\n"; + $out .= '<div id="rule_advanced' .$id. '" style="display:none">' . $mout . '</div>'; + $out .= '</td>'; + + // add/del buttons + $out .= '<td class="rowbuttons">'; + $out .= '<a href="#" id="ruleadd' . $id .'" title="'. rcube::Q($this->plugin->gettext('add')). '" + onclick="rcmail.managesieve_ruleadd(' . $id .')" class="button add"></a>'; + $out .= '<a href="#" id="ruledel' . $id .'" title="'. rcube::Q($this->plugin->gettext('del')). '" + onclick="rcmail.managesieve_ruledel(' . $id .')" class="button del' . ($rows_num<2 ? ' disabled' : '') .'"></a>'; + $out .= '</td>'; + $out .= '</tr></table>'; + + $out .= $div ? "</div>\n" : ''; + + return $out; + } + + private static function rule_test(&$rule) + { + // first modify value/count tests with 'not' keyword + // we'll revert the meaning of operators + if ($rule['not'] && preg_match('/^(count|value)-([gteqnl]{2})/', $rule['type'], $m)) { + $rule['not'] = false; + + switch ($m[2]) { + case 'gt': $rule['type'] = $m[1] . '-le'; break; + case 'ge': $rule['type'] = $m[1] . '-lt'; break; + case 'lt': $rule['type'] = $m[1] . '-ge'; break; + case 'le': $rule['type'] = $m[1] . '-gt'; break; + case 'eq': $rule['type'] = $m[1] . '-ne'; break; + case 'ne': $rule['type'] = $m[1] . '-eq'; break; + } + } + else if ($rule['not'] && $rule['test'] == 'size') { + $rule['not'] = false; + $rule['type'] = $rule['type'] == 'over' ? 'under' : 'over'; + } + + $set = array('header', 'address', 'envelope', 'body', 'date', 'currentdate'); + + // build test string supported by select element + if ($rule['size']) { + $test = $rule['type']; + } + else if (in_array($rule['test'], $set)) { + $test = ($rule['not'] ? 'not' : '') . ($rule['type'] ? $rule['type'] : 'is'); + } + else { + $test = ($rule['not'] ? 'not' : '') . $rule['test']; + } + + return $test; + } + + function action_div($fid, $id, $div=true) + { + $action = isset($this->form) ? $this->form['actions'][$id] : $this->script[$fid]['actions'][$id]; + $rows_num = isset($this->form) ? sizeof($this->form['actions']) : sizeof($this->script[$fid]['actions']); + + $out = $div ? '<div class="actionrow" id="actionrow' .$id .'">'."\n" : ''; + + $out .= '<table><tr><td class="rowactions">'; + + // action select + $select_action = new html_select(array('name' => "_action_type[$id]", 'id' => 'action_type'.$id, + 'onchange' => 'action_type_select(' .$id .')')); + if (in_array('fileinto', $this->exts)) + $select_action->add(rcube::Q($this->plugin->gettext('messagemoveto')), 'fileinto'); + if (in_array('fileinto', $this->exts) && in_array('copy', $this->exts)) + $select_action->add(rcube::Q($this->plugin->gettext('messagecopyto')), 'fileinto_copy'); + $select_action->add(rcube::Q($this->plugin->gettext('messageredirect')), 'redirect'); + if (in_array('copy', $this->exts)) + $select_action->add(rcube::Q($this->plugin->gettext('messagesendcopy')), 'redirect_copy'); + if (in_array('reject', $this->exts)) + $select_action->add(rcube::Q($this->plugin->gettext('messagediscard')), 'reject'); + else if (in_array('ereject', $this->exts)) + $select_action->add(rcube::Q($this->plugin->gettext('messagediscard')), 'ereject'); + if (in_array('vacation', $this->exts)) + $select_action->add(rcube::Q($this->plugin->gettext('messagereply')), 'vacation'); + $select_action->add(rcube::Q($this->plugin->gettext('messagedelete')), 'discard'); + if (in_array('imapflags', $this->exts) || in_array('imap4flags', $this->exts)) { + $select_action->add(rcube::Q($this->plugin->gettext('setflags')), 'setflag'); + $select_action->add(rcube::Q($this->plugin->gettext('addflags')), 'addflag'); + $select_action->add(rcube::Q($this->plugin->gettext('removeflags')), 'removeflag'); + } + if (in_array('variables', $this->exts)) { + $select_action->add(rcube::Q($this->plugin->gettext('setvariable')), 'set'); + } + if (in_array('enotify', $this->exts) || in_array('notify', $this->exts)) { + $select_action->add(rcube::Q($this->plugin->gettext('notify')), 'notify'); + } + $select_action->add(rcube::Q($this->plugin->gettext('messagekeep')), 'keep'); + $select_action->add(rcube::Q($this->plugin->gettext('rulestop')), 'stop'); + + $select_type = $action['type']; + if (in_array($action['type'], array('fileinto', 'redirect')) && $action['copy']) { + $select_type .= '_copy'; + } + + $out .= $select_action->show($select_type); + $out .= '</td>'; + + // actions target inputs + $out .= '<td class="rowtargets">'; + + // force domain selection in redirect email input + $domains = (array) $this->rc->config->get('managesieve_domains'); + if (!empty($domains)) { + sort($domains); + + $domain_select = new html_select(array('name' => "_action_target_domain[$id]", 'id' => 'action_target_domain'.$id)); + $domain_select->add(array_combine($domains, $domains)); + + if ($action['type'] == 'redirect') { + $parts = explode('@', $action['target']); + if (!empty($parts)) { + $action['domain'] = array_pop($parts); + $action['target'] = implode('@', $parts); + } + } + } + + // redirect target + $out .= '<span id="redirect_target' . $id . '" style="white-space:nowrap;' + . ' display:' . ($action['type'] == 'redirect' ? 'inline' : 'none') . '">' + . '<input type="text" name="_action_target['.$id.']" id="action_target' .$id. '"' + . ' value="' .($action['type'] == 'redirect' ? rcube::Q($action['target'], 'strict', false) : '') . '"' + . (!empty($domains) ? ' size="20"' : ' size="35"') + . $this->error_class($id, 'action', 'target', 'action_target') .' />' + . (!empty($domains) ? ' @ ' . $domain_select->show($action['domain']) : '') + . '</span>'; + + // (e)reject target + $out .= '<textarea name="_action_target_area['.$id.']" id="action_target_area' .$id. '" ' + .'rows="3" cols="35" '. $this->error_class($id, 'action', 'targetarea', 'action_target_area') + .'style="display:' .(in_array($action['type'], array('reject', 'ereject')) ? 'inline' : 'none') .'">' + . (in_array($action['type'], array('reject', 'ereject')) ? rcube::Q($action['target'], 'strict', false) : '') + . "</textarea>\n"; + + // vacation + $vsec = in_array('vacation-seconds', $this->exts); + $auto_addr = $this->rc->config->get('managesieve_vacation_addresses_init'); + $addresses = isset($action['addresses']) || !$auto_addr ? (array) $action['addresses'] : $this->user_emails(); + + $out .= '<div id="action_vacation' .$id.'" style="display:' .($action['type']=='vacation' ? 'inline' : 'none') .'">'; + $out .= '<span class="label">'. rcube::Q($this->plugin->gettext('vacationreason')) .'</span><br />' + .'<textarea name="_action_reason['.$id.']" id="action_reason' .$id. '" ' + .'rows="3" cols="35" '. $this->error_class($id, 'action', 'reason', 'action_reason') . '>' + . Q($action['reason'], 'strict', false) . "</textarea>\n"; + $out .= '<br /><span class="label">' .rcube::Q($this->plugin->gettext('vacationsubject')) . '</span><br />' + .'<input type="text" name="_action_subject['.$id.']" id="action_subject'.$id.'" ' + .'value="' . (is_array($action['subject']) ? rcube::Q(implode(', ', $action['subject']), 'strict', false) : $action['subject']) . '" size="35" ' + . $this->error_class($id, 'action', 'subject', 'action_subject') .' />'; + $out .= '<br /><span class="label">' .rcube::Q($this->plugin->gettext('vacationaddr')) . '</span><br />' + . $this->list_input($id, 'action_addresses', $addresses, true, + $this->error_class($id, 'action', 'addresses', 'action_addresses'), 30) + . html::a(array('href' => '#', 'onclick' => rcmail_output::JS_OBJECT_NAME . ".managesieve_vacation_addresses($id)"), + rcube::Q($this->plugin->gettext('filladdresses'))); + $out .= '<br /><span class="label">' . rcube::Q($this->plugin->gettext($vsec ? 'vacationinterval' : 'vacationdays')) . '</span><br />' + .'<input type="text" name="_action_interval['.$id.']" id="action_interval'.$id.'" ' + .'value="' .rcube::Q(rcube_sieve_vacation::vacation_interval($action), 'strict', false) . '" size="2" ' + . $this->error_class($id, 'action', 'interval', 'action_interval') .' />'; + if ($vsec) { + $out .= ' <label><input type="radio" name="_action_interval_type['.$id.']" value="days"' + . (!isset($action['seconds']) ? ' checked="checked"' : '') .' class="radio" />'.$this->plugin->gettext('days').'</label>' + . ' <label><input type="radio" name="_action_interval_type['.$id.']" value="seconds"' + . (isset($action['seconds']) ? ' checked="checked"' : '') .' class="radio" />'.$this->plugin->gettext('seconds').'</label>'; + } + $out .= '</div>'; + + // flags + $flags = array( + 'read' => '\\Seen', + 'answered' => '\\Answered', + 'flagged' => '\\Flagged', + 'deleted' => '\\Deleted', + 'draft' => '\\Draft', + ); + $flags_target = (array)$action['target']; + + $out .= '<div id="action_flags' .$id.'" style="display:' + . (preg_match('/^(set|add|remove)flag$/', $action['type']) ? 'inline' : 'none') . '"' + . $this->error_class($id, 'action', 'flags', 'action_flags') . '>'; + foreach ($flags as $fidx => $flag) { + $out .= '<input type="checkbox" name="_action_flags[' .$id .'][]" value="' . $flag . '"' + . (in_array_nocase($flag, $flags_target) ? 'checked="checked"' : '') . ' />' + . rcube::Q($this->plugin->gettext('flag'.$fidx)) .'<br>'; + } + $out .= '</div>'; + + // set variable + $set_modifiers = array( + 'lower', + 'upper', + 'lowerfirst', + 'upperfirst', + 'quotewildcard', + 'length' + ); + + $out .= '<div id="action_set' .$id.'" style="display:' .($action['type']=='set' ? 'inline' : 'none') .'">'; + $out .= '<span class="label">' .rcube::Q($this->plugin->gettext('setvarname')) . '</span><br />' + .'<input type="text" name="_action_varname['.$id.']" id="action_varname'.$id.'" ' + .'value="' . rcube::Q($action['name']) . '" size="35" ' + . $this->error_class($id, 'action', 'name', 'action_varname') .' />'; + $out .= '<br /><span class="label">' .rcube::Q($this->plugin->gettext('setvarvalue')) . '</span><br />' + .'<input type="text" name="_action_varvalue['.$id.']" id="action_varvalue'.$id.'" ' + .'value="' . rcube::Q($action['value']) . '" size="35" ' + . $this->error_class($id, 'action', 'value', 'action_varvalue') .' />'; + $out .= '<br /><span class="label">' .rcube::Q($this->plugin->gettext('setvarmodifiers')) . '</span><br />'; + foreach ($set_modifiers as $s_m) { + $s_m_id = 'action_varmods' . $id . $s_m; + $out .= sprintf('<input type="checkbox" name="_action_varmods[%s][]" value="%s" id="%s"%s />%s<br>', + $id, $s_m, $s_m_id, + (array_key_exists($s_m, (array)$action) && $action[$s_m] ? ' checked="checked"' : ''), + rcube::Q($this->plugin->gettext('var' . $s_m))); + } + $out .= '</div>'; + + // notify + $notify_methods = (array) $this->rc->config->get('managesieve_notify_methods'); + $importance_options = $this->notify_importance_options; + + if (empty($notify_methods)) { + $notify_methods = $this->notify_methods; + } + + list($method, $target) = explode(':', $action['method'], 2); + $method = strtolower($method); + + if ($method && !in_array($method, $notify_methods)) { + $notify_methods[] = $method; + } + + $select_method = new html_select(array( + 'name' => "_action_notifymethod[$id]", + 'id' => "_action_notifymethod$id", + 'class' => $this->error_class($id, 'action', 'method', 'action_notifymethod'), + )); + foreach ($notify_methods as $m_n) { + $select_method->add(rcube::Q($this->rc->text_exists('managesieve.notifymethod'.$m_n) ? $this->plugin->gettext('managesieve.notifymethod'.$m_n) : $m_n), $m_n); + } + + $select_importance = new html_select(array( + 'name' => "_action_notifyimportance[$id]", + 'id' => "_action_notifyimportance$id", + 'class' => $this->error_class($id, 'action', 'importance', 'action_notifyimportance') + )); + foreach ($importance_options as $io_v => $io_n) { + $select_importance->add(rcube::Q($this->plugin->gettext($io_n)), $io_v); + } + + // @TODO: nice UI for mailto: (other methods too) URI parameters + $out .= '<div id="action_notify' .$id.'" style="display:' .($action['type'] == 'notify' ? 'inline' : 'none') .'">'; + $out .= '<span class="label">' .rcube::Q($this->plugin->gettext('notifytarget')) . '</span><br />' + . $select_method->show($method) + .'<input type="text" name="_action_notifytarget['.$id.']" id="action_notifytarget'.$id.'" ' + .'value="' . rcube::Q($target) . '" size="25" ' + . $this->error_class($id, 'action', 'target', 'action_notifytarget') .' />'; + $out .= '<br /><span class="label">'. rcube::Q($this->plugin->gettext('notifymessage')) .'</span><br />' + .'<textarea name="_action_notifymessage['.$id.']" id="action_notifymessage' .$id. '" ' + .'rows="3" cols="35" '. $this->error_class($id, 'action', 'message', 'action_notifymessage') . '>' + . rcube::Q($action['message'], 'strict', false) . "</textarea>\n"; + if (in_array('enotify', $this->exts)) { + $out .= '<br /><span class="label">' .rcube::Q($this->plugin->gettext('notifyfrom')) . '</span><br />' + .'<input type="text" name="_action_notifyfrom['.$id.']" id="action_notifyfrom'.$id.'" ' + .'value="' . rcube::Q($action['from']) . '" size="35" ' + . $this->error_class($id, 'action', 'from', 'action_notifyfrom') .' />'; + } + $out .= '<br /><span class="label">' . rcube::Q($this->plugin->gettext('notifyimportance')) . '</span><br />'; + $out .= $select_importance->show($action['importance'] ? (int) $action['importance'] : 2); + $out .= '<div id="action_notifyoption_div' . $id . '">' + .'<span class="label">' . rcube::Q($this->plugin->gettext('notifyoptions')) . '</span><br />' + .$this->list_input($id, 'action_notifyoption', (array)$action['options'], true, + $this->error_class($id, 'action', 'options', 'action_notifyoption'), 30) . '</div>'; + $out .= '</div>'; + + // mailbox select + if ($action['type'] == 'fileinto') { + $mailbox = $this->mod_mailbox($action['target'], 'out'); + // make sure non-existing (or unsubscribed) mailbox is listed (#1489956) + $additional = array($mailbox); + } + else { + $mailbox = ''; + } + + $select = $this->rc->folder_selector(array( + 'realnames' => false, + 'maxlength' => 100, + 'id' => 'action_mailbox' . $id, + 'name' => "_action_mailbox[$id]", + 'style' => 'display:'.(empty($action['type']) || $action['type'] == 'fileinto' ? 'inline' : 'none'), + 'additional' => $additional, + )); + $out .= $select->show($mailbox); + $out .= '</td>'; + + // add/del buttons + $out .= '<td class="rowbuttons">'; + $out .= '<a href="#" id="actionadd' . $id .'" title="'. rcube::Q($this->plugin->gettext('add')). '" + onclick="rcmail.managesieve_actionadd(' . $id .')" class="button add"></a>'; + $out .= '<a href="#" id="actiondel' . $id .'" title="'. rcube::Q($this->plugin->gettext('del')). '" + onclick="rcmail.managesieve_actiondel(' . $id .')" class="button del' . ($rows_num<2 ? ' disabled' : '') .'"></a>'; + $out .= '</td>'; + + $out .= '</tr></table>'; + + $out .= $div ? "</div>\n" : ''; + + return $out; + } + + protected function genid() + { + return preg_replace('/[^0-9]/', '', microtime(true)); + } + + protected function strip_value($str, $allow_html = false, $trim = true) + { + if (is_array($str)) { + foreach ($str as $idx => $val) { + $val = $this->strip_value($val, $allow_html, $trim); + + if ($val === '') { + unset($str[$idx]); + } + } + + return $str; + } + + if (!$allow_html) { + $str = strip_tags($str); + } + + return $trim ? trim($str) : $str; + } + + protected function error_class($id, $type, $target, $elem_prefix='') + { + // TODO: tooltips + if (($type == 'test' && ($str = $this->errors['tests'][$id][$target])) || + ($type == 'action' && ($str = $this->errors['actions'][$id][$target])) + ) { + $this->add_tip($elem_prefix.$id, $str, true); + return ' class="error"'; + } + + return ''; + } + + protected function add_tip($id, $str, $error=false) + { + if ($error) + $str = html::span('sieve error', $str); + + $this->tips[] = array($id, $str); + } + + protected function print_tips() + { + if (empty($this->tips)) + return; + + $script = rcmail_output::JS_OBJECT_NAME.'.managesieve_tip_register('.json_encode($this->tips).');'; + $this->rc->output->add_script($script, 'foot'); + } + + protected function list_input($id, $name, $value, $enabled, $class, $size=null) + { + $value = (array) $value; + $value = array_map(array('rcube', 'Q'), $value); + $value = implode("\n", $value); + + return '<textarea data-type="list" name="_' . $name . '['.$id.']" id="' . $name.$id . '"' + . ($enabled ? '' : ' disabled="disabled"') + . ($size ? ' data-size="'.$size.'"' : '') + . $class + . ' style="display:none">' . $value . '</textarea>'; + } + + /** + * Validate input for date part elements + */ + protected function validate_date_part($type, $value) + { + // we do simple validation of date/part format + switch ($type) { + case 'date': // yyyy-mm-dd + return preg_match('/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/', $value); + case 'iso8601': + return preg_match('/^[0-9: .,ZWT+-]+$/', $value); + case 'std11': + return preg_match('/^((Sun|Mon|Tue|Wed|Thu|Fri|Sat),\s+)?[0-9]{1,2}\s+' + . '(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+[0-9]{2,4}\s+' + . '[0-9]{2}:[0-9]{2}(:[0-9]{2})?\s+([+-]*[0-9]{4}|[A-Z]{1,3})$', $value); + case 'julian': + return preg_match('/^[0-9]+$/', $value); + case 'time': // hh:mm:ss + return preg_match('/^[0-9]{2}:[0-9]{2}:[0-9]{2}$/', $value); + case 'year': + return preg_match('/^[0-9]{4}$/', $value); + case 'month': + return preg_match('/^[0-9]{2}$/', $value) && $value > 0 && $value < 13; + case 'day': + return preg_match('/^[0-9]{2}$/', $value) && $value > 0 && $value < 32; + case 'hour': + return preg_match('/^[0-9]{2}$/', $value) && $value < 24; + case 'minute': + return preg_match('/^[0-9]{2}$/', $value) && $value < 60; + case 'second': + // According to RFC5260, seconds can be from 00 to 60 + return preg_match('/^[0-9]{2}$/', $value) && $value < 61; + case 'weekday': + return preg_match('/^[0-9]$/', $value) && $value < 7; + case 'zone': + return preg_match('/^[+-][0-9]{4}$/', $value); + } + } + + /** + * Converts mailbox name from/to UTF7-IMAP from/to internal Sieve encoding + * with delimiter replacement. + * + * @param string $mailbox Mailbox name + * @param string $mode Conversion direction ('in'|'out') + * + * @return string Mailbox name + */ + protected function mod_mailbox($mailbox, $mode = 'out') + { + $delimiter = $_SESSION['imap_delimiter']; + $replace_delimiter = $this->rc->config->get('managesieve_replace_delimiter'); + $mbox_encoding = $this->rc->config->get('managesieve_mbox_encoding', 'UTF7-IMAP'); + + if ($mode == 'out') { + $mailbox = rcube_charset::convert($mailbox, $mbox_encoding, 'UTF7-IMAP'); + if ($replace_delimiter && $replace_delimiter != $delimiter) + $mailbox = str_replace($replace_delimiter, $delimiter, $mailbox); + } + else { + $mailbox = rcube_charset::convert($mailbox, 'UTF7-IMAP', $mbox_encoding); + if ($replace_delimiter && $replace_delimiter != $delimiter) + $mailbox = str_replace($delimiter, $replace_delimiter, $mailbox); + } + + return $mailbox; + } + + /** + * List sieve scripts + * + * @return array Scripts list + */ + public function list_scripts() + { + if ($this->list !== null) { + return $this->list; + } + + $this->list = $this->sieve->get_scripts(); + + // Handle active script(s) and list of scripts according to Kolab's KEP:14 + if ($this->rc->config->get('managesieve_kolab_master')) { + // Skip protected names + foreach ((array)$this->list as $idx => $name) { + $_name = strtoupper($name); + if ($_name == 'MASTER') + $master_script = $name; + else if ($_name == 'MANAGEMENT') + $management_script = $name; + else if($_name == 'USER') + $user_script = $name; + else + continue; + + unset($this->list[$idx]); + } + + // get active script(s), read USER script + if ($user_script) { + $extension = $this->rc->config->get('managesieve_filename_extension', '.sieve'); + $filename_regex = '/'.preg_quote($extension, '/').'$/'; + $_SESSION['managesieve_user_script'] = $user_script; + + $this->sieve->load($user_script); + + foreach ($this->sieve->script->as_array() as $rules) { + foreach ($rules['actions'] as $action) { + if ($action['type'] == 'include' && empty($action['global'])) { + $name = preg_replace($filename_regex, '', $action['target']); + // make sure the script exist + if (in_array($name, $this->list)) { + $this->active[] = $name; + } + } + } + } + } + // create USER script if it doesn't exist + else { + $content = "# USER Management Script\n" + ."#\n" + ."# This script includes the various active sieve scripts\n" + ."# it is AUTOMATICALLY GENERATED. DO NOT EDIT MANUALLY!\n" + ."#\n" + ."# For more information, see http://wiki.kolab.org/KEP:14#USER\n" + ."#\n"; + if ($this->sieve->save_script('USER', $content)) { + $_SESSION['managesieve_user_script'] = 'USER'; + if (empty($this->master_file)) + $this->sieve->activate('USER'); + } + } + } + else if (!empty($this->list)) { + // Get active script name + if ($active = $this->sieve->get_active()) { + $this->active = array($active); + } + + // Hide scripts from config + $exceptions = $this->rc->config->get('managesieve_filename_exceptions'); + if (!empty($exceptions)) { + $this->list = array_diff($this->list, (array)$exceptions); + } + } + + // reindex + if (!empty($this->list)) { + $this->list = array_values($this->list); + } + + return $this->list; + } + + /** + * Removes sieve script + * + * @param string $name Script name + * + * @return bool True on success, False on failure + */ + public function remove_script($name) + { + $result = $this->sieve->remove($name); + + // Kolab's KEP:14 + if ($result && $this->rc->config->get('managesieve_kolab_master')) { + $this->deactivate_script($name); + } + + return $result; + } + + /** + * Activates sieve script + * + * @param string $name Script name + * + * @return bool True on success, False on failure + */ + public function activate_script($name) + { + // Kolab's KEP:14 + if ($this->rc->config->get('managesieve_kolab_master')) { + $extension = $this->rc->config->get('managesieve_filename_extension', '.sieve'); + $user_script = $_SESSION['managesieve_user_script']; + + // if the script is not active... + if ($user_script && array_search($name, $this->active) === false) { + // ...rewrite USER file adding appropriate include command + if ($this->sieve->load($user_script)) { + $script = $this->sieve->script->as_array(); + $list = array(); + $regexp = '/' . preg_quote($extension, '/') . '$/'; + + // Create new include entry + $rule = array( + 'actions' => array( + 0 => array( + 'target' => $name.$extension, + 'type' => 'include', + 'personal' => true, + ))); + + // get all active scripts for sorting + foreach ($script as $rid => $rules) { + foreach ($rules['actions'] as $action) { + if ($action['type'] == 'include' && empty($action['global'])) { + $target = $extension ? preg_replace($regexp, '', $action['target']) : $action['target']; + $list[] = $target; + } + } + } + $list[] = $name; + + // Sort and find current script position + asort($list, SORT_LOCALE_STRING); + $list = array_values($list); + $index = array_search($name, $list); + + // add rule at the end of the script + if ($index === false || $index == count($list)-1) { + $this->sieve->script->add_rule($rule); + } + // add rule at index position + else { + $script2 = array(); + foreach ($script as $rid => $rules) { + if ($rid == $index) { + $script2[] = $rule; + } + $script2[] = $rules; + } + $this->sieve->script->content = $script2; + } + + $result = $this->sieve->save(); + if ($result) { + $this->active[] = $name; + } + } + } + } + else { + $result = $this->sieve->activate($name); + if ($result) + $this->active = array($name); + } + + return $result; + } + + /** + * Deactivates sieve script + * + * @param string $name Script name + * + * @return bool True on success, False on failure + */ + public function deactivate_script($name) + { + // Kolab's KEP:14 + if ($this->rc->config->get('managesieve_kolab_master')) { + $extension = $this->rc->config->get('managesieve_filename_extension', '.sieve'); + $user_script = $_SESSION['managesieve_user_script']; + + // if the script is active... + if ($user_script && ($key = array_search($name, $this->active)) !== false) { + // ...rewrite USER file removing appropriate include command + if ($this->sieve->load($user_script)) { + $script = $this->sieve->script->as_array(); + $name = $name.$extension; + + foreach ($script as $rid => $rules) { + foreach ($rules['actions'] as $action) { + if ($action['type'] == 'include' && empty($action['global']) + && $action['target'] == $name + ) { + break 2; + } + } + } + + // Entry found + if ($rid < count($script)) { + $this->sieve->script->delete_rule($rid); + $result = $this->sieve->save(); + if ($result) { + unset($this->active[$key]); + } + } + } + } + } + else { + $result = $this->sieve->deactivate(); + if ($result) + $this->active = array(); + } + + return $result; + } + + /** + * Saves current script (adding some variables) + */ + public function save_script($name = null) + { + // Kolab's KEP:14 + if ($this->rc->config->get('managesieve_kolab_master')) { + $this->sieve->script->set_var('EDITOR', self::PROGNAME); + $this->sieve->script->set_var('EDITOR_VERSION', self::VERSION); + } + + return $this->sieve->save($name); + } + + /** + * Returns list of rules from the current script + * + * @return array List of rules + */ + public function list_rules() + { + $result = array(); + $i = 1; + + foreach ($this->script as $idx => $filter) { + if (empty($filter['actions'])) { + continue; + } + $fname = $filter['name'] ? $filter['name'] : "#$i"; + $result[] = array( + 'id' => $idx, + 'name' => $fname, + 'class' => $filter['disabled'] ? 'disabled' : '', + ); + $i++; + } + + return $result; + } + + /** + * Initializes internal script data + */ + protected function init_script() + { + if (!$this->sieve->script) { + return; + } + + $this->script = $this->sieve->script->as_array(); + + $headers = array(); + $exceptions = array('date', 'currentdate', 'size', 'body'); + + // find common headers used in script, will be added to the list + // of available (predefined) headers (#1489271) + foreach ($this->script as $rule) { + foreach ((array) $rule['tests'] as $test) { + if ($test['test'] == 'header') { + foreach ((array) $test['arg1'] as $header) { + $lc_header = strtolower($header); + + // skip special names to not confuse UI + if (in_array($lc_header, $exceptions)) { + continue; + } + + if (!isset($this->headers[$lc_header]) && !isset($headers[$lc_header])) { + $headers[$lc_header] = $header; + } + } + } + } + } + + ksort($headers); + + $this->headers += $headers; + } + + /** + * Get all e-mail addresses of the user + */ + protected function user_emails() + { + $addresses = $this->rc->user->list_emails(); + + foreach ($addresses as $idx => $email) { + $addresses[$idx] = $email['email']; + } + + $addresses = array_unique($addresses); + sort($addresses); + + return $addresses; + } +} diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve_script.php b/plugins/managesieve/lib/Roundcube/rcube_sieve_script.php new file mode 100644 index 000000000..518d79d35 --- /dev/null +++ b/plugins/managesieve/lib/Roundcube/rcube_sieve_script.php @@ -0,0 +1,1217 @@ +<?php + +/** + * Class for operations on Sieve scripts + * + * Copyright (C) 2008-2011, The Roundcube Dev Team + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_sieve_script +{ + public $content = array(); // script rules array + + private $vars = array(); // "global" variables + private $prefix = ''; // script header (comments) + private $supported = array( // Sieve extensions supported by class + 'body', // RFC5173 + 'copy', // RFC3894 + 'date', // RFC5260 + 'enotify', // RFC5435 + 'envelope', // RFC5228 + 'ereject', // RFC5429 + 'fileinto', // RFC5228 + 'imapflags', // draft-melnikov-sieve-imapflags-06 + 'imap4flags', // RFC5232 + 'include', // draft-ietf-sieve-include-12 + 'index', // RFC5260 + 'notify', // draft-martin-sieve-notify-01, + 'regex', // draft-ietf-sieve-regex-01 + 'reject', // RFC5429 + 'relational', // RFC3431 + 'subaddress', // RFC5233 + 'vacation', // RFC5230 + 'vacation-seconds', // RFC6131 + 'variables', // RFC5229 + // @TODO: spamtest+virustest, mailbox + ); + + /** + * Object constructor + * + * @param string Script's text content + * @param array List of capabilities supported by server + */ + public function __construct($script, $capabilities=array()) + { + $capabilities = array_map('strtolower', (array) $capabilities); + + // disable features by server capabilities + if (!empty($capabilities)) { + foreach ($this->supported as $idx => $ext) { + if (!in_array($ext, $capabilities)) { + unset($this->supported[$idx]); + } + } + } + + // Parse text content of the script + $this->_parse_text($script); + } + + /** + * Adds rule to the script (at the end) + * + * @param string Rule name + * @param array Rule content (as array) + * + * @return int The index of the new rule + */ + public function add_rule($content) + { + // TODO: check this->supported + array_push($this->content, $content); + return sizeof($this->content)-1; + } + + public function delete_rule($index) + { + if(isset($this->content[$index])) { + unset($this->content[$index]); + return true; + } + return false; + } + + public function size() + { + return sizeof($this->content); + } + + public function update_rule($index, $content) + { + // TODO: check this->supported + if ($this->content[$index]) { + $this->content[$index] = $content; + return $index; + } + return false; + } + + /** + * Sets "global" variable + * + * @param string $name Variable name + * @param string $value Variable value + * @param array $mods Variable modifiers + */ + public function set_var($name, $value, $mods = array()) + { + // Check if variable exists + for ($i=0, $len=count($this->vars); $i<$len; $i++) { + if ($this->vars[$i]['name'] == $name) { + break; + } + } + + $var = array_merge($mods, array('name' => $name, 'value' => $value)); + $this->vars[$i] = $var; + } + + /** + * Unsets "global" variable + * + * @param string $name Variable name + */ + public function unset_var($name) + { + // Check if variable exists + foreach ($this->vars as $idx => $var) { + if ($var['name'] == $name) { + unset($this->vars[$idx]); + break; + } + } + } + + /** + * Gets the value of "global" variable + * + * @param string $name Variable name + * + * @return string Variable value + */ + public function get_var($name) + { + // Check if variable exists + for ($i=0, $len=count($this->vars); $i<$len; $i++) { + if ($this->vars[$i]['name'] == $name) { + return $this->vars[$i]['name']; + } + } + } + + /** + * Sets script header content + * + * @param string $text Header content + */ + public function set_prefix($text) + { + $this->prefix = $text; + } + + /** + * Returns script as text + */ + public function as_text() + { + $output = ''; + $exts = array(); + $idx = 0; + + if (!empty($this->vars)) { + if (in_array('variables', (array)$this->supported)) { + $has_vars = true; + array_push($exts, 'variables'); + } + foreach ($this->vars as $var) { + if (empty($has_vars)) { + // 'variables' extension not supported, put vars in comments + $output .= sprintf("# %s %s\n", $var['name'], $var['value']); + } + else { + $output .= 'set '; + foreach (array_diff(array_keys($var), array('name', 'value')) as $opt) { + $output .= ":$opt "; + } + $output .= self::escape_string($var['name']) . ' ' . self::escape_string($var['value']) . ";\n"; + } + } + } + + $imapflags = in_array('imap4flags', $this->supported) ? 'imap4flags' : 'imapflags'; + $notify = in_array('enotify', $this->supported) ? 'enotify' : 'notify'; + + // rules + foreach ($this->content as $rule) { + $script = ''; + $tests = array(); + $i = 0; + + // header + if (!empty($rule['name']) && strlen($rule['name'])) { + $script .= '# rule:[' . $rule['name'] . "]\n"; + } + + // constraints expressions + if (!empty($rule['tests'])) { + foreach ($rule['tests'] as $test) { + $tests[$i] = ''; + switch ($test['test']) { + case 'size': + $tests[$i] .= ($test['not'] ? 'not ' : ''); + $tests[$i] .= 'size :' . ($test['type']=='under' ? 'under ' : 'over ') . $test['arg']; + break; + + case 'true': + $tests[$i] .= ($test['not'] ? 'false' : 'true'); + break; + + case 'exists': + $tests[$i] .= ($test['not'] ? 'not ' : ''); + $tests[$i] .= 'exists ' . self::escape_string($test['arg']); + break; + + case 'header': + $tests[$i] .= ($test['not'] ? 'not ' : ''); + $tests[$i] .= 'header'; + + $this->add_index($test, $tests[$i], $exts); + $this->add_operator($test, $tests[$i], $exts); + + $tests[$i] .= ' ' . self::escape_string($test['arg1']); + $tests[$i] .= ' ' . self::escape_string($test['arg2']); + break; + + case 'address': + case 'envelope': + if ($test['test'] == 'envelope') { + array_push($exts, 'envelope'); + } + + $tests[$i] .= ($test['not'] ? 'not ' : ''); + $tests[$i] .= $test['test']; + + if ($test['test'] != 'envelope') { + $this->add_index($test, $tests[$i], $exts); + } + + // :all address-part is optional, skip it + if (!empty($test['part']) && $test['part'] != 'all') { + $tests[$i] .= ' :' . $test['part']; + if ($test['part'] == 'user' || $test['part'] == 'detail') { + array_push($exts, 'subaddress'); + } + } + + $this->add_operator($test, $tests[$i], $exts); + + $tests[$i] .= ' ' . self::escape_string($test['arg1']); + $tests[$i] .= ' ' . self::escape_string($test['arg2']); + break; + + case 'body': + array_push($exts, 'body'); + + $tests[$i] .= ($test['not'] ? 'not ' : '') . 'body'; + + if (!empty($test['part'])) { + $tests[$i] .= ' :' . $test['part']; + + if (!empty($test['content']) && $test['part'] == 'content') { + $tests[$i] .= ' ' . self::escape_string($test['content']); + } + } + + $this->add_operator($test, $tests[$i], $exts); + + $tests[$i] .= ' ' . self::escape_string($test['arg']); + break; + + case 'date': + case 'currentdate': + array_push($exts, 'date'); + + $tests[$i] .= ($test['not'] ? 'not ' : '') . $test['test']; + + $this->add_index($test, $tests[$i], $exts); + + if (!empty($test['originalzone']) && $test['test'] == 'date') { + $tests[$i] .= ' :originalzone'; + } + else if (!empty($test['zone'])) { + $tests[$i] .= ' :zone ' . self::escape_string($test['zone']); + } + + $this->add_operator($test, $tests[$i], $exts); + + if ($test['test'] == 'date') { + $tests[$i] .= ' ' . self::escape_string($test['header']); + } + + $tests[$i] .= ' ' . self::escape_string($test['part']); + $tests[$i] .= ' ' . self::escape_string($test['arg']); + + break; + } + $i++; + } + } + + // disabled rule: if false #.... + if (!empty($tests)) { + $script .= 'if ' . ($rule['disabled'] ? 'false # ' : ''); + + if (count($tests) > 1) { + $tests_str = implode(', ', $tests); + } + else { + $tests_str = $tests[0]; + } + + if ($rule['join'] || count($tests) > 1) { + $script .= sprintf('%s (%s)', $rule['join'] ? 'allof' : 'anyof', $tests_str); + } + else { + $script .= $tests_str; + } + $script .= "\n{\n"; + } + + // action(s) + if (!empty($rule['actions'])) { + foreach ($rule['actions'] as $action) { + $action_script = ''; + + switch ($action['type']) { + + case 'fileinto': + array_push($exts, 'fileinto'); + $action_script .= 'fileinto '; + if ($action['copy']) { + $action_script .= ':copy '; + array_push($exts, 'copy'); + } + $action_script .= self::escape_string($action['target']); + break; + + case 'redirect': + $action_script .= 'redirect '; + if ($action['copy']) { + $action_script .= ':copy '; + array_push($exts, 'copy'); + } + $action_script .= self::escape_string($action['target']); + break; + + case 'reject': + case 'ereject': + array_push($exts, $action['type']); + $action_script .= $action['type'].' ' + . self::escape_string($action['target']); + break; + + case 'addflag': + case 'setflag': + case 'removeflag': + array_push($exts, $imapflags); + $action_script .= $action['type'].' ' + . self::escape_string($action['target']); + break; + + case 'keep': + case 'discard': + case 'stop': + $action_script .= $action['type']; + break; + + case 'include': + array_push($exts, 'include'); + $action_script .= 'include '; + foreach (array_diff(array_keys($action), array('target', 'type')) as $opt) { + $action_script .= ":$opt "; + } + $action_script .= self::escape_string($action['target']); + break; + + case 'set': + array_push($exts, 'variables'); + $action_script .= 'set '; + foreach (array_diff(array_keys($action), array('name', 'value', 'type')) as $opt) { + $action_script .= ":$opt "; + } + $action_script .= self::escape_string($action['name']) . ' ' . self::escape_string($action['value']); + break; + + case 'notify': + array_push($exts, $notify); + $action_script .= 'notify'; + + $method = $action['method']; + unset($action['method']); + $action['options'] = (array) $action['options']; + + // Here we support draft-martin-sieve-notify-01 used by Cyrus + if ($notify == 'notify') { + switch ($action['importance']) { + case 1: $action_script .= " :high"; break; + //case 2: $action_script .= " :normal"; break; + case 3: $action_script .= " :low"; break; + } + + // Old-draft way: :method "mailto" :options "email@address" + if (!empty($method)) { + $parts = explode(':', $method, 2); + $action['method'] = $parts[0]; + array_unshift($action['options'], $parts[1]); + } + + unset($action['importance']); + unset($action['from']); + unset($method); + } + + foreach (array('id', 'importance', 'method', 'options', 'from', 'message') as $n_tag) { + if (!empty($action[$n_tag])) { + $action_script .= " :$n_tag " . self::escape_string($action[$n_tag]); + } + } + + if (!empty($method)) { + $action_script .= ' ' . self::escape_string($method); + } + + break; + + case 'vacation': + array_push($exts, 'vacation'); + $action_script .= 'vacation'; + if (isset($action['seconds'])) { + array_push($exts, 'vacation-seconds'); + $action_script .= " :seconds " . intval($action['seconds']); + } + else if (!empty($action['days'])) { + $action_script .= " :days " . intval($action['days']); + } + if (!empty($action['addresses'])) + $action_script .= " :addresses " . self::escape_string($action['addresses']); + if (!empty($action['subject'])) + $action_script .= " :subject " . self::escape_string($action['subject']); + if (!empty($action['handle'])) + $action_script .= " :handle " . self::escape_string($action['handle']); + if (!empty($action['from'])) + $action_script .= " :from " . self::escape_string($action['from']); + if (!empty($action['mime'])) + $action_script .= " :mime"; + $action_script .= " " . self::escape_string($action['reason']); + break; + } + + if ($action_script) { + $script .= !empty($tests) ? "\t" : ''; + $script .= $action_script . ";\n"; + } + } + } + + if ($script) { + $output .= $script . (!empty($tests) ? "}\n" : ''); + $idx++; + } + } + + // requires + if (!empty($exts)) { + $exts = array_unique($exts); + + if (in_array('vacation-seconds', $exts) && ($key = array_search('vacation', $exts)) !== false) { + unset($exts[$key]); + } + + sort($exts); // for convenience use always the same order + + $output = 'require ["' . implode('","', $exts) . "\"];\n" . $output; + } + + if (!empty($this->prefix)) { + $output = $this->prefix . "\n\n" . $output; + } + + return $output; + } + + /** + * Returns script object + * + */ + public function as_array() + { + return $this->content; + } + + /** + * Returns array of supported extensions + * + */ + public function get_extensions() + { + return array_values($this->supported); + } + + /** + * Converts text script to rules array + * + * @param string Text script + */ + private function _parse_text($script) + { + $prefix = ''; + $options = array(); + + while ($script) { + $script = trim($script); + $rule = array(); + + // Comments + while (!empty($script) && $script[0] == '#') { + $endl = strpos($script, "\n"); + $line = $endl ? substr($script, 0, $endl) : $script; + + // Roundcube format + if (preg_match('/^# rule:\[(.*)\]/', $line, $matches)) { + $rulename = $matches[1]; + } + // KEP:14 variables + else if (preg_match('/^# (EDITOR|EDITOR_VERSION) (.+)$/', $line, $matches)) { + $this->set_var($matches[1], $matches[2]); + } + // Horde-Ingo format + else if (!empty($options['format']) && $options['format'] == 'INGO' + && preg_match('/^# (.*)/', $line, $matches) + ) { + $rulename = $matches[1]; + } + else if (empty($options['prefix'])) { + $prefix .= $line . "\n"; + } + + $script = ltrim(substr($script, strlen($line) + 1)); + } + + // handle script header + if (empty($options['prefix'])) { + $options['prefix'] = true; + if ($prefix && strpos($prefix, 'horde.org/ingo')) { + $options['format'] = 'INGO'; + } + } + + // Control structures/blocks + if (preg_match('/^(if|else|elsif)/i', $script)) { + $rule = $this->_tokenize_rule($script); + if (strlen($rulename) && !empty($rule)) { + $rule['name'] = $rulename; + } + } + // Simple commands + else { + $rule = $this->_parse_actions($script, ';'); + if (!empty($rule[0]) && is_array($rule)) { + // set "global" variables + if ($rule[0]['type'] == 'set') { + unset($rule[0]['type']); + $this->vars[] = $rule[0]; + unset($rule); + } + else { + $rule = array('actions' => $rule); + } + } + } + + $rulename = ''; + + if (!empty($rule)) { + $this->content[] = $rule; + } + } + + if (!empty($prefix)) { + $this->prefix = trim($prefix); + } + } + + /** + * Convert text script fragment to rule object + * + * @param string Text rule + * + * @return array Rule data + */ + private function _tokenize_rule(&$content) + { + $cond = strtolower(self::tokenize($content, 1)); + + if ($cond != 'if' && $cond != 'elsif' && $cond != 'else') { + return null; + } + + $disabled = false; + $join = false; + $join_not = false; + + // disabled rule (false + comment): if false # ..... + if (preg_match('/^\s*false\s+#/i', $content)) { + $content = preg_replace('/^\s*false\s+#\s*/i', '', $content); + $disabled = true; + } + + while (strlen($content)) { + $tokens = self::tokenize($content, true); + $separator = array_pop($tokens); + + if (!empty($tokens)) { + $token = array_shift($tokens); + } + else { + $token = $separator; + } + + $token = strtolower($token); + + if ($token == 'not') { + $not = true; + $token = strtolower(array_shift($tokens)); + } + else { + $not = false; + } + + // we support "not allof" as a negation of allof sub-tests + if ($join_not) { + $not = !$not; + } + + switch ($token) { + case 'allof': + $join = true; + $join_not = $not; + break; + + case 'anyof': + break; + + case 'size': + $test = array('test' => 'size', 'not' => $not); + + $test['arg'] = array_pop($tokens); + + for ($i=0, $len=count($tokens); $i<$len; $i++) { + if (!is_array($tokens[$i]) + && preg_match('/^:(under|over)$/i', $tokens[$i]) + ) { + $test['type'] = strtolower(substr($tokens[$i], 1)); + } + } + + $tests[] = $test; + break; + + case 'header': + case 'address': + case 'envelope': + $test = array('test' => $token, 'not' => $not); + + $test['arg2'] = array_pop($tokens); + $test['arg1'] = array_pop($tokens); + + $test += $this->test_tokens($tokens); + + if ($token != 'header' && !empty($tokens)) { + for ($i=0, $len=count($tokens); $i<$len; $i++) { + if (!is_array($tokens[$i]) && preg_match('/^:(localpart|domain|all|user|detail)$/i', $tokens[$i])) { + $test['part'] = strtolower(substr($tokens[$i], 1)); + } + } + } + + $tests[] = $test; + break; + + case 'body': + $test = array('test' => 'body', 'not' => $not); + + $test['arg'] = array_pop($tokens); + + $test += $this->test_tokens($tokens); + + for ($i=0, $len=count($tokens); $i<$len; $i++) { + if (!is_array($tokens[$i]) && preg_match('/^:(raw|content|text)$/i', $tokens[$i])) { + $test['part'] = strtolower(substr($tokens[$i], 1)); + + if ($test['part'] == 'content') { + $test['content'] = $tokens[++$i]; + } + } + } + + $tests[] = $test; + break; + + case 'date': + case 'currentdate': + $test = array('test' => $token, 'not' => $not); + + $test['arg'] = array_pop($tokens); + $test['part'] = array_pop($tokens); + + if ($token == 'date') { + $test['header'] = array_pop($tokens); + } + + $test += $this->test_tokens($tokens); + + for ($i=0, $len=count($tokens); $i<$len; $i++) { + if (!is_array($tokens[$i]) && preg_match('/^:zone$/i', $tokens[$i])) { + $test['zone'] = $tokens[++$i]; + } + else if (!is_array($tokens[$i]) && preg_match('/^:originalzone$/i', $tokens[$i])) { + $test['originalzone'] = true; + } + } + + $tests[] = $test; + break; + + case 'exists': + $tests[] = array('test' => 'exists', 'not' => $not, + 'arg' => array_pop($tokens)); + break; + + case 'true': + $tests[] = array('test' => 'true', 'not' => $not); + break; + + case 'false': + $tests[] = array('test' => 'true', 'not' => !$not); + break; + } + + // goto actions... + if ($separator == '{') { + break; + } + } + + // ...and actions block + $actions = $this->_parse_actions($content); + + if ($tests && $actions) { + $result = array( + 'type' => $cond, + 'tests' => $tests, + 'actions' => $actions, + 'join' => $join, + 'disabled' => $disabled, + ); + } + + return $result; + } + + /** + * Parse body of actions section + * + * @param string $content Text body + * @param string $end End of text separator + * + * @return array Array of parsed action type/target pairs + */ + private function _parse_actions(&$content, $end = '}') + { + $result = null; + + while (strlen($content)) { + $tokens = self::tokenize($content, true); + $separator = array_pop($tokens); + $token = !empty($tokens) ? array_shift($tokens) : $separator; + + switch ($token) { + case 'discard': + case 'keep': + case 'stop': + $result[] = array('type' => $token); + break; + + case 'fileinto': + case 'redirect': + $action = array('type' => $token, 'target' => array_pop($tokens)); + $args = array('copy'); + $action += $this->action_arguments($tokens, $args); + + $result[] = $action; + break; + + case 'vacation': + $action = array('type' => 'vacation', 'reason' => array_pop($tokens)); + $args = array('mime'); + $vargs = array('seconds', 'days', 'addresses', 'subject', 'handle', 'from'); + $action += $this->action_arguments($tokens, $args, $vargs); + + $result[] = $action; + break; + + case 'reject': + case 'ereject': + case 'setflag': + case 'addflag': + case 'removeflag': + $result[] = array('type' => $token, 'target' => array_pop($tokens)); + break; + + case 'include': + $action = array('type' => 'include', 'target' => array_pop($tokens)); + $args = array('once', 'optional', 'global', 'personal'); + $action += $this->action_arguments($tokens, $args); + + $result[] = $action; + break; + + case 'set': + $action = array('type' => 'set', 'value' => array_pop($tokens), 'name' => array_pop($tokens)); + $args = array('lower', 'upper', 'lowerfirst', 'upperfirst', 'quotewildcard', 'length'); + $action += $this->action_arguments($tokens, $args); + + $result[] = $action; + break; + + case 'require': + // skip, will be build according to used commands + // $result[] = array('type' => 'require', 'target' => array_pop($tokens)); + break; + + case 'notify': + $action = array('type' => 'notify'); + $priorities = array('high' => 1, 'normal' => 2, 'low' => 3); + $vargs = array('from', 'id', 'importance', 'options', 'message', 'method'); + $args = array_keys($priorities); + $action += $this->action_arguments($tokens, $args, $vargs); + + // Here we'll convert draft-martin-sieve-notify-01 into RFC 5435 + if (!isset($action['importance'])) { + foreach ($priorities as $key => $val) { + if (isset($action[$key])) { + $action['importance'] = $val; + unset($action[$key]); + } + } + } + + $action['options'] = (array) $action['options']; + + // Old-draft way: :method "mailto" :options "email@address" + if (!empty($action['method']) && !empty($action['options'])) { + $action['method'] .= ':' . array_shift($action['options']); + } + // unnamed parameter is a :method in enotify extension + else if (!isset($action['method'])) { + $action['method'] = array_pop($tokens); + } + + $result[] = $action; + break; + } + + if ($separator == $end) + break; + } + + return $result; + } + + /** + * Add comparator to the test + */ + private function add_comparator($test, &$out, &$exts) + { + if (empty($test['comparator'])) { + return; + } + + if ($test['comparator'] == 'i;ascii-numeric') { + array_push($exts, 'relational'); + array_push($exts, 'comparator-i;ascii-numeric'); + } + else if (!in_array($test['comparator'], array('i;octet', 'i;ascii-casemap'))) { + array_push($exts, 'comparator-' . $test['comparator']); + } + + // skip default comparator + if ($test['comparator'] != 'i;ascii-casemap') { + $out .= ' :comparator ' . self::escape_string($test['comparator']); + } + } + + /** + * Add index argument to the test + */ + private function add_index($test, &$out, &$exts) + { + if (!empty($test['index'])) { + array_push($exts, 'index'); + $out .= ' :index ' . intval($test['index']) . ($test['last'] ? ' :last' : ''); + } + } + + /** + * Add operators to the test + */ + private function add_operator($test, &$out, &$exts) + { + if (empty($test['type'])) { + return; + } + + // relational operator + if (preg_match('/^(value|count)-([gteqnl]{2})/', $test['type'], $m)) { + array_push($exts, 'relational'); + + $out .= ' :' . $m[1] . ' "' . $m[2] . '"'; + } + else { + if ($test['type'] == 'regex') { + array_push($exts, 'regex'); + } + + $out .= ' :' . $test['type']; + } + + $this->add_comparator($test, $out, $exts); + } + + /** + * Extract test tokens + */ + private function test_tokens(&$tokens) + { + $test = array(); + $result = array(); + + for ($i=0, $len=count($tokens); $i<$len; $i++) { + if (!is_array($tokens[$i]) && preg_match('/^:comparator$/i', $tokens[$i])) { + $test['comparator'] = $tokens[++$i]; + } + else if (!is_array($tokens[$i]) && preg_match('/^:(count|value)$/i', $tokens[$i])) { + $test['type'] = strtolower(substr($tokens[$i], 1)) . '-' . $tokens[++$i]; + } + else if (!is_array($tokens[$i]) && preg_match('/^:(is|contains|matches|regex)$/i', $tokens[$i])) { + $test['type'] = strtolower(substr($tokens[$i], 1)); + } + else if (!is_array($tokens[$i]) && preg_match('/^:index$/i', $tokens[$i])) { + $test['index'] = intval($tokens[++$i]); + if ($tokens[$i+1] && preg_match('/^:last$/i', $tokens[$i+1])) { + $test['last'] = true; + $i++; + } + } + else { + $result[] = $tokens[$i]; + } + } + + $tokens = $result; + + return $test; + } + + /** + * Extract action arguments + */ + private function action_arguments(&$tokens, $bool_args, $val_args = array()) + { + $action = array(); + $result = array(); + + for ($i=0, $len=count($tokens); $i<$len; $i++) { + $tok = $tokens[$i]; + if (!is_array($tok) && $tok[0] == ':') { + $tok = strtolower(substr($tok, 1)); + if (in_array($tok, $bool_args)) { + $action[$tok] = true; + } + else if (in_array($tok, $val_args)) { + $action[$tok] = $tokens[++$i]; + } + else { + $result[] = $tok; + } + } + else { + $result[] = $tok; + } + } + + $tokens = $result; + + return $action; + } + + /** + * Escape special chars into quoted string value or multi-line string + * or list of strings + * + * @param string $str Text or array (list) of strings + * + * @return string Result text + */ + static function escape_string($str) + { + if (is_array($str) && count($str) > 1) { + foreach($str as $idx => $val) + $str[$idx] = self::escape_string($val); + + return '[' . implode(',', $str) . ']'; + } + else if (is_array($str)) { + $str = array_pop($str); + } + + // multi-line string + if (preg_match('/[\r\n\0]/', $str) || strlen($str) > 1024) { + return sprintf("text:\n%s\n.\n", self::escape_multiline_string($str)); + } + // quoted-string + else { + return '"' . addcslashes($str, '\\"') . '"'; + } + } + + /** + * Escape special chars in multi-line string value + * + * @param string $str Text + * + * @return string Text + */ + static function escape_multiline_string($str) + { + $str = preg_split('/(\r?\n)/', $str, -1, PREG_SPLIT_DELIM_CAPTURE); + + foreach ($str as $idx => $line) { + // dot-stuffing + if (isset($line[0]) && $line[0] == '.') { + $str[$idx] = '.' . $line; + } + } + + return implode($str); + } + + /** + * Splits script into string tokens + * + * @param string &$str The script + * @param mixed $num Number of tokens to return, 0 for all + * or True for all tokens until separator is found. + * Separator will be returned as last token. + * + * @return mixed Tokens array or string if $num=1 + */ + static function tokenize(&$str, $num=0) + { + $result = array(); + + // remove spaces from the beginning of the string + while (($str = ltrim($str)) !== '' + && (!$num || $num === true || count($result) < $num) + ) { + switch ($str[0]) { + + // Quoted string + case '"': + $len = strlen($str); + + for ($pos=1; $pos<$len; $pos++) { + if ($str[$pos] == '"') { + break; + } + if ($str[$pos] == "\\") { + if ($str[$pos + 1] == '"' || $str[$pos + 1] == "\\") { + $pos++; + } + } + } + if ($str[$pos] != '"') { + // error + } + // we need to strip slashes for a quoted string + $result[] = stripslashes(substr($str, 1, $pos - 1)); + $str = substr($str, $pos + 1); + break; + + // Parenthesized list + case '[': + $str = substr($str, 1); + $result[] = self::tokenize($str, 0); + break; + case ']': + $str = substr($str, 1); + return $result; + break; + + // list/test separator + case ',': + // command separator + case ';': + // block/tests-list + case '(': + case ')': + case '{': + case '}': + $sep = $str[0]; + $str = substr($str, 1); + if ($num === true) { + $result[] = $sep; + break 2; + } + break; + + // bracket-comment + case '/': + if ($str[1] == '*') { + if ($end_pos = strpos($str, '*/')) { + $str = substr($str, $end_pos + 2); + } + else { + // error + $str = ''; + } + } + break; + + // hash-comment + case '#': + if ($lf_pos = strpos($str, "\n")) { + $str = substr($str, $lf_pos); + break; + } + else { + $str = ''; + } + + // String atom + default: + // empty or one character + if ($str === '' || $str === null) { + break 2; + } + if (strlen($str) < 2) { + $result[] = $str; + $str = ''; + break; + } + + // tag/identifier/number + if (preg_match('/^([a-z0-9:_]+)/i', $str, $m)) { + $str = substr($str, strlen($m[1])); + + if ($m[1] != 'text:') { + $result[] = $m[1]; + } + // multiline string + else { + // possible hash-comment after "text:" + if (preg_match('/^( |\t)*(#[^\n]+)?\n/', $str, $m)) { + $str = substr($str, strlen($m[0])); + } + // get text until alone dot in a line + if (preg_match('/^(.*)\r?\n\.\r?\n/sU', $str, $m)) { + $text = $m[1]; + // remove dot-stuffing + $text = str_replace("\n..", "\n.", $text); + $str = substr($str, strlen($m[0])); + } + else { + $text = ''; + } + + $result[] = $text; + } + } + // fallback, skip one character as infinite loop prevention + else { + $str = substr($str, 1); + } + + break; + } + } + + return $num === 1 ? (isset($result[0]) ? $result[0] : null) : $result; + } + +} diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php b/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php new file mode 100644 index 000000000..2779d2f1b --- /dev/null +++ b/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php @@ -0,0 +1,901 @@ +<?php + +/** + * Managesieve Vacation Engine + * + * Engine part of Managesieve plugin implementing UI and backend access. + * + * Copyright (C) 2011-2014, Kolab Systems AG + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_sieve_vacation extends rcube_sieve_engine +{ + protected $error; + protected $script_name; + protected $vacation = array(); + + function actions() + { + $error = $this->start('vacation'); + + // find current vacation rule + if (!$error) { + $this->vacation_rule(); + $this->vacation_post(); + } + + $this->plugin->add_label('vacation.saving'); + $this->rc->output->add_handlers(array( + 'vacationform' => array($this, 'vacation_form'), + )); + + $this->rc->output->set_pagetitle($this->plugin->gettext('vacation')); + $this->rc->output->send('managesieve.vacation'); + } + + /** + * Find and load sieve script with/for vacation rule + * + * @return int Connection status: 0 on success, >0 on failure + */ + protected function load_script() + { + if ($this->script_name !== null) { + return 0; + } + + $list = $this->list_scripts(); + $master = $this->rc->config->get('managesieve_kolab_master'); + $included = array(); + + $this->script_name = false; + + // first try the active script(s)... + if (!empty($this->active)) { + // Note: there can be more than one active script on KEP:14-enabled server + foreach ($this->active as $script) { + if ($this->sieve->load($script)) { + foreach ($this->sieve->script->as_array() as $rule) { + if (!empty($rule['actions'])) { + if ($rule['actions'][0]['type'] == 'vacation') { + $this->script_name = $script; + return 0; + } + else if (empty($master) && $rule['actions'][0]['type'] == 'include') { + $included[] = $rule['actions'][0]['target']; + } + } + } + } + } + + // ...else try scripts included in active script (not for KEP:14) + foreach ($included as $script) { + if ($this->sieve->load($script)) { + foreach ($this->sieve->script->as_array() as $rule) { + if (!empty($rule['actions']) && $rule['actions'][0]['type'] == 'vacation') { + $this->script_name = $script; + return 0; + } + } + } + } + } + + // try all other scripts + if (!empty($list)) { + // else try included scripts + foreach (array_diff($list, $included, $this->active) as $script) { + if ($this->sieve->load($script)) { + foreach ($this->sieve->script->as_array() as $rule) { + if (!empty($rule['actions']) && $rule['actions'][0]['type'] == 'vacation') { + $this->script_name = $script; + return 0; + } + } + } + } + + // none of the scripts contains existing vacation rule + // use any (first) active or just existing script (in that order) + if (!empty($this->active)) { + $this->sieve->load($this->script_name = $this->active[0]); + } + else { + $this->sieve->load($this->script_name = $list[0]); + } + } + + return $this->sieve->error(); + } + + private function vacation_rule() + { + if ($this->script_name === false || $this->script_name === null || !$this->sieve->load($this->script_name)) { + return; + } + + $list = array(); + $active = in_array($this->script_name, $this->active); + + // find (first) vacation rule + foreach ($this->script as $idx => $rule) { + if (empty($this->vacation) && !empty($rule['actions']) && $rule['actions'][0]['type'] == 'vacation') { + foreach ($rule['actions'] as $act) { + if ($act['type'] == 'discard' || $act['type'] == 'keep') { + $action = $act['type']; + } + else if ($act['type'] == 'redirect') { + $action = $act['copy'] ? 'copy' : 'redirect'; + $target = $act['target']; + } + } + + $this->vacation = array_merge($rule['actions'][0], array( + 'idx' => $idx, + 'disabled' => $rule['disabled'] || !$active, + 'name' => $rule['name'], + 'tests' => $rule['tests'], + 'action' => $action ?: 'keep', + 'target' => $target, + )); + } + else if ($active) { + $list[$idx] = $rule['name']; + } + } + + $this->vacation['list'] = $list; + } + + private function vacation_post() + { + if (empty($_POST)) { + return; + } + + $date_extension = in_array('date', $this->exts); + $regex_extension = in_array('regex', $this->exts); + + // set user's timezone + try { + $timezone = new DateTimeZone($this->rc->config->get('timezone', 'GMT')); + } + catch (Exception $e) { + $timezone = new DateTimeZone('GMT'); + } + + $status = rcube_utils::get_input_value('vacation_status', rcube_utils::INPUT_POST); + $subject = rcube_utils::get_input_value('vacation_subject', rcube_utils::INPUT_POST, true); + $reason = rcube_utils::get_input_value('vacation_reason', rcube_utils::INPUT_POST, true); + $addresses = rcube_utils::get_input_value('vacation_addresses', rcube_utils::INPUT_POST, true); + $interval = rcube_utils::get_input_value('vacation_interval', rcube_utils::INPUT_POST); + $interval_type = rcube_utils::get_input_value('vacation_interval_type', rcube_utils::INPUT_POST); + $date_from = rcube_utils::get_input_value('vacation_datefrom', rcube_utils::INPUT_POST); + $date_to = rcube_utils::get_input_value('vacation_dateto', rcube_utils::INPUT_POST); + $time_from = rcube_utils::get_input_value('vacation_timefrom', rcube_utils::INPUT_POST); + $time_to = rcube_utils::get_input_value('vacation_timeto', rcube_utils::INPUT_POST); + $after = rcube_utils::get_input_value('vacation_after', rcube_utils::INPUT_POST); + $action = rcube_utils::get_input_value('vacation_action', rcube_utils::INPUT_POST); + $target = rcube_utils::get_input_value('action_target', rcube_utils::INPUT_POST, true); + $target_domain = rcube_utils::get_input_value('action_domain', rcube_utils::INPUT_POST); + + $interval_type = $interval_type == 'seconds' ? 'seconds' : 'days'; + $vacation_action['type'] = 'vacation'; + $vacation_action['reason'] = $this->strip_value(str_replace("\r\n", "\n", $reason)); + $vacation_action['subject'] = $subject; + $vacation_action['addresses'] = $addresses; + $vacation_action[$interval_type] = $interval; + $vacation_tests = (array) $this->vacation['tests']; + + foreach ((array) $vacation_action['addresses'] as $aidx => $address) { + $vacation_action['addresses'][$aidx] = $address = trim($address); + + if (empty($address)) { + unset($vacation_action['addresses'][$aidx]); + } + else if (!rcube_utils::check_email($address)) { + $error = 'noemailwarning'; + break; + } + } + + if ($vacation_action['reason'] == '') { + $error = 'managesieve.emptyvacationbody'; + } + + if ($vacation_action[$interval_type] && !preg_match('/^[0-9]+$/', $vacation_action[$interval_type])) { + $error = 'managesieve.forbiddenchars'; + } + + // find and remove existing date/regex/true rules + foreach ((array) $vacation_tests as $idx => $t) { + if ($t['test'] == 'currentdate' || $t['test'] == 'true' + || ($t['test'] == 'header' && $t['type'] == 'regex' && $t['arg1'] == 'received') + ) { + unset($vacation_tests[$idx]); + } + } + + if ($date_extension) { + foreach (array('date_from', 'date_to') as $var) { + $time = ${str_replace('date', 'time', $var)}; + $date = trim($$var . ' ' . $time); + + if ($date && ($dt = rcube_utils::anytodatetime($date, $timezone))) { + if ($time) { + $vacation_tests[] = array( + 'test' => 'currentdate', + 'part' => 'iso8601', + 'type' => 'value-' . ($var == 'date_from' ? 'ge' : 'le'), + 'zone' => $dt->format('O'), + 'arg' => str_replace('+00:00', 'Z', strtoupper($dt->format('c'))), + ); + } + else { + $vacation_tests[] = array( + 'test' => 'currentdate', + 'part' => 'date', + 'type' => 'value-' . ($var == 'date_from' ? 'ge' : 'le'), + 'zone' => $dt->format('O'), + 'arg' => $dt->format('Y-m-d'), + ); + } + } + } + } + else if ($regex_extension) { + // Add date range rules if range specified + if ($date_from && $date_to) { + if ($tests = self::build_regexp_tests($date_from, $date_to, $error)) { + $vacation_tests = array_merge($vacation_tests, $tests); + } + } + } + + if ($action == 'redirect' || $action == 'copy') { + if ($target_domain) { + $target .= '@' . $target_domain; + } + + if (empty($target) || !rcube_utils::check_email($target)) { + $error = 'noemailwarning'; + } + } + + if (empty($vacation_tests)) { + $vacation_tests = $this->rc->config->get('managesieve_vacation_test', array(array('test' => 'true'))); + } + + if (!$error) { + $rule = $this->vacation; + $rule['type'] = 'if'; + $rule['name'] = $rule['name'] ?: $this->plugin->gettext('vacation'); + $rule['disabled'] = $status == 'off'; + $rule['tests'] = $vacation_tests; + $rule['join'] = $date_extension ? count($vacation_tests) > 1 : false; + $rule['actions'] = array($vacation_action); + $rule['after'] = $after; + + if ($action && $action != 'keep') { + $rule['actions'][] = array( + 'type' => $action == 'discard' ? 'discard' : 'redirect', + 'copy' => $action == 'copy', + 'target' => $action != 'discard' ? $target : '', + ); + } + + if ($this->save_vacation_script($rule)) { + $this->rc->output->show_message('managesieve.vacationsaved', 'confirmation'); + $this->rc->output->send(); + } + } + + $this->rc->output->show_message($error ? $error : 'managesieve.saveerror', 'error'); + $this->rc->output->send(); + } + + /** + * Independent vacation form + */ + public function vacation_form($attrib) + { + // check supported extensions + $date_extension = in_array('date', $this->exts); + $regex_extension = in_array('regex', $this->exts); + $seconds_extension = in_array('vacation-seconds', $this->exts); + + // build FORM tag + $form_id = !empty($attrib['id']) ? $attrib['id'] : 'form'; + $out = $this->rc->output->request_form(array( + 'id' => $form_id, + 'name' => $form_id, + 'method' => 'post', + 'task' => 'settings', + 'action' => 'plugin.managesieve-vacation', + 'noclose' => true + ) + $attrib); + + $auto_addr = $this->rc->config->get('managesieve_vacation_addresses_init'); + $addresses = !$auto_addr || count($this->vacation) > 1 ? (array) $this->vacation['addresses'] : $this->user_emails(); + + // form elements + $subject = new html_inputfield(array('name' => 'vacation_subject', 'id' => 'vacation_subject', 'size' => 50)); + $reason = new html_textarea(array('name' => 'vacation_reason', 'id' => 'vacation_reason', 'cols' => 60, 'rows' => 8)); + $interval = new html_inputfield(array('name' => 'vacation_interval', 'id' => 'vacation_interval', 'size' => 5)); + $addresses = '<textarea name="vacation_addresses" id="vacation_addresses" data-type="list" data-size="30" style="display: none">' + . rcube::Q(implode("\n", $addresses), 'strict', false) . '</textarea>'; + $status = new html_select(array('name' => 'vacation_status', 'id' => 'vacation_status')); + $action = new html_select(array('name' => 'vacation_action', 'id' => 'vacation_action', 'onchange' => 'vacation_action_select()')); + $addresses_link = new html_inputfield(array( + 'type' => 'button', + 'href' => '#', + 'class' => 'button', + 'onclick' => rcmail_output::JS_OBJECT_NAME . '.managesieve_vacation_addresses()' + )); + + $status->add($this->plugin->gettext('vacation.on'), 'on'); + $status->add($this->plugin->gettext('vacation.off'), 'off'); + + $action->add($this->plugin->gettext('vacation.keep'), 'keep'); + $action->add($this->plugin->gettext('vacation.discard'), 'discard'); + $action->add($this->plugin->gettext('vacation.redirect'), 'redirect'); + if (in_array('copy', $this->exts)) { + $action->add($this->plugin->gettext('vacation.copy'), 'copy'); + } + + if ($this->rc->config->get('managesieve_vacation') != 2 && count($this->vacation['list'])) { + $after = new html_select(array('name' => 'vacation_after', 'id' => 'vacation_after')); + + $after->add('', ''); + foreach ($this->vacation['list'] as $idx => $rule) { + $after->add($rule, $idx); + } + } + + $interval_txt = $interval->show(self::vacation_interval($this->vacation)); + if ($seconds_extension) { + $interval_select = new html_select(array('name' => 'vacation_interval_type')); + $interval_select->add($this->plugin->gettext('days'), 'days'); + $interval_select->add($this->plugin->gettext('seconds'), 'seconds'); + $interval_txt .= ' ' . $interval_select->show(isset($this->vacation['seconds']) ? 'seconds' : 'days'); + } + else { + $interval_txt .= ' ' . $this->plugin->gettext('days'); + } + + if ($date_extension || $regex_extension) { + $date_from = new html_inputfield(array('name' => 'vacation_datefrom', 'id' => 'vacation_datefrom', 'class' => 'datepicker', 'size' => 12)); + $date_to = new html_inputfield(array('name' => 'vacation_dateto', 'id' => 'vacation_dateto', 'class' => 'datepicker', 'size' => 12)); + $date_format = $this->rc->config->get('date_format', 'Y-m-d'); + } + + if ($date_extension) { + $time_from = new html_inputfield(array('name' => 'vacation_timefrom', 'id' => 'vacation_timefrom', 'size' => 6)); + $time_to = new html_inputfield(array('name' => 'vacation_timeto', 'id' => 'vacation_timeto', 'size' => 6)); + $time_format = $this->rc->config->get('time_format', 'H:i'); + $date_value = array(); + + foreach ((array) $this->vacation['tests'] as $test) { + if ($test['test'] == 'currentdate') { + $idx = $test['type'] == 'value-ge' ? 'from' : 'to'; + + if ($test['part'] == 'date') { + $date_value[$idx]['date'] = $test['arg']; + } + else if ($test['part'] == 'iso8601') { + $date_value[$idx]['datetime'] = $test['arg']; + } + } + } + + foreach ($date_value as $idx => $value) { + $date = $value['datetime'] ?: $value['date']; + $date_value[$idx] = $this->rc->format_date($date, $date_format, false); + + if (!empty($value['datetime'])) { + $date_value['time_' . $idx] = $this->rc->format_date($date, $time_format, true); + } + } + } + else if ($regex_extension) { + // Sieve 'date' extension not available, read start/end from RegEx based rules instead + if ($date_tests = self::parse_regexp_tests($this->vacation['tests'])) { + $date_value['from'] = $this->rc->format_date($date_tests['from'], $date_format, false); + $date_value['to'] = $this->rc->format_date($date_tests['to'], $date_format, false); + } + } + + // force domain selection in redirect email input + $domains = (array) $this->rc->config->get('managesieve_domains'); + $redirect = $this->vacation['action'] == 'redirect' || $this->vacation['action'] == 'copy'; + + if (!empty($domains)) { + sort($domains); + + $domain_select = new html_select(array('name' => 'action_domain', 'id' => 'action_domain')); + $domain_select->add(array_combine($domains, $domains)); + + if ($redirect && $this->vacation['target']) { + $parts = explode('@', $this->vacation['target']); + if (!empty($parts)) { + $this->vacation['domain'] = array_pop($parts); + $this->vacation['target'] = implode('@', $parts); + } + } + } + + // redirect target + $action_target = ' <span id="action_target_span" style="display:' . ($redirect ? 'inline' : 'none') . '">' + . '<input type="text" name="action_target" id="action_target"' + . ' value="' .($redirect ? rcube::Q($this->vacation['target'], 'strict', false) : '') . '"' + . (!empty($domains) ? ' size="20"' : ' size="35"') . '/>' + . (!empty($domains) ? ' @ ' . $domain_select->show($this->vacation['domain']) : '') + . '</span>'; + + // Message tab + $table = new html_table(array('cols' => 2)); + + $table->add('title', html::label('vacation_subject', $this->plugin->gettext('vacation.subject'))); + $table->add(null, $subject->show($this->vacation['subject'])); + $table->add('title', html::label('vacation_reason', $this->plugin->gettext('vacation.body'))); + $table->add(null, $reason->show($this->vacation['reason'])); + + if ($date_extension || $regex_extension) { + $table->add('title', html::label('vacation_datefrom', $this->plugin->gettext('vacation.start'))); + $table->add(null, $date_from->show($date_value['from']) . ($time_from ? ' ' . $time_from->show($date_value['time_from']) : '')); + $table->add('title', html::label('vacation_dateto', $this->plugin->gettext('vacation.end'))); + $table->add(null, $date_to->show($date_value['to']) . ($time_to ? ' ' . $time_to->show($date_value['time_to']) : '')); + } + + $table->add('title', html::label('vacation_status', $this->plugin->gettext('vacation.status'))); + $table->add(null, $status->show(!isset($this->vacation['disabled']) || $this->vacation['disabled'] ? 'off' : 'on')); + + $out .= html::tag('fieldset', $class, html::tag('legend', null, $this->plugin->gettext('vacation.reply')) . $table->show($attrib)); + + // Advanced tab + $table = new html_table(array('cols' => 2)); + + $table->add('title', html::label('vacation_addresses', $this->plugin->gettext('vacation.addresses'))); + $table->add(null, $addresses . $addresses_link->show($this->plugin->gettext('filladdresses'))); + $table->add('title', html::label('vacation_interval', $this->plugin->gettext('vacation.interval'))); + $table->add(null, $interval_txt); + + if ($after) { + $table->add('title', html::label('vacation_after', $this->plugin->gettext('vacation.after'))); + $table->add(null, $after->show($this->vacation['idx'] - 1)); + } + + $table->add('title', html::label('vacation_action', $this->plugin->gettext('vacation.action'))); + $table->add('vacation', $action->show($this->vacation['action']) . $action_target); + + $out .= html::tag('fieldset', $class, html::tag('legend', null, $this->plugin->gettext('vacation.advanced')) . $table->show($attrib)); + + $out .= '</form>'; + + $this->rc->output->add_gui_object('sieveform', $form_id); + + if ($time_format) { + $this->rc->output->set_env('time_format', $time_format); + } + + return $out; + } + + public static function build_regexp_tests($date_from, $date_to, &$error) + { + $tests = array(); + $dt_from = rcube_utils::anytodatetime($date_from); + $dt_to = rcube_utils::anytodatetime($date_to); + $interval = $dt_from->diff($dt_to); + + if ($interval->invert || $interval->days > 365) { + $error = 'managesieve.invaliddateformat'; + return; + } + + $dt_i = $dt_from; + $interval = new DateInterval('P1D'); + $matchexp = ''; + + while (!$dt_i->diff($dt_to)->invert) { + $days = (int) $dt_i->format('d'); + $matchexp .= $days < 10 ? "[ 0]$days" : $days; + + if ($days == $dt_i->format('t') || $dt_i->diff($dt_to)->days == 0) { + $test = array( + 'test' => 'header', + 'type' => 'regex', + 'arg1' => 'received', + 'arg2' => '('.$matchexp.') '.$dt_i->format('M Y') + ); + + $tests[] = $test; + $matchexp = ''; + } + else { + $matchexp .= '|'; + } + + $dt_i->add($interval); + } + + return $tests; + } + + public static function parse_regexp_tests($tests) + { + $rx_from = '/^\(([0-9]{2}).*\)\s([A-Za-z]+)\s([0-9]{4})/'; + $rx_to = '/^\(.*([0-9]{2})\)\s([A-Za-z]+)\s([0-9]{4})/'; + $result = array(); + + foreach ((array) $tests as $test) { + if ($test['test'] == 'header' && $test['type'] == 'regex' && $test['arg1'] == 'received') { + $textexp = preg_replace('/\[ ([^\]]*)\]/', '0', $test['arg2']); + + if (!$result['from'] && preg_match($rx_from, $textexp, $matches)) { + $result['from'] = $matches[1]." ".$matches[2]." ".$matches[3]; + } + + if (preg_match($rx_to, $textexp, $matches)) { + $result['to'] = $matches[1]." ".$matches[2]." ".$matches[3]; + } + } + } + + return $result; + } + + /** + * Get current vacation interval + */ + public static function vacation_interval(&$vacation) + { + $rcube = rcube::get_instance(); + + if (isset($vacation['seconds'])) { + $interval = $vacation['seconds']; + } + else if (isset($vacation['days'])) { + $interval = $vacation['days']; + } + else if ($interval_cfg = $rcube->config->get('managesieve_vacation_interval')) { + if (preg_match('/^([0-9]+)s$/', $interval_cfg, $m)) { + if ($seconds_extension) { + $vacation['seconds'] = ($interval = intval($m[1])) ? $interval : null; + } + else { + $vacation['days'] = $interval = ceil(intval($m[1])/86400); + } + } + else { + $vacation['days'] = $interval = intval($interval_cfg); + } + } + + return $interval ? $interval : ''; + } + + /** + * Saves vacation script (adding some variables) + */ + protected function save_vacation_script($rule) + { + // if script does not exist create a new one + if ($this->script_name === null || $this->script_name === false) { + $this->script_name = $this->rc->config->get('managesieve_script_name'); + if (empty($this->script_name)) { + $this->script_name = 'roundcube'; + } + + // use default script contents + if (!$this->rc->config->get('managesieve_kolab_master')) { + $script_file = $this->rc->config->get('managesieve_default'); + if ($script_file && is_readable($script_file)) { + $content = file_get_contents($script_file); + } + } + + // create and load script + if ($this->sieve->save_script($this->script_name, $content)) { + $this->sieve->load($this->script_name); + } + } + + $script_active = in_array($this->script_name, $this->active); + + // re-order rules if needed + if (isset($rule['after']) && $rule['after'] !== '') { + // reset original vacation rule + if (isset($this->vacation['idx'])) { + $this->script[$this->vacation['idx']] = null; + } + + // add at target position + if ($rule['after'] >= count($this->script) - 1) { + $this->script[] = $rule; + } + else { + $script = array(); + + foreach ($this->script as $idx => $r) { + if ($r) { + $script[] = $r; + } + + if ($idx == $rule['after']) { + $script[] = $rule; + } + } + + $this->script = $script; + } + + $this->script = array_values(array_filter($this->script)); + } + // update original vacation rule if it exists + else if (isset($this->vacation['idx'])) { + $this->script[$this->vacation['idx']] = $rule; + } + // otherwise put vacation rule on top + else { + array_unshift($this->script, $rule); + } + + // if the script was not active, we need to de-activate + // all rules except the vacation rule, but only if it is not disabled + if (!$script_active && !$rule['disabled']) { + foreach ($this->script as $idx => $r) { + if (empty($r['actions']) || $r['actions'][0]['type'] != 'vacation') { + $this->script[$idx]['disabled'] = true; + } + } + } + + if (!$this->sieve->script) { + return false; + } + + $this->sieve->script->content = $this->script; + + // save the script + $saved = $this->save_script($this->script_name); + + // activate the script + if ($saved && !$script_active && !$rule['disabled']) { + $this->activate_script($this->script_name); + } + + return $saved; + } + + /** + * API: get vacation rule + * + * @return array Vacation rule information + */ + public function get_vacation() + { + $this->exts = $this->sieve->get_extensions(); + $this->init_script(); + $this->vacation_rule(); + + // check supported extensions + $date_extension = in_array('date', $this->exts); + $regex_extension = in_array('regex', $this->exts); + $seconds_extension = in_array('vacation-seconds', $this->exts); + + // set user's timezone + try { + $timezone = new DateTimeZone($this->rc->config->get('timezone', 'GMT')); + } + catch (Exception $e) { + $timezone = new DateTimeZone('GMT'); + } + + if ($date_extension) { + $date_value = array(); + foreach ((array) $this->vacation['tests'] as $test) { + if ($test['test'] == 'currentdate') { + $idx = $test['type'] == 'value-ge' ? 'start' : 'end'; + + if ($test['part'] == 'date') { + $date_value[$idx]['date'] = $test['arg']; + } + else if ($test['part'] == 'iso8601') { + $date_value[$idx]['datetime'] = $test['arg']; + } + } + } + + foreach ($date_value as $idx => $value) { + $$idx = new DateTime($value['datetime'] ?: $value['date'], $timezone); + } + } + else if ($regex_extension) { + // Sieve 'date' extension not available, read start/end from RegEx based rules instead + if ($date_tests = self::parse_regexp_tests($this->vacation['tests'])) { + $from = new DateTime($date_tests['from'] . ' ' . '00:00:00', $timezone); + $to = new DateTime($date_tests['to'] . ' ' . '23:59:59', $timezone); + } + } + + if (isset($this->vacation['seconds'])) { + $interval = $this->vacation['seconds'] . 's'; + } + else if (isset($this->vacation['days'])) { + $interval = $this->vacation['days'] . 'd'; + } + + $vacation = array( + 'supported' => $this->exts, + 'interval' => $interval, + 'start' => $start, + 'end' => $end, + 'enabled' => $this->vacation['reason'] && empty($this->vacation['disabled']), + 'message' => $this->vacation['reason'], + 'subject' => $this->vacation['subject'], + 'action' => $this->vacation['action'], + 'target' => $this->vacation['target'], + 'addresses' => $this->vacation['addresses'], + ); + + return $vacation; + } + + /** + * API: set vacation rule + * + * @param array $vacation Vacation rule information (see self::get_vacation()) + * + * @return bool True on success, False on failure + */ + public function set_vacation($data) + { + $this->exts = $this->sieve->get_extensions(); + $this->error = false; + + $this->init_script(); + $this->vacation_rule(); + + // check supported extensions + $date_extension = in_array('date', $this->exts); + $regex_extension = in_array('regex', $this->exts); + $seconds_extension = in_array('vacation-seconds', $this->exts); + + $vacation['type'] = 'vacation'; + $vacation['reason'] = $this->strip_value(str_replace("\r\n", "\n", $data['message'])); + $vacation['addresses'] = $data['addresses']; + $vacation['subject'] = $data['subject']; + $vacation_tests = (array) $this->vacation['tests']; + + foreach ((array) $vacation['addresses'] as $aidx => $address) { + $vacation['addresses'][$aidx] = $address = trim($address); + + if (empty($address)) { + unset($vacation['addresses'][$aidx]); + } + else if (!rcube_utils::check_email($address)) { + $this->error = "Invalid address in vacation addresses: $address"; + return false; + } + } + + if ($vacation['reason'] == '') { + $this->error = "No vacation message specified"; + return false; + } + + if ($data['interval']) { + if (!preg_match('/^([0-9]+)\s*([sd])$/', $data['interval'], $m)) { + $this->error = "Invalid vacation interval value: " . $data['interval']; + return false; + } + else if ($m[1]) { + $vacation[strtolower($m[2]) == 's' ? 'seconds' : 'days'] = $m[1]; + } + } + + // find and remove existing date/regex/true rules + foreach ((array) $vacation_tests as $idx => $t) { + if ($t['test'] == 'currentdate' || $t['test'] == 'true' + || ($t['test'] == 'header' && $t['type'] == 'regex' && $t['arg1'] == 'received') + ) { + unset($vacation_tests[$idx]); + } + } + + if ($date_extension) { + foreach (array('start', 'end') as $var) { + if ($dt = $data[$var]) { + $vacation_tests[] = array( + 'test' => 'currentdate', + 'part' => 'iso8601', + 'type' => 'value-' . ($var == 'start' ? 'ge' : 'le'), + 'zone' => $dt->format('O'), + 'arg' => str_replace('+00:00', 'Z', strtoupper($dt->format('c'))), + ); + } + } + } + else if ($regex_extension) { + // Add date range rules if range specified + if ($data['start'] && $data['end']) { + if ($tests = self::build_regexp_tests($data['start'], $data['end'], $error)) { + $vacation_tests = array_merge($vacation_tests, $tests); + } + + if ($error) { + $this->error = "Invalid dates specified or unsupported period length"; + return false; + } + } + } + + if ($data['action'] == 'redirect' || $data['action'] == 'copy') { + if (empty($data['target']) || !rcube_utils::check_email($data['target'])) { + $this->error = "Invalid address in action taget: " . $data['target']; + return false; + } + } + else if ($data['action'] && $data['action'] != 'keep' && $data['action'] != 'discard') { + $this->error = "Unsupported vacation action: " . $data['action']; + return false; + } + + if (empty($vacation_tests)) { + $vacation_tests = $this->rc->config->get('managesieve_vacation_test', array(array('test' => 'true'))); + } + + $rule = $this->vacation; + $rule['type'] = 'if'; + $rule['name'] = $rule['name'] ?: 'Out-of-Office'; + $rule['disabled'] = isset($data['enabled']) && !$data['enabled']; + $rule['tests'] = $vacation_tests; + $rule['join'] = $date_extension ? count($vacation_tests) > 1 : false; + $rule['actions'] = array($vacation); + + if ($data['action'] && $data['action'] != 'keep') { + $rule['actions'][] = array( + 'type' => $data['action'] == 'discard' ? 'discard' : 'redirect', + 'copy' => $data['action'] == 'copy', + 'target' => $data['action'] != 'discard' ? $data['target'] : '', + ); + } + + return $this->save_vacation_script($rule); + } + + /** + * API: connect to managesieve server + */ + public function connect($username, $password) + { + if (!parent::connect($username, $password)) { + return $this->load_script(); + } + } + + /** + * API: Returns last error + * + * @return string Error message + */ + public function get_error() + { + return $this->error; + } +} diff --git a/plugins/managesieve/localization/ar_SA.inc b/plugins/managesieve/localization/ar_SA.inc new file mode 100644 index 000000000..88e89579b --- /dev/null +++ b/plugins/managesieve/localization/ar_SA.inc @@ -0,0 +1,188 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'تصفية'; +$labels['managefilters'] = 'ادارة تصفية البريد الوارد'; +$labels['filtername'] = 'اسم التصفية'; +$labels['newfilter'] = 'تصفية جديدة'; +$labels['filteradd'] = 'اضافة تصفية'; +$labels['filterdel'] = 'حذف تصفية'; +$labels['moveup'] = 'نقل الى الاعلى '; +$labels['movedown'] = 'نقل الى الاسفل'; +$labels['filterallof'] = 'مطابقة جميع القواعد التالية'; +$labels['filteranyof'] = 'مطابقة اي القواعد التالية'; +$labels['filterany'] = 'كل الرسائل'; +$labels['filtercontains'] = 'محتوى'; +$labels['filternotcontains'] = 'بدون محتوى'; +$labels['filteris'] = 'مساوي الى'; +$labels['filterisnot'] = 'لا يساوي'; +$labels['filterexists'] = 'موجود'; +$labels['filternotexists'] = 'غير موجود'; +$labels['filtermatches'] = 'يطابق التعبير'; +$labels['filternotmatches'] = 'لا يطابق التعبير'; +$labels['filterregex'] = 'يطابق التعبير العادي'; +$labels['filternotregex'] = 'لا يطابق التعبير العادي'; +$labels['filterunder'] = 'تحت'; +$labels['filterover'] = 'خلال'; +$labels['addrule'] = 'اضافة قاعدة'; +$labels['delrule'] = 'حذف قاعدة'; +$labels['messagemoveto'] = 'نقل الرساله الى '; +$labels['messageredirect'] = 'إعادة توجيه الرسالة الى '; +$labels['messagecopyto'] = 'نسخ الرسالة الى '; +$labels['messagesendcopy'] = 'ارسال نسخة من الرسالة الى '; +$labels['messagereply'] = 'الرد مع رسالة'; +$labels['messagedelete'] = 'حذف الرسالة'; +$labels['messagediscard'] = 'تجاهل مع الرسالة'; +$labels['messagekeep'] = 'إبقاء الرسالة في علبة الوارد'; +$labels['messagesrules'] = 'للبريد الوارد:'; +$labels['messagesactions'] = '...تنفيذ المهام التالية:'; +$labels['add'] = 'إضافة'; +$labels['del'] = 'حذف'; +$labels['sender'] = 'المرسل'; +$labels['recipient'] = 'مستلم'; +$labels['vacationaddr'] = 'عناوين البريد الالكتروني(ـة) الاضافية:'; +$labels['vacationdays'] = 'في الغالب كم رسالة ترسل (بالايام):'; +$labels['vacationinterval'] = 'كم عدد الرسائل المرسلة عادةً:'; +$labels['vacationreason'] = 'نص الرسالة (بسبب الاجازة):'; +$labels['vacationsubject'] = 'موضوع الرسالة:'; +$labels['days'] = 'ايام'; +$labels['seconds'] = 'ثواني'; +$labels['rulestop'] = 'ايقاف تقييم القواعد'; +$labels['enable'] = 'تفعيل/تعطيل'; +$labels['filterset'] = 'مجموعة مصفياة'; +$labels['filtersets'] = 'مجموعة تصفية'; +$labels['filtersetadd'] = 'اضافة مجموعة تصفية'; +$labels['filtersetdel'] = 'حذف مجموعة التصفية الحالية'; +$labels['filtersetact'] = 'تفعيل مجموعة التصفية الحالية '; +$labels['filtersetdeact'] = 'تعطيل مجموعة التصفية الحالية '; +$labels['filterdef'] = 'تعريف التصفية '; +$labels['filtersetname'] = 'اسم مجموعة التصفية'; +$labels['newfilterset'] = 'مجموعة تصفية جديدة'; +$labels['active'] = 'نشط'; +$labels['none'] = 'لاشيء'; +$labels['fromset'] = 'من مجموعة'; +$labels['fromfile'] = 'من ملف'; +$labels['filterdisabled'] = 'تعطيل التصفية'; +$labels['countisgreaterthan'] = 'العدد اكبر من '; +$labels['countisgreaterthanequal'] = 'العدد اكبر من او يساوي '; +$labels['countislessthan'] = 'العدد اقل من '; +$labels['countislessthanequal'] = 'العدد اقل من او يساوي'; +$labels['countequals'] = 'العدد يساوي '; +$labels['countnotequals'] = 'العدد لا يساوي'; +$labels['valueisgreaterthan'] = 'القيمة اكبر من '; +$labels['valueisgreaterthanequal'] = 'القيمة اكبر من او تساوي'; +$labels['valueislessthan'] = 'القيمة اقل من '; +$labels['valueislessthanequal'] = 'القيمة اقل من او يساوي'; +$labels['valueequals'] = 'القيمة تساوي'; +$labels['valuenotequals'] = 'القيمة لا تساوي'; +$labels['setflags'] = 'ضع وسم على هذه الرسالة '; +$labels['addflags'] = 'اضف وسم على هذه الرسالة '; +$labels['removeflags'] = 'احذف الوسم الموجود على هذه الرسالة '; +$labels['flagread'] = 'قراءة '; +$labels['flagdeleted'] = 'محذوف'; +$labels['flaganswered'] = 'مجابة'; +$labels['flagflagged'] = 'موسوم'; +$labels['flagdraft'] = 'مسودة'; +$labels['setvariable'] = 'تعيين متغير'; +$labels['setvarname'] = 'اسم المتغير:'; +$labels['setvarvalue'] = 'قيمة المتغير:'; +$labels['setvarmodifiers'] = 'تعديلات:'; +$labels['varquotewildcard'] = 'أقتبس أحرف خاصة'; +$labels['varlength'] = 'الطول'; +$labels['notify'] = 'ارسل تنبية'; +$labels['notifyimportance'] = 'اهمية:'; +$labels['notifyimportancelow'] = 'منخفض'; +$labels['notifyimportancenormal'] = 'عادي'; +$labels['notifyimportancehigh'] = 'مرتفع'; +$labels['filtercreate'] = 'انشئ تصفية'; +$labels['usedata'] = 'استخدم البيانات التالية في الفلتر:'; +$labels['nextstep'] = 'الخطوة التالية'; +$labels['...'] = '...'; +$labels['currdate'] = 'التاريخ الحالي'; +$labels['datetest'] = 'التاريخ'; +$labels['dateheader'] = 'الراس:'; +$labels['year'] = 'السنة'; +$labels['month'] = 'شهر'; +$labels['day'] = 'يوم'; +$labels['date'] = 'التاريخ (yyyy-mm-dd)'; +$labels['julian'] = 'التاريخ (يوليان)'; +$labels['hour'] = 'ساعات'; +$labels['minute'] = 'دقائق'; +$labels['second'] = 'ثواني'; +$labels['time'] = 'الوقت (hh:mm:ss)'; +$labels['iso8601'] = 'التاريخ (ISO8601)'; +$labels['std11'] = 'التاريخ (RFC2822)'; +$labels['zone'] = 'المنطقة الزمنية'; +$labels['weekday'] = 'ايام العمل (0-6)'; +$labels['advancedopts'] = 'خيارات متقدّمة'; +$labels['body'] = 'نص'; +$labels['address'] = 'العنوان'; +$labels['modifier'] = 'تعديل:'; +$labels['text'] = 'نص'; +$labels['contenttype'] = 'نوع المحتوى'; +$labels['modtype'] = 'نوع:'; +$labels['allparts'] = 'الكل'; +$labels['domain'] = 'المجال'; +$labels['localpart'] = 'الجزء المحلي'; +$labels['user'] = 'مستخدم'; +$labels['detail'] = 'تفاصيل'; +$labels['default'] = 'افتراضي'; +$labels['index'] = 'الوارد:'; +$labels['indexlast'] = 'تراجع'; +$labels['vacation'] = 'اجازة '; +$labels['vacation.advanced'] = 'اعدادات متقدمة'; +$labels['vacation.subject'] = 'موضوع'; +$labels['vacation.body'] = 'محتوى '; +$labels['vacation.status'] = 'الحالة '; +$labels['vacation.on'] = 'تشغيل'; +$labels['vacation.off'] = 'ايقاف'; +$labels['vacation.addresses'] = 'عناوينني الاضافية'; +$labels['vacation.saving'] = 'يتم حفظ البيانات...'; +$messages['filterunknownerror'] = 'خطا غير معروف من الخادم.'; +$messages['filterconnerror'] = 'لا يمكن الاتصال بالخادم.'; +$messages['filterdeleteerror'] = 'لا يمكن حذف التصفية.خطا في الخادم.'; +$messages['filterdeleted'] = 'تم حذف التصفية بنجاح.'; +$messages['filtersaved'] = 'تم حفظ التصفية بنجاح.'; +$messages['filtersaveerror'] = 'لا يمكن حفظ التصفية.خطا في الخادم.'; +$messages['filterdeleteconfirm'] = 'هل تريد فعلاً حذف التصفية المحددة؟'; +$messages['ruledeleteconfirm'] = 'هل تريد فعلاً حذف القواعد المحددة؟'; +$messages['actiondeleteconfirm'] = 'هل تريد فعلاً حذف الاجراءات المحددة؟'; +$messages['forbiddenchars'] = 'احرف محظورة في هذا الحقل.'; +$messages['cannotbeempty'] = 'لا يمكن ترك الحقل فارغاً'; +$messages['ruleexist'] = 'اسم هذة التصفية موجود مسبقاً'; +$messages['setactivateerror'] = 'لا يمكن تفعيل مجموعة التصفية المحددة.خطا في الخادم.'; +$messages['setdeactivateerror'] = 'لا يمكن تعطيل مجموعة التصفية المحددة.خطا في الخادم.'; +$messages['setdeleteerror'] = 'لا يمكن حذف مجموعة التصفية المحددة.خطا في الخادم.'; +$messages['setactivated'] = 'تم تفعيل مجموعة التصفية بنجاح.'; +$messages['setdeactivated'] = 'تم تعطيل مجموعة التصفية بنجاح.'; +$messages['setdeleted'] = 'تم حذف مجموعة التصفية بنجاح.'; +$messages['setdeleteconfirm'] = 'هل تريد فعلاً حذف مجموعات التصفية المحددة؟'; +$messages['setcreateerror'] = 'لا يمكن انشاء مجموعة تصفية.خطا في الخادم.'; +$messages['setcreated'] = 'تم انشاء مجموعة التصفية بنجاح.'; +$messages['activateerror'] = 'لا يمكن تمكين التصفية(ـات) المحددة .خطا في الخادم.'; +$messages['deactivateerror'] = 'لا يمكن تعطيل التصفية(ـات) المحددة .خطا في الخادم.'; +$messages['deactivated'] = 'تم تعطيل المصفيـ(ـاة) بنجاح.'; +$messages['activated'] = 'تم تفعيل المصفيـ(ـاة) بنجاح.'; +$messages['moved'] = 'تم نقل التصفية بنجاح.'; +$messages['moveerror'] = 'لا يمكن نقل التصفياة المحددة.خطا في الخادم.'; +$messages['nametoolong'] = 'الإسم طويل جداً'; +$messages['setexist'] = 'المجموعة موجودة مسبقا.'; +$messages['nodata'] = 'يجب تحديد موضع واحد على الأقل!'; +$messages['invaliddateformat'] = 'تاريخ غير صحيح او يوجد خطا في تنسق اجزاء التاريخ'; +$messages['saveerror'] = 'لا يمكن حفظ البيانات. خطا في الخادم.'; +$messages['vacationsaved'] = 'تم حفظ تاريخ الاجازة بنجاح.'; +?> diff --git a/plugins/managesieve/localization/ast.inc b/plugins/managesieve/localization/ast.inc new file mode 100644 index 000000000..e1c469b80 --- /dev/null +++ b/plugins/managesieve/localization/ast.inc @@ -0,0 +1,50 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtros'; +$labels['managefilters'] = 'Alministrar filtros de corréu entrante'; +$labels['filtername'] = 'Nome del filtru'; +$labels['newfilter'] = 'Filtru nuevu'; +$labels['filteradd'] = 'Amestar filtru'; +$labels['filterdel'] = 'Desaniciar filtru'; +$labels['moveup'] = 'Mover arriba'; +$labels['movedown'] = 'Mover abaxo'; +$labels['filterany'] = 'tolos mensaxes'; +$labels['filtercontains'] = 'contien'; +$labels['filternotcontains'] = 'nun contien'; +$labels['filteris'] = 'ye igual a'; +$labels['filterisnot'] = 'nun ye igual a'; +$labels['filterexists'] = 'esiste'; +$labels['filternotexists'] = 'nun esiste'; +$labels['filtermatches'] = 'espresiones que concasen'; +$labels['filternotmatches'] = 'espresiones que nun concasen'; +$labels['addrule'] = 'Amestar regla'; +$labels['delrule'] = 'Desaniciar regla'; +$labels['messagemoveto'] = 'Mover mensaxe a'; +$labels['messageredirect'] = 'Redireicionar mensaxe a'; +$labels['messagecopyto'] = 'Copiar mensaxe a'; +$labels['messagedelete'] = 'Desaniciar mensaxe'; +$labels['messagesrules'] = 'Pa corréu entrante:'; +$labels['messagesactions'] = '...executar les aiciones siguientes:'; +$labels['add'] = 'Amestar'; +$labels['del'] = 'Desaniciar'; +$labels['sender'] = 'Remitente'; +$labels['enable'] = 'Habilitar/Deshabilitar'; +$labels['flagread'] = 'Lleer'; +$labels['flagdeleted'] = 'Desaniciáu'; +$labels['flaganswered'] = 'Respondíu'; +?> diff --git a/plugins/managesieve/localization/az_AZ.inc b/plugins/managesieve/localization/az_AZ.inc new file mode 100644 index 000000000..8aec7e383 --- /dev/null +++ b/plugins/managesieve/localization/az_AZ.inc @@ -0,0 +1,188 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Süzgəclər'; +$labels['managefilters'] = 'Gələn məktub üçün süzgəclərin idarəsi'; +$labels['filtername'] = 'Süzgəcin adı'; +$labels['newfilter'] = 'Yeni süzgəc'; +$labels['filteradd'] = 'Süzgəc əlavə et'; +$labels['filterdel'] = 'Süzgəci sil'; +$labels['moveup'] = 'Yuxarı apar'; +$labels['movedown'] = 'Aşağı apar'; +$labels['filterallof'] = 'göstərilən bütün qaydalara uyur'; +$labels['filteranyof'] = 'verilmiş istənilən qaydaya uyur'; +$labels['filterany'] = 'bütün məktublar'; +$labels['filtercontains'] = 'daxildir'; +$labels['filternotcontains'] = 'daxil deyil'; +$labels['filteris'] = 'uyğundur'; +$labels['filterisnot'] = 'uyğun deyil'; +$labels['filterexists'] = 'mövcuddur'; +$labels['filternotexists'] = 'mövcud deyil'; +$labels['filtermatches'] = 'ifadə ilə üst-üstə düşür'; +$labels['filternotmatches'] = 'ifadə ilə üst-üstə düşmür'; +$labels['filterregex'] = 'daimi ifadənin nəticəsi ilə üst-üstə düşür'; +$labels['filternotregex'] = 'daimi ifadə ilə üst-üstə düşmür'; +$labels['filterunder'] = 'altında'; +$labels['filterover'] = 'yuxarıda'; +$labels['addrule'] = 'Qayda əlavə et'; +$labels['delrule'] = 'Qaydanı sil'; +$labels['messagemoveto'] = 'Məktubu köçür'; +$labels['messageredirect'] = 'Məktubu yolla'; +$labels['messagecopyto'] = 'Məktubu kopyala'; +$labels['messagesendcopy'] = 'Məktubun kopyasını göndər'; +$labels['messagereply'] = 'Məktubla cavab ver'; +$labels['messagedelete'] = 'Sil'; +$labels['messagediscard'] = 'Məktubla rədd et'; +$labels['messagekeep'] = 'Məktubu gələnlərdə saxla'; +$labels['messagesrules'] = 'Daxil olan məktub üçün:'; +$labels['messagesactions'] = '...növbəti hərəkəti yerinə yetir:'; +$labels['add'] = 'Əlavə et'; +$labels['del'] = 'Sil'; +$labels['sender'] = 'Göndərən'; +$labels['recipient'] = 'Qəbul edən'; +$labels['vacationaddr'] = 'Mənim əlavə e-poçt ünvan(lar)ım: '; +$labels['vacationdays'] = 'Məktub neçə müddətdən bir göndərilsin (gündə):'; +$labels['vacationinterval'] = 'Məktublar nə qədər sıx göndərilsin:'; +$labels['vacationreason'] = 'Məktubun mətni (səbəb yoxdur):'; +$labels['vacationsubject'] = 'Məktubun mövzusu:'; +$labels['days'] = 'günlər'; +$labels['seconds'] = 'saniyələr'; +$labels['rulestop'] = 'Yerinə yetirməyi dayandır'; +$labels['enable'] = 'Yandır/Söndür'; +$labels['filterset'] = 'Süzgəc dəsti'; +$labels['filtersets'] = 'Süzgəc dəstləri'; +$labels['filtersetadd'] = 'Süzgəc dəsti əlavə et'; +$labels['filtersetdel'] = 'İndiki sücgəc dəstini sil'; +$labels['filtersetact'] = 'İndiki sücgəc dəstini yandır'; +$labels['filtersetdeact'] = 'İndiki süzgəc dəstini söndür'; +$labels['filterdef'] = 'Süzgəcin təsviri'; +$labels['filtersetname'] = 'Süzgəc dəstinin adı'; +$labels['newfilterset'] = 'Yeni süzgəc dəsti'; +$labels['active'] = 'aktiv'; +$labels['none'] = 'heç biri'; +$labels['fromset'] = 'dəstdən'; +$labels['fromfile'] = 'fayldan'; +$labels['filterdisabled'] = 'Süzgəci söndür'; +$labels['countisgreaterthan'] = 'sayı buradan daha çoxdur'; +$labels['countisgreaterthanequal'] = 'say çox və ya bərabərdir'; +$labels['countislessthan'] = 'say buradan azdır'; +$labels['countislessthanequal'] = 'say azdır və ya bərabərdir'; +$labels['countequals'] = 'say bərabərdir'; +$labels['countnotequals'] = 'say bərabər deyil'; +$labels['valueisgreaterthan'] = 'dəyər buradan daha böyükdür'; +$labels['valueisgreaterthanequal'] = 'dəyər çoxdur və ya bərabərdir'; +$labels['valueislessthan'] = 'dəyər buradan azdır'; +$labels['valueislessthanequal'] = 'dəyər azdır və ya bərabərdir'; +$labels['valueequals'] = 'dəyər bərabərdir'; +$labels['valuenotequals'] = 'dəyər bərabər deyil'; +$labels['setflags'] = 'Məktublara flaq quraşdır'; +$labels['addflags'] = 'Məktuba flaq əlavə et'; +$labels['removeflags'] = 'Məktubdan flaqları sil'; +$labels['flagread'] = 'Oxu'; +$labels['flagdeleted'] = 'Silindi'; +$labels['flaganswered'] = 'Cavab verilmiş'; +$labels['flagflagged'] = 'İşarəlilər'; +$labels['flagdraft'] = 'Qaralama'; +$labels['setvariable'] = 'Dəyişəni təyin et'; +$labels['setvarname'] = 'Dəyişənin adı:'; +$labels['setvarvalue'] = 'Dəyişənin dəyəri:'; +$labels['setvarmodifiers'] = 'Modifikatorlar'; +$labels['varlower'] = 'aşağı registr'; +$labels['varupper'] = 'yuxarı registr'; +$labels['varlowerfirst'] = 'aşağı registrdə birinci simvol'; +$labels['varupperfirst'] = 'yuxarı registrdə birinci simvol'; +$labels['varquotewildcard'] = 'dırnaq simvolu'; +$labels['varlength'] = 'uzunluq'; +$labels['notify'] = 'Bildiriş göndər'; +$labels['notifyimportance'] = 'Vaciblik'; +$labels['notifyimportancelow'] = 'aşağı'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'yuxarı'; +$labels['filtercreate'] = 'Süzgəc yarat'; +$labels['usedata'] = 'Süzgəcdə bu məlumatları istifadə et:'; +$labels['nextstep'] = 'Sonrakı'; +$labels['...'] = '...'; +$labels['currdate'] = 'İndiki tarix'; +$labels['datetest'] = 'Tarix'; +$labels['dateheader'] = 'başlıq:'; +$labels['year'] = 'il'; +$labels['month'] = 'ay'; +$labels['day'] = 'gün'; +$labels['date'] = 'tarix (iiii-aa-gg)'; +$labels['julian'] = 'tarix (yulian)'; +$labels['hour'] = 'saat'; +$labels['minute'] = 'dəqiqə'; +$labels['second'] = 'saniyə'; +$labels['time'] = 'saat (sa:dd:sn)'; +$labels['iso8601'] = 'tarix (ISO8601)'; +$labels['std11'] = 'tarix (RFC2822)'; +$labels['zone'] = 'saat-zona'; +$labels['weekday'] = 'həftənin günü (0-6)'; +$labels['advancedopts'] = 'Əlavə ayarlar'; +$labels['body'] = 'Məzmun'; +$labels['address'] = 'ünvan'; +$labels['envelope'] = 'zərf'; +$labels['modifier'] = 'modifikator:'; +$labels['text'] = 'mətn'; +$labels['undecoded'] = 'emal olunmamış (xammal)'; +$labels['contenttype'] = 'məzmun növü'; +$labels['modtype'] = 'növ:'; +$labels['allparts'] = 'hamısı'; +$labels['domain'] = 'domen'; +$labels['localpart'] = 'lokal hissə'; +$labels['user'] = 'istifadəçi'; +$labels['detail'] = 'təfsilat'; +$labels['comparator'] = 'komparator:'; +$labels['default'] = 'ön qurğulu'; +$labels['octet'] = 'ciddi (oktet)'; +$labels['asciicasemap'] = 'qeydiyyat üzrə müstəqil (ascii-casemap)'; +$labels['asciinumeric'] = 'ədədi (ascii-numeric)'; +$labels['index'] = 'indeks:'; +$labels['indexlast'] = 'arxaya'; +$messages['filterunknownerror'] = 'Serverin naməlum xətası.'; +$messages['filterconnerror'] = 'Serverə qoşulmaq alınmır'; +$messages['filterdeleteerror'] = 'Süzgəci silmək mümkün deyil. Server xətası.'; +$messages['filterdeleted'] = 'Süzgəc uğurla silindi.'; +$messages['filtersaved'] = 'Süzgəc uğurla saxlanıldı.'; +$messages['filtersaveerror'] = 'Süzgəci saxlamaq mümkün deyil. Server xətası.'; +$messages['filterdeleteconfirm'] = 'Siz həqiqətən süzgəci silmək istəyirsiniz?'; +$messages['ruledeleteconfirm'] = 'Bu qaydanı silməkdə əminsiniz?'; +$messages['actiondeleteconfirm'] = 'Bu hərəkəti silməkdə əminsiniz?'; +$messages['forbiddenchars'] = 'Sahədə qadağan edilən işarələr.'; +$messages['cannotbeempty'] = 'Sahə boş ola bilməz.'; +$messages['ruleexist'] = 'Bu adla süzgəc artıq mövcuddur.'; +$messages['setactivateerror'] = 'Seçilmiş süzgəcləri aktiv etmək mümkün deyil. Server xətası.'; +$messages['setdeactivateerror'] = 'Seçilmiş süzgəcləri deaktiv mümkün deyil. Server xətası.'; +$messages['setdeleteerror'] = 'Seçilmiş süzgəcləri silmək mümkün deyil. Server xətası.'; +$messages['setactivated'] = 'Süzgəc dəsti yandırıldı.'; +$messages['setdeactivated'] = 'Süzgəc dəsti söndürüldü.'; +$messages['setdeleted'] = 'Süzgəc dəsti silindi.'; +$messages['setdeleteconfirm'] = 'Bu süzgəc dəstini silməkdə əminsiniz?'; +$messages['setcreateerror'] = 'Süzgəcləri yaratmaq mümkün deyil. Server xətası.'; +$messages['setcreated'] = 'Süzgəc dəsti uğurla yaradıldı.'; +$messages['activateerror'] = 'Seçilmiş süzgəc(lər)i yandırmaq mümkün deyil. Server xətası.'; +$messages['deactivateerror'] = 'Seçilmiş süzgəc(lər)i söndürmək mümkün deyil. Server xətası.'; +$messages['deactivated'] = 'Süzgəc(lər) uğurla yandırıldı.'; +$messages['activated'] = 'Süzgəc(lər) uğurla söndürüldü.'; +$messages['moved'] = 'Süzgəc uğurla köçürüldü.'; +$messages['moveerror'] = 'Süzgəci köçürmək mümkün deyil. Server xətası.'; +$messages['nametoolong'] = 'Süzgəc dəstini yaratmaq mümkün deyil. Ad çox uzundur.'; +$messages['namereserved'] = 'Rezerv edilmiş ad.'; +$messages['setexist'] = 'Dəst artıq mövcuddur.'; +$messages['nodata'] = 'Heç olmasa bir mövqe tutmaq lazımdır!'; +$messages['invaliddateformat'] = 'Tarix və ya tarix formatının bir hissəsi səhvdir'; +?> diff --git a/plugins/managesieve/localization/be_BE.inc b/plugins/managesieve/localization/be_BE.inc new file mode 100644 index 000000000..5a691cdee --- /dev/null +++ b/plugins/managesieve/localization/be_BE.inc @@ -0,0 +1,188 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Фільтры'; +$labels['managefilters'] = 'Парадкаваць фільтры атрыманай пошты'; +$labels['filtername'] = 'Назва фільтра'; +$labels['newfilter'] = 'Новы фільтр'; +$labels['filteradd'] = 'Дадаць фільтр'; +$labels['filterdel'] = 'Выдаліць фільтр'; +$labels['moveup'] = 'Пасунуць уверх'; +$labels['movedown'] = 'Пасунуць уніз'; +$labels['filterallof'] = 'выконваюцца ўсе наступныя правілы'; +$labels['filteranyof'] = 'выконваецца любое з наступных правіл'; +$labels['filterany'] = 'усе паведамленні'; +$labels['filtercontains'] = 'змяшчае'; +$labels['filternotcontains'] = 'не змяшчае'; +$labels['filteris'] = 'роўна'; +$labels['filterisnot'] = 'не роўна'; +$labels['filterexists'] = 'існуе'; +$labels['filternotexists'] = 'не існуе'; +$labels['filtermatches'] = 'задавальняе выразу'; +$labels['filternotmatches'] = 'не задавальняе выразу'; +$labels['filterregex'] = 'задавальняе рэгулярнаму выразу'; +$labels['filternotregex'] = 'не задавальняе рэгулярнаму выразу'; +$labels['filterunder'] = 'менш'; +$labels['filterover'] = 'больш'; +$labels['addrule'] = 'Дадаць правіла'; +$labels['delrule'] = 'Выдаліць правіла'; +$labels['messagemoveto'] = 'Перамясціць паведамленне ў'; +$labels['messageredirect'] = 'Перанакіраваць паведамленне на'; +$labels['messagecopyto'] = 'Скапіяваць паведамленне ў'; +$labels['messagesendcopy'] = 'Даслаць копію на'; +$labels['messagereply'] = 'Адказаць наступнае'; +$labels['messagedelete'] = 'Выдаліць паведамленне'; +$labels['messagediscard'] = 'Скасаваць з паведамленнем'; +$labels['messagekeep'] = 'Пакінуць паведамленне ў Атрыманых'; +$labels['messagesrules'] = 'Для атрыманай пошты:'; +$labels['messagesactions'] = '...выконваць наступныя дзеянні:'; +$labels['add'] = 'Дадаць'; +$labels['del'] = 'Выдаліць'; +$labels['sender'] = 'Ад каго'; +$labels['recipient'] = 'Каму'; +$labels['vacationaddr'] = 'Дадатковы(я) адрасы эл. пошты:'; +$labels['vacationdays'] = 'Як часта дасылаць паведамленні (у днях):'; +$labels['vacationinterval'] = 'Як часта дасылаць паведамленні:'; +$labels['vacationreason'] = 'Цела паведамлення (прычына вакацый):'; +$labels['vacationsubject'] = 'Тэма паведамлення:'; +$labels['days'] = 'дзён'; +$labels['seconds'] = 'секунд'; +$labels['rulestop'] = 'Перастаць выконваць праверку правілаў'; +$labels['enable'] = 'Уключыць/Выключыць'; +$labels['filterset'] = 'Набор фільтраў'; +$labels['filtersets'] = 'Наборы фільтраў'; +$labels['filtersetadd'] = 'Дадаць набор фільтраў'; +$labels['filtersetdel'] = 'Выдаліць бягучы набор фільтраў'; +$labels['filtersetact'] = 'Актываваць бягучы набор фільтраў'; +$labels['filtersetdeact'] = 'Дэактываваць бягучы набор фільтраў'; +$labels['filterdef'] = 'Вызначэнне фільтра'; +$labels['filtersetname'] = 'Назва набору фільтраў'; +$labels['newfilterset'] = 'Новы набор фільтраў'; +$labels['active'] = 'актыўны'; +$labels['none'] = 'няма'; +$labels['fromset'] = 'з набору'; +$labels['fromfile'] = 'з файла'; +$labels['filterdisabled'] = 'Фільтр адключаны'; +$labels['countisgreaterthan'] = 'лік большы за'; +$labels['countisgreaterthanequal'] = 'лік большы за альбо роўны'; +$labels['countislessthan'] = 'лік меншы за'; +$labels['countislessthanequal'] = 'лік меншы за альбо роўны'; +$labels['countequals'] = 'лік роўны'; +$labels['countnotequals'] = 'лік не роўны'; +$labels['valueisgreaterthan'] = 'значэнне большае за'; +$labels['valueisgreaterthanequal'] = 'значэнне большае за альбо роўнае'; +$labels['valueislessthan'] = 'значэнне меншае за'; +$labels['valueislessthanequal'] = 'значэнне меншае за альбо роўнае'; +$labels['valueequals'] = 'значэнне роўнае'; +$labels['valuenotequals'] = 'значэнне не роўнае'; +$labels['setflags'] = 'Устанавіць флагі на паведамленне'; +$labels['addflags'] = 'Дадаць флагі да паведамлення'; +$labels['removeflags'] = 'Выдаліць флагі з паведамлення'; +$labels['flagread'] = 'Прачытана'; +$labels['flagdeleted'] = 'Выдалена'; +$labels['flaganswered'] = 'З адказам'; +$labels['flagflagged'] = 'Пазначана'; +$labels['flagdraft'] = 'Чарнавік'; +$labels['setvariable'] = 'Устанавіць зменную'; +$labels['setvarname'] = 'Імя зменнай:'; +$labels['setvarvalue'] = 'Значэнне зменнай:'; +$labels['setvarmodifiers'] = 'Мадыфікатары:'; +$labels['varlower'] = 'ніжні рэгістр'; +$labels['varupper'] = 'верхні рэгістр'; +$labels['varlowerfirst'] = 'першы знак у ніжнім рэгістры'; +$labels['varupperfirst'] = 'першы знак у верхнім рэгістры'; +$labels['varquotewildcard'] = 'службовыя знакі забіраць у апострафы'; +$labels['varlength'] = 'даўжыня'; +$labels['notify'] = 'Паслаць апавяшчэнне'; +$labels['notifyimportance'] = 'Важнасць:'; +$labels['notifyimportancelow'] = 'нізкая'; +$labels['notifyimportancenormal'] = 'звычайная'; +$labels['notifyimportancehigh'] = 'высокая'; +$labels['filtercreate'] = 'Стварыць фільтр'; +$labels['usedata'] = 'Ужываць наступныя дадзеныя ў фільтры:'; +$labels['nextstep'] = 'Наступны крок'; +$labels['...'] = '...'; +$labels['currdate'] = 'Бягучая дата'; +$labels['datetest'] = 'Дата'; +$labels['dateheader'] = 'загаловак:'; +$labels['year'] = 'год'; +$labels['month'] = 'месяц'; +$labels['day'] = 'дзень'; +$labels['date'] = 'дата (гггг-мм-дд)'; +$labels['julian'] = 'дата (юліянская)'; +$labels['hour'] = 'гадзіна'; +$labels['minute'] = 'мінута'; +$labels['second'] = 'секунда'; +$labels['time'] = 'час (гг:мм:сс)'; +$labels['iso8601'] = 'дата (ISO8601)'; +$labels['std11'] = 'дата (RFC2822)'; +$labels['zone'] = 'часавая зона'; +$labels['weekday'] = 'дзень тыдня (0-6)'; +$labels['advancedopts'] = 'Дадатковыя параметры'; +$labels['body'] = 'Цела'; +$labels['address'] = 'адрас'; +$labels['envelope'] = 'канверт'; +$labels['modifier'] = 'мадыфікатар:'; +$labels['text'] = 'тэкст'; +$labels['undecoded'] = 'неапрацаваны (сыры)'; +$labels['contenttype'] = 'тып змесціва'; +$labels['modtype'] = 'пошук у адрасах:'; +$labels['allparts'] = 'усюль'; +$labels['domain'] = 'у імені дамена'; +$labels['localpart'] = 'толькі ў імені карыстальніка, без дамена'; +$labels['user'] = 'у поўным імені карыстальніка'; +$labels['detail'] = 'у дадатковых звестках'; +$labels['comparator'] = 'спосаб параўнання:'; +$labels['default'] = 'стандартны'; +$labels['octet'] = 'строгі (octet)'; +$labels['asciicasemap'] = 'без уліку рэгістру (ascii-casemap)'; +$labels['asciinumeric'] = 'лікавы (ascii-numeric)'; +$labels['index'] = 'індэкс:'; +$labels['indexlast'] = 'назад'; +$messages['filterunknownerror'] = 'Невядомая памылка сервера.'; +$messages['filterconnerror'] = 'Не ўдалося злучыцца з серверам.'; +$messages['filterdeleteerror'] = 'Не ўдалося выдаліць фільтр. Памылка на серверы.'; +$messages['filterdeleted'] = 'Фільтр выдалены.'; +$messages['filtersaved'] = 'Фільтр захаваны.'; +$messages['filtersaveerror'] = 'Не ўдалося захаваць фільтр. Памылка на серверы.'; +$messages['filterdeleteconfirm'] = 'Напраўду выдаліць абраны фільтр?'; +$messages['ruledeleteconfirm'] = 'Напраўду выдаліць абранае правіла?'; +$messages['actiondeleteconfirm'] = 'Напраўду выдаліць абранае дзеянне?'; +$messages['forbiddenchars'] = 'Забароненыя знакі ў полі.'; +$messages['cannotbeempty'] = 'Поле не можа быць пустым.'; +$messages['ruleexist'] = 'Фільтр з гэтай назвай ужо існуе.'; +$messages['setactivateerror'] = 'Не ўдалося ўключыць абраны набор фільтраў. Памылка на серверы.'; +$messages['setdeactivateerror'] = 'Не ўдалося адключыць абраны набор фільтраў. Памылка на серверы.'; +$messages['setdeleteerror'] = 'Не ўдалося выдаліць абраны набор фільтраў. Памылка на серверы.'; +$messages['setactivated'] = 'Набор фільтраў актываваны.'; +$messages['setdeactivated'] = 'Набор фільтраў дэактываваны.'; +$messages['setdeleted'] = 'Набор фільтраў выдалены.'; +$messages['setdeleteconfirm'] = 'Напраўду выдаліць абраны набор фільтраў?'; +$messages['setcreateerror'] = 'Не ўдалося стварыць набор фільтраў. Памылка на серверы.'; +$messages['setcreated'] = 'Набор фільтраў створаны.'; +$messages['activateerror'] = 'Не ўдалося ўключыць абраны(я) фільтры. Памылка на серверы.'; +$messages['deactivateerror'] = 'Не ўдалося адключыць абраны(я) фільтры. Памылка на серверы.'; +$messages['deactivated'] = 'Фільтр(ы) адключаны.'; +$messages['activated'] = 'Фільтр(ы) уключаны.'; +$messages['moved'] = 'Фільтр перамешчаны.'; +$messages['moveerror'] = 'Не ўдалося перамясціць абраны фільтр. Памылка на серверы.'; +$messages['nametoolong'] = 'Задаўгая назва.'; +$messages['namereserved'] = 'Зарэзерваваная назва.'; +$messages['setexist'] = 'Набор ужо існуе.'; +$messages['nodata'] = 'Мінімум адна пазіцыя павінна быць вылучана!'; +$messages['invaliddateformat'] = 'Няслушная дата альбо фармат даты'; +?> diff --git a/plugins/managesieve/localization/bg_BG.inc b/plugins/managesieve/localization/bg_BG.inc new file mode 100644 index 000000000..432cb4f68 --- /dev/null +++ b/plugins/managesieve/localization/bg_BG.inc @@ -0,0 +1,209 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Филтри'; +$labels['managefilters'] = 'Управление на филтри за входяща поща'; +$labels['filtername'] = 'Име на филтър'; +$labels['newfilter'] = 'Нов филтър'; +$labels['filteradd'] = 'Нов филтър'; +$labels['filterdel'] = 'Изтриване на филтър'; +$labels['moveup'] = 'Преместване нагоре'; +$labels['movedown'] = 'Преместване надолу'; +$labels['filterallof'] = 'която изпълнява всички условия'; +$labels['filteranyof'] = 'която изпълнява някое от условията'; +$labels['filterany'] = 'за всички писма'; +$labels['filtercontains'] = 'съдържа'; +$labels['filternotcontains'] = 'не съдържа'; +$labels['filteris'] = 'е равно на'; +$labels['filterisnot'] = 'не е равно на'; +$labels['filterexists'] = 'съществува'; +$labels['filternotexists'] = 'не съществува'; +$labels['filtermatches'] = 'съвпада с израз'; +$labels['filternotmatches'] = 'не съвпада с израз'; +$labels['filterregex'] = 'отговаря на регулярен израз'; +$labels['filternotregex'] = 'не отговаря на регулярен израз'; +$labels['filterunder'] = 'под'; +$labels['filterover'] = 'над'; +$labels['addrule'] = 'Ново условие'; +$labels['delrule'] = 'Изтриване на условие'; +$labels['messagemoveto'] = 'Премести писмото във'; +$labels['messageredirect'] = 'Пренасочи писмото до'; +$labels['messagecopyto'] = 'Копирай писмото във'; +$labels['messagesendcopy'] = 'Изпрати копие на писмото до'; +$labels['messagereply'] = 'Отговори с писмо'; +$labels['messagedelete'] = 'Изтрий писмото'; +$labels['messagediscard'] = 'Отхвърли със съобщение'; +$labels['messagekeep'] = 'Остави писмото във Вх. поща'; +$labels['messagesrules'] = 'При получаване на поща...'; +$labels['messagesactions'] = '...изпълни следните действия:'; +$labels['add'] = 'Добави'; +$labels['del'] = 'Изтрий'; +$labels['sender'] = 'Подател'; +$labels['recipient'] = 'Получател'; +$labels['vacationaddr'] = 'Мои допълнителни e-mail адреси:'; +$labels['vacationdays'] = 'Колко често да праща писма (в дни):'; +$labels['vacationinterval'] = 'Колко често да праща писма:'; +$labels['vacationreason'] = 'Текст на писмото (причина за ваканцията)'; +$labels['vacationsubject'] = 'Заглавие на писмото'; +$labels['days'] = 'дни'; +$labels['seconds'] = 'секунди'; +$labels['rulestop'] = 'Спри проверка на други условия'; +$labels['enable'] = 'Включи/Изключи'; +$labels['filterset'] = 'Набор филтри'; +$labels['filtersets'] = 'Набори филтри'; +$labels['filtersetadd'] = 'Нов набор филтри'; +$labels['filtersetdel'] = 'Изтриване на текущ набор филтри'; +$labels['filtersetact'] = 'Активиране на текущ набор филтри'; +$labels['filtersetdeact'] = 'Деактивиране на текущ набор филтри'; +$labels['filterdef'] = 'Дефиниране на филтър'; +$labels['filtersetname'] = 'Име на набор филтри'; +$labels['newfilterset'] = 'Нов набор филтри'; +$labels['active'] = 'активен'; +$labels['none'] = 'няма'; +$labels['fromset'] = 'от набор'; +$labels['fromfile'] = 'от файл'; +$labels['filterdisabled'] = 'Изключен филтър'; +$labels['countisgreaterthan'] = 'брой е по-голям от'; +$labels['countisgreaterthanequal'] = 'брой е по-голям или равен на'; +$labels['countislessthan'] = 'брой е по-малък от'; +$labels['countislessthanequal'] = 'брой е по-малък или равен на'; +$labels['countequals'] = 'брой е равен на'; +$labels['countnotequals'] = 'брой не е равен на'; +$labels['valueisgreaterthan'] = 'стойност е по-голяма от'; +$labels['valueisgreaterthanequal'] = 'стойност е по-голяма или равна на'; +$labels['valueislessthan'] = 'стойност е по-малка от'; +$labels['valueislessthanequal'] = 'стойност е по-малка или равна на'; +$labels['valueequals'] = 'стойност е равна на'; +$labels['valuenotequals'] = 'стойност не е равна на'; +$labels['setflags'] = 'Установи флагове на писмо'; +$labels['addflags'] = 'Добави флагове към писмо'; +$labels['removeflags'] = 'Премахни флагове от писмо'; +$labels['flagread'] = 'Прочетено'; +$labels['flagdeleted'] = 'Изтрито'; +$labels['flaganswered'] = 'Отговорено'; +$labels['flagflagged'] = 'Отбелязано'; +$labels['flagdraft'] = 'Чернова'; +$labels['setvariable'] = 'Установи променлива'; +$labels['setvarname'] = 'Име на променлива:'; +$labels['setvarvalue'] = 'Стойност на променлива:'; +$labels['setvarmodifiers'] = 'Модификатори:'; +$labels['varlower'] = 'малки букви'; +$labels['varupper'] = 'главни букви'; +$labels['varlowerfirst'] = 'първи знак с малка буква'; +$labels['varupperfirst'] = 'първи знак с главна буква'; +$labels['varquotewildcard'] = 'цитиране на специални знаци'; +$labels['varlength'] = 'дължина'; +$labels['notify'] = 'Изпрати известие'; +$labels['notifytarget'] = 'Известие към:'; +$labels['notifymessage'] = 'Съдържание на известие (опционално):'; +$labels['notifyoptions'] = 'Опции на известие (опционално):'; +$labels['notifyfrom'] = 'Известие от (опционално):'; +$labels['notifyimportance'] = 'Приоритет:'; +$labels['notifyimportancelow'] = 'нисък'; +$labels['notifyimportancenormal'] = 'нормален'; +$labels['notifyimportancehigh'] = 'висок'; +$labels['notifymethodmailto'] = 'Ел. поща'; +$labels['notifymethodtel'] = 'Телефон'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Използвай за нов филтър'; +$labels['usedata'] = 'Използвай следните данни във филтъра:'; +$labels['nextstep'] = 'Следваща стъпка'; +$labels['...'] = '...'; +$labels['currdate'] = 'Текуща дата'; +$labels['datetest'] = 'Дата'; +$labels['dateheader'] = 'заглавен блок:'; +$labels['year'] = 'година'; +$labels['month'] = 'месец'; +$labels['day'] = 'ден'; +$labels['date'] = 'дата (гггг-мм-дд)'; +$labels['julian'] = 'дата (юлианска)'; +$labels['hour'] = 'час'; +$labels['minute'] = 'минута'; +$labels['second'] = 'секунда'; +$labels['time'] = 'време (чч:мм:сс)'; +$labels['iso8601'] = 'дата (ISO8601)'; +$labels['std11'] = 'дата (RFC2822)'; +$labels['zone'] = 'часова зона'; +$labels['weekday'] = 'ден от седмицата (0-6)'; +$labels['advancedopts'] = 'Разширени настройки'; +$labels['body'] = 'Основен текст'; +$labels['address'] = 'адрес'; +$labels['envelope'] = 'плик'; +$labels['modifier'] = 'модификатор:'; +$labels['text'] = 'текст'; +$labels['undecoded'] = 'недекодиран (суров)'; +$labels['contenttype'] = 'тип на съдържанието'; +$labels['modtype'] = 'тип:'; +$labels['allparts'] = 'всичко'; +$labels['domain'] = 'домейн'; +$labels['localpart'] = 'локална част'; +$labels['user'] = 'потребител'; +$labels['detail'] = 'датайли'; +$labels['comparator'] = 'сравнител:'; +$labels['default'] = 'по подразбиране'; +$labels['octet'] = 'стриктно (октет)'; +$labels['asciicasemap'] = 'без значение малки/големи букви'; +$labels['asciinumeric'] = 'цифрово'; +$labels['index'] = 'индекс:'; +$labels['indexlast'] = 'наобратно'; +$labels['vacation'] = 'Отпуск'; +$labels['vacation.reply'] = 'Писмо отговор'; +$labels['vacation.advanced'] = 'Разширени настройки'; +$labels['vacation.subject'] = 'Относно'; +$labels['vacation.body'] = 'Съдържание'; +$labels['vacation.status'] = 'Статус'; +$labels['vacation.on'] = 'Вкл.'; +$labels['vacation.off'] = 'Изкл.'; +$labels['vacation.addresses'] = 'Моите допълнителни адреси'; +$labels['vacation.interval'] = 'Интервал на отговор'; +$labels['vacation.after'] = 'Постави правило за отпуск след'; +$labels['vacation.saving'] = 'Запис на данни...'; +$messages['filterunknownerror'] = 'Неизвестна сървърна грешка.'; +$messages['filterconnerror'] = 'Неуспешно свързване с managesieve сървъра.'; +$messages['filterdeleteerror'] = 'Невъзможно изтриване на филтъра. Възникна сървърна грешка.'; +$messages['filterdeleted'] = 'Филтърът е изтрит успешно.'; +$messages['filtersaved'] = 'Филтърът е записан успешно.'; +$messages['filtersaveerror'] = 'Невъзможно записване на филтъра. Възникна сървърна грешка.'; +$messages['filterdeleteconfirm'] = 'Наистина ли желаете да изтриете избрания филтър?'; +$messages['ruledeleteconfirm'] = 'Сигурни ли сте, че желаете да изтриете избраното условие?'; +$messages['actiondeleteconfirm'] = 'Сигурни ли сте, че желаете да изтриете избраното действие?'; +$messages['forbiddenchars'] = 'Забранени символи в полето.'; +$messages['cannotbeempty'] = 'Полето не може да бъде празно.'; +$messages['ruleexist'] = 'Вече има филтър с указаното име.'; +$messages['setactivateerror'] = 'Невъзможно активиране на избрания набор от филтри. Възникна сървърна грешка.'; +$messages['setdeactivateerror'] = 'Невъзможно деактивиране на избрания набор от филтри. Възникна сървърна грешка.'; +$messages['setdeleteerror'] = 'Невъзможно изтриване на избрания набор от филтри. Възникна сървърна грешка.'; +$messages['setactivated'] = 'Наборът от филтри е активиран успешно.'; +$messages['setdeactivated'] = 'Наборът от филтри е деактивиран успешно.'; +$messages['setdeleted'] = 'Наборът от филтри е изтрит успешно.'; +$messages['setdeleteconfirm'] = 'Сигурни ли сте, че желаете да изтриете избрания набор от филтри?'; +$messages['setcreateerror'] = 'Невъзможно създаване на набор от филтри. Възникна сървърна грешка.'; +$messages['setcreated'] = 'Наборът от филтри е създаден успешно.'; +$messages['activateerror'] = 'Невъзможно включване на филтъра. Възникна сървърна грешка.'; +$messages['deactivateerror'] = 'Невъзможно изключване на филтъра. Възникна сървърна грешка.'; +$messages['deactivated'] = 'Филтърът е изключен успешно.'; +$messages['activated'] = 'Филтърът е включен успешно.'; +$messages['moved'] = 'Филтърът е преместен успешно.'; +$messages['moveerror'] = 'Невъзможно преместване на филтъра. Възникна сървърна грешка.'; +$messages['nametoolong'] = 'Името е прекалено дълго.'; +$messages['namereserved'] = 'Резервирано име.'; +$messages['setexist'] = 'Вече има такъв набор филтри.'; +$messages['nodata'] = 'Поне една позиция трябва да е избрана!'; +$messages['invaliddateformat'] = 'невалидна дата или формат на част от дата'; +$messages['saveerror'] = 'Невъзможен запис на данни. Грешка при достъп до сървър.'; +$messages['vacationsaved'] = 'Данните за отпуск са записани успешно.'; +?> diff --git a/plugins/managesieve/localization/br.inc b/plugins/managesieve/localization/br.inc new file mode 100644 index 000000000..c7d89f575 --- /dev/null +++ b/plugins/managesieve/localization/br.inc @@ -0,0 +1,30 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'sil'; +$labels['newfilter'] = 'Sil nevez'; +$labels['filteradd'] = 'Ouzhpenan ur sil'; +$labels['filterdel'] = 'Dilemel ar sil'; +$labels['filterany'] = 'An holl postel'; +$labels['messagecopyto'] = 'eilan ar postel e'; +$labels['messagedelete'] = 'Dilemel ar postel'; +$labels['add'] = 'Ouzhpenan'; +$labels['del'] = 'Dilemel'; +$labels['sender'] = 'Kaser'; +$labels['recipient'] = 'Resever'; +$labels['vacationsubject'] = 'Sujed'; +?> diff --git a/plugins/managesieve/localization/bs_BA.inc b/plugins/managesieve/localization/bs_BA.inc new file mode 100644 index 000000000..84a85a348 --- /dev/null +++ b/plugins/managesieve/localization/bs_BA.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filteri'; +$labels['managefilters'] = 'Upravljanje dolaznim email filterima'; +$labels['filtername'] = 'Naziv filtera'; +$labels['newfilter'] = 'Novi filter'; +$labels['filteradd'] = 'Dodaj filter'; +$labels['filterdel'] = 'Obriši filter'; +$labels['moveup'] = 'Pomjeri gore'; +$labels['movedown'] = 'Pomjeri dole'; +$labels['filterallof'] = 'poklapa se sa svim sljedećim pravilima'; +$labels['filteranyof'] = 'poklapa se sa bilo kojim od sljedećih pravila'; +$labels['filterany'] = 'sve poruke'; +$labels['filtercontains'] = 'sadrži'; +$labels['filternotcontains'] = 'ne sadrži'; +$labels['filteris'] = 'jednako'; +$labels['filterisnot'] = 'nije jednako'; +$labels['filterexists'] = 'postoji'; +$labels['filternotexists'] = 'ne postoji'; +$labels['filtermatches'] = 'poklapa se sa izrazom'; +$labels['filternotmatches'] = 'ne poklapa se sa izrazom'; +$labels['filterregex'] = 'poklapa se sa regularnim izrazom'; +$labels['filternotregex'] = 'ne poklapa se sa regularnim izrazom'; +$labels['filterunder'] = 'ispod'; +$labels['filterover'] = 'iznad'; +$labels['addrule'] = 'Dodaj pravilo'; +$labels['delrule'] = 'Obriši pravilo'; +$labels['messagemoveto'] = 'Premjesti poruku u'; +$labels['messageredirect'] = 'Preusmjeri poruku ka'; +$labels['messagecopyto'] = 'Kopiraj poruku u'; +$labels['messagesendcopy'] = 'Pošalji kopiju poruke'; +$labels['messagereply'] = 'Odgovori'; +$labels['messagedelete'] = 'Obriši poruku'; +$labels['messagediscard'] = 'Odbaci sa porukom'; +$labels['messagekeep'] = 'Zadrži poruku u sandučetu'; +$labels['messagesrules'] = 'Za dolazne emailove:'; +$labels['messagesactions'] = '...izvrši sljedeće akcije:'; +$labels['add'] = 'Dodaj'; +$labels['del'] = 'Obriši'; +$labels['sender'] = 'Pošiljaoc'; +$labels['recipient'] = 'Primaoc'; +$labels['vacationaddr'] = 'Moje dodatne email adrese:'; +$labels['vacationdays'] = 'Frekvencija slanja poruka (u danima):'; +$labels['vacationinterval'] = 'Frekvencija slanja poruka:'; +$labels['vacationreason'] = 'Tijelo poruke (razlog za odmor):'; +$labels['vacationsubject'] = 'Naslov poruke:'; +$labels['days'] = 'dana'; +$labels['seconds'] = 'sekundi'; +$labels['rulestop'] = 'Prestani procjenjivati pravila'; +$labels['enable'] = 'Omogući/Onemogući'; +$labels['filterset'] = 'Set filtera'; +$labels['filtersets'] = 'Setovi filtera'; +$labels['filtersetadd'] = 'Dodaj set filtera'; +$labels['filtersetdel'] = 'Obriši trenutni set filtera'; +$labels['filtersetact'] = 'Aktiviraj trenutni set filtera'; +$labels['filtersetdeact'] = 'Deaktiviraj trenutni set filtera'; +$labels['filterdef'] = 'Definicija filtera'; +$labels['filtersetname'] = 'Naziv seta filtera'; +$labels['newfilterset'] = 'Novi set filtera'; +$labels['active'] = 'aktivno'; +$labels['none'] = 'ništa'; +$labels['fromset'] = 'iz seta'; +$labels['fromfile'] = 'iz datoteke'; +$labels['filterdisabled'] = 'Filter je onemogućen'; +$labels['countisgreaterthan'] = 'brojač je veći od'; +$labels['countisgreaterthanequal'] = 'brojač je veći ili jednak'; +$labels['countislessthan'] = 'brojač je manji od'; +$labels['countislessthanequal'] = 'brojač je manji ili jednak'; +$labels['countequals'] = 'brojač je jednak'; +$labels['countnotequals'] = 'zbir nije jednak'; +$labels['valueisgreaterthan'] = 'vrijednost je veća od'; +$labels['valueisgreaterthanequal'] = 'vrijednost je veća ili jednaka'; +$labels['valueislessthan'] = 'vrijednost je manja od'; +$labels['valueislessthanequal'] = 'vrijednost je manja ili jednaka'; +$labels['valueequals'] = 'vrijednost je jednaka'; +$labels['valuenotequals'] = 'vrijednost nije jednaka'; +$labels['setflags'] = 'Postavi oznake za poruku'; +$labels['addflags'] = 'Dodaj oznake u poruku'; +$labels['removeflags'] = 'Ukloni oznake iz poruke'; +$labels['flagread'] = 'Pročitano'; +$labels['flagdeleted'] = 'Obrisano'; +$labels['flaganswered'] = 'Odgovoreno'; +$labels['flagflagged'] = 'Važno'; +$labels['flagdraft'] = 'Skica'; +$labels['setvariable'] = 'Postavi promjenjivu'; +$labels['setvarname'] = 'Naziv promjenjive:'; +$labels['setvarvalue'] = 'Vrijednost promjenjive:'; +$labels['setvarmodifiers'] = 'Parametri:'; +$labels['varlower'] = 'mala slova'; +$labels['varupper'] = 'velika slova'; +$labels['varlowerfirst'] = 'prvi znak malim slovom'; +$labels['varupperfirst'] = 'prvi znak velikim slovom'; +$labels['varquotewildcard'] = 'citiraj specijalne znakove'; +$labels['varlength'] = 'dužina'; +$labels['notify'] = 'Pošalji napomenu'; +$labels['notifytarget'] = 'Odredište napomene:'; +$labels['notifymessage'] = 'Poruka napomene (neobavezno):'; +$labels['notifyoptions'] = 'Opcije napomene (neobavezno):'; +$labels['notifyfrom'] = 'Pošiljalac napomene (neobavezno):'; +$labels['notifyimportance'] = 'Prioritet:'; +$labels['notifyimportancelow'] = 'mali'; +$labels['notifyimportancenormal'] = 'obični'; +$labels['notifyimportancehigh'] = 'veliki'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Telefon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Kreiraj filter'; +$labels['usedata'] = 'Koristite sljedeće podatke u filteru:'; +$labels['nextstep'] = 'Sljedeći korak'; +$labels['...'] = '...'; +$labels['currdate'] = 'Trenutni datum'; +$labels['datetest'] = 'Datum'; +$labels['dateheader'] = 'zaglavlje:'; +$labels['year'] = 'godina'; +$labels['month'] = 'mjesec'; +$labels['day'] = 'dan'; +$labels['date'] = 'datum (gggg-mm-dd)'; +$labels['julian'] = 'datum (julijanski)'; +$labels['hour'] = 'sat'; +$labels['minute'] = 'minuta'; +$labels['second'] = 'sekunda'; +$labels['time'] = 'vrijeme (hh:mm:ss)'; +$labels['iso8601'] = 'datum (ISO8601)'; +$labels['std11'] = 'datum (RFC2822)'; +$labels['zone'] = 'vremenska zona'; +$labels['weekday'] = 'sedmica (0-6)'; +$labels['advancedopts'] = 'Napredne opcije'; +$labels['body'] = 'Tijelo'; +$labels['address'] = 'adresa'; +$labels['envelope'] = 'koverta'; +$labels['modifier'] = 'prilagođavanje:'; +$labels['text'] = 'tekst'; +$labels['undecoded'] = 'nekodiran (obični)'; +$labels['contenttype'] = 'vrsta sadržaja'; +$labels['modtype'] = 'vrsta:'; +$labels['allparts'] = 'sve'; +$labels['domain'] = 'domena'; +$labels['localpart'] = 'lokalni dio'; +$labels['user'] = 'korisnik'; +$labels['detail'] = 'detalji'; +$labels['comparator'] = 'upoređivač:'; +$labels['default'] = 'početno'; +$labels['octet'] = 'striktno (oktet)'; +$labels['asciicasemap'] = 'osjetljivo na velika/mala slova (ascii-casemap)'; +$labels['asciinumeric'] = 'numerički (ascii-numeric)'; +$labels['index'] = 'indeks:'; +$labels['indexlast'] = 'unazad'; +$labels['vacation'] = 'Odmor'; +$labels['vacation.reply'] = 'Poruka sa odgovorom'; +$labels['vacation.advanced'] = 'Napredmen postavke'; +$labels['vacation.subject'] = 'Naslov'; +$labels['vacation.body'] = 'Tijelo'; +$labels['vacation.start'] = 'Početak odmora'; +$labels['vacation.end'] = 'Kraj odmora'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.on'] = 'Uključeno'; +$labels['vacation.off'] = 'Isključeno'; +$labels['vacation.addresses'] = 'Moje dodatne adrese'; +$labels['vacation.interval'] = 'Interval odgovora'; +$labels['vacation.after'] = 'Pravilo za odmor stavi nakon'; +$labels['vacation.saving'] = 'Snimam podatke...'; +$labels['vacation.action'] = 'Akcija za dolazne poruke'; +$labels['vacation.keep'] = 'Zadrži'; +$labels['vacation.discard'] = 'Odbaci'; +$labels['vacation.redirect'] = 'Preusmeri ka'; +$labels['vacation.copy'] = 'Pošalji kopiju na'; +$labels['arialabelfiltersetactions'] = 'Akcije za filterske setove'; +$labels['arialabelfilteractions'] = 'Filterske akcije'; +$labels['arialabelfilterform'] = 'Svojstva filtera'; +$labels['ariasummaryfilterslist'] = 'Lista filtera'; +$labels['ariasummaryfiltersetslist'] = 'Lista filterskih setova'; +$labels['filterstitle'] = 'Uredi filtere za dolazni email'; +$labels['vacationtitle'] = 'Uredi pravila kada nisam na poslu'; +$messages['filterunknownerror'] = 'Nepoznata serverska greška.'; +$messages['filterconnerror'] = 'Nije se moguće povezati na server.'; +$messages['filterdeleteerror'] = 'Nije moguće obrisati filter. Desila se serverska greška.'; +$messages['filterdeleted'] = 'Filter je uspješno obrisan.'; +$messages['filtersaved'] = 'Filter je uspješno sačuvan.'; +$messages['filtersaveerror'] = 'Nije moguće sačuvati filter. Desila se serverska greška.'; +$messages['filterdeleteconfirm'] = 'Da li zaista želite obrisati označeni filter?'; +$messages['ruledeleteconfirm'] = 'Jeste li sigurni da želite obrisati označeno pravilo?'; +$messages['actiondeleteconfirm'] = 'Jeste li sigurni da želite obrisati označenu akciju?'; +$messages['forbiddenchars'] = 'U polje su uneseni nedozvoljeni znakovi.'; +$messages['cannotbeempty'] = 'Polje ne može biti prazno.'; +$messages['ruleexist'] = 'Filter s tim imenom već postoji.'; +$messages['setactivateerror'] = 'Nije moguće aktivirati označeni set filtera. Desila se serverska greška.'; +$messages['setdeactivateerror'] = 'Nije moguće deaktivirati označeni set filtera. Desila se serverska greška.'; +$messages['setdeleteerror'] = 'Nije moguće obrisati označeni set filtera. Desila se serverska greška.'; +$messages['setactivated'] = 'Set filtera je uspješno aktiviran.'; +$messages['setdeactivated'] = 'Set filtera je uspješno deaktiviran.'; +$messages['setdeleted'] = 'Set filtera je uspješno obrisan.'; +$messages['setdeleteconfirm'] = 'Jeste li sigurni da želite obrisati označeni set filtera?'; +$messages['setcreateerror'] = 'Nije moguće kreirati set filtera. Desila se serverska greška.'; +$messages['setcreated'] = 'Set filtera je uspješno kreiran.'; +$messages['activateerror'] = 'Nije moguće omogućiti označene filtere. Desila se serverska greška.'; +$messages['deactivateerror'] = 'Nije moguće onemogućiti označene filtere. Desila se serverska greška.'; +$messages['deactivated'] = 'Filteri su uspješno omogućeni.'; +$messages['activated'] = 'Filteri su uspješno onemogućeni.'; +$messages['moved'] = 'Filteri su uspješno premješteni.'; +$messages['moveerror'] = 'Nije moguće premjestiti označeni filter. Desila se serverska greška.'; +$messages['nametoolong'] = 'Ime je predugo.'; +$messages['namereserved'] = 'Ime je rezervisano.'; +$messages['setexist'] = 'Set već postoji.'; +$messages['nodata'] = 'Morate označiti barem jednu poziciju!'; +$messages['invaliddateformat'] = 'Netačan datum ili dio formata datuma'; +$messages['saveerror'] = 'Nije moguće snimiti podatke. Desila se serverska greška.'; +$messages['vacationsaved'] = 'Podaci o odmoru su uspješno snimljeni.'; +$messages['emptyvacationbody'] = 'Tijelo poruke za odmor je neophodno!'; +?> diff --git a/plugins/managesieve/localization/ca_ES.inc b/plugins/managesieve/localization/ca_ES.inc new file mode 100644 index 000000000..0dc6863a2 --- /dev/null +++ b/plugins/managesieve/localization/ca_ES.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtres'; +$labels['managefilters'] = 'Gestiona els filtres dels missatges d\'entrada'; +$labels['filtername'] = 'Nom del filtre'; +$labels['newfilter'] = 'Filtre Nou'; +$labels['filteradd'] = 'Afegeix un filtre'; +$labels['filterdel'] = 'Suprimeix el filtre'; +$labels['moveup'] = 'Mou amunt'; +$labels['movedown'] = 'Mou avall'; +$labels['filterallof'] = 'que coincideixi amb totes les regles següents'; +$labels['filteranyof'] = 'que coincideixi amb qualsevol de les regles següents'; +$labels['filterany'] = 'tots els missatges'; +$labels['filtercontains'] = 'conté'; +$labels['filternotcontains'] = 'no conté'; +$labels['filteris'] = 'és igual a'; +$labels['filterisnot'] = 'és diferent de'; +$labels['filterexists'] = 'existeix'; +$labels['filternotexists'] = 'no existeix'; +$labels['filtermatches'] = 'coincideix amb l\'expressió'; +$labels['filternotmatches'] = 'no coincideix amb l\'expressió'; +$labels['filterregex'] = 'coincideix amb l\'expressió regular'; +$labels['filternotregex'] = 'no coincideix amb l\'expressió regular'; +$labels['filterunder'] = 'sota'; +$labels['filterover'] = 'sobre'; +$labels['addrule'] = 'Afegeix una regla'; +$labels['delrule'] = 'Suprimeix una regla'; +$labels['messagemoveto'] = 'Mou el missatge a'; +$labels['messageredirect'] = 'Redirigeix el missatge cap a'; +$labels['messagecopyto'] = 'Copia el missatge a'; +$labels['messagesendcopy'] = 'Envia una còpia del missatge a'; +$labels['messagereply'] = 'Respon amb un missatge'; +$labels['messagedelete'] = 'Suprimeix missatge'; +$labels['messagediscard'] = 'Descarta amb un missatge'; +$labels['messagekeep'] = 'Deixa el missatge a la bústia'; +$labels['messagesrules'] = 'Pels missatges entrants:'; +$labels['messagesactions'] = '..executa les següents accions:'; +$labels['add'] = 'Afegeix'; +$labels['del'] = 'Suprimeix'; +$labels['sender'] = 'Remitent'; +$labels['recipient'] = 'Destinatari'; +$labels['vacationaddr'] = 'Les meves adreces de correu addicionals:'; +$labels['vacationdays'] = 'Cada quan enviar un missatge (en dies):'; +$labels['vacationinterval'] = 'Amb quina freqüència s\'han d\'enviar els missatges:'; +$labels['vacationreason'] = 'Cos del missatge (raó de l\'absència):'; +$labels['vacationsubject'] = 'Assumpte del missatge:'; +$labels['days'] = 'dies'; +$labels['seconds'] = 'segons'; +$labels['rulestop'] = 'Deixa d\'avaluar regles'; +$labels['enable'] = 'Habilita/Deshabilita'; +$labels['filterset'] = 'Conjunt de filtres'; +$labels['filtersets'] = 'Conjunts de filtres'; +$labels['filtersetadd'] = 'Afegeix un conjunt de filtres'; +$labels['filtersetdel'] = 'Suprimeix el conjunt de filtres actual'; +$labels['filtersetact'] = 'Activa el conjunt de filtres actual'; +$labels['filtersetdeact'] = 'Desactiva el conjunt de filtres actual'; +$labels['filterdef'] = 'Definició del filtre'; +$labels['filtersetname'] = 'Nom del conjunt de filtres'; +$labels['newfilterset'] = 'Nou conjunt de filtres'; +$labels['active'] = 'actiu'; +$labels['none'] = 'cap'; +$labels['fromset'] = 'des del conjunt'; +$labels['fromfile'] = 'des del fitxer'; +$labels['filterdisabled'] = 'Filtre deshabilitat'; +$labels['countisgreaterthan'] = 'el recompte és més gran de'; +$labels['countisgreaterthanequal'] = 'el recompte és més gran o igual a'; +$labels['countislessthan'] = 'el recompte és menor de'; +$labels['countislessthanequal'] = 'el recompte és menor o igual a'; +$labels['countequals'] = 'el recompte és igual que'; +$labels['countnotequals'] = 'el recompte és diferent de'; +$labels['valueisgreaterthan'] = 'el valor és més gran de'; +$labels['valueisgreaterthanequal'] = 'el valor és major o igual que'; +$labels['valueislessthan'] = 'el valor és menor que'; +$labels['valueislessthanequal'] = 'el valor és menor o igual de'; +$labels['valueequals'] = 'el valor és igual a'; +$labels['valuenotequals'] = 'el valor és diferent de'; +$labels['setflags'] = 'Posa indicadors al missatge'; +$labels['addflags'] = 'Afegeix indicadors al missatge'; +$labels['removeflags'] = 'Suprimeix indicadors del missatge'; +$labels['flagread'] = 'Llegit'; +$labels['flagdeleted'] = 'Suprimit'; +$labels['flaganswered'] = 'Respost'; +$labels['flagflagged'] = 'Marcat'; +$labels['flagdraft'] = 'Esborrany'; +$labels['setvariable'] = 'Ajusta la variable'; +$labels['setvarname'] = 'Nom de la variable:'; +$labels['setvarvalue'] = 'Valor de la variable:'; +$labels['setvarmodifiers'] = 'Modificadors:'; +$labels['varlower'] = 'minúscules'; +$labels['varupper'] = 'majúscules'; +$labels['varlowerfirst'] = 'el primer caràcter en minúscula'; +$labels['varupperfirst'] = 'el primer caràcter en majúscula'; +$labels['varquotewildcard'] = 'engloba els caràcters especials amb cometes'; +$labels['varlength'] = 'llargada'; +$labels['notify'] = 'Envia notificació'; +$labels['notifytarget'] = 'Objectiu de la notificació:'; +$labels['notifymessage'] = 'Missatge de notificació (opcional):'; +$labels['notifyoptions'] = 'Opcions de notificació (opcional):'; +$labels['notifyfrom'] = 'Remitent de la notificació (opcional):'; +$labels['notifyimportance'] = 'Importància:'; +$labels['notifyimportancelow'] = 'baixa'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'alta'; +$labels['notifymethodmailto'] = 'Correu electrònic'; +$labels['notifymethodtel'] = 'Telèfon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Crea filtre'; +$labels['usedata'] = 'Fes servir les següents dades al filtre:'; +$labels['nextstep'] = 'Següent pas'; +$labels['...'] = '...'; +$labels['currdate'] = 'Data actual'; +$labels['datetest'] = 'Data'; +$labels['dateheader'] = 'capçalera:'; +$labels['year'] = 'any'; +$labels['month'] = 'mes'; +$labels['day'] = 'dia'; +$labels['date'] = 'data (aaaa-mm-dd)'; +$labels['julian'] = 'data (calendari julià)'; +$labels['hour'] = 'hora'; +$labels['minute'] = 'minut'; +$labels['second'] = 'segon'; +$labels['time'] = 'hora (hh:mm:ss)'; +$labels['iso8601'] = 'data (ISO8601)'; +$labels['std11'] = 'data (RFC2822)'; +$labels['zone'] = 'fus horari'; +$labels['weekday'] = 'dia de la setmana (0-6)'; +$labels['advancedopts'] = 'Opcions avançades'; +$labels['body'] = 'Cos'; +$labels['address'] = 'adreça'; +$labels['envelope'] = 'sobre'; +$labels['modifier'] = 'modificador:'; +$labels['text'] = 'text'; +$labels['undecoded'] = 'descodificat (en brut)'; +$labels['contenttype'] = 'tipus de contingut'; +$labels['modtype'] = 'tipus:'; +$labels['allparts'] = 'tots'; +$labels['domain'] = 'domini'; +$labels['localpart'] = 'part local'; +$labels['user'] = 'usuari'; +$labels['detail'] = 'detall'; +$labels['comparator'] = 'comparador:'; +$labels['default'] = 'per defecte'; +$labels['octet'] = 'estricte (octet)'; +$labels['asciicasemap'] = 'No distingeix entre majúscules i minúscules (ascii-casemap)'; +$labels['asciinumeric'] = 'numèric (ascii-numeric)'; +$labels['index'] = 'índex:'; +$labels['indexlast'] = 'cap enrere'; +$labels['vacation'] = 'Vacances'; +$labels['vacation.reply'] = 'Missatge de resposta'; +$labels['vacation.advanced'] = 'Paràmetres avançats'; +$labels['vacation.subject'] = 'Assumpte'; +$labels['vacation.body'] = 'Cos'; +$labels['vacation.start'] = 'Inici de vacances'; +$labels['vacation.end'] = 'Finalització de vacances'; +$labels['vacation.status'] = 'Estat'; +$labels['vacation.on'] = 'Activat'; +$labels['vacation.off'] = 'Desactivat'; +$labels['vacation.addresses'] = 'Les meves adreces addicionals:'; +$labels['vacation.interval'] = 'Interval de resposta'; +$labels['vacation.after'] = 'Posa la regla de vacances després'; +$labels['vacation.saving'] = 'S\'estan desant les dades...'; +$labels['vacation.action'] = 'Acció pel missatge entrant'; +$labels['vacation.keep'] = 'Conserva'; +$labels['vacation.discard'] = 'Descarta'; +$labels['vacation.redirect'] = 'Redirigeix cap a'; +$labels['vacation.copy'] = 'Envia còpia a'; +$labels['arialabelfiltersetactions'] = 'Accions pel conjunt de filtres'; +$labels['arialabelfilteractions'] = 'Accions del filtre'; +$labels['arialabelfilterform'] = 'Propietats del filtre'; +$labels['ariasummaryfilterslist'] = 'Llistat de filtres'; +$labels['ariasummaryfiltersetslist'] = 'Llistat de conjunts de filtres'; +$labels['filterstitle'] = 'Edita els filtres pels missatges entrants'; +$labels['vacationtitle'] = 'Edita la norma "fora de l\'oficina"'; +$messages['filterunknownerror'] = 'Error desconegut al servidor.'; +$messages['filterconnerror'] = 'No s\'ha pogut connectar al servidor.'; +$messages['filterdeleteerror'] = 'No s\'ha pogut suprimir el filtre. Hi ha hagut un error al servidor.'; +$messages['filterdeleted'] = 'El filtre s\'ha suprimit correctament.'; +$messages['filtersaved'] = 'El filtre s\'ha desat correctament.'; +$messages['filtersaveerror'] = 'No s\'ha pogut desar el filtre. Hi ha hagut un error al servidor.'; +$messages['filterdeleteconfirm'] = 'Esteu segurs de voler suprimir el filtre seleccionat?'; +$messages['ruledeleteconfirm'] = 'Esteu segurs que voleu suprimir la regla seleccionada?'; +$messages['actiondeleteconfirm'] = 'Esteu segurs que voleu suprimir l\'acció seleccionada?'; +$messages['forbiddenchars'] = 'El camp conté caràcters prohibits.'; +$messages['cannotbeempty'] = 'El camp no pot estar buit.'; +$messages['ruleexist'] = 'Ja existeix un filtre amb aquest nom.'; +$messages['setactivateerror'] = 'No s\'ha pogut activar el conjunt de filtres seleccionat. Hi ha hagut un error al servidor.'; +$messages['setdeactivateerror'] = 'No s\'ha pogut desactivar el conjunt de filtres seleccionat. Hi ha hagut un error al servidor.'; +$messages['setdeleteerror'] = 'No s\'ha pogut suprimir el conjunt de filtres seleccionat. Hi ha hagut un error al servidor.'; +$messages['setactivated'] = 'El conjunt de filtres s\'ha activat correctament.'; +$messages['setdeactivated'] = 'El conjunt de filtres s\'ha desactivat correctament.'; +$messages['setdeleted'] = 'El conjunt de filtres s\'ha suprimit correctament.'; +$messages['setdeleteconfirm'] = 'Esteu segurs que voleu suprimir el conjunt de filtres seleccionats?'; +$messages['setcreateerror'] = 'No s\'ha pogut crear el conjunt de filtres. Hi ha hagut un error al servidor.'; +$messages['setcreated'] = 'S\'ha creat correctament el conjunt de filtres.'; +$messages['activateerror'] = 'No s\'ha pogut habilitar el(s) filtre(s) seleccionat(s). Hi ha hagut un error al servidor.'; +$messages['deactivateerror'] = 'No s\'ha pogut deshabilitar el(s) filtre(s) seleccionat(s). Hi ha hagut un error al servidor.'; +$messages['deactivated'] = 'Filtre(s) deshabilitat(s) correctament.'; +$messages['activated'] = 'Filtre(s) habilitat(s) correctament.'; +$messages['moved'] = 'S\'ha mogut correctament el filtre.'; +$messages['moveerror'] = 'No s\'ha pogut moure el filtre seleccionat. Hi ha hagut un error al servidor.'; +$messages['nametoolong'] = 'El nom és massa llarg.'; +$messages['namereserved'] = 'Nom reservat.'; +$messages['setexist'] = 'El conjunt ja existeix.'; +$messages['nodata'] = 'S\'ha de seleccionar com a mínim una posició!'; +$messages['invaliddateformat'] = 'data no vàlida o format no vàlid'; +$messages['saveerror'] = 'No s\'han pogut desar les dades. Hi ha hagut un error al servidor.'; +$messages['vacationsaved'] = 'Les dades de les vacances s\'han desat correctament.'; +$messages['emptyvacationbody'] = 'És obligatori definir el cos del missatge de vacances'; +?> diff --git a/plugins/managesieve/localization/cs_CZ.inc b/plugins/managesieve/localization/cs_CZ.inc new file mode 100644 index 000000000..21e8a6910 --- /dev/null +++ b/plugins/managesieve/localization/cs_CZ.inc @@ -0,0 +1,218 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtry'; +$labels['managefilters'] = 'Nastavení filtrů'; +$labels['filtername'] = 'Název filtru'; +$labels['newfilter'] = 'Nový filtr'; +$labels['filteradd'] = 'Přidej filtr'; +$labels['filterdel'] = 'Smaž filtr'; +$labels['moveup'] = 'Posunout nahoru'; +$labels['movedown'] = 'Posunout dolů'; +$labels['filterallof'] = 'Odpovídají všechna pravidla'; +$labels['filteranyof'] = 'Odpovídá kterékoliv pravidlo'; +$labels['filterany'] = 'Všechny zprávy'; +$labels['filtercontains'] = 'obsahuje'; +$labels['filternotcontains'] = 'neobsahuje'; +$labels['filteris'] = 'odpovídá'; +$labels['filterisnot'] = 'neodpovídá'; +$labels['filterexists'] = 'existuje'; +$labels['filternotexists'] = 'neexistuje'; +$labels['filtermatches'] = 'odpovídá výrazu'; +$labels['filternotmatches'] = 'neodpovídá výrazu'; +$labels['filterregex'] = 'odpovídá regulárnímu výrazu'; +$labels['filternotregex'] = 'neodpovídá regulárnímu výrazu'; +$labels['filterunder'] = 'pod'; +$labels['filterover'] = 'nad'; +$labels['addrule'] = 'Přidej pravidlo'; +$labels['delrule'] = 'Smaž pravidlo'; +$labels['messagemoveto'] = 'Přesuň zprávu do'; +$labels['messageredirect'] = 'Přeposlat zprávu na'; +$labels['messagecopyto'] = 'Zkopírovat zprávu do'; +$labels['messagesendcopy'] = 'Odeslat kopii zprávy na'; +$labels['messagereply'] = 'Odpovědět se zprávou'; +$labels['messagedelete'] = 'Smazat zprávu'; +$labels['messagediscard'] = 'Smazat se zprávou'; +$labels['messagekeep'] = 'Ponechat zprávu v doručené poště'; +$labels['messagesrules'] = 'Pravidla pro příchozí zprávu:'; +$labels['messagesactions'] = '...vykonej následující akce:'; +$labels['add'] = 'Přidej'; +$labels['del'] = 'Smaž'; +$labels['sender'] = 'Odesílatel'; +$labels['recipient'] = 'Příjemce'; +$labels['vacationaddr'] = 'Moje další e-mailová adresa(y):'; +$labels['vacationdays'] = 'Počet dnů mezi automatickými odpověďmi:'; +$labels['vacationinterval'] = 'Prodleva mezi automatickými odpověďmi:'; +$labels['vacationreason'] = 'Zpráva (Důvod nepřítomnosti):'; +$labels['vacationsubject'] = 'Předmět zprávy:'; +$labels['days'] = 'dnů'; +$labels['seconds'] = 'sekund'; +$labels['rulestop'] = 'Zastavit pravidla'; +$labels['enable'] = 'Zapnout/Vypnout'; +$labels['filterset'] = 'Sada filtrů'; +$labels['filtersets'] = 'Sady filtrů'; +$labels['filtersetadd'] = 'Přidat sadu filtrů'; +$labels['filtersetdel'] = 'Odebrat tuto sadu filtrů'; +$labels['filtersetact'] = 'Activate current filters set'; +$labels['filtersetdeact'] = 'Vypnout tuto sadu filtrů'; +$labels['filterdef'] = 'Definice filtru'; +$labels['filtersetname'] = 'Nastavit název sady filtrů'; +$labels['newfilterset'] = 'Nová sada filtrů'; +$labels['active'] = 'aktivní'; +$labels['none'] = 'nic'; +$labels['fromset'] = 'ze sady'; +$labels['fromfile'] = 'ze souboru'; +$labels['filterdisabled'] = 'Filtr neaktivní'; +$labels['countisgreaterthan'] = 'počet je větší než'; +$labels['countisgreaterthanequal'] = 'počet je větší nebo roven'; +$labels['countislessthan'] = 'počet je nižší než'; +$labels['countislessthanequal'] = 'počet je nižší nebo roven'; +$labels['countequals'] = 'počet je roven'; +$labels['countnotequals'] = 'počet není roven'; +$labels['valueisgreaterthan'] = 'hodnota je větší než'; +$labels['valueisgreaterthanequal'] = 'hodnota je větší nebo stejná jako'; +$labels['valueislessthan'] = 'hodnota je nižší než'; +$labels['valueislessthanequal'] = 'hodnota je nižší nebo stejná jako'; +$labels['valueequals'] = 'hodnota odpovídá'; +$labels['valuenotequals'] = 'hodnota neodpovídá'; +$labels['setflags'] = 'Nastavit vlajky u zprávy'; +$labels['addflags'] = 'Přidat vlajky ke zprávě'; +$labels['removeflags'] = 'Odstranit vlajky ze zprávy'; +$labels['flagread'] = 'Přečteno'; +$labels['flagdeleted'] = 'Smazáno'; +$labels['flaganswered'] = 'Odpovězené'; +$labels['flagflagged'] = 'Označeno'; +$labels['flagdraft'] = 'Koncept'; +$labels['setvariable'] = 'Nastavit proměnnou'; +$labels['setvarname'] = 'Název proměnné:'; +$labels['setvarvalue'] = 'Hodnota proměnné:'; +$labels['setvarmodifiers'] = 'Modifikátory:'; +$labels['varlower'] = 'malá písmena'; +$labels['varupper'] = 'velká písmena'; +$labels['varlowerfirst'] = 'první písmeno malé'; +$labels['varupperfirst'] = 'první písmeno velké'; +$labels['varquotewildcard'] = 'uvodit speciální znaky uvozovkama'; +$labels['varlength'] = 'délka'; +$labels['notify'] = 'Odeslat oznámení'; +$labels['notifytarget'] = 'Cíl oznámení:'; +$labels['notifymessage'] = 'Zpráva oznámení (nepovinné):'; +$labels['notifyoptions'] = 'Možnosti oznámení (nepovinné):'; +$labels['notifyfrom'] = 'Odesílatel oznámení (nepovinné):'; +$labels['notifyimportance'] = 'Důležitost:'; +$labels['notifyimportancelow'] = 'nízká'; +$labels['notifyimportancenormal'] = 'normální'; +$labels['notifyimportancehigh'] = 'vysoká'; +$labels['notifymethodmailto'] = 'E-mail'; +$labels['notifymethodtel'] = 'Telefon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Vytvořit filtr'; +$labels['usedata'] = 'Použít následující údaje ve filtru:'; +$labels['nextstep'] = 'Další krok'; +$labels['...'] = '...'; +$labels['currdate'] = 'Aktuální datum'; +$labels['datetest'] = 'Datum'; +$labels['dateheader'] = 'hlavička:'; +$labels['year'] = 'rok'; +$labels['month'] = 'měsíc'; +$labels['day'] = 'den'; +$labels['date'] = 'datum (rrrr-mm-dd)'; +$labels['julian'] = 'datum (juliánské)'; +$labels['hour'] = 'hodina'; +$labels['minute'] = 'minuta'; +$labels['second'] = 'sekunda'; +$labels['time'] = 'čas (hh:mm:ss)'; +$labels['iso8601'] = 'datum (ISO8601)'; +$labels['std11'] = 'datum (RFC2822)'; +$labels['zone'] = 'časová zóna'; +$labels['weekday'] = 'všední den (0-6)'; +$labels['advancedopts'] = 'Pokročilá nastavení'; +$labels['body'] = 'Tělo'; +$labels['address'] = 'adresa'; +$labels['envelope'] = 'obálka'; +$labels['modifier'] = 'měnič:'; +$labels['text'] = 'text'; +$labels['undecoded'] = 'nedekódované (surové)'; +$labels['contenttype'] = 'typ obsahu'; +$labels['modtype'] = 'typ:'; +$labels['allparts'] = 'vše'; +$labels['domain'] = 'doména'; +$labels['localpart'] = 'místní část'; +$labels['user'] = 'uživatel'; +$labels['detail'] = 'detail'; +$labels['comparator'] = 'porovnávač:'; +$labels['default'] = 'výchozí'; +$labels['octet'] = 'striktní (oktet)'; +$labels['asciicasemap'] = 'necitlivé na velikost písmen (ascii-casemap)'; +$labels['asciinumeric'] = 'číslené (ascii-numeric)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'pozpátku'; +$labels['vacation'] = 'Dovolená'; +$labels['vacation.reply'] = 'Odpověd'; +$labels['vacation.advanced'] = 'Pokročilá nastavení'; +$labels['vacation.subject'] = 'Předmět'; +$labels['vacation.body'] = 'Tělo'; +$labels['vacation.start'] = 'Začátek dovolené'; +$labels['vacation.end'] = 'Konec dovolené'; +$labels['vacation.status'] = 'Stav'; +$labels['vacation.on'] = 'Zapnuto'; +$labels['vacation.off'] = 'Vypnuto'; +$labels['vacation.addresses'] = 'Moje další adresy:'; +$labels['vacation.interval'] = 'Doba mezi odpověďmi'; +$labels['vacation.after'] = 'Uložit pravidlo o dovolené za'; +$labels['vacation.saving'] = 'Ukládám data...'; +$labels['vacation.keep'] = 'Zachovat'; +$labels['vacation.discard'] = 'Zrušit'; +$labels['vacation.copy'] = 'Odeslat kopii zprávy na'; +$labels['arialabelfilterform'] = 'Vlastnosti filtru'; +$labels['ariasummaryfilterslist'] = 'Seznam filtrů'; +$labels['ariasummaryfiltersetslist'] = 'Seznam sad filtrů'; +$messages['filterunknownerror'] = 'Neznámá chyba serveru'; +$messages['filterconnerror'] = 'Nebylo možné se připojit k sieve serveru'; +$messages['filterdeleteerror'] = 'Nebylo možné smazat filtr. Došlo k chybě serveru.'; +$messages['filterdeleted'] = 'Filtr byl smazán'; +$messages['filtersaved'] = 'Filtr byl uložen'; +$messages['filtersaveerror'] = 'Nebylo možné uložit filtr. Došlo k chybě serveru.'; +$messages['filterdeleteconfirm'] = 'Opravdu chcete smazat vybraný filtr?'; +$messages['ruledeleteconfirm'] = 'Jste si jisti, že chcete smazat vybrané pravidlo?'; +$messages['actiondeleteconfirm'] = 'Jste si jisti, že chcete smazat vybranou akci?'; +$messages['forbiddenchars'] = 'Zakázané znaky v poli'; +$messages['cannotbeempty'] = 'Pole nemůže být prázdné'; +$messages['ruleexist'] = 'Filtr s uvedeným názvem již existuje.'; +$messages['setactivateerror'] = 'Nelze zapnout vybranou sadu filtrů. Došlo k chybě serveru.'; +$messages['setdeactivateerror'] = 'Nelze vypnout vybranou sadu filtrů. Došlo k chybě serveru.'; +$messages['setdeleteerror'] = 'Nelze odstranit vybranou sadu filtrů. Došlo k chybě serveru.'; +$messages['setactivated'] = 'Sada filtrů úspěšně zapnuta.'; +$messages['setdeactivated'] = 'Sada filtrů úspěšně vypnuta.'; +$messages['setdeleted'] = 'Sada filtrů úspěšně odstraněna.'; +$messages['setdeleteconfirm'] = 'Opravdu si přejete odebrat vybranou sadu filtrů.'; +$messages['setcreateerror'] = 'Nelze vytvořit sadu filtrů. Došlo k chybě serveru.'; +$messages['setcreated'] = 'Sada filtrů úspěšně vytvořena.'; +$messages['activateerror'] = 'Nelze zapnout vybrané filtr/y. Došlo k chybě serveru.'; +$messages['deactivateerror'] = 'Nelze vypnout vybrané filtr/y. Došlo k chybě serveru.'; +$messages['deactivated'] = 'Filtr(y) úspěšně vypnuty.'; +$messages['activated'] = 'Filtr/y úspěšně zapnuty.'; +$messages['moved'] = 'Filtr byl úspěšně přesunut.'; +$messages['moveerror'] = 'Nelze přesunout vybraný filtr. Došlo k chybě serveru.'; +$messages['nametoolong'] = 'Příliš dlouhý název.'; +$messages['namereserved'] = 'Vyhrazený název.'; +$messages['setexist'] = 'Sada již existuje.'; +$messages['nodata'] = 'Musí být vybrána minimálně jedna pozice!'; +$messages['invaliddateformat'] = 'Neplatné datum nebo část data'; +$messages['saveerror'] = 'Nebylo možné uložit data. Došlo k chybě serveru.'; +$messages['vacationsaved'] = 'Data o dovolené byla uložena.'; +$messages['emptyvacationbody'] = 'Tělo zprávy'; +?> diff --git a/plugins/managesieve/localization/cy_GB.inc b/plugins/managesieve/localization/cy_GB.inc new file mode 100644 index 000000000..8d8d1a5bf --- /dev/null +++ b/plugins/managesieve/localization/cy_GB.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Hidlyddion'; +$labels['managefilters'] = 'Rheoli hidlyddion ebost i fewn'; +$labels['filtername'] = 'Enw hidlydd'; +$labels['newfilter'] = 'Hidlydd newydd'; +$labels['filteradd'] = 'Ychwanegu hidlydd'; +$labels['filterdel'] = 'Dileu hidlydd'; +$labels['moveup'] = 'Symud i fyny'; +$labels['movedown'] = 'Symud i lawr'; +$labels['filterallof'] = 'sy\'n cyfateb i\'r holl reolau canlynol'; +$labels['filteranyof'] = 'sy\'n cyfateb i unrhyw un i\'r rheolau canlynol'; +$labels['filterany'] = 'pob neges'; +$labels['filtercontains'] = 'yn cynnwys'; +$labels['filternotcontains'] = 'ddim yn cynnwys'; +$labels['filteris'] = 'yn hafal i'; +$labels['filterisnot'] = 'ddim yn hafal i'; +$labels['filterexists'] = 'yn bodoli'; +$labels['filternotexists'] = 'ddim yn bodoli'; +$labels['filtermatches'] = 'yn cyfateb i\'r mynegiant'; +$labels['filternotmatches'] = 'ddim yn cyfateb i\'r mynegiant'; +$labels['filterregex'] = 'yn cyfateb i\'r mynegiant rheolaidd'; +$labels['filternotregex'] = 'ddim yn cyfateb i\'r mynegiant rheolaidd'; +$labels['filterunder'] = 'o dan'; +$labels['filterover'] = 'dros'; +$labels['addrule'] = 'Ychwanegu rheol'; +$labels['delrule'] = 'Dileu rheol'; +$labels['messagemoveto'] = 'Symud neges i'; +$labels['messageredirect'] = 'Ail-gyfeirio neges i'; +$labels['messagecopyto'] = 'Copio neges i'; +$labels['messagesendcopy'] = 'Danfon copi o\'r neges i'; +$labels['messagereply'] = 'Ymateb gyda\'r neges'; +$labels['messagedelete'] = 'Dileu neges'; +$labels['messagediscard'] = 'Gwaredu gyda neges'; +$labels['messagekeep'] = 'Cadw\'r neges yn y Mewnflwch'; +$labels['messagesrules'] = 'Ar gyfer ebost i fewn:'; +$labels['messagesactions'] = '...rhedeg y gweithredoedd canlynol:'; +$labels['add'] = 'Ychwanegu'; +$labels['del'] = 'Dileu'; +$labels['sender'] = 'Anfonwr'; +$labels['recipient'] = 'Derbynnwr'; +$labels['vacationaddr'] = 'Fy nghyfeiriad(au) ebost ychwanegol:'; +$labels['vacationdays'] = 'Pa mor aml i ddanfon negeseuon (mewn dyddiau):'; +$labels['vacationinterval'] = 'Pa mor aml i ddanfon negeseuon:'; +$labels['vacationreason'] = 'Corff neges (rheswm ar wyliau):'; +$labels['vacationsubject'] = 'Pwnc neges:'; +$labels['days'] = 'dyddiau'; +$labels['seconds'] = 'eiliadau'; +$labels['rulestop'] = 'Stopio gwerthuso rheolau'; +$labels['enable'] = 'Galluogi/Analluogi'; +$labels['filterset'] = 'Set hidlyddion'; +$labels['filtersets'] = 'Setiau hidlyddion'; +$labels['filtersetadd'] = 'Ychwanegu set hidlyddion'; +$labels['filtersetdel'] = 'Dileu set hidlyddion cyfredol'; +$labels['filtersetact'] = 'Dileu set hidlyddion gweithredol'; +$labels['filtersetdeact'] = 'Analluogi set hidlyddion cyfredol'; +$labels['filterdef'] = 'Diffiniad hidlydd'; +$labels['filtersetname'] = 'Enw set hidlyddion'; +$labels['newfilterset'] = 'Set hidlyddion newydd'; +$labels['active'] = 'gweithredol'; +$labels['none'] = 'dim'; +$labels['fromset'] = 'o set'; +$labels['fromfile'] = 'o ffeil'; +$labels['filterdisabled'] = 'Analluogwyd hidlydd'; +$labels['countisgreaterthan'] = 'rhif yn fwy na'; +$labels['countisgreaterthanequal'] = 'rhif yn fwy na neu hafal i'; +$labels['countislessthan'] = 'rhif yn llai na'; +$labels['countislessthanequal'] = 'rhif yn llai na neu hafal i'; +$labels['countequals'] = 'rhif yn hafal i'; +$labels['countnotequals'] = 'rhif ddim yn hafal i'; +$labels['valueisgreaterthan'] = 'gwerth yn fwy na'; +$labels['valueisgreaterthanequal'] = 'gwerth yn fwy na neu hafal i'; +$labels['valueislessthan'] = 'gwerth yn llai na'; +$labels['valueislessthanequal'] = 'gwerth yn llai neu hafal i'; +$labels['valueequals'] = 'gwerth yn hafal i'; +$labels['valuenotequals'] = 'gwerth ddim yn hafal i'; +$labels['setflags'] = 'Rhoi fflag ar y neges'; +$labels['addflags'] = 'Ychwanegu fflag i\'r neges'; +$labels['removeflags'] = 'Dileu fflag o\'r neges'; +$labels['flagread'] = 'Darllen'; +$labels['flagdeleted'] = 'Dilewyd'; +$labels['flaganswered'] = 'Atebwyd'; +$labels['flagflagged'] = 'Nodwyd'; +$labels['flagdraft'] = 'Drafft'; +$labels['setvariable'] = 'Gosod newidyn'; +$labels['setvarname'] = 'Enw newidyn:'; +$labels['setvarvalue'] = 'Gwerth newidyn:'; +$labels['setvarmodifiers'] = 'Addasydd:'; +$labels['varlower'] = 'llythrennau bychain'; +$labels['varupper'] = 'priflythrennau'; +$labels['varlowerfirst'] = 'llythyren gyntaf yn fach'; +$labels['varupperfirst'] = 'llythyren gyntaf yn briflythyren'; +$labels['varquotewildcard'] = 'dyfynnu nodau arbennig'; +$labels['varlength'] = 'hyd'; +$labels['notify'] = 'Anfon hysbysiad'; +$labels['notifytarget'] = 'Target hysbysu:'; +$labels['notifymessage'] = 'Neges hysbysu (dewisol):'; +$labels['notifyoptions'] = 'Dewisiadau hysbysu (dewisol):'; +$labels['notifyfrom'] = 'Anfonwr hysbysiad (dewisol):'; +$labels['notifyimportance'] = 'Pwysigrwydd:'; +$labels['notifyimportancelow'] = 'isel'; +$labels['notifyimportancenormal'] = 'arferol'; +$labels['notifyimportancehigh'] = 'uchel'; +$labels['notifymethodmailto'] = 'Ebost'; +$labels['notifymethodtel'] = 'Ffôn'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Creu hidlydd'; +$labels['usedata'] = 'Defnyddio\'r wybodaeth ganlynol yn yr hidlydd:'; +$labels['nextstep'] = 'Cam nesaf'; +$labels['...'] = '...'; +$labels['currdate'] = 'Dyddiad cyfredol'; +$labels['datetest'] = 'Dyddiad'; +$labels['dateheader'] = 'pennawd:'; +$labels['year'] = 'blwyddyn'; +$labels['month'] = 'mis'; +$labels['day'] = 'dydd'; +$labels['date'] = 'dyddiad (bbbb-mm-dd)'; +$labels['julian'] = 'dyddiad (julian)'; +$labels['hour'] = 'awr'; +$labels['minute'] = 'munud'; +$labels['second'] = 'eiliad'; +$labels['time'] = 'amser (aa:mm:ee)'; +$labels['iso8601'] = 'dyddiad (ISO8601)'; +$labels['std11'] = 'dyddiad (RFC2822)'; +$labels['zone'] = 'parth-amser'; +$labels['weekday'] = 'dydd yr wythnos (0-6)'; +$labels['advancedopts'] = 'Dewisiadau uwch'; +$labels['body'] = 'Corff'; +$labels['address'] = 'cyfeiriad'; +$labels['envelope'] = 'amlen'; +$labels['modifier'] = 'newidydd:'; +$labels['text'] = 'testun'; +$labels['undecoded'] = 'heb ei ddatgodi (amrwd)'; +$labels['contenttype'] = 'math cynnwys'; +$labels['modtype'] = 'math:'; +$labels['allparts'] = 'popeth'; +$labels['domain'] = 'parth'; +$labels['localpart'] = 'darn lleol'; +$labels['user'] = 'defnyddiwr'; +$labels['detail'] = 'manylion'; +$labels['comparator'] = 'cymharydd'; +$labels['default'] = 'rhagosodiad'; +$labels['octet'] = 'llym (octet)'; +$labels['asciicasemap'] = 'maint llythrennau (ascii-casemap)'; +$labels['asciinumeric'] = 'rhifau (ascii-numeric)'; +$labels['index'] = 'mynegai:'; +$labels['indexlast'] = 'o chwith'; +$labels['vacation'] = 'Gwyliau'; +$labels['vacation.reply'] = 'Neges ymateb'; +$labels['vacation.advanced'] = 'Gosodiadau uwch'; +$labels['vacation.subject'] = 'Pwnc'; +$labels['vacation.body'] = 'Corff'; +$labels['vacation.start'] = 'Dechrau gwyliau'; +$labels['vacation.end'] = 'Diwedd gwyliau'; +$labels['vacation.status'] = 'Statws'; +$labels['vacation.on'] = 'Ymlaen'; +$labels['vacation.off'] = 'I ffwrdd'; +$labels['vacation.addresses'] = 'Fy nghyfeiriadau ychwanegol'; +$labels['vacation.interval'] = 'Cyfnod ymateb'; +$labels['vacation.after'] = 'Rhoi rheol gwyliau ar ôl'; +$labels['vacation.saving'] = 'Yn cadw\'r data...'; +$labels['vacation.action'] = 'Gweithred neges i fewn'; +$labels['vacation.keep'] = 'Cadw'; +$labels['vacation.discard'] = 'Gwaredu'; +$labels['vacation.redirect'] = 'Ailgyfeirio i'; +$labels['vacation.copy'] = 'Danfon copi i'; +$labels['arialabelfiltersetactions'] = 'Gweithrediadau set hidlydd'; +$labels['arialabelfilteractions'] = 'Gweithrediadau hidlydd'; +$labels['arialabelfilterform'] = 'Nodweddion hidlydd'; +$labels['ariasummaryfilterslist'] = 'Rhestr o hidlyddion'; +$labels['ariasummaryfiltersetslist'] = 'Rhestr o setiau hidlyddion'; +$labels['filterstitle'] = 'Golygu hidlyddion ebost i fewn'; +$labels['vacationtitle'] = 'Golygu rheol allan-o\'r-swyddfa'; +$messages['filterunknownerror'] = 'Gwall gweinydd anhysbys.'; +$messages['filterconnerror'] = 'Methwyd cysylltu a\'r gweinydd.'; +$messages['filterdeleteerror'] = 'Methwyd dileu hidlydd. Cafwydd gwall gweinydd.'; +$messages['filterdeleted'] = 'Dilëuwyd hidlydd yn llwyddiannus.'; +$messages['filtersaved'] = 'Cadwyd hidlydd yn llwyddiannus.'; +$messages['filtersaveerror'] = 'Methwyd cadw hidlydd. Cafwyd gwall gweinydd.'; +$messages['filterdeleteconfirm'] = 'Ydych chi wir am ddileu yr hidlydd ddewiswyd?'; +$messages['ruledeleteconfirm'] = 'Ydych chi\'n siwr eich bod am ddileu\'r rheol ddewiswyd?'; +$messages['actiondeleteconfirm'] = 'Ydych chi\'n siwr eich bod am ddileu\'r weithred ddewiswyd?'; +$messages['forbiddenchars'] = 'Llythrennau gwaharddedig yn y maes.'; +$messages['cannotbeempty'] = 'Ni all y maes fod yn wag.'; +$messages['ruleexist'] = 'Mae hidlydd gyda\'r enw yma yn bodoli\'n barod.'; +$messages['setactivateerror'] = 'Methwyd galluogi y hidlyddion dewiswyd. Cafwyd gwall gweinydd.'; +$messages['setdeactivateerror'] = 'Methwyd analluogi y hidlyddion dewiswyd. Cafwyd gwall gweinydd.'; +$messages['setdeleteerror'] = 'Methwyd dileu y set hidlyddion ddewiswyd. Cafwyd gwall gweinydd.'; +$messages['setactivated'] = 'Bywiogwyd y set hidlydd yn llwyddiannus.'; +$messages['setdeactivated'] = 'Dadfywiogwyd y set hidlydd yn llwyddiannus.'; +$messages['setdeleted'] = 'Dilëuwyd y set hidlydd yn llwyddiannus.'; +$messages['setdeleteconfirm'] = 'Ydych chi\'n siwr eich bod am ddileu\'r set hidlydd ddewiswyd?'; +$messages['setcreateerror'] = 'Methwyd creu set hidlydd. Cafwyd gwall gweinydd.'; +$messages['setcreated'] = 'Crëuwyd y set hidlydd yn llwyddiannus.'; +$messages['activateerror'] = 'Methwyd galluogi y hidlydd(ion) dewiswyd. Cafwyd gwall gweinydd.'; +$messages['deactivateerror'] = 'Methwyd analluogi y hidlydd(ion) dewiswyd. Cafwyd gwall gweinydd.'; +$messages['deactivated'] = 'Galluogwyd y hidlydd(ion) yn llwyddiannus.'; +$messages['activated'] = 'Analluogwyd y hidlydd(ion) yn llwyddiannus.'; +$messages['moved'] = 'Symudwyd y hidlydd yn llwyddiannus.'; +$messages['moveerror'] = 'Methwyd symud y hidlydd dewiswyd. Cafwyd gwall gweinydd.'; +$messages['nametoolong'] = 'Enw yn rhy hir.'; +$messages['namereserved'] = 'Enw neilltuedig.'; +$messages['setexist'] = 'Mae\'r set yn bodoli\'n barod.'; +$messages['nodata'] = 'Rhaid dewis o leia un safle!'; +$messages['invaliddateformat'] = 'Dyddiad neu fformat dyddiad annilys'; +$messages['saveerror'] = 'Methwyd cadw\'r data. Cafwyd gwall gweinydd.'; +$messages['vacationsaved'] = 'Cadwyd y data gwyliau yn llwyddiannus.'; +$messages['emptyvacationbody'] = 'Mae angen rhoi corff y neges wyliau!'; +?> diff --git a/plugins/managesieve/localization/da_DK.inc b/plugins/managesieve/localization/da_DK.inc new file mode 100644 index 000000000..ebf1cb077 --- /dev/null +++ b/plugins/managesieve/localization/da_DK.inc @@ -0,0 +1,205 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtre'; +$labels['managefilters'] = 'Ændre indgående mail filtreing'; +$labels['filtername'] = 'Filter navn'; +$labels['newfilter'] = 'Nyt filter'; +$labels['filteradd'] = 'Tilføj filter'; +$labels['filterdel'] = 'Slet filter'; +$labels['moveup'] = 'Flyt op'; +$labels['movedown'] = 'Flyt ned'; +$labels['filterallof'] = 'matcher alle af de følgende regler'; +$labels['filteranyof'] = 'matcher en af følgende regler'; +$labels['filterany'] = 'alle meddelelser'; +$labels['filtercontains'] = 'indeholder'; +$labels['filternotcontains'] = 'indeholder ikke'; +$labels['filteris'] = 'er ens med'; +$labels['filterisnot'] = 'er ikke ens med'; +$labels['filterexists'] = 'findes'; +$labels['filternotexists'] = 'ikke eksisterer'; +$labels['filtermatches'] = 'matcher udtryk'; +$labels['filternotmatches'] = 'matcher ikke udtryk'; +$labels['filterregex'] = 'matcher regulært udtryk'; +$labels['filternotregex'] = 'matcher ikke regulært udtryk'; +$labels['filterunder'] = 'under'; +$labels['filterover'] = 'over'; +$labels['addrule'] = 'Tilføj regel'; +$labels['delrule'] = 'Slet regel'; +$labels['messagemoveto'] = 'Flyt besked til'; +$labels['messageredirect'] = 'Redirriger besked til'; +$labels['messagecopyto'] = 'Kopier besked til'; +$labels['messagesendcopy'] = 'Send kopi af besked til'; +$labels['messagereply'] = 'Svar med besked'; +$labels['messagedelete'] = 'Slet besked'; +$labels['messagediscard'] = 'Slet med besked'; +$labels['messagekeep'] = 'Behold besked i Inbox'; +$labels['messagesrules'] = 'For indkomne besked:'; +$labels['messagesactions'] = '...udfør følgende aktioner:'; +$labels['add'] = 'Tilføje'; +$labels['del'] = 'Fjern'; +$labels['sender'] = 'Afsender'; +$labels['recipient'] = 'Modtager'; +$labels['vacationaddr'] = 'Min(e) yderligere email-adresse(r):'; +$labels['vacationdays'] = 'Hvor tit skal besked sendes (i dage):'; +$labels['vacationinterval'] = 'Hvor tit skal besked sendes:'; +$labels['vacationreason'] = 'Besked (ved ferie):'; +$labels['vacationsubject'] = 'Besked emne:'; +$labels['days'] = 'dage'; +$labels['seconds'] = 'sekunder'; +$labels['rulestop'] = 'Stop behandling af regler'; +$labels['enable'] = 'Aktivér/Deaktivér'; +$labels['filterset'] = 'Filter sæt'; +$labels['filtersets'] = 'Filtre sæt'; +$labels['filtersetadd'] = 'Tilføj filter sæt'; +$labels['filtersetdel'] = 'Slet aktuel filter sæt'; +$labels['filtersetact'] = 'Aktiver nuværende filter sæt'; +$labels['filtersetdeact'] = 'Deaktiver nuværende filter sæt'; +$labels['filterdef'] = 'Filter definition'; +$labels['filtersetname'] = 'Filter sæt navn'; +$labels['newfilterset'] = 'Nyt filter sæt'; +$labels['active'] = 'aktiv'; +$labels['none'] = 'ingen'; +$labels['fromset'] = 'fra sæt'; +$labels['fromfile'] = 'fra fil'; +$labels['filterdisabled'] = 'Filter deaktiveret'; +$labels['countisgreaterthan'] = 'antal er større end'; +$labels['countisgreaterthanequal'] = 'antal er større end eller lig med'; +$labels['countislessthan'] = 'antal er mindre end'; +$labels['countislessthanequal'] = 'antal er mindre end eller lig med'; +$labels['countequals'] = 'antal er lig med'; +$labels['countnotequals'] = 'antal er ikke lig med'; +$labels['valueisgreaterthan'] = 'værdi er større end'; +$labels['valueisgreaterthanequal'] = 'værdi er større end eller lig med'; +$labels['valueislessthan'] = 'værdi er mindre end'; +$labels['valueislessthanequal'] = 'værdi er mindre end eller lig med'; +$labels['valueequals'] = 'værdi er lig med'; +$labels['valuenotequals'] = 'værdi er ikke lig med'; +$labels['setflags'] = 'Sæt flag i beskeden'; +$labels['addflags'] = 'Tilføj flag til beskeden'; +$labels['removeflags'] = 'Fjern flag fra beskeden'; +$labels['flagread'] = 'Læs'; +$labels['flagdeleted'] = 'Slettede'; +$labels['flaganswered'] = 'Besvaret'; +$labels['flagflagged'] = 'Markeret'; +$labels['flagdraft'] = 'Kladde'; +$labels['setvariable'] = 'Skriv variablen'; +$labels['setvarname'] = 'Variabel navn:'; +$labels['setvarvalue'] = 'Variabel værdi:'; +$labels['setvarmodifiers'] = 'Modifikator'; +$labels['varlower'] = 'små bogstaver'; +$labels['varupper'] = 'store bogstaver'; +$labels['varlowerfirst'] = 'første bogstav lille'; +$labels['varupperfirst'] = 'Første bogstav stort'; +$labels['varquotewildcard'] = 'Sæt specialle tegn i citationstegn '; +$labels['varlength'] = 'længde'; +$labels['notify'] = 'Send meddelelse'; +$labels['notifyimportance'] = 'Vigtighed:'; +$labels['notifyimportancelow'] = 'lav'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'høj'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Telefon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Opret filter'; +$labels['usedata'] = 'Brug følgende data i filteret:'; +$labels['nextstep'] = 'Næste trin'; +$labels['...'] = '...'; +$labels['currdate'] = 'Aktuel dato'; +$labels['datetest'] = 'Dato'; +$labels['dateheader'] = 'header:'; +$labels['year'] = 'år'; +$labels['month'] = 'måned'; +$labels['day'] = 'dag'; +$labels['date'] = 'dato (åååå-mm-dd)'; +$labels['julian'] = 'dato (juliansk)'; +$labels['hour'] = 'time'; +$labels['minute'] = 'minut'; +$labels['second'] = 'sekund'; +$labels['time'] = 'tid (tt:mm:ss)'; +$labels['iso8601'] = 'dato (ISO8601)'; +$labels['std11'] = 'dato (RFC2822)'; +$labels['zone'] = 'tidszone'; +$labels['weekday'] = 'ugedag (0-6)'; +$labels['advancedopts'] = 'Advancerede muligheder'; +$labels['body'] = 'Brødtekst'; +$labels['address'] = 'adresse'; +$labels['envelope'] = 'kuvert'; +$labels['modifier'] = 'modificerer:'; +$labels['text'] = 'tekst'; +$labels['undecoded'] = 'udekodet (råt):'; +$labels['contenttype'] = 'indholdstype'; +$labels['modtype'] = 'type:'; +$labels['allparts'] = 'alle'; +$labels['domain'] = 'domæne'; +$labels['localpart'] = 'lokal del'; +$labels['user'] = 'bruger'; +$labels['detail'] = 'detalje'; +$labels['comparator'] = 'sammenligner:'; +$labels['default'] = 'standard'; +$labels['octet'] = 'præcis (oktet)'; +$labels['asciicasemap'] = 'store og små bogstaver (ascii-bogstaver)'; +$labels['asciinumeric'] = 'numerisk (ascii-numerisk)'; +$labels['index'] = 'indeks:'; +$labels['indexlast'] = 'baglends'; +$labels['vacation'] = 'Ferie'; +$labels['vacation.reply'] = 'Svar besked'; +$labels['vacation.advanced'] = 'Avanceret indstillinger '; +$labels['vacation.subject'] = 'Emne'; +$labels['vacation.start'] = 'Ferie star'; +$labels['vacation.end'] = 'Ferie slut'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.saving'] = 'Gemmer data...'; +$labels['vacation.keep'] = 'Behold'; +$labels['vacation.discard'] = 'Kasser'; +$labels['vacation.redirect'] = 'Omdiriger til '; +$labels['vacation.copy'] = 'Send kopi til'; +$messages['filterunknownerror'] = 'Ukendt server fejl.'; +$messages['filterconnerror'] = 'Kan ikke forbinde til server.'; +$messages['filterdeleteerror'] = 'Kunne ikke slette filter. Serverfejl opstod.'; +$messages['filterdeleted'] = 'Filter slettet.'; +$messages['filtersaved'] = 'Filter gemt.'; +$messages['filtersaveerror'] = 'Kunne ikke gemme filter. Serverfejl.'; +$messages['filterdeleteconfirm'] = 'Vil du slette det valgte filter?'; +$messages['ruledeleteconfirm'] = 'Er du sikker på at du vil slette den valgte regel?'; +$messages['actiondeleteconfirm'] = 'Er du sikker på du vil slette den valgte handling?'; +$messages['forbiddenchars'] = 'Ulovlige tegn i feltet'; +$messages['cannotbeempty'] = 'Feltet kan ikke være tomt.'; +$messages['ruleexist'] = 'Filter med dette navn eksisterer allerede.'; +$messages['setactivateerror'] = 'Kan ikke aktiverer valgt filter sæt. Server fejl.'; +$messages['setdeactivateerror'] = 'Kan ikke deaktivere valgt filter sæt. Server fejl.'; +$messages['setdeleteerror'] = 'Kan ikke slette valgt filter sæt. Server fejl.'; +$messages['setactivated'] = 'Filter sæt aktiveret.'; +$messages['setdeactivated'] = 'Filter sæt deaktiveret.'; +$messages['setdeleted'] = 'Filter sæt slettet.'; +$messages['setdeleteconfirm'] = 'Er du sikker på du vil slette valgt filter sæt?'; +$messages['setcreateerror'] = 'Kan ikke oprette filter sæt. Server fejl.'; +$messages['setcreated'] = 'Filter sæt oprettet.'; +$messages['activateerror'] = 'Kan ikke aktivere valgt filter sæt. Server fejl.'; +$messages['deactivateerror'] = 'Kan ikke deaktivere valgt filter sæt. Server fejl.'; +$messages['deactivated'] = 'Filter(filtre) aktiveret.'; +$messages['activated'] = 'Filter(filtre) deaktiveret.'; +$messages['moved'] = 'Filter flyttet.'; +$messages['moveerror'] = 'Kan ikke flytte valgt filter. Server fejl.'; +$messages['nametoolong'] = 'Navn er for langt.'; +$messages['namereserved'] = 'Reserveret navn.'; +$messages['setexist'] = 'Filterv sæt eksisterer allerede'; +$messages['nodata'] = 'Mindst en position skal vælges!'; +$messages['invaliddateformat'] = 'Ugyldigt dato- eller tidsformat'; +$messages['saveerror'] = 'Kunne ikke gemme data. Server fejl'; +$messages['vacationsaved'] = 'Ferie data gemt'; +?> diff --git a/plugins/managesieve/localization/de_CH.inc b/plugins/managesieve/localization/de_CH.inc new file mode 100644 index 000000000..13a4a676c --- /dev/null +++ b/plugins/managesieve/localization/de_CH.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filter'; +$labels['managefilters'] = 'Verwalte eingehende Nachrichtenfilter'; +$labels['filtername'] = 'Filtername'; +$labels['newfilter'] = 'Neuer Filter'; +$labels['filteradd'] = 'Filter hinzufügen'; +$labels['filterdel'] = 'Filter löschen'; +$labels['moveup'] = 'Nach oben'; +$labels['movedown'] = 'Nach unten'; +$labels['filterallof'] = 'UND (alle Regeln müssen zutreffen)'; +$labels['filteranyof'] = 'ODER (eine der Regeln muss zutreffen'; +$labels['filterany'] = 'Für alle Nachrichten'; +$labels['filtercontains'] = 'enthält'; +$labels['filternotcontains'] = 'enthält nicht'; +$labels['filteris'] = 'ist gleich'; +$labels['filterisnot'] = 'ist ungleich'; +$labels['filterexists'] = 'ist vorhanden'; +$labels['filternotexists'] = 'nicht vorhanden'; +$labels['filtermatches'] = 'entspricht Ausdruck'; +$labels['filternotmatches'] = 'entspricht nicht Ausdruck'; +$labels['filterregex'] = 'trifft regulären Ausdruck'; +$labels['filternotregex'] = 'entspricht regulärem Ausdruck'; +$labels['filterunder'] = 'unter'; +$labels['filterover'] = 'über'; +$labels['addrule'] = 'Regel hinzufügen'; +$labels['delrule'] = 'Regel löschen'; +$labels['messagemoveto'] = 'Verschiebe Nachricht nach'; +$labels['messageredirect'] = 'Leite Nachricht um nach'; +$labels['messagecopyto'] = 'Kopiere Nachricht nach'; +$labels['messagesendcopy'] = 'Sende Kopie an'; +$labels['messagereply'] = 'Antworte mit Nachricht'; +$labels['messagedelete'] = 'Nachricht löschen'; +$labels['messagediscard'] = 'Discard with message'; +$labels['messagekeep'] = 'Im Posteingang behalten'; +$labels['messagesrules'] = 'Für eingehende Nachrichten:'; +$labels['messagesactions'] = 'Führe folgende Aktionen aus:'; +$labels['add'] = 'Hinzufügen'; +$labels['del'] = 'Löschen'; +$labels['sender'] = 'Absender'; +$labels['recipient'] = 'Empfänger'; +$labels['vacationaddr'] = 'Meine weiteren E-Mail-Adressen:'; +$labels['vacationdays'] = 'Antwort wird erneut gesendet nach (in Tagen):'; +$labels['vacationinterval'] = 'Wie oft senden:'; +$labels['vacationreason'] = 'Inhalt der Nachricht (Abwesenheitsgrund):'; +$labels['vacationsubject'] = 'Betreff'; +$labels['days'] = 'Tage'; +$labels['seconds'] = 'Sekunden'; +$labels['rulestop'] = 'Regelauswertung anhalten'; +$labels['enable'] = 'Aktivieren/Deaktivieren'; +$labels['filterset'] = 'Filtersätze'; +$labels['filtersets'] = 'Filtersätze'; +$labels['filtersetadd'] = 'Filtersatz anlegen'; +$labels['filtersetdel'] = 'Aktuellen Filtersatz löschen'; +$labels['filtersetact'] = 'Aktuellen Filtersatz aktivieren'; +$labels['filtersetdeact'] = 'Aktuellen Filtersatz deaktivieren'; +$labels['filterdef'] = 'Filterdefinition'; +$labels['filtersetname'] = 'Filtersatzname'; +$labels['newfilterset'] = 'Neuer Filtersatz'; +$labels['active'] = 'aktiv'; +$labels['none'] = 'keine'; +$labels['fromset'] = 'aus Filtersatz'; +$labels['fromfile'] = 'aus Datei'; +$labels['filterdisabled'] = 'Filter deaktiviert'; +$labels['countisgreaterthan'] = 'Anzahl ist grösser als'; +$labels['countisgreaterthanequal'] = 'Anzahl ist gleich oder grösser als'; +$labels['countislessthan'] = 'Anzahl ist kleiner als'; +$labels['countislessthanequal'] = 'Anzahl ist gleich oder kleiner als'; +$labels['countequals'] = 'Anzahl ist gleich'; +$labels['countnotequals'] = 'Anzahl ist ungleich'; +$labels['valueisgreaterthan'] = 'Wert ist grösser als'; +$labels['valueisgreaterthanequal'] = 'Wert ist gleich oder grösser als'; +$labels['valueislessthan'] = 'Wert ist kleiner'; +$labels['valueislessthanequal'] = 'Wert ist gleich oder kleiner als'; +$labels['valueequals'] = 'Wert ist gleich'; +$labels['valuenotequals'] = 'Wert ist ungleich'; +$labels['setflags'] = 'Setze Markierungen'; +$labels['addflags'] = 'Füge Markierung hinzu'; +$labels['removeflags'] = 'Entferne Markierung'; +$labels['flagread'] = 'gelesen'; +$labels['flagdeleted'] = 'Gelöscht'; +$labels['flaganswered'] = 'Beantwortet'; +$labels['flagflagged'] = 'Markiert'; +$labels['flagdraft'] = 'Entwurf'; +$labels['setvariable'] = 'Setze Variable'; +$labels['setvarname'] = 'Variablenname:'; +$labels['setvarvalue'] = 'Variablenwert:'; +$labels['setvarmodifiers'] = 'Umwandler:'; +$labels['varlower'] = 'Kleinschreibung'; +$labels['varupper'] = 'Grossschreibung'; +$labels['varlowerfirst'] = 'Erster Buchstabe klein'; +$labels['varupperfirst'] = 'Erster Buchstabe gross'; +$labels['varquotewildcard'] = 'Sonderzeichen auszeichnen'; +$labels['varlength'] = 'Länge'; +$labels['notify'] = 'Mitteilung senden'; +$labels['notifytarget'] = 'Mitteilungsempfänger:'; +$labels['notifymessage'] = 'Mitteilungstext (optional):'; +$labels['notifyoptions'] = 'Mitteilungsoptionen (optional):'; +$labels['notifyfrom'] = 'Absender (optional):'; +$labels['notifyimportance'] = 'Wichtigkeit:'; +$labels['notifyimportancelow'] = 'tief'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'hoch'; +$labels['notifymethodmailto'] = 'E-Mail'; +$labels['notifymethodtel'] = 'Telefon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Filter erstellen'; +$labels['usedata'] = 'Die folgenden Daten im Filter benutzen:'; +$labels['nextstep'] = 'Nächster Schritt'; +$labels['...'] = '...'; +$labels['currdate'] = 'Aktuelles Datum'; +$labels['datetest'] = 'Datum'; +$labels['dateheader'] = 'Kopfzeile:'; +$labels['year'] = 'Jahr'; +$labels['month'] = 'Monat'; +$labels['day'] = 'Tag'; +$labels['date'] = 'Datum (JJJJ-MM-TT)'; +$labels['julian'] = 'Datum (julianisch)'; +$labels['hour'] = 'Stunde'; +$labels['minute'] = 'Minute'; +$labels['second'] = 'Sekunde'; +$labels['time'] = 'Zeit (hh:mm:ss)'; +$labels['iso8601'] = 'Datum (ISO-8601)'; +$labels['std11'] = 'Datum (RFC 2822)'; +$labels['zone'] = 'Zeitzone'; +$labels['weekday'] = 'Wochentag (0-6)'; +$labels['advancedopts'] = 'Erweiterte Optionen'; +$labels['body'] = 'Inhalt'; +$labels['address'] = 'Adresse'; +$labels['envelope'] = 'Umschlag'; +$labels['modifier'] = 'Wandler'; +$labels['text'] = 'Text'; +$labels['undecoded'] = 'kodiert (roh)'; +$labels['contenttype'] = 'Inhaltstyp'; +$labels['modtype'] = 'Typ:'; +$labels['allparts'] = 'alle'; +$labels['domain'] = 'Domain'; +$labels['localpart'] = 'lokaler Teil'; +$labels['user'] = 'Benutzer'; +$labels['detail'] = 'Detail'; +$labels['comparator'] = 'Komparator'; +$labels['default'] = 'Vorgabewert'; +$labels['octet'] = 'strikt (Oktet)'; +$labels['asciicasemap'] = 'Gross-/Kleinschreibung ignorieren'; +$labels['asciinumeric'] = 'numerisch (ascii-numeric)'; +$labels['index'] = 'Index:'; +$labels['indexlast'] = 'rückwärts'; +$labels['vacation'] = 'Abwesenheit'; +$labels['vacation.reply'] = 'Antworte mit Nachricht'; +$labels['vacation.advanced'] = 'Erweiterte Einstellungen'; +$labels['vacation.subject'] = 'Betreff'; +$labels['vacation.body'] = 'Inhalt'; +$labels['vacation.start'] = 'Beginn der Abwesenheit'; +$labels['vacation.end'] = 'Ende der Abwesenheit'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.on'] = 'Ein'; +$labels['vacation.off'] = 'Aus'; +$labels['vacation.addresses'] = 'Meine weiteren E-Mail-Adressen'; +$labels['vacation.interval'] = 'Antwort-Intervall'; +$labels['vacation.after'] = 'Abwesenheitsregel einfügen nach'; +$labels['vacation.saving'] = 'Speichere Daten...'; +$labels['vacation.action'] = 'Aktion für eingehende Nachrichten'; +$labels['vacation.keep'] = 'Behalten'; +$labels['vacation.discard'] = 'Verwerfen'; +$labels['vacation.redirect'] = 'Weiterleiten an'; +$labels['vacation.copy'] = 'Kopie an'; +$labels['arialabelfiltersetactions'] = 'Filtersatz-Aktionen'; +$labels['arialabelfilteractions'] = 'Filteraktionen'; +$labels['arialabelfilterform'] = 'Filtereigenschaften'; +$labels['ariasummaryfilterslist'] = 'Filterliste'; +$labels['ariasummaryfiltersetslist'] = 'Filtersatzliste'; +$labels['filterstitle'] = 'Eingehende Nachrichtenfilter bearbeiten'; +$labels['vacationtitle'] = 'Abwesenheitsregel bearbeiten'; +$messages['filterunknownerror'] = 'Unbekannter Serverfehler'; +$messages['filterconnerror'] = 'Kann nicht zum Sieve-Server verbinden'; +$messages['filterdeleteerror'] = 'Serverfehler beim Löschen des Filters.'; +$messages['filterdeleted'] = 'Filter erfolgreich gelöscht'; +$messages['filtersaved'] = 'Filter gespeichert'; +$messages['filtersaveerror'] = 'Serverfehler beim Speichern des Filters.'; +$messages['filterdeleteconfirm'] = 'Möchten Sie den Filter löschen ?'; +$messages['ruledeleteconfirm'] = 'Sicher, dass Sie die Regel löschen wollen?'; +$messages['actiondeleteconfirm'] = 'Sicher, dass Sie die ausgewaehlte Aktion löschen wollen?'; +$messages['forbiddenchars'] = 'Unerlaubte Zeichen im Feld'; +$messages['cannotbeempty'] = 'Feld darf nicht leer sein'; +$messages['ruleexist'] = 'Ein Filter mit dem angegebenen Namen existiert bereits.'; +$messages['setactivateerror'] = 'Serverfehler beim Aktivieren des gewählten Filtersatzes.'; +$messages['setdeactivateerror'] = 'Serverfehler beim Deaktivieren des gewählten Filtersatzes.'; +$messages['setdeleteerror'] = 'Serverfehler beim Löschen des gewählten Filtersatzes.'; +$messages['setactivated'] = 'Filtersatz erfolgreich aktiviert.'; +$messages['setdeactivated'] = 'Filtersatz erfolgreich deaktiviert.'; +$messages['setdeleted'] = 'Filtersatz erfolgreich gelöscht.'; +$messages['setdeleteconfirm'] = 'Sind Sie sicher, dass Sie den ausgewählten Filtersatz löschen möchten?'; +$messages['setcreateerror'] = 'Serverfehler beim Erstellen des Filtersatzes.'; +$messages['setcreated'] = 'Filter erfolgreich erstellt.'; +$messages['activateerror'] = 'Serverfehler beim Aktivieren des/der gewählten Filter(s).'; +$messages['deactivateerror'] = 'Serverfehler beim Deaktivieren des/der gewählten Filter(s).'; +$messages['deactivated'] = 'Filter erfolgreich aktiviert.'; +$messages['activated'] = 'Filter erfolgreich deaktiviert.'; +$messages['moved'] = 'Filter erfolgreich verschoben.'; +$messages['moveerror'] = 'Serverfehler beim Verschieben des gewählten Filters.'; +$messages['nametoolong'] = 'Filtersatz kann nicht erstellt werden. Name zu lang.'; +$messages['namereserved'] = 'Reservierter Name.'; +$messages['setexist'] = 'Filtersatz existiert bereits.'; +$messages['nodata'] = 'Mindestens eine Position muss ausgewählt werden!'; +$messages['invaliddateformat'] = 'Ungültiges Datumsformat'; +$messages['saveerror'] = 'Fehler beim Speichern (Serverfehler)'; +$messages['vacationsaved'] = 'Abwesenheitsnotiz erfolgreich gespeichert.'; +$messages['emptyvacationbody'] = 'Mitteilungstext ist erforderlich!'; +?> diff --git a/plugins/managesieve/localization/de_DE.inc b/plugins/managesieve/localization/de_DE.inc new file mode 100644 index 000000000..f57ffa300 --- /dev/null +++ b/plugins/managesieve/localization/de_DE.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filter'; +$labels['managefilters'] = 'Filter für eingehende Nachrichten verwalten'; +$labels['filtername'] = 'Filtername'; +$labels['newfilter'] = 'Neuer Filter'; +$labels['filteradd'] = 'Filter hinzufügen'; +$labels['filterdel'] = 'Filter löschen'; +$labels['moveup'] = 'Nach oben'; +$labels['movedown'] = 'Nach unten'; +$labels['filterallof'] = 'trifft auf alle folgenden Regeln zu'; +$labels['filteranyof'] = 'trifft auf eine der folgenden Regeln zu'; +$labels['filterany'] = 'alle Nachrichten'; +$labels['filtercontains'] = 'enthält'; +$labels['filternotcontains'] = 'enthält nicht'; +$labels['filteris'] = 'ist gleich'; +$labels['filterisnot'] = 'ist ungleich'; +$labels['filterexists'] = 'existiert'; +$labels['filternotexists'] = 'existiert nicht'; +$labels['filtermatches'] = 'trifft auf Ausdruck zu'; +$labels['filternotmatches'] = 'trifft nicht auf Ausdruck zu'; +$labels['filterregex'] = 'trifft auf regulären Ausdruck zu'; +$labels['filternotregex'] = 'trifft nicht auf regulären Ausdruck zu'; +$labels['filterunder'] = 'unter'; +$labels['filterover'] = 'über'; +$labels['addrule'] = 'Regel hinzufügen'; +$labels['delrule'] = 'Regel löschen'; +$labels['messagemoveto'] = 'Nachricht verschieben nach'; +$labels['messageredirect'] = 'Nachricht umleiten an'; +$labels['messagecopyto'] = 'Nachricht kopieren nach'; +$labels['messagesendcopy'] = 'Kopie senden an'; +$labels['messagereply'] = 'Mit Nachricht antworten'; +$labels['messagedelete'] = 'Nachricht löschen'; +$labels['messagediscard'] = 'Abweisen mit Nachricht'; +$labels['messagekeep'] = 'Behalte Nachricht im Posteingang'; +$labels['messagesrules'] = 'Für eingehende Nachrichten:'; +$labels['messagesactions'] = '...führe folgende Aktionen aus:'; +$labels['add'] = 'Hinzufügen'; +$labels['del'] = 'Löschen'; +$labels['sender'] = 'Absender'; +$labels['recipient'] = 'Empfänger'; +$labels['vacationaddr'] = 'Meine zusätzliche E-Mail-Adresse(n):'; +$labels['vacationdays'] = 'Wie oft sollen Nachrichten gesendet werden (in Tagen):'; +$labels['vacationinterval'] = 'Wie oft sollen Nachrichten gesendet werden:'; +$labels['vacationreason'] = 'Nachrichteninhalt (Abwesenheitsgrund):'; +$labels['vacationsubject'] = 'Nachrichtenbetreff'; +$labels['days'] = 'Tage'; +$labels['seconds'] = 'Sekunden'; +$labels['rulestop'] = 'Regelauswertung anhalten'; +$labels['enable'] = 'Aktivieren/Deaktivieren'; +$labels['filterset'] = 'Filtersätze'; +$labels['filtersets'] = 'Filtersätze'; +$labels['filtersetadd'] = 'Filtersatz anlegen'; +$labels['filtersetdel'] = 'Aktuellen Filtersatz löschen'; +$labels['filtersetact'] = 'Aktuellen Filtersatz aktivieren'; +$labels['filtersetdeact'] = 'Aktuellen Filtersatz deaktivieren'; +$labels['filterdef'] = 'Filterdefinition'; +$labels['filtersetname'] = 'Filtersatzname'; +$labels['newfilterset'] = 'Neuer Filtersatz'; +$labels['active'] = 'aktiv'; +$labels['none'] = 'keine'; +$labels['fromset'] = 'aus Filtersatz'; +$labels['fromfile'] = 'aus Datei'; +$labels['filterdisabled'] = 'Filter deaktiviert'; +$labels['countisgreaterthan'] = 'Anzahl ist größer als'; +$labels['countisgreaterthanequal'] = 'Anzahl ist gleich oder größer als'; +$labels['countislessthan'] = 'Anzahl ist kleiner als'; +$labels['countislessthanequal'] = 'Anzahl ist gleich oder kleiner als'; +$labels['countequals'] = 'Anzahl ist gleich'; +$labels['countnotequals'] = 'Anzahl ist nicht gleich'; +$labels['valueisgreaterthan'] = 'Wert ist größer als'; +$labels['valueisgreaterthanequal'] = 'Wert ist gleich oder größer als'; +$labels['valueislessthan'] = 'Wert ist kleiner'; +$labels['valueislessthanequal'] = 'Wert ist gleich oder kleiner als'; +$labels['valueequals'] = 'Wert ist gleich'; +$labels['valuenotequals'] = 'Wert ist nicht gleich'; +$labels['setflags'] = 'Markierung an der Nachricht setzen'; +$labels['addflags'] = 'Markierung zur Nachricht hinzufügen'; +$labels['removeflags'] = 'Markierungen von der Nachricht entfernen'; +$labels['flagread'] = 'Gelesen'; +$labels['flagdeleted'] = 'Gelöscht'; +$labels['flaganswered'] = 'Beantwortet'; +$labels['flagflagged'] = 'Markiert'; +$labels['flagdraft'] = 'Entwurf'; +$labels['setvariable'] = 'Variable setzen'; +$labels['setvarname'] = 'Name der Variable:'; +$labels['setvarvalue'] = 'Wert der Variable:'; +$labels['setvarmodifiers'] = 'Modifikatoren:'; +$labels['varlower'] = 'Kleinschreibung'; +$labels['varupper'] = 'Großschreibung'; +$labels['varlowerfirst'] = 'Erster Buchstabe kleingeschrieben'; +$labels['varupperfirst'] = 'Erster Buchstabe großgeschrieben'; +$labels['varquotewildcard'] = 'maskiere Sonderzeichen'; +$labels['varlength'] = 'Länge'; +$labels['notify'] = 'Sende Benachrichtigung'; +$labels['notifytarget'] = 'Benachrichtigungs-Empfänger:'; +$labels['notifymessage'] = 'Inhalt der Benachrichtigung (optional):'; +$labels['notifyoptions'] = 'Optionen für die Benachrichtigung (optional)'; +$labels['notifyfrom'] = 'Absender der Benachrichtigung (optional):'; +$labels['notifyimportance'] = 'Priorität:'; +$labels['notifyimportancelow'] = 'niedrig'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'hoch'; +$labels['notifymethodmailto'] = 'E-Mail'; +$labels['notifymethodtel'] = 'Telefon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Filter erstellen'; +$labels['usedata'] = 'Die folgenden Daten im Filter benutzen:'; +$labels['nextstep'] = 'Nächster Schritt'; +$labels['...'] = '...'; +$labels['currdate'] = 'Aktuelles Datum'; +$labels['datetest'] = 'Datum'; +$labels['dateheader'] = 'Kopfzeile:'; +$labels['year'] = 'jahr'; +$labels['month'] = 'monat'; +$labels['day'] = 'tag'; +$labels['date'] = 'datum (yyyy-mm-dd)'; +$labels['julian'] = 'datum (julian)'; +$labels['hour'] = 'stunde'; +$labels['minute'] = 'minute'; +$labels['second'] = 'sekunde'; +$labels['time'] = 'zeit (hh:mm:ss)'; +$labels['iso8601'] = 'datum (ISO8601)'; +$labels['std11'] = 'datum (RFC2822)'; +$labels['zone'] = 'Zeitzone'; +$labels['weekday'] = 'wochentag (0-6)'; +$labels['advancedopts'] = 'Erweiterte Optionen'; +$labels['body'] = 'Textkörper'; +$labels['address'] = 'Adresse'; +$labels['envelope'] = 'Umschlag'; +$labels['modifier'] = 'Modifikator:'; +$labels['text'] = 'Text'; +$labels['undecoded'] = 'Nicht dekodiert'; +$labels['contenttype'] = 'Inhaltstyp'; +$labels['modtype'] = 'Typ:'; +$labels['allparts'] = 'Alle'; +$labels['domain'] = 'Domäne'; +$labels['localpart'] = 'lokaler Teil'; +$labels['user'] = 'Benutzer'; +$labels['detail'] = 'Detail'; +$labels['comparator'] = 'Komperator:'; +$labels['default'] = 'Vorgabewert'; +$labels['octet'] = 'strikt (Oktett)'; +$labels['asciicasemap'] = 'Groß-/Kleinschreibung ignorieren'; +$labels['asciinumeric'] = 'numerisch (ascii-numeric)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'rückwärts'; +$labels['vacation'] = 'Urlaub'; +$labels['vacation.reply'] = 'Antwort'; +$labels['vacation.advanced'] = 'Erweiterte Einstellungen'; +$labels['vacation.subject'] = 'Betreff'; +$labels['vacation.body'] = 'Hauptteil'; +$labels['vacation.start'] = 'Beginn des Urlaubs'; +$labels['vacation.end'] = 'Ende des Urlaubs'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.on'] = 'An'; +$labels['vacation.off'] = 'Aus'; +$labels['vacation.addresses'] = 'Meine weiteren Adressen'; +$labels['vacation.interval'] = 'Antwort Intervall'; +$labels['vacation.after'] = 'Setze Urlaubsregel nach'; +$labels['vacation.saving'] = 'Speichere Daten...'; +$labels['vacation.action'] = 'Eingehende Nachrichtaktion'; +$labels['vacation.keep'] = 'Behalten'; +$labels['vacation.discard'] = 'Verwerfen'; +$labels['vacation.redirect'] = 'Weiterleiten an'; +$labels['vacation.copy'] = 'Kopie senden an'; +$labels['arialabelfiltersetactions'] = 'Aktionen für Filtersätze'; +$labels['arialabelfilteractions'] = 'Aktionen für Filter'; +$labels['arialabelfilterform'] = 'Filtereigenschaften'; +$labels['ariasummaryfilterslist'] = 'Liste von Filtern'; +$labels['ariasummaryfiltersetslist'] = 'Liste von Filtersätzen'; +$labels['filterstitle'] = 'Eingehende Mailfilter bearbeiten'; +$labels['vacationtitle'] = 'Abwesendheitsregel bearbeiten'; +$messages['filterunknownerror'] = 'Unbekannter Serverfehler'; +$messages['filterconnerror'] = 'Kann keine Verbindung mit Managesieve-Server herstellen'; +$messages['filterdeleteerror'] = 'Filter kann nicht gelöscht werden. Ein Serverfehler ist aufgetreten.'; +$messages['filterdeleted'] = 'Filter erfolgreich gelöscht'; +$messages['filtersaved'] = 'Filter erfolgreich gespeichert'; +$messages['filtersaveerror'] = 'Filter kann nicht gespeichert werden. Ein Serverfehler ist aufgetreten.'; +$messages['filterdeleteconfirm'] = 'Möchten Sie den ausgewählten Filter wirklich löschen?'; +$messages['ruledeleteconfirm'] = 'Sind Sie sicher, dass Sie die ausgewählte Regel löschen möchten?'; +$messages['actiondeleteconfirm'] = 'Sind Sie sicher, dass Sie die ausgewählte Aktion löschen möchten?'; +$messages['forbiddenchars'] = 'Unzulässige Zeichen im Eingabefeld'; +$messages['cannotbeempty'] = 'Eingabefeld darf nicht leer sein'; +$messages['ruleexist'] = 'Ein Filter mit dem angegebenen Namen existiert bereits.'; +$messages['setactivateerror'] = 'Kann ausgewählten Filtersatz nicht aktivieren. Serverfehler'; +$messages['setdeactivateerror'] = 'Kann ausgewählten Filtersatz nicht deaktivieren. Serverfehler'; +$messages['setdeleteerror'] = 'Kann ausgewählten Filtersatz nicht löschen. Serverfehler'; +$messages['setactivated'] = 'Filtersatz wurde erfolgreich aktiviert'; +$messages['setdeactivated'] = 'Filtersatz wurde erfolgreich deaktiviert'; +$messages['setdeleted'] = 'Filtersatz wurde erfolgreich gelöscht'; +$messages['setdeleteconfirm'] = 'Sind Sie sicher, dass Sie den ausgewählten Filtersatz löschen möchten?'; +$messages['setcreateerror'] = 'Erstellen von Filter Sätzen nicht möglich. Es ist ein Serverfehler aufgetreten.'; +$messages['setcreated'] = 'Filtersatz wurde erfolgreich erstellt'; +$messages['activateerror'] = 'Filter kann nicht aktiviert werden. Serverfehler.'; +$messages['deactivateerror'] = 'Filter kann nicht deaktiviert werden. Serverfehler.'; +$messages['deactivated'] = 'Filter erfolgreich deaktiviert.'; +$messages['activated'] = 'Filter erfolgreich aktiviert.'; +$messages['moved'] = 'Filter erfolgreich verschoben.'; +$messages['moveerror'] = 'Filter kann nicht verschoben werden. Serverfehler.'; +$messages['nametoolong'] = 'Kann Filtersatz nicht erstellen. Name zu lang'; +$messages['namereserved'] = 'Reservierter Name.'; +$messages['setexist'] = 'Filtersatz existiert bereits.'; +$messages['nodata'] = 'Mindestens eine Position muss ausgewählt werden!'; +$messages['invaliddateformat'] = 'Ungültiges Datum oder Teil-Format'; +$messages['saveerror'] = 'Ein Serverfehler ist aufgetreten, Speicherung war nicht möglich.'; +$messages['vacationsaved'] = 'Urlaubsdaten erfolgreich gespeichert.'; +$messages['emptyvacationbody'] = 'Inhalt der Abwesenheitsbenachrichtigung wird benötigt!'; +?> diff --git a/plugins/managesieve/localization/el_GR.inc b/plugins/managesieve/localization/el_GR.inc new file mode 100644 index 000000000..d1c783308 --- /dev/null +++ b/plugins/managesieve/localization/el_GR.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Φίλτρα'; +$labels['managefilters'] = 'Διαχείριση φίλτρων εισερχόμενων'; +$labels['filtername'] = 'Ονομασία φίλτρου'; +$labels['newfilter'] = 'Δημιουργία φίλτρου'; +$labels['filteradd'] = 'Προσθήκη φίλτρου'; +$labels['filterdel'] = 'Διαγραφή φίλτρου'; +$labels['moveup'] = 'Μετακίνηση πάνω'; +$labels['movedown'] = 'Μετακίνηση κάτω'; +$labels['filterallof'] = 'ταιριάζουν με όλους τους παρακάτω κανόνες'; +$labels['filteranyof'] = 'ταιριάζουν με οποιονδήποτε από τους παρακάτω κανόνες'; +$labels['filterany'] = 'όλα τα μηνύματα'; +$labels['filtercontains'] = 'περιέχει'; +$labels['filternotcontains'] = 'δεν περιέχει'; +$labels['filteris'] = 'είναι ίσο με'; +$labels['filterisnot'] = 'δεν είναι ίσο με'; +$labels['filterexists'] = 'υπάρχει'; +$labels['filternotexists'] = 'δεν υπάρχει'; +$labels['filtermatches'] = 'ταιριάζει με την έκφραση '; +$labels['filternotmatches'] = 'Δεν ταιριάζει με την έκφραση'; +$labels['filterregex'] = 'ταιριάζει με κανονική έκφραση'; +$labels['filternotregex'] = 'δεν ταιριάζει με κανονική έκφραση'; +$labels['filterunder'] = 'κάτω'; +$labels['filterover'] = 'πάνω'; +$labels['addrule'] = 'Προσθήκη κανόνα'; +$labels['delrule'] = 'Διαγραφή κανόνα'; +$labels['messagemoveto'] = 'Μετακίνηση μηνύματος στο'; +$labels['messageredirect'] = 'Προώθηση μηνύματος στο'; +$labels['messagecopyto'] = 'Αντιγραφη μυνηματος σε'; +$labels['messagesendcopy'] = 'Αποστολη της αντιγραφης μυνηματος σε'; +$labels['messagereply'] = 'Απάντηση με μήνυμα'; +$labels['messagedelete'] = 'Διαγραφή μηνύματος'; +$labels['messagediscard'] = 'Απόρριψη με μήνυμα'; +$labels['messagekeep'] = 'Διατήρηση μηνύματος στα Εισερχόμενα'; +$labels['messagesrules'] = 'Για εισερχόμενα μηνύματα που:'; +$labels['messagesactions'] = '...εκτέλεση των παρακάτω ενεργειών:'; +$labels['add'] = 'Προσθήκη'; +$labels['del'] = 'Διαγραφή'; +$labels['sender'] = 'Αποστολέας'; +$labels['recipient'] = 'Παραλήπτης'; +$labels['vacationaddr'] = 'Πρόσθετες διευθύνσεις email:'; +$labels['vacationdays'] = 'Συχνότητα αποστολής μηνυμάτων (σε ημέρες):'; +$labels['vacationinterval'] = 'Συχνότητα αποστολής μηνυμάτων:'; +$labels['vacationreason'] = 'Σώμα μηνύματος (λόγος απουσίας):'; +$labels['vacationsubject'] = 'Θέμα μηνύματος: '; +$labels['days'] = 'ημερες'; +$labels['seconds'] = 'δευτερόλεπτα'; +$labels['rulestop'] = 'Παύση επαλήθευσης κανόνων'; +$labels['enable'] = 'Ενεργοποιηση/Απενεργοποιηση'; +$labels['filterset'] = 'Φίλτρα'; +$labels['filtersets'] = 'Φίλτρο'; +$labels['filtersetadd'] = 'Προσθήκη φίλτρων'; +$labels['filtersetdel'] = 'Διαγραφή φίλτρων'; +$labels['filtersetact'] = 'Ενεργοποιηση φιλτρων'; +$labels['filtersetdeact'] = 'Απενεργοποιηση φιλτρων'; +$labels['filterdef'] = 'Ορισμος φιλτρου'; +$labels['filtersetname'] = 'Ονομασία φίλτρων'; +$labels['newfilterset'] = 'Νεα φιλτρα'; +$labels['active'] = 'ενεργο'; +$labels['none'] = 'κανένα'; +$labels['fromset'] = 'από το σύνολο '; +$labels['fromfile'] = 'απο αρχειο'; +$labels['filterdisabled'] = 'Απενεργοποιημενο φιλτρο'; +$labels['countisgreaterthan'] = 'αρίθμηση είναι μεγαλύτερη από'; +$labels['countisgreaterthanequal'] = 'η μετρηση είναι μεγαλύτερη ή ίση προς'; +$labels['countislessthan'] = 'η μετρηση είναι μικρότερη απο'; +$labels['countislessthanequal'] = 'η μετρηση είναι μικρότερη ή ίση προς'; +$labels['countequals'] = 'η μέτρηση είναι ίση προς '; +$labels['countnotequals'] = 'η μέτρηση δεν είναι ίση προς '; +$labels['valueisgreaterthan'] = 'η τιμη είναι μεγαλύτερη από'; +$labels['valueisgreaterthanequal'] = 'η τιμη είναι μεγαλύτερη ή ίση προς'; +$labels['valueislessthan'] = 'η τιμη είναι μικρότερη απο'; +$labels['valueislessthanequal'] = 'η τιμη είναι μικρότερη ή ίση προς'; +$labels['valueequals'] = 'η τιμη είναι ίση με'; +$labels['valuenotequals'] = 'η τιμη δεν είναι ίση με'; +$labels['setflags'] = 'Ορισμός σημαίων στο μήνυμα'; +$labels['addflags'] = 'Προσθήκη σημαίων στο μήνυμα'; +$labels['removeflags'] = 'Αφαιρέση σημαίων από το μήνυμα'; +$labels['flagread'] = 'Αναγνωση'; +$labels['flagdeleted'] = 'Διεγραμμένο'; +$labels['flaganswered'] = 'Απαντήθηκε '; +$labels['flagflagged'] = 'Σημειωμένο'; +$labels['flagdraft'] = 'Πρόχειρα'; +$labels['setvariable'] = 'Ορισμός μεταβλητής'; +$labels['setvarname'] = 'Όνομα μεταβλητης:'; +$labels['setvarvalue'] = 'Τιμη μεταβλητης:'; +$labels['setvarmodifiers'] = 'Τροποποιητές: '; +$labels['varlower'] = 'Μικρογράμματη γραφή'; +$labels['varupper'] = 'κεφαλαία γράμματα '; +$labels['varlowerfirst'] = 'πρώτος χαρακτήρας πεζός '; +$labels['varupperfirst'] = 'πρώτος χαρακτήρας κεφαλαία γράμματα'; +$labels['varquotewildcard'] = 'παραθέση ειδικων χαρακτήρων'; +$labels['varlength'] = 'Μήκος'; +$labels['notify'] = 'Αποστολή ειδοποίησης '; +$labels['notifytarget'] = 'Παραλήπτης ειδοποίησης:'; +$labels['notifymessage'] = 'Μήνυμα ειδοποίησης (προαιρετικά):'; +$labels['notifyoptions'] = 'Επιλογές ειδοποίησης (προαιρετικά):'; +$labels['notifyfrom'] = 'Αποστολέας ειδοποίησης (προαιρετικά):'; +$labels['notifyimportance'] = 'Σημασία: '; +$labels['notifyimportancelow'] = 'Χαμηλή'; +$labels['notifyimportancenormal'] = 'Κανονική'; +$labels['notifyimportancehigh'] = 'Υψηλή'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Τηλέφωνο'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Δημιουργία φίλτρου'; +$labels['usedata'] = 'Χρησιμοποιηση ακολουθων δεδομενων στο φιλτρο:'; +$labels['nextstep'] = 'Επομενο βημα'; +$labels['...'] = '...'; +$labels['currdate'] = 'Τρέχουσα ημερομηνία'; +$labels['datetest'] = 'Ημερομηνία'; +$labels['dateheader'] = 'επικεφαλίδα:'; +$labels['year'] = 'χρονος'; +$labels['month'] = 'μηνας'; +$labels['day'] = 'ημερα'; +$labels['date'] = 'ημερομηνια (yyyy-mm-dd)'; +$labels['julian'] = 'ημερομηνια (julian)'; +$labels['hour'] = 'ωρα'; +$labels['minute'] = 'λεπτο'; +$labels['second'] = 'δευτερόλεπτο'; +$labels['time'] = 'ωρα (hh:mm:ss)'; +$labels['iso8601'] = 'ημερομηνια (ISO8601)'; +$labels['std11'] = 'ημερομηνια (RFC2822)'; +$labels['zone'] = 'Ζώνη Ώρας'; +$labels['weekday'] = 'ημέρα της εβδομάδας (0-6)'; +$labels['advancedopts'] = 'Προχωρημένες ρυθμίσεις'; +$labels['body'] = 'Σώμα'; +$labels['address'] = 'Διεύθυνση'; +$labels['envelope'] = 'φάκελος'; +$labels['modifier'] = 'Τροποποιηση: '; +$labels['text'] = 'κειμενο'; +$labels['undecoded'] = 'αποκωδικοποιημένο (raw)'; +$labels['contenttype'] = 'Τύπος περιεχομένου '; +$labels['modtype'] = 'τυπος:'; +$labels['allparts'] = 'Όλα'; +$labels['domain'] = 'τομέας'; +$labels['localpart'] = 'τοπικό τμήμα '; +$labels['user'] = 'χρηστης'; +$labels['detail'] = 'λεπτομερειες'; +$labels['comparator'] = 'σύγκριση:'; +$labels['default'] = 'προεπιλογή'; +$labels['octet'] = 'αυστηρή (οκτάδα) '; +$labels['asciicasemap'] = 'πεζά ή κεφαλαία (ascii-casemap)'; +$labels['asciinumeric'] = 'αριθμητικό (ascii-αριθμητικο)'; +$labels['index'] = 'ευρετήριο:'; +$labels['indexlast'] = 'προς τα πίσω'; +$labels['vacation'] = 'Διακοπές'; +$labels['vacation.reply'] = 'Μήνυμα απάντησης'; +$labels['vacation.advanced'] = 'Προηγμένες ρυθμίσεις'; +$labels['vacation.subject'] = 'Θέμα'; +$labels['vacation.body'] = 'Σώμα'; +$labels['vacation.start'] = 'Έναρξη διακοπών'; +$labels['vacation.end'] = 'Λήξη διακοπών'; +$labels['vacation.status'] = 'Κατάσταση'; +$labels['vacation.on'] = 'Ενεργό'; +$labels['vacation.off'] = 'Ανενεργό'; +$labels['vacation.addresses'] = 'Επιπλέον διευθύνσεις'; +$labels['vacation.interval'] = 'Διάστημα απάντησης'; +$labels['vacation.after'] = 'Εισαγωγή κανόνα διακοπών μετά από'; +$labels['vacation.saving'] = 'Αποθήκευση δεδομένων...'; +$labels['vacation.action'] = 'Ενέργεια εισερχόμενου μηνύματος'; +$labels['vacation.keep'] = 'Διατήρηση'; +$labels['vacation.discard'] = 'Διαγραφή'; +$labels['vacation.redirect'] = 'Ανακατεύθυνση σε'; +$labels['vacation.copy'] = 'Αποστολή αντιγράφου σε'; +$labels['arialabelfiltersetactions'] = 'Ενέργειες ομάδας φίλτρων'; +$labels['arialabelfilteractions'] = 'Ενέργειες φίλτρων'; +$labels['arialabelfilterform'] = 'Ιδιότητες φίλτρων'; +$labels['ariasummaryfilterslist'] = 'Λίστα φίλτρων'; +$labels['ariasummaryfiltersetslist'] = 'Λίστα ομάδων φίλτρων'; +$labels['filterstitle'] = 'Επεξεργασία φίλτρων εισερχόμενης αλληλογραφίας'; +$labels['vacationtitle'] = 'Επεξεργασία κανόνα εκτός-γραφείου'; +$messages['filterunknownerror'] = 'Άγνωστο σφάλμα διακομιστή'; +$messages['filterconnerror'] = 'Αδυναμία σύνδεσης στον διακομιστή managesieve'; +$messages['filterdeleteerror'] = 'Αδυναμία διαγραφής φίλτρου. Προέκυψε σφάλμα στον διακομιστή'; +$messages['filterdeleted'] = 'Το φίλτρο διαγράφηκε επιτυχώς'; +$messages['filtersaved'] = 'Το φίλτρο αποθηκεύτηκε επιτυχώς'; +$messages['filtersaveerror'] = 'Αδυναμία αποθήκευσης φίλτρου. Προέκυψε σφάλμα στον διακομιστή'; +$messages['filterdeleteconfirm'] = 'Είστε σίγουροι ότι θέλετε να διαγράψετε το επιλεγμένο φίλτρο? '; +$messages['ruledeleteconfirm'] = 'Θέλετε όντως να διαγράψετε τον επιλεγμένο κανόνα;'; +$messages['actiondeleteconfirm'] = 'Θέλετε όντως να διαγράψετε την επιλεγμένη ενέργεια;'; +$messages['forbiddenchars'] = 'Μη επιτρεπτοί χαρακτήρες στο πεδίο'; +$messages['cannotbeempty'] = 'Το πεδίο δεν μπορεί να είναι κενό'; +$messages['ruleexist'] = 'Φιλτρο με αυτο το όνομα υπάρχει ήδη. '; +$messages['setactivateerror'] = 'Αδυναμία ενεργοποίησης επιλεγμένων ομάδων φίλτρων. Προέκυψε σφάλμα στον διακομιστή.'; +$messages['setdeactivateerror'] = 'Αδυναμία απενεργοποίησης επιλεγμένων ομάδων φίλτρων. Προέκυψε σφάλμα στον διακομιστή.'; +$messages['setdeleteerror'] = 'Αδυναμία διαγραφής των επιλεγμένων ομάδων φίλτρων. Προέκυψε σφάλμα στον διακομιστή'; +$messages['setactivated'] = 'Φίλτρα ενεργοποιήθηκαν με επιτυχία.'; +$messages['setdeactivated'] = 'Φίλτρα απενεργοποιήθηκαν με επιτυχία.'; +$messages['setdeleted'] = 'Τα φίλτρα διαγράφηκαν επιτυχώς.'; +$messages['setdeleteconfirm'] = 'Θέλετε όντως να διαγράψετε τα επιλεγμένα φιλτρα?'; +$messages['setcreateerror'] = 'Αδυναμία δημιουργίας ομάδας φίλτρων. Προέκυψε σφάλμα στον διακομιστή.'; +$messages['setcreated'] = 'Τα φιλτρα δημιουργηθηκαν επιτυχως.'; +$messages['activateerror'] = 'Αδυναμία ενεργοποίησης επιλεγμένου φίλτρου(ων). Προέκυψε σφάλμα στον διακομιστή.'; +$messages['deactivateerror'] = 'Αδυναμία απενεργοποίησης επιλεγμένου φίλτρου(ων). Προέκυψε σφάλμα στον διακομιστή.'; +$messages['deactivated'] = 'Το φιλτρο(α) απενεργοποιηθηκαν επιτυχως.'; +$messages['activated'] = 'Το φίλτρο(α) ενεργοποιηθηκαν επιτυχώς.'; +$messages['moved'] = 'Το φίλτρο μετακινηθηκε επιτυχώς.'; +$messages['moveerror'] = 'Αδυναμία μετακίνησης επιλεγμένου φίλτρου. Προέκυψε σφάλμα στον διακομιστή.'; +$messages['nametoolong'] = 'Το όνομα είναι πολύ μεγάλο.'; +$messages['namereserved'] = 'Δεσμευμένο όνομα. '; +$messages['setexist'] = 'Set υπάρχει ήδη. '; +$messages['nodata'] = 'Τουλάχιστον μία θέση πρέπει να επιλεγεί!'; +$messages['invaliddateformat'] = 'Μη έγκυρη ημερομηνία ή η ημερομηνία μορφής τμήμα'; +$messages['saveerror'] = 'Αδύνατη η αποθήκευση δεδομένων. Προέκυψε σφάλμα στον διακομιστή'; +$messages['vacationsaved'] = 'Τα δεδομένα διακοπών αποθηκεύτηκαν επιτυχώς.'; +$messages['emptyvacationbody'] = 'Απαιτείται σώμα για το μήνυμα διακοπών!'; +?> diff --git a/plugins/managesieve/localization/en_CA.inc b/plugins/managesieve/localization/en_CA.inc new file mode 100644 index 000000000..400f835d5 --- /dev/null +++ b/plugins/managesieve/localization/en_CA.inc @@ -0,0 +1,209 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filters'; +$labels['managefilters'] = 'Manage incoming mail filters'; +$labels['filtername'] = 'Filter name'; +$labels['newfilter'] = 'New filter'; +$labels['filteradd'] = 'Add filter'; +$labels['filterdel'] = 'Delete filter'; +$labels['moveup'] = 'Move up'; +$labels['movedown'] = 'Move down'; +$labels['filterallof'] = 'matching all of the following rules'; +$labels['filteranyof'] = 'matching any of the following rules'; +$labels['filterany'] = 'all messages'; +$labels['filtercontains'] = 'contains'; +$labels['filternotcontains'] = 'not contains'; +$labels['filteris'] = 'is equal to'; +$labels['filterisnot'] = 'is not equal to'; +$labels['filterexists'] = 'exists'; +$labels['filternotexists'] = 'not exists'; +$labels['filtermatches'] = 'matches expression'; +$labels['filternotmatches'] = 'not matches expression'; +$labels['filterregex'] = 'matches regular expression'; +$labels['filternotregex'] = 'not matches regular expression'; +$labels['filterunder'] = 'under'; +$labels['filterover'] = 'over'; +$labels['addrule'] = 'Add rule'; +$labels['delrule'] = 'Delete rule'; +$labels['messagemoveto'] = 'Move message to'; +$labels['messageredirect'] = 'Redirect message to'; +$labels['messagecopyto'] = 'Copy message to'; +$labels['messagesendcopy'] = 'Send message copy to'; +$labels['messagereply'] = 'Reply with message'; +$labels['messagedelete'] = 'Delete message'; +$labels['messagediscard'] = 'Discard with message'; +$labels['messagekeep'] = 'Keep message in Inbox'; +$labels['messagesrules'] = 'For incoming mail:'; +$labels['messagesactions'] = '...execute the following actions:'; +$labels['add'] = 'Add'; +$labels['del'] = 'Delete'; +$labels['sender'] = 'Sender'; +$labels['recipient'] = 'Recipient'; +$labels['vacationaddr'] = 'My additional e-mail address(es):'; +$labels['vacationdays'] = 'How often send messages (in days):'; +$labels['vacationinterval'] = 'How often send messages:'; +$labels['vacationreason'] = 'Message body (vacation reason):'; +$labels['vacationsubject'] = 'Message subject:'; +$labels['days'] = 'days'; +$labels['seconds'] = 'seconds'; +$labels['rulestop'] = 'Stop evaluating rules'; +$labels['enable'] = 'Enable/Disable'; +$labels['filterset'] = 'Filters set'; +$labels['filtersets'] = 'Filter sets'; +$labels['filtersetadd'] = 'Add filters set'; +$labels['filtersetdel'] = 'Delete current filters set'; +$labels['filtersetact'] = 'Activate current filters set'; +$labels['filtersetdeact'] = 'Deactivate current filters set'; +$labels['filterdef'] = 'Filter definition'; +$labels['filtersetname'] = 'Filters set name'; +$labels['newfilterset'] = 'New filters set'; +$labels['active'] = 'active'; +$labels['none'] = 'none'; +$labels['fromset'] = 'from set'; +$labels['fromfile'] = 'from file'; +$labels['filterdisabled'] = 'Filter disabled'; +$labels['countisgreaterthan'] = 'count is greater than'; +$labels['countisgreaterthanequal'] = 'count is greater than or equal to'; +$labels['countislessthan'] = 'count is less than'; +$labels['countislessthanequal'] = 'count is less than or equal to'; +$labels['countequals'] = 'count is equal to'; +$labels['countnotequals'] = 'count is not equal to'; +$labels['valueisgreaterthan'] = 'value is greater than'; +$labels['valueisgreaterthanequal'] = 'value is greater than or equal to'; +$labels['valueislessthan'] = 'value is less than'; +$labels['valueislessthanequal'] = 'value is less than or equal to'; +$labels['valueequals'] = 'value is equal to'; +$labels['valuenotequals'] = 'value is not equal to'; +$labels['setflags'] = 'Set flags to the message'; +$labels['addflags'] = 'Add flags to the message'; +$labels['removeflags'] = 'Remove flags from the message'; +$labels['flagread'] = 'Read'; +$labels['flagdeleted'] = 'Deleted'; +$labels['flaganswered'] = 'Answered'; +$labels['flagflagged'] = 'Flagged'; +$labels['flagdraft'] = 'Draft'; +$labels['setvariable'] = 'Set variable'; +$labels['setvarname'] = 'Variable name:'; +$labels['setvarvalue'] = 'Variable value:'; +$labels['setvarmodifiers'] = 'Modifiers:'; +$labels['varlower'] = 'lower-case'; +$labels['varupper'] = 'upper-case'; +$labels['varlowerfirst'] = 'first character lower-case'; +$labels['varupperfirst'] = 'first character upper-case'; +$labels['varquotewildcard'] = 'quote special characters'; +$labels['varlength'] = 'length'; +$labels['notify'] = 'Send notification'; +$labels['notifytarget'] = 'Notification target:'; +$labels['notifymessage'] = 'Notification message (optional):'; +$labels['notifyoptions'] = 'Notification options (optional):'; +$labels['notifyfrom'] = 'Notification sender (optional):'; +$labels['notifyimportance'] = 'Importance:'; +$labels['notifyimportancelow'] = 'low'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'high'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Phone'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Create filter'; +$labels['usedata'] = 'Use following data in the filter:'; +$labels['nextstep'] = 'Next Step'; +$labels['...'] = '...'; +$labels['currdate'] = 'Current date'; +$labels['datetest'] = 'Date'; +$labels['dateheader'] = 'header:'; +$labels['year'] = 'year'; +$labels['month'] = 'month'; +$labels['day'] = 'day'; +$labels['date'] = 'date (yyyy-mm-dd)'; +$labels['julian'] = 'date (julian)'; +$labels['hour'] = 'hour'; +$labels['minute'] = 'minute'; +$labels['second'] = 'second'; +$labels['time'] = 'time (hh:mm:ss)'; +$labels['iso8601'] = 'date (ISO8601)'; +$labels['std11'] = 'date (RFC2822)'; +$labels['zone'] = 'time-zone'; +$labels['weekday'] = 'weekday (0-6)'; +$labels['advancedopts'] = 'Advanced options'; +$labels['body'] = 'Body'; +$labels['address'] = 'address'; +$labels['envelope'] = 'envelope'; +$labels['modifier'] = 'modifier:'; +$labels['text'] = 'text'; +$labels['undecoded'] = 'undecoded (raw)'; +$labels['contenttype'] = 'content type'; +$labels['modtype'] = 'type:'; +$labels['allparts'] = 'all'; +$labels['domain'] = 'domain'; +$labels['localpart'] = 'local part'; +$labels['user'] = 'user'; +$labels['detail'] = 'detail'; +$labels['comparator'] = 'comparator:'; +$labels['default'] = 'default'; +$labels['octet'] = 'strict (octet)'; +$labels['asciicasemap'] = 'case insensitive (ascii-casemap)'; +$labels['asciinumeric'] = 'numeric (ascii-numeric)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'backwards'; +$labels['vacation'] = 'Vacation'; +$labels['vacation.reply'] = 'Reply message'; +$labels['vacation.advanced'] = 'Advanced settings'; +$labels['vacation.subject'] = 'Subject'; +$labels['vacation.body'] = 'Body'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.on'] = 'On'; +$labels['vacation.off'] = 'Off'; +$labels['vacation.addresses'] = 'My additional addresses'; +$labels['vacation.interval'] = 'Reply interval'; +$labels['vacation.after'] = 'Put vacation rule after'; +$labels['vacation.saving'] = 'Saving data...'; +$messages['filterunknownerror'] = 'Unknown server error.'; +$messages['filterconnerror'] = 'Unable to connect to server.'; +$messages['filterdeleteerror'] = 'Unable to delete filter. Server error occurred.'; +$messages['filterdeleted'] = 'Filter deleted successfully.'; +$messages['filtersaved'] = 'Filter saved successfully.'; +$messages['filtersaveerror'] = 'Unable to save filter. Server error occurred.'; +$messages['filterdeleteconfirm'] = 'Do you really want to delete selected filter?'; +$messages['ruledeleteconfirm'] = 'Are you sure, you want to delete selected rule?'; +$messages['actiondeleteconfirm'] = 'Are you sure, you want to delete selected action?'; +$messages['forbiddenchars'] = 'Forbidden characters in field.'; +$messages['cannotbeempty'] = 'Field cannot be empty.'; +$messages['ruleexist'] = 'Filter with specified name already exists.'; +$messages['setactivateerror'] = 'Unable to activate selected filters set. Server error occurred.'; +$messages['setdeactivateerror'] = 'Unable to deactivate selected filters set. Server error occurred.'; +$messages['setdeleteerror'] = 'Unable to delete selected filters set. Server error occurred.'; +$messages['setactivated'] = 'Filters set activated successfully.'; +$messages['setdeactivated'] = 'Filters set deactivated successfully.'; +$messages['setdeleted'] = 'Filters set deleted successfully.'; +$messages['setdeleteconfirm'] = 'Are you sure, you want to delete selected filters set?'; +$messages['setcreateerror'] = 'Unable to create filters set. Server error occurred.'; +$messages['setcreated'] = 'Filters set created successfully.'; +$messages['activateerror'] = 'Unable to enable selected filter(s). Server error occurred.'; +$messages['deactivateerror'] = 'Unable to disable selected filter(s). Server error occurred.'; +$messages['deactivated'] = 'Filter(s) disabled successfully.'; +$messages['activated'] = 'Filter(s) enabled successfully.'; +$messages['moved'] = 'Filter moved successfully.'; +$messages['moveerror'] = 'Unable to move selected filter. Server error occurred.'; +$messages['nametoolong'] = 'Name too long.'; +$messages['namereserved'] = 'Reserved name.'; +$messages['setexist'] = 'Set already exists.'; +$messages['nodata'] = 'At least one position must be selected!'; +$messages['invaliddateformat'] = 'Invalid date or date part format'; +$messages['saveerror'] = 'Unable to save data. Server error occurred.'; +$messages['vacationsaved'] = 'Vacation data saved successfully.'; +?> diff --git a/plugins/managesieve/localization/en_GB.inc b/plugins/managesieve/localization/en_GB.inc new file mode 100644 index 000000000..0cc88720f --- /dev/null +++ b/plugins/managesieve/localization/en_GB.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filters'; +$labels['managefilters'] = 'Manage incoming mail filters'; +$labels['filtername'] = 'Filter name'; +$labels['newfilter'] = 'New filter'; +$labels['filteradd'] = 'Add filter'; +$labels['filterdel'] = 'Delete filter'; +$labels['moveup'] = 'Move up'; +$labels['movedown'] = 'Move down'; +$labels['filterallof'] = 'matching all of the following rules'; +$labels['filteranyof'] = 'matching any of the following rules'; +$labels['filterany'] = 'all messages'; +$labels['filtercontains'] = 'contains'; +$labels['filternotcontains'] = 'not contains'; +$labels['filteris'] = 'is equal to'; +$labels['filterisnot'] = 'is not equal to'; +$labels['filterexists'] = 'exists'; +$labels['filternotexists'] = 'not exists'; +$labels['filtermatches'] = 'matches expression'; +$labels['filternotmatches'] = 'not matches expression'; +$labels['filterregex'] = 'matches regular expression'; +$labels['filternotregex'] = 'not matches regular expression'; +$labels['filterunder'] = 'under'; +$labels['filterover'] = 'over'; +$labels['addrule'] = 'Add rule'; +$labels['delrule'] = 'Delete rule'; +$labels['messagemoveto'] = 'Move message to'; +$labels['messageredirect'] = 'Redirect message to'; +$labels['messagecopyto'] = 'Copy message to'; +$labels['messagesendcopy'] = 'Send message copy to'; +$labels['messagereply'] = 'Reply with message'; +$labels['messagedelete'] = 'Delete message'; +$labels['messagediscard'] = 'Discard with message'; +$labels['messagekeep'] = 'Keep message in Inbox'; +$labels['messagesrules'] = 'For incoming mail:'; +$labels['messagesactions'] = '...execute the following actions:'; +$labels['add'] = 'Add'; +$labels['del'] = 'Delete'; +$labels['sender'] = 'Sender'; +$labels['recipient'] = 'Recipient'; +$labels['vacationaddr'] = 'My additional e-mail address(es):'; +$labels['vacationdays'] = 'How often send messages (in days):'; +$labels['vacationinterval'] = 'How often send messages:'; +$labels['vacationreason'] = 'Message body (vacation reason):'; +$labels['vacationsubject'] = 'Message subject:'; +$labels['days'] = 'days'; +$labels['seconds'] = 'seconds'; +$labels['rulestop'] = 'Stop evaluating rules'; +$labels['enable'] = 'Enable/Disable'; +$labels['filterset'] = 'Filters set'; +$labels['filtersets'] = 'Filter sets'; +$labels['filtersetadd'] = 'Add filters set'; +$labels['filtersetdel'] = 'Delete current filters set'; +$labels['filtersetact'] = 'Activate current filters set'; +$labels['filtersetdeact'] = 'Deactivate current filters set'; +$labels['filterdef'] = 'Filter definition'; +$labels['filtersetname'] = 'Filters set name'; +$labels['newfilterset'] = 'New filters set'; +$labels['active'] = 'active'; +$labels['none'] = 'none'; +$labels['fromset'] = 'from set'; +$labels['fromfile'] = 'from file'; +$labels['filterdisabled'] = 'Filter disabled'; +$labels['countisgreaterthan'] = 'count is greater than'; +$labels['countisgreaterthanequal'] = 'count is greater than or equal to'; +$labels['countislessthan'] = 'count is less than'; +$labels['countislessthanequal'] = 'count is less than or equal to'; +$labels['countequals'] = 'count is equal to'; +$labels['countnotequals'] = 'count is not equal to'; +$labels['valueisgreaterthan'] = 'value is greater than'; +$labels['valueisgreaterthanequal'] = 'value is greater than or equal to'; +$labels['valueislessthan'] = 'value is less than'; +$labels['valueislessthanequal'] = 'value is less than or equal to'; +$labels['valueequals'] = 'value is equal to'; +$labels['valuenotequals'] = 'value is not equal to'; +$labels['setflags'] = 'Set flags to the message'; +$labels['addflags'] = 'Add flags to the message'; +$labels['removeflags'] = 'Remove flags from the message'; +$labels['flagread'] = 'Read'; +$labels['flagdeleted'] = 'Deleted'; +$labels['flaganswered'] = 'Answered'; +$labels['flagflagged'] = 'Flagged'; +$labels['flagdraft'] = 'Draft'; +$labels['setvariable'] = 'Set variable'; +$labels['setvarname'] = 'Variable name:'; +$labels['setvarvalue'] = 'Variable value:'; +$labels['setvarmodifiers'] = 'Modifiers:'; +$labels['varlower'] = 'lower-case'; +$labels['varupper'] = 'upper-case'; +$labels['varlowerfirst'] = 'first character lower-case'; +$labels['varupperfirst'] = 'first character upper-case'; +$labels['varquotewildcard'] = 'quote special characters'; +$labels['varlength'] = 'length'; +$labels['notify'] = 'Send notification'; +$labels['notifytarget'] = 'Notification target:'; +$labels['notifymessage'] = 'Notification message (optional):'; +$labels['notifyoptions'] = 'Notification options (optional):'; +$labels['notifyfrom'] = 'Notification sender (optional):'; +$labels['notifyimportance'] = 'Importance:'; +$labels['notifyimportancelow'] = 'low'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'high'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Phone'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Create filter'; +$labels['usedata'] = 'Use following data in the filter:'; +$labels['nextstep'] = 'Next Step'; +$labels['...'] = '...'; +$labels['currdate'] = 'Current date'; +$labels['datetest'] = 'Date'; +$labels['dateheader'] = 'header:'; +$labels['year'] = 'year'; +$labels['month'] = 'month'; +$labels['day'] = 'day'; +$labels['date'] = 'date (yyyy-mm-dd)'; +$labels['julian'] = 'date (julian)'; +$labels['hour'] = 'hour'; +$labels['minute'] = 'minute'; +$labels['second'] = 'second'; +$labels['time'] = 'time (hh:mm:ss)'; +$labels['iso8601'] = 'date (ISO8601)'; +$labels['std11'] = 'date (RFC2822)'; +$labels['zone'] = 'time-zone'; +$labels['weekday'] = 'weekday (0-6)'; +$labels['advancedopts'] = 'Advanced options'; +$labels['body'] = 'Body'; +$labels['address'] = 'address'; +$labels['envelope'] = 'envelope'; +$labels['modifier'] = 'modifier:'; +$labels['text'] = 'text'; +$labels['undecoded'] = 'undecoded (raw)'; +$labels['contenttype'] = 'content type'; +$labels['modtype'] = 'type:'; +$labels['allparts'] = 'all'; +$labels['domain'] = 'domain'; +$labels['localpart'] = 'local part'; +$labels['user'] = 'user'; +$labels['detail'] = 'detail'; +$labels['comparator'] = 'comparator:'; +$labels['default'] = 'default'; +$labels['octet'] = 'strict (octet)'; +$labels['asciicasemap'] = 'case insensitive (ascii-casemap)'; +$labels['asciinumeric'] = 'numeric (ascii-numeric)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'backwards'; +$labels['vacation'] = 'Vacation'; +$labels['vacation.reply'] = 'Reply message'; +$labels['vacation.advanced'] = 'Advanced settings'; +$labels['vacation.subject'] = 'Subject'; +$labels['vacation.body'] = 'Body'; +$labels['vacation.start'] = 'Vacation start'; +$labels['vacation.end'] = 'Vacation end'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.on'] = 'On'; +$labels['vacation.off'] = 'Off'; +$labels['vacation.addresses'] = 'My additional addresses'; +$labels['vacation.interval'] = 'Reply interval'; +$labels['vacation.after'] = 'Put vacation rule after'; +$labels['vacation.saving'] = 'Saving data...'; +$labels['vacation.action'] = 'Incoming message action'; +$labels['vacation.keep'] = 'Keep'; +$labels['vacation.discard'] = 'Discard'; +$labels['vacation.redirect'] = 'Redirect to'; +$labels['vacation.copy'] = 'Send copy to'; +$labels['arialabelfiltersetactions'] = 'Filter set actions'; +$labels['arialabelfilteractions'] = 'Filter actions'; +$labels['arialabelfilterform'] = 'Filter properties'; +$labels['ariasummaryfilterslist'] = 'List of filters'; +$labels['ariasummaryfiltersetslist'] = 'List of filter sets'; +$labels['filterstitle'] = 'Edit incoming mail filters'; +$labels['vacationtitle'] = 'Edit out-of-office rule'; +$messages['filterunknownerror'] = 'Unknown server error'; +$messages['filterconnerror'] = 'Unable to connect to managesieve server'; +$messages['filterdeleteerror'] = 'Unable to delete filter. Server error occurred.'; +$messages['filterdeleted'] = 'Filter deleted successfully'; +$messages['filtersaved'] = 'Filter saved successfully'; +$messages['filtersaveerror'] = 'Unable to save filter. Server error occurred.'; +$messages['filterdeleteconfirm'] = 'Do you really want to delete selected filter?'; +$messages['ruledeleteconfirm'] = 'Are you sure, you want to delete selected rule?'; +$messages['actiondeleteconfirm'] = 'Are you sure, you want to delete selected action?'; +$messages['forbiddenchars'] = 'Forbidden characters in field'; +$messages['cannotbeempty'] = 'Field cannot be empty'; +$messages['ruleexist'] = 'Filter with specified name already exists.'; +$messages['setactivateerror'] = 'Unable to activate selected filters set. Server error occurred.'; +$messages['setdeactivateerror'] = 'Unable to deactivate selected filters set. Server error occurred.'; +$messages['setdeleteerror'] = 'Unable to delete selected filters set. Server error occurred.'; +$messages['setactivated'] = 'Filters set activated successfully.'; +$messages['setdeactivated'] = 'Filters set deactivated successfully.'; +$messages['setdeleted'] = 'Filters set deleted successfully.'; +$messages['setdeleteconfirm'] = 'Are you sure, you want to delete selected filters set?'; +$messages['setcreateerror'] = 'Unable to create filters set. Server error occurred.'; +$messages['setcreated'] = 'Filters set created successfully.'; +$messages['activateerror'] = 'Unable to enable selected filter(s). Server error occurred.'; +$messages['deactivateerror'] = 'Unable to disable selected filter(s). Server error occurred.'; +$messages['deactivated'] = 'Filter(s) disabled successfully.'; +$messages['activated'] = 'Filter(s) enabled successfully.'; +$messages['moved'] = 'Filter moved successfully.'; +$messages['moveerror'] = 'Unable to move selected filter. Server error occurred.'; +$messages['nametoolong'] = 'Name too long.'; +$messages['namereserved'] = 'Reserved name.'; +$messages['setexist'] = 'Set already exists.'; +$messages['nodata'] = 'At least one position must be selected!'; +$messages['invaliddateformat'] = 'Invalid date or date part format'; +$messages['saveerror'] = 'Unable to save data. Server error occurred.'; +$messages['vacationsaved'] = 'Vacation data saved successfully.'; +$messages['emptyvacationbody'] = 'Body of vacation message is required!'; +?> diff --git a/plugins/managesieve/localization/en_US.inc b/plugins/managesieve/localization/en_US.inc new file mode 100644 index 000000000..3b03b6bf1 --- /dev/null +++ b/plugins/managesieve/localization/en_US.inc @@ -0,0 +1,230 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ + + +$labels['filters'] = 'Filters'; +$labels['managefilters'] = 'Manage incoming mail filters'; +$labels['filtername'] = 'Filter name'; +$labels['newfilter'] = 'New filter'; +$labels['filteradd'] = 'Add filter'; +$labels['filterdel'] = 'Delete filter'; +$labels['moveup'] = 'Move up'; +$labels['movedown'] = 'Move down'; +$labels['filterallof'] = 'matching all of the following rules'; +$labels['filteranyof'] = 'matching any of the following rules'; +$labels['filterany'] = 'all messages'; +$labels['filtercontains'] = 'contains'; +$labels['filternotcontains'] = 'not contains'; +$labels['filteris'] = 'is equal to'; +$labels['filterisnot'] = 'is not equal to'; +$labels['filterexists'] = 'exists'; +$labels['filternotexists'] = 'not exists'; +$labels['filtermatches'] = 'matches expression'; +$labels['filternotmatches'] = 'not matches expression'; +$labels['filterregex'] = 'matches regular expression'; +$labels['filternotregex'] = 'not matches regular expression'; +$labels['filterunder'] = 'under'; +$labels['filterover'] = 'over'; +$labels['addrule'] = 'Add rule'; +$labels['delrule'] = 'Delete rule'; +$labels['messagemoveto'] = 'Move message to'; +$labels['messageredirect'] = 'Redirect message to'; +$labels['messagecopyto'] = 'Copy message to'; +$labels['messagesendcopy'] = 'Send message copy to'; +$labels['messagereply'] = 'Reply with message'; +$labels['messagedelete'] = 'Delete message'; +$labels['messagediscard'] = 'Discard with message'; +$labels['messagekeep'] = 'Keep message in Inbox'; +$labels['messagesrules'] = 'For incoming mail:'; +$labels['messagesactions'] = '...execute the following actions:'; +$labels['add'] = 'Add'; +$labels['del'] = 'Delete'; +$labels['sender'] = 'Sender'; +$labels['recipient'] = 'Recipient'; +$labels['vacationaddr'] = 'My e-mail addresses:'; +$labels['vacationdays'] = 'How often send messages (in days):'; +$labels['vacationinterval'] = 'How often send messages:'; +$labels['vacationreason'] = 'Message body (vacation reason):'; +$labels['vacationsubject'] = 'Message subject:'; +$labels['days'] = 'days'; +$labels['seconds'] = 'seconds'; +$labels['rulestop'] = 'Stop evaluating rules'; +$labels['enable'] = 'Enable/Disable'; +$labels['filterset'] = 'Filters set'; +$labels['filtersets'] = 'Filter sets'; +$labels['filtersetadd'] = 'Add filters set'; +$labels['filtersetdel'] = 'Delete current filters set'; +$labels['filtersetact'] = 'Activate current filters set'; +$labels['filtersetdeact'] = 'Deactivate current filters set'; +$labels['filterdef'] = 'Filter definition'; +$labels['filtersetname'] = 'Filters set name'; +$labels['newfilterset'] = 'New filters set'; +$labels['active'] = 'active'; +$labels['none'] = 'none'; +$labels['fromset'] = 'from set'; +$labels['fromfile'] = 'from file'; +$labels['filterdisabled'] = 'Filter disabled'; +$labels['countisgreaterthan'] = 'count is greater than'; +$labels['countisgreaterthanequal'] = 'count is greater than or equal to'; +$labels['countislessthan'] = 'count is less than'; +$labels['countislessthanequal'] = 'count is less than or equal to'; +$labels['countequals'] = 'count is equal to'; +$labels['countnotequals'] = 'count is not equal to'; +$labels['valueisgreaterthan'] = 'value is greater than'; +$labels['valueisgreaterthanequal'] = 'value is greater than or equal to'; +$labels['valueislessthan'] = 'value is less than'; +$labels['valueislessthanequal'] = 'value is less than or equal to'; +$labels['valueequals'] = 'value is equal to'; +$labels['valuenotequals'] = 'value is not equal to'; +$labels['setflags'] = 'Set flags to the message'; +$labels['addflags'] = 'Add flags to the message'; +$labels['removeflags'] = 'Remove flags from the message'; +$labels['flagread'] = 'Read'; +$labels['flagdeleted'] = 'Deleted'; +$labels['flaganswered'] = 'Answered'; +$labels['flagflagged'] = 'Flagged'; +$labels['flagdraft'] = 'Draft'; +$labels['setvariable'] = 'Set variable'; +$labels['setvarname'] = 'Variable name:'; +$labels['setvarvalue'] = 'Variable value:'; +$labels['setvarmodifiers'] = 'Modifiers:'; +$labels['varlower'] = 'lower-case'; +$labels['varupper'] = 'upper-case'; +$labels['varlowerfirst'] = 'first character lower-case'; +$labels['varupperfirst'] = 'first character upper-case'; +$labels['varquotewildcard'] = 'quote special characters'; +$labels['varlength'] = 'length'; +$labels['notify'] = 'Send notification'; +$labels['notifytarget'] = 'Notification target:'; +$labels['notifymessage'] = 'Notification message (optional):'; +$labels['notifyoptions'] = 'Notification options (optional):'; +$labels['notifyfrom'] = 'Notification sender (optional):'; +$labels['notifyimportance'] = 'Importance:'; +$labels['notifyimportancelow'] = 'low'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'high'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Phone'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Create filter'; +$labels['usedata'] = 'Use following data in the filter:'; +$labels['nextstep'] = 'Next Step'; +$labels['...'] = '...'; +$labels['currdate'] = 'Current date'; +$labels['datetest'] = 'Date'; +$labels['dateheader'] = 'header:'; +$labels['year'] = 'year'; +$labels['month'] = 'month'; +$labels['day'] = 'day'; +$labels['date'] = 'date (yyyy-mm-dd)'; +$labels['julian'] = 'date (julian)'; +$labels['hour'] = 'hour'; +$labels['minute'] = 'minute'; +$labels['second'] = 'second'; +$labels['time'] = 'time (hh:mm:ss)'; +$labels['iso8601'] = 'date (ISO8601)'; +$labels['std11'] = 'date (RFC2822)'; +$labels['zone'] = 'time-zone'; +$labels['weekday'] = 'weekday (0-6)'; +$labels['advancedopts'] = 'Advanced options'; +$labels['body'] = 'Body'; +$labels['address'] = 'address'; +$labels['envelope'] = 'envelope'; +$labels['modifier'] = 'modifier:'; +$labels['text'] = 'text'; +$labels['undecoded'] = 'undecoded (raw)'; +$labels['contenttype'] = 'content type'; +$labels['modtype'] = 'type:'; +$labels['allparts'] = 'all'; +$labels['domain'] = 'domain'; +$labels['localpart'] = 'local part'; +$labels['user'] = 'user'; +$labels['detail'] = 'detail'; +$labels['comparator'] = 'comparator:'; +$labels['default'] = 'default'; +$labels['octet'] = 'strict (octet)'; +$labels['asciicasemap'] = 'case insensitive (ascii-casemap)'; +$labels['asciinumeric'] = 'numeric (ascii-numeric)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'backwards'; +$labels['vacation'] = 'Vacation'; +$labels['vacation.reply'] = 'Reply message'; +$labels['vacation.advanced'] = 'Advanced settings'; +$labels['vacation.subject'] = 'Subject'; +$labels['vacation.body'] = 'Body'; +$labels['vacation.start'] = 'Vacation start'; +$labels['vacation.end'] = 'Vacation end'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.on'] = 'On'; +$labels['vacation.off'] = 'Off'; +$labels['vacation.addresses'] = 'My e-mail addresses'; +$labels['vacation.interval'] = 'Reply interval'; +$labels['vacation.after'] = 'Put vacation rule after'; +$labels['vacation.saving'] = 'Saving data...'; +$labels['vacation.action'] = 'Incoming message action'; +$labels['vacation.keep'] = 'Keep'; +$labels['vacation.discard'] = 'Discard'; +$labels['vacation.redirect'] = 'Redirect to'; +$labels['vacation.copy'] = 'Send copy to'; +$labels['filladdresses'] = 'Fill with all my addresses'; +$labels['arialabelfiltersetactions'] = 'Filter set actions'; +$labels['arialabelfilteractions'] = 'Filter actions'; +$labels['arialabelfilterform'] = 'Filter properties'; +$labels['ariasummaryfilterslist'] = 'List of filters'; +$labels['ariasummaryfiltersetslist'] = 'List of filter sets'; +$labels['filterstitle'] = 'Edit incoming mail filters'; +$labels['vacationtitle'] = 'Edit out-of-office rule'; + +$messages = array(); +$messages['filterunknownerror'] = 'Unknown server error.'; +$messages['filterconnerror'] = 'Unable to connect to server.'; +$messages['filterdeleteerror'] = 'Unable to delete filter. Server error occurred.'; +$messages['filterdeleted'] = 'Filter deleted successfully.'; +$messages['filtersaved'] = 'Filter saved successfully.'; +$messages['filtersaveerror'] = 'Unable to save filter. Server error occurred.'; +$messages['filterdeleteconfirm'] = 'Do you really want to delete selected filter?'; +$messages['ruledeleteconfirm'] = 'Are you sure, you want to delete selected rule?'; +$messages['actiondeleteconfirm'] = 'Are you sure, you want to delete selected action?'; +$messages['forbiddenchars'] = 'Forbidden characters in field.'; +$messages['cannotbeempty'] = 'Field cannot be empty.'; +$messages['ruleexist'] = 'Filter with specified name already exists.'; +$messages['setactivateerror'] = 'Unable to activate selected filters set. Server error occurred.'; +$messages['setdeactivateerror'] = 'Unable to deactivate selected filters set. Server error occurred.'; +$messages['setdeleteerror'] = 'Unable to delete selected filters set. Server error occurred.'; +$messages['setactivated'] = 'Filters set activated successfully.'; +$messages['setdeactivated'] = 'Filters set deactivated successfully.'; +$messages['setdeleted'] = 'Filters set deleted successfully.'; +$messages['setdeleteconfirm'] = 'Are you sure, you want to delete selected filters set?'; +$messages['setcreateerror'] = 'Unable to create filters set. Server error occurred.'; +$messages['setcreated'] = 'Filters set created successfully.'; +$messages['activateerror'] = 'Unable to enable selected filter(s). Server error occurred.'; +$messages['deactivateerror'] = 'Unable to disable selected filter(s). Server error occurred.'; +$messages['deactivated'] = 'Filter(s) disabled successfully.'; +$messages['activated'] = 'Filter(s) enabled successfully.'; +$messages['moved'] = 'Filter moved successfully.'; +$messages['moveerror'] = 'Unable to move selected filter. Server error occurred.'; +$messages['nametoolong'] = 'Name too long.'; +$messages['namereserved'] = 'Reserved name.'; +$messages['setexist'] = 'Set already exists.'; +$messages['nodata'] = 'At least one position must be selected!'; +$messages['invaliddateformat'] = 'Invalid date or date part format'; +$messages['saveerror'] = 'Unable to save data. Server error occurred.'; +$messages['vacationsaved'] = 'Vacation data saved successfully.'; +$messages['emptyvacationbody'] = 'Body of vacation message is required!'; + +?> diff --git a/plugins/managesieve/localization/eo.inc b/plugins/managesieve/localization/eo.inc new file mode 100644 index 000000000..f613d92ba --- /dev/null +++ b/plugins/managesieve/localization/eo.inc @@ -0,0 +1,51 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtriloj'; +$labels['managefilters'] = 'Mastrumi filtrilojn pri enirantaj mesaĝoj'; +$labels['filtername'] = 'Nomo de filtrilo'; +$labels['newfilter'] = 'Nova filtrilo'; +$labels['filteradd'] = 'Aldoni filtrilon'; +$labels['filterdel'] = 'Forigi filtrilon'; +$labels['moveup'] = 'Movi supren'; +$labels['movedown'] = 'Movi malsupren'; +$labels['filterany'] = 'ĉiuj mesaĝoj'; +$labels['filtercontains'] = 'enhavas'; +$labels['filternotcontains'] = 'ne enhavas'; +$labels['filteris'] = 'egalas al'; +$labels['filterisnot'] = 'ne egalas al'; +$labels['filterexists'] = 'ekzistas'; +$labels['filternotexists'] = 'ne ekzistas'; +$labels['filtermatches'] = 'kongruas esprimon'; +$labels['filternotmatches'] = 'ne kongruas esprimon'; +$labels['filterregex'] = 'kongruas regularan esprimon'; +$labels['filternotregex'] = 'ne kongruas regularan esprimon'; +$labels['filterunder'] = 'sub'; +$labels['filterover'] = 'preter'; +$labels['addrule'] = 'Aldoni regulon'; +$labels['delrule'] = 'Forigi regulon'; +$labels['messagemoveto'] = 'Movi mesaĝon al'; +$labels['messageredirect'] = 'Aidirekti mesaĝon al'; +$labels['messagecopyto'] = 'Kopii mesaĝo en'; +$labels['messagesendcopy'] = 'Sendi kopion de mesaĝo al'; +$labels['messagereply'] = 'Respondi per mesaĝo'; +$labels['messagedelete'] = 'Forigi mesaĝon'; +$labels['add'] = 'Aldoni'; +$labels['del'] = 'Forigi'; +$labels['sender'] = 'Sendanto'; +$labels['recipient'] = 'Ricevanto'; +?> diff --git a/plugins/managesieve/localization/es_419.inc b/plugins/managesieve/localization/es_419.inc new file mode 100644 index 000000000..613189526 --- /dev/null +++ b/plugins/managesieve/localization/es_419.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtros'; +$labels['managefilters'] = 'Administrar filtros de correos entrantes'; +$labels['filtername'] = 'Nombre del filtro'; +$labels['newfilter'] = 'Filtro nuevo'; +$labels['filteradd'] = 'Agregar filtro'; +$labels['filterdel'] = 'Eliminar filtro'; +$labels['moveup'] = 'Mover hacia arriba'; +$labels['movedown'] = 'Mover hacia abajo'; +$labels['filterallof'] = 'coincide con todas las reglas siguientes'; +$labels['filteranyof'] = 'coincide con cualquiera de las reglas siguientes'; +$labels['filterany'] = 'todos los mensajes'; +$labels['filtercontains'] = 'contiene'; +$labels['filternotcontains'] = 'no contiene'; +$labels['filteris'] = 'es igual a'; +$labels['filterisnot'] = 'no es igual a'; +$labels['filterexists'] = 'existe'; +$labels['filternotexists'] = 'no existe'; +$labels['filtermatches'] = 'coincide con la expresión'; +$labels['filternotmatches'] = 'no coincide con la expresión'; +$labels['filterregex'] = 'coincide con la expresión regular'; +$labels['filternotregex'] = 'no coincide con la expresión regular'; +$labels['filterunder'] = 'bajo'; +$labels['filterover'] = 'sobre'; +$labels['addrule'] = 'Agregar regla'; +$labels['delrule'] = 'Eliminar regla'; +$labels['messagemoveto'] = 'Mover mensaje a'; +$labels['messageredirect'] = 'Redireccionar mensaje a'; +$labels['messagecopyto'] = 'Copiar mensaje a'; +$labels['messagesendcopy'] = 'Enviar una copia del mensaje a '; +$labels['messagereply'] = 'Responder con el mensaje'; +$labels['messagedelete'] = 'Eliminar mensaje'; +$labels['messagediscard'] = 'Descartar el mensaje'; +$labels['messagekeep'] = 'Mantener mensaje en la bandeja de entrada'; +$labels['messagesrules'] = 'Para correo entrante:'; +$labels['messagesactions'] = '... ejecutar las siguientes acciones:'; +$labels['add'] = 'Agregar'; +$labels['del'] = 'Eliminar'; +$labels['sender'] = 'Remitente'; +$labels['recipient'] = 'Destinatario'; +$labels['vacationaddr'] = 'Mis direccion(es) adiconal(es):'; +$labels['vacationdays'] = 'Cuan a menudo enviar mensajes (en días):'; +$labels['vacationinterval'] = '¿Con qué frecuencia enviar mensajes?:'; +$labels['vacationreason'] = 'Cuerpo del mensaje (motivo de las vacaciones):'; +$labels['vacationsubject'] = 'Asunto del mensaje:'; +$labels['days'] = 'días'; +$labels['seconds'] = 'segundos'; +$labels['rulestop'] = 'Detener la evaluación de reglas'; +$labels['enable'] = 'Habilitar/Deshabilitar'; +$labels['filterset'] = 'Set de filtros'; +$labels['filtersets'] = 'Filtro acciona'; +$labels['filtersetadd'] = 'Agregar set de filtros'; +$labels['filtersetdel'] = 'Eliminar set de filtros actual'; +$labels['filtersetact'] = 'Activar set de filtros actual'; +$labels['filtersetdeact'] = 'Desactivar set de filtros actual'; +$labels['filterdef'] = 'Definición del filtro'; +$labels['filtersetname'] = 'Nombre del set de filtros'; +$labels['newfilterset'] = 'Nuevo set de filtros'; +$labels['active'] = 'activo'; +$labels['none'] = 'ninguno'; +$labels['fromset'] = 'desde set'; +$labels['fromfile'] = 'desde archivo'; +$labels['filterdisabled'] = 'filtro deshabilitado'; +$labels['countisgreaterthan'] = 'la cuenta es mayor a'; +$labels['countisgreaterthanequal'] = 'la cuenta es mayor o igual a '; +$labels['countislessthan'] = 'la cuenta es menor que'; +$labels['countislessthanequal'] = 'la cuenta es menor o igual que'; +$labels['countequals'] = 'la cuenta es igual a '; +$labels['countnotequals'] = 'la cuenta no es menor a'; +$labels['valueisgreaterthan'] = 'el valor es mayor que'; +$labels['valueisgreaterthanequal'] = 'el balor es mayor o igual que '; +$labels['valueislessthan'] = 'el valor es menor que '; +$labels['valueislessthanequal'] = 'el valor es menor o igual que '; +$labels['valueequals'] = 'el valor es igual a '; +$labels['valuenotequals'] = 'el valor no es igual a'; +$labels['setflags'] = 'Colocar etiquetas al mensaje'; +$labels['addflags'] = 'Agrega etiquetas al mensaje'; +$labels['removeflags'] = 'Eliminar etiquetas al mensaje'; +$labels['flagread'] = 'Leido'; +$labels['flagdeleted'] = 'Eliminado'; +$labels['flaganswered'] = 'Respondido'; +$labels['flagflagged'] = 'Etiquetado'; +$labels['flagdraft'] = 'Borrador'; +$labels['setvariable'] = 'Establecer variable'; +$labels['setvarname'] = 'Nombre de la variable:'; +$labels['setvarvalue'] = 'Valor de la variable:'; +$labels['setvarmodifiers'] = 'Modificadores:'; +$labels['varlower'] = 'minúscula'; +$labels['varupper'] = 'mayúscula'; +$labels['varlowerfirst'] = 'primer carácter en minúscula'; +$labels['varupperfirst'] = 'primer carácter en mayúscula'; +$labels['varquotewildcard'] = 'citar carácteres especiales'; +$labels['varlength'] = 'largo'; +$labels['notify'] = 'Enviar notificación'; +$labels['notifytarget'] = 'Destinatario de la notificación:'; +$labels['notifymessage'] = 'Mensaje de notificación (opcional):'; +$labels['notifyoptions'] = 'Opciones de notificación (opcional):'; +$labels['notifyfrom'] = 'Remitente de la notificación (opcional):'; +$labels['notifyimportance'] = 'Importancia:'; +$labels['notifyimportancelow'] = 'baja'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'alta'; +$labels['notifymethodmailto'] = 'Correo electrónico'; +$labels['notifymethodtel'] = 'Teléfono'; +$labels['notifymethodsms'] = 'Mensaje de texto'; +$labels['filtercreate'] = 'Crear filtro'; +$labels['usedata'] = 'Usar los datos siguientes en el filtro:'; +$labels['nextstep'] = 'Paso siguiente'; +$labels['...'] = '...'; +$labels['currdate'] = 'Fecha actual'; +$labels['datetest'] = 'Fecha'; +$labels['dateheader'] = 'encabezado:'; +$labels['year'] = 'año'; +$labels['month'] = 'mes'; +$labels['day'] = 'día'; +$labels['date'] = 'fecha(aaaa-mm-dd)'; +$labels['julian'] = 'fecha (julian)'; +$labels['hour'] = 'hora'; +$labels['minute'] = 'minuto'; +$labels['second'] = 'segundo'; +$labels['time'] = 'hora (hh:mm:ss)'; +$labels['iso8601'] = 'fecha (ISO8601)'; +$labels['std11'] = 'fecha (RFC2822)'; +$labels['zone'] = 'zona horaria'; +$labels['weekday'] = 'día de la semana (0-6)'; +$labels['advancedopts'] = 'Opciones avanzadas'; +$labels['body'] = 'Cuerpo'; +$labels['address'] = 'dirección'; +$labels['envelope'] = 'sobre'; +$labels['modifier'] = 'modificador:'; +$labels['text'] = 'texto'; +$labels['undecoded'] = 'decodificado (crudo)'; +$labels['contenttype'] = 'tipo de contenido'; +$labels['modtype'] = 'tipo:'; +$labels['allparts'] = 'todo'; +$labels['domain'] = 'dominio'; +$labels['localpart'] = 'parte local'; +$labels['user'] = 'usuario'; +$labels['detail'] = 'detalle'; +$labels['comparator'] = 'comparador:'; +$labels['default'] = 'predeterminado'; +$labels['octet'] = 'estricto (octeto)'; +$labels['asciicasemap'] = 'no sensible a mayúsculas y minúsculas (mapero-ascii)'; +$labels['asciinumeric'] = 'numérico (ascii-numérico)'; +$labels['index'] = 'índice:'; +$labels['indexlast'] = 'hacia atrás'; +$labels['vacation'] = 'Vacaciones'; +$labels['vacation.reply'] = 'Responder mensaje'; +$labels['vacation.advanced'] = 'Opciones avanzadas'; +$labels['vacation.subject'] = 'Asunto'; +$labels['vacation.body'] = 'Cuerpo'; +$labels['vacation.start'] = 'Inicio de vacaciones'; +$labels['vacation.end'] = 'Final de vacaciones'; +$labels['vacation.status'] = 'Estado'; +$labels['vacation.on'] = 'Encendido'; +$labels['vacation.off'] = 'Apagado'; +$labels['vacation.addresses'] = 'Mis direcciones adicionales'; +$labels['vacation.interval'] = 'Intervalo de respuesta'; +$labels['vacation.after'] = 'Colocar regla de vacaciones luego'; +$labels['vacation.saving'] = 'Guardando información...'; +$labels['vacation.action'] = 'Acción para mensaje entrante'; +$labels['vacation.keep'] = 'Mantener'; +$labels['vacation.discard'] = 'Descartar'; +$labels['vacation.redirect'] = 'Redireccionar a'; +$labels['vacation.copy'] = 'Enviar una copia a'; +$labels['arialabelfiltersetactions'] = 'Acciones del set de filtros'; +$labels['arialabelfilteractions'] = 'Acciones de filtros'; +$labels['arialabelfilterform'] = 'Propiedades de filtros'; +$labels['ariasummaryfilterslist'] = 'Lista de filtros'; +$labels['ariasummaryfiltersetslist'] = 'Lista de set de filtros'; +$labels['filterstitle'] = 'Administrar filtros de correos entrantes'; +$labels['vacationtitle'] = 'Editar regla de fuera de oficina'; +$messages['filterunknownerror'] = 'Error de servidor desconocido.'; +$messages['filterconnerror'] = 'No se puede conectar al servidor.'; +$messages['filterdeleteerror'] = 'No se puede eliminar el filtro. Ocurrió un error de servidor.'; +$messages['filterdeleted'] = 'Filtro eliminado exitosamente.'; +$messages['filtersaved'] = 'Filtro guardado exitosamente.'; +$messages['filtersaveerror'] = 'No es posible guardar el filtro. Ha ocurrido un error de servidor.'; +$messages['filterdeleteconfirm'] = '¿Estás seguro que quieres eliminar el filtro seleccionado?'; +$messages['ruledeleteconfirm'] = '¿Estás seguro que quieres eliminar la regla seleccionada?'; +$messages['actiondeleteconfirm'] = '¿Estás seguro que queires eliminar la acción seleccionada?'; +$messages['forbiddenchars'] = 'Carácteres ilegales en el campo.'; +$messages['cannotbeempty'] = 'El campo no puede estar vacio.'; +$messages['ruleexist'] = 'Ya existe un filtro con el nombre especificado.'; +$messages['setactivateerror'] = 'No es posible activar el set de filtros seleccionado. Ha ocurrido un error de servidor.'; +$messages['setdeactivateerror'] = 'No es posible desactivar el set de filtros selecciona. Ha ocurrido un error de servidor.'; +$messages['setdeleteerror'] = 'No es posible eliminar el set de filtros seleccionado. Ha ocurrido un error de servidor.'; +$messages['setactivated'] = 'Set de filtros activado exitosamente.'; +$messages['setdeactivated'] = 'Set de filtros desactivado exitosamente.'; +$messages['setdeleted'] = 'Set de filtroseliminado exitosamente.'; +$messages['setdeleteconfirm'] = '¿Estas seguro que deseas eliminar el set de filtros seleccionado?'; +$messages['setcreateerror'] = 'No es posible crear el set de filtros. Ha ocurrido un error de servidor.'; +$messages['setcreated'] = 'Set de filtros creado exitosamente.'; +$messages['activateerror'] = 'No es posible habilitar los filtros seleccionados. Ha ocurrido un error de servidor.'; +$messages['deactivateerror'] = 'No es posible deshabilitar los filtros seleccionados. Ha ocurrido un error de servidor.'; +$messages['deactivated'] = 'Filtro(s) deshabilitado(s) exitosamente.'; +$messages['activated'] = 'Filtro(s) habilitado(s) exitosamente.'; +$messages['moved'] = 'Filtro movido exitosamente.'; +$messages['moveerror'] = 'No es posible mover los filtros seleccionados. Ha ocurrido un error de servidor.'; +$messages['nametoolong'] = 'Nombre demasiado largo.'; +$messages['namereserved'] = 'Nombre reservado.'; +$messages['setexist'] = 'Set ya existe.'; +$messages['nodata'] = 'Debes seleccionar al menos una posición.'; +$messages['invaliddateformat'] = 'Fecha o parte del formato no válido'; +$messages['saveerror'] = 'No es posible guardar la información. Ha ocurrido un error de servidor.'; +$messages['vacationsaved'] = 'Información de vacaciones guardada exitosamente.'; +$messages['emptyvacationbody'] = 'Cuerpo del mensaje de vacaciones es requerido!'; +?> diff --git a/plugins/managesieve/localization/es_AR.inc b/plugins/managesieve/localization/es_AR.inc new file mode 100644 index 000000000..6ac6533d7 --- /dev/null +++ b/plugins/managesieve/localization/es_AR.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtros'; +$labels['managefilters'] = 'Administrar filtros de correo entrante'; +$labels['filtername'] = 'Nombre del filtro'; +$labels['newfilter'] = 'Nuevo filtro'; +$labels['filteradd'] = 'Agregar filtro'; +$labels['filterdel'] = 'Eliminar filtro'; +$labels['moveup'] = 'Mover arriba'; +$labels['movedown'] = 'Mover abajo'; +$labels['filterallof'] = 'coinidir con todas las reglas siguientes'; +$labels['filteranyof'] = 'coincidir con alguna de las reglas siguientes'; +$labels['filterany'] = 'todos los mensajes'; +$labels['filtercontains'] = 'contiene'; +$labels['filternotcontains'] = 'no contiene'; +$labels['filteris'] = 'es igual a'; +$labels['filterisnot'] = 'no es igual a'; +$labels['filterexists'] = 'existe'; +$labels['filternotexists'] = 'no existe'; +$labels['filtermatches'] = 'coincide con la expresión'; +$labels['filternotmatches'] = 'no coindice con la expresión'; +$labels['filterregex'] = 'coincide con la expresión regular'; +$labels['filternotregex'] = 'no coincide con la expresión regular'; +$labels['filterunder'] = 'bajo'; +$labels['filterover'] = 'sobre'; +$labels['addrule'] = 'Agregar regla'; +$labels['delrule'] = 'Eliminar regla'; +$labels['messagemoveto'] = 'Mover mensaje a'; +$labels['messageredirect'] = 'Redirigir mensaje a'; +$labels['messagecopyto'] = 'Copiar mensaje a'; +$labels['messagesendcopy'] = 'Enviar copia del mensaje a'; +$labels['messagereply'] = 'Responder con un mensaje'; +$labels['messagedelete'] = 'Eliminar mensaje'; +$labels['messagediscard'] = 'Descartar con un mensaje'; +$labels['messagekeep'] = 'Mantener mensajes en bandeja de entrada'; +$labels['messagesrules'] = 'Para el correo entrante:'; +$labels['messagesactions'] = '... ejecutar las siguientes acciones:'; +$labels['add'] = 'Agregar'; +$labels['del'] = 'Eliminar'; +$labels['sender'] = 'Remitente'; +$labels['recipient'] = 'Destinatario'; +$labels['vacationaddr'] = 'Mi(s) direccion(es) de e-mail adicional(es):'; +$labels['vacationdays'] = 'Cada cuanto enviar mensajes (en días):'; +$labels['vacationinterval'] = 'Enviar mensajes cada:'; +$labels['vacationreason'] = 'Cuerpo del mensaje (razón de vacaciones):'; +$labels['vacationsubject'] = 'Asunto del mensaje:'; +$labels['days'] = 'dias'; +$labels['seconds'] = 'segundos'; +$labels['rulestop'] = 'Parar de evaluar reglas'; +$labels['enable'] = 'Habilitar/Deshabilitar'; +$labels['filterset'] = 'Conjunto de filtros'; +$labels['filtersets'] = 'Filtro activa'; +$labels['filtersetadd'] = 'Agregar conjunto de filtros'; +$labels['filtersetdel'] = 'Eliminar conjunto de filtros'; +$labels['filtersetact'] = 'Activar conjunto de filtros'; +$labels['filtersetdeact'] = 'Deactivar conjunto de filtros'; +$labels['filterdef'] = 'Definicion del conjunto de filtros'; +$labels['filtersetname'] = 'Nombre del conjunto de filtros'; +$labels['newfilterset'] = 'Nuevo conjunto de filtros'; +$labels['active'] = 'Activar'; +$labels['none'] = 'none'; +$labels['fromset'] = 'desde conjunto'; +$labels['fromfile'] = 'desde archivo'; +$labels['filterdisabled'] = 'Filtro deshabilitado'; +$labels['countisgreaterthan'] = 'la cuenta es mayor a'; +$labels['countisgreaterthanequal'] = 'la cuenta es mayor o igual a'; +$labels['countislessthan'] = 'la cuenta es menor a'; +$labels['countislessthanequal'] = 'la cuenta es menor o igual a'; +$labels['countequals'] = 'la cuenta es igual a'; +$labels['countnotequals'] = 'la cuenta no es igual a'; +$labels['valueisgreaterthan'] = 'el valor es mayor a'; +$labels['valueisgreaterthanequal'] = 'el valor es mayor o igual a'; +$labels['valueislessthan'] = 'el valor es menor a'; +$labels['valueislessthanequal'] = 'el valor es menor o igual a'; +$labels['valueequals'] = 'el valor es igual a'; +$labels['valuenotequals'] = 'el valor no es igual a'; +$labels['setflags'] = 'Configurar marcas del mensaje'; +$labels['addflags'] = 'Agregar marcas al mensaje'; +$labels['removeflags'] = 'Eliminar marcas del mensaje'; +$labels['flagread'] = 'Leer'; +$labels['flagdeleted'] = 'Eliminado'; +$labels['flaganswered'] = 'Respondido'; +$labels['flagflagged'] = 'Marcado'; +$labels['flagdraft'] = 'Borrador'; +$labels['setvariable'] = 'Setear variable'; +$labels['setvarname'] = 'Nombre de variable:'; +$labels['setvarvalue'] = 'Valor de variable:'; +$labels['setvarmodifiers'] = 'Modificadores:'; +$labels['varlower'] = 'minúscula'; +$labels['varupper'] = 'mayúscula'; +$labels['varlowerfirst'] = 'primer caracter en minúscula'; +$labels['varupperfirst'] = 'primer caracter en mayúscula'; +$labels['varquotewildcard'] = 'citar caracteres especiales'; +$labels['varlength'] = 'longitud'; +$labels['notify'] = 'Enviar notificación'; +$labels['notifytarget'] = 'Objetivo de la notificación:'; +$labels['notifymessage'] = 'Mensaje de notificación (opcional):'; +$labels['notifyoptions'] = 'Opciones de notificación (opcional):'; +$labels['notifyfrom'] = 'Remitente de la notificación (opcional):'; +$labels['notifyimportance'] = 'Importancia:'; +$labels['notifyimportancelow'] = 'baja'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'alta'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Teléfono'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Crear filtro'; +$labels['usedata'] = 'Usar la siguiente información en el filtro:'; +$labels['nextstep'] = 'Siguiente paso'; +$labels['...'] = '...'; +$labels['currdate'] = 'Fecha actual'; +$labels['datetest'] = 'Fecha'; +$labels['dateheader'] = 'encabezado:'; +$labels['year'] = 'año'; +$labels['month'] = 'mes'; +$labels['day'] = 'dia'; +$labels['date'] = 'fecha (yyyy-mm-dd)'; +$labels['julian'] = 'fecha (juliano)'; +$labels['hour'] = 'hora'; +$labels['minute'] = 'minuto'; +$labels['second'] = 'segundo'; +$labels['time'] = 'hora (hh:mm:ss)'; +$labels['iso8601'] = 'fecha (ISO8601)'; +$labels['std11'] = 'fecha (RFC2822)'; +$labels['zone'] = 'zona horaria'; +$labels['weekday'] = 'día de la semana (0-6)'; +$labels['advancedopts'] = 'Opciones avanzadas'; +$labels['body'] = 'Cuerpo'; +$labels['address'] = 'dirección'; +$labels['envelope'] = 'envoltura'; +$labels['modifier'] = 'modificador:'; +$labels['text'] = 'texto'; +$labels['undecoded'] = 'sin decodificar (crudo)'; +$labels['contenttype'] = 'tipo de contenido'; +$labels['modtype'] = 'tipo:'; +$labels['allparts'] = 'todo'; +$labels['domain'] = 'dominio'; +$labels['localpart'] = 'parte local'; +$labels['user'] = 'usuario'; +$labels['detail'] = 'detalle'; +$labels['comparator'] = 'comparador:'; +$labels['default'] = 'por defecto'; +$labels['octet'] = 'estricto (octeto)'; +$labels['asciicasemap'] = 'no sensible a minúsculas o mayúsculas (ascii-casemap)'; +$labels['asciinumeric'] = 'numérico (ascii-numeric)'; +$labels['index'] = 'índice:'; +$labels['indexlast'] = 'hacia atrás'; +$labels['vacation'] = 'Vacaciones'; +$labels['vacation.reply'] = 'Responder mensaje'; +$labels['vacation.advanced'] = 'Opciones avanzdas'; +$labels['vacation.subject'] = 'Asunto'; +$labels['vacation.body'] = 'Cuerpo'; +$labels['vacation.start'] = 'Inicio de vacaciones'; +$labels['vacation.end'] = 'Final de vacaciones'; +$labels['vacation.status'] = 'Estado'; +$labels['vacation.on'] = 'On'; +$labels['vacation.off'] = 'Off'; +$labels['vacation.addresses'] = 'Mis direcciones adicionales'; +$labels['vacation.interval'] = 'Intervalo de respuesta'; +$labels['vacation.after'] = 'Colocar luego regla de vacaciones '; +$labels['vacation.saving'] = 'Guardando información...'; +$labels['vacation.action'] = 'Acción para mensaje entrante'; +$labels['vacation.keep'] = 'Mantener'; +$labels['vacation.discard'] = 'Descartar'; +$labels['vacation.redirect'] = 'Reenviar a'; +$labels['vacation.copy'] = 'Enviar copia a'; +$labels['arialabelfiltersetactions'] = 'Acciones de conjunto de filtros'; +$labels['arialabelfilteractions'] = 'Filtrar acciones'; +$labels['arialabelfilterform'] = 'Filtrar propiedades'; +$labels['ariasummaryfilterslist'] = 'Listado de filtros'; +$labels['ariasummaryfiltersetslist'] = 'Listado de conjunto de filtros'; +$labels['filterstitle'] = 'Editar filtros para mensajes entrantes'; +$labels['vacationtitle'] = 'Editar reglas "fuera de la oficina"'; +$messages['filterunknownerror'] = 'Error desconocido de servidor'; +$messages['filterconnerror'] = 'Imposible conectar con el servidor managesieve'; +$messages['filterdeleteerror'] = 'Imposible borrar filtro. Ha ocurrido un error en el servidor'; +$messages['filterdeleted'] = 'Filtro borrado satisfactoriamente'; +$messages['filtersaved'] = 'Filtro guardado satisfactoriamente'; +$messages['filtersaveerror'] = 'Imposible guardar ell filtro. Ha ocurrido un error en el servidor'; +$messages['filterdeleteconfirm'] = '¿Realmente desea borrar el filtro seleccionado?'; +$messages['ruledeleteconfirm'] = '¿Está seguro de que desea borrar la regla seleccionada?'; +$messages['actiondeleteconfirm'] = '¿Está seguro de que desea borrar la acción seleccionada?'; +$messages['forbiddenchars'] = 'Caracteres prohibidos en el campo'; +$messages['cannotbeempty'] = 'El campo no puede estar vacío'; +$messages['ruleexist'] = 'El filtro con el nombre especificado ya existe.'; +$messages['setactivateerror'] = 'Imposible activar el conjunto de filtros. Error en el servidor.'; +$messages['setdeactivateerror'] = 'Imposible desactivar el conjunto de filtros. Error en el servidor.'; +$messages['setdeleteerror'] = 'Imposible eliminar el conjunto de filtros. Error en el servidor.'; +$messages['setactivated'] = 'Conjunto de filtros activados correctamente'; +$messages['setdeactivated'] = 'Conjunto de filtros desactivados correctamente'; +$messages['setdeleted'] = 'Conjunto de filtros eliminados correctamente'; +$messages['setdeleteconfirm'] = '¿Esta seguro, que quiere eliminar el conjunto de filtros seleccionado?'; +$messages['setcreateerror'] = 'Imposible crear el conjunto de filtros. Error en el servidor.'; +$messages['setcreated'] = 'Conjunto de filtros creados correctamente'; +$messages['activateerror'] = 'Imposible activar el conjunto de filtros. Error en el servidor.'; +$messages['deactivateerror'] = 'Imposible desactivar el conjunto de filtros. Error en el servidor.'; +$messages['deactivated'] = 'Filtro deshabilitado satisfactoriamente'; +$messages['activated'] = 'Filtro habilitado satisfactoriamente'; +$messages['moved'] = 'Filtro movido satisfactoriamente'; +$messages['moveerror'] = 'Imposible mover el filtro seleccionado. Ha ocurrido un error en el servidor.'; +$messages['nametoolong'] = 'El nombre es demasiado largo.'; +$messages['namereserved'] = 'Nombre reservado.'; +$messages['setexist'] = 'Conjunto ya existe.'; +$messages['nodata'] = 'Al menos una posición debe ser seleccionada!'; +$messages['invaliddateformat'] = 'Fecha o formato de fecha inválido'; +$messages['saveerror'] = 'Imposible guardar la información. Ha ocurrido un error con el servidor.'; +$messages['vacationsaved'] = 'Información de vacaciones guardada satisfactoriamente.'; +$messages['emptyvacationbody'] = '¡Se requiere un cuerpo para el mensaje por vacaciones!'; +?> diff --git a/plugins/managesieve/localization/es_ES.inc b/plugins/managesieve/localization/es_ES.inc new file mode 100644 index 000000000..2b319daf6 --- /dev/null +++ b/plugins/managesieve/localization/es_ES.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtros'; +$labels['managefilters'] = 'Administrar filtros de correo entrante'; +$labels['filtername'] = 'Nombre del filtro'; +$labels['newfilter'] = 'Nuevo filtro'; +$labels['filteradd'] = 'Añadir filtro'; +$labels['filterdel'] = 'Eliminar filtro'; +$labels['moveup'] = 'Mover arriba'; +$labels['movedown'] = 'Mover abajo'; +$labels['filterallof'] = 'que coincida con todas las reglas siguientes'; +$labels['filteranyof'] = 'que coincida con cualquiera de las reglas siguientes'; +$labels['filterany'] = 'todos los mensajes'; +$labels['filtercontains'] = 'contiene'; +$labels['filternotcontains'] = 'no contiene'; +$labels['filteris'] = 'es igual a'; +$labels['filterisnot'] = 'no es igual a'; +$labels['filterexists'] = 'existe'; +$labels['filternotexists'] = 'no existe'; +$labels['filtermatches'] = 'coincide con la expresión'; +$labels['filternotmatches'] = 'no coincide con la expresión'; +$labels['filterregex'] = 'coincide con la expresión regular'; +$labels['filternotregex'] = 'no coincide con la expresión regular'; +$labels['filterunder'] = 'bajo'; +$labels['filterover'] = 'sobre'; +$labels['addrule'] = 'Añadir regla'; +$labels['delrule'] = 'Eliminar regla'; +$labels['messagemoveto'] = 'Mover mensaje a'; +$labels['messageredirect'] = 'Redirigir mensaje a'; +$labels['messagecopyto'] = 'Copiar mensaje a'; +$labels['messagesendcopy'] = 'Enviar copia del mensaje a'; +$labels['messagereply'] = 'Responder con un mensaje'; +$labels['messagedelete'] = 'Eliminar mensaje'; +$labels['messagediscard'] = 'Descartar con un mensaje'; +$labels['messagekeep'] = 'Mantener el mensaje en la bandeja de entrada'; +$labels['messagesrules'] = 'Para el correo entrante:'; +$labels['messagesactions'] = '... ejecutar las siguientes acciones:'; +$labels['add'] = 'Añadir'; +$labels['del'] = 'Eliminar'; +$labels['sender'] = 'Remitente'; +$labels['recipient'] = 'Destinatario'; +$labels['vacationaddr'] = 'Mis direcciones adicionales de correo electrónico:'; +$labels['vacationdays'] = 'Cada cuánto enviar mensajes (en días):'; +$labels['vacationinterval'] = 'Cada cuánto enviar mensajes:'; +$labels['vacationreason'] = 'Cuerpo del mensaje (razón de vacaciones):'; +$labels['vacationsubject'] = 'Asunto del mensaje:'; +$labels['days'] = 'días'; +$labels['seconds'] = 'segundos'; +$labels['rulestop'] = 'Parar de evaluar reglas'; +$labels['enable'] = 'Habilitar/Deshabilitar'; +$labels['filterset'] = 'Conjunto de filtros'; +$labels['filtersets'] = 'Conjuntos de filtros'; +$labels['filtersetadd'] = 'Agregar conjunto de filtros'; +$labels['filtersetdel'] = 'Eliminar conjunto de filtros actual'; +$labels['filtersetact'] = 'Activar conjunto de filtros actual'; +$labels['filtersetdeact'] = 'Desactivar conjunto de filtros actual'; +$labels['filterdef'] = 'Definición de filtros'; +$labels['filtersetname'] = 'Nombre del conjunto de filtros'; +$labels['newfilterset'] = 'Nuevo conjunto de filtros'; +$labels['active'] = 'activo'; +$labels['none'] = 'ninguno'; +$labels['fromset'] = 'de conjunto'; +$labels['fromfile'] = 'de archivo'; +$labels['filterdisabled'] = 'Filtro deshabilitado'; +$labels['countisgreaterthan'] = 'contiene más que'; +$labels['countisgreaterthanequal'] = 'contiene más o igual que'; +$labels['countislessthan'] = 'contiene menos que'; +$labels['countislessthanequal'] = 'contiene menos o igual que'; +$labels['countequals'] = 'contiene igual que'; +$labels['countnotequals'] = 'la cuenta no es igual a'; +$labels['valueisgreaterthan'] = 'el valor es mayor que'; +$labels['valueisgreaterthanequal'] = 'el valor es mayor o igual que'; +$labels['valueislessthan'] = 'el valor es menor que'; +$labels['valueislessthanequal'] = 'el valor es menor o igual que'; +$labels['valueequals'] = 'el valor es igual que'; +$labels['valuenotequals'] = 'el valor no es igual a'; +$labels['setflags'] = 'Etiquetar el mensaje'; +$labels['addflags'] = 'Agregar etiquetas al mensaje'; +$labels['removeflags'] = 'Eliminar etiquetas del mensaje'; +$labels['flagread'] = 'Leído'; +$labels['flagdeleted'] = 'Eliminado'; +$labels['flaganswered'] = 'Respondido'; +$labels['flagflagged'] = 'Marcado'; +$labels['flagdraft'] = 'Borrador'; +$labels['setvariable'] = 'Establecer variable'; +$labels['setvarname'] = 'Nombre de la variable:'; +$labels['setvarvalue'] = 'Valor de la variable:'; +$labels['setvarmodifiers'] = 'Modificadores'; +$labels['varlower'] = 'minúsculas'; +$labels['varupper'] = 'mayúsculas'; +$labels['varlowerfirst'] = 'primer caracter en minúsculas'; +$labels['varupperfirst'] = 'primer caracter en mayúsculas'; +$labels['varquotewildcard'] = 'entrecomillar caracteres especiales'; +$labels['varlength'] = 'longitud'; +$labels['notify'] = 'Enviar notificación'; +$labels['notifytarget'] = 'Destino de la notificación:'; +$labels['notifymessage'] = 'Mensaje de notificación (opcional):'; +$labels['notifyoptions'] = 'Opciones de notificación (opcional):'; +$labels['notifyfrom'] = 'Remitente de la notificación (opcional):'; +$labels['notifyimportance'] = 'Importancia:'; +$labels['notifyimportancelow'] = 'baja'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'alta'; +$labels['notifymethodmailto'] = 'Correo electrónico'; +$labels['notifymethodtel'] = 'Teléfono'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Crear filtro'; +$labels['usedata'] = 'Usar los siguientes datos en el filtro:'; +$labels['nextstep'] = 'Siguiente paso'; +$labels['...'] = '...'; +$labels['currdate'] = 'Fecha actual'; +$labels['datetest'] = 'Fecha'; +$labels['dateheader'] = 'cabecera:'; +$labels['year'] = 'año'; +$labels['month'] = 'mes'; +$labels['day'] = 'día'; +$labels['date'] = 'fecha (aaaa-mm-dd)'; +$labels['julian'] = 'fecha (juliano)'; +$labels['hour'] = 'hora'; +$labels['minute'] = 'minuto'; +$labels['second'] = 'segundo'; +$labels['time'] = 'hora (hh:mm:ss)'; +$labels['iso8601'] = 'fecha (ISO8601)'; +$labels['std11'] = 'fecha (RFC2822)'; +$labels['zone'] = 'zona horaria'; +$labels['weekday'] = 'día de la semana (0-6)'; +$labels['advancedopts'] = 'Opciones avanzadas'; +$labels['body'] = 'Cuerpo del mensaje'; +$labels['address'] = 'dirección'; +$labels['envelope'] = 'envoltura'; +$labels['modifier'] = 'modificador:'; +$labels['text'] = 'texto'; +$labels['undecoded'] = 'decodificar (en bruto)'; +$labels['contenttype'] = 'tipo de contenido'; +$labels['modtype'] = 'tipo:'; +$labels['allparts'] = 'todo'; +$labels['domain'] = 'dominio'; +$labels['localpart'] = 'parte local'; +$labels['user'] = 'usuario'; +$labels['detail'] = 'detalle'; +$labels['comparator'] = 'comparador:'; +$labels['default'] = 'predeterminado'; +$labels['octet'] = 'estricto (octeto)'; +$labels['asciicasemap'] = 'no sensible a mayúsculas (ascii-casemap)'; +$labels['asciinumeric'] = 'numerico (ascii-numeric)'; +$labels['index'] = 'índice:'; +$labels['indexlast'] = 'hacia atrás'; +$labels['vacation'] = 'Vacaciones'; +$labels['vacation.reply'] = 'Mensaje de respuesta'; +$labels['vacation.advanced'] = 'Configuración avanzada'; +$labels['vacation.subject'] = 'Asunto'; +$labels['vacation.body'] = 'Cuerpo'; +$labels['vacation.start'] = 'Comienzo de las vacaciones'; +$labels['vacation.end'] = 'Final de las vacaciones'; +$labels['vacation.status'] = 'Estado'; +$labels['vacation.on'] = 'Activado'; +$labels['vacation.off'] = 'Desactivado'; +$labels['vacation.addresses'] = 'Mis direcciones adicionales'; +$labels['vacation.interval'] = 'Intervalo de respuesta'; +$labels['vacation.after'] = 'Poner regla de vacaciones después de'; +$labels['vacation.saving'] = 'Guardando datos...'; +$labels['vacation.action'] = 'Acción de mensaje entrante'; +$labels['vacation.keep'] = 'Mantener'; +$labels['vacation.discard'] = 'Descartar'; +$labels['vacation.redirect'] = 'Redireccionar a'; +$labels['vacation.copy'] = 'Enviar copia a'; +$labels['arialabelfiltersetactions'] = 'Acciones de un paquete de filtros'; +$labels['arialabelfilteractions'] = 'Acciones de filtro'; +$labels['arialabelfilterform'] = 'Propiedades de filtro'; +$labels['ariasummaryfilterslist'] = 'Lista de filtros'; +$labels['ariasummaryfiltersetslist'] = 'Lista de paquetes de filtros'; +$labels['filterstitle'] = 'Editar filtros de mensajes entrantes'; +$labels['vacationtitle'] = 'Editar la regla fuera-de-la-oficina'; +$messages['filterunknownerror'] = 'Error desconocido en el servidor.'; +$messages['filterconnerror'] = 'No se pudo conectar con el servidor managesieve.'; +$messages['filterdeleteerror'] = 'No se pudo borrar el filtro. Ha ocurrido un error en el servidor.'; +$messages['filterdeleted'] = 'Filtro borrado correctamente.'; +$messages['filtersaved'] = 'Filtro guardado correctamente.'; +$messages['filtersaveerror'] = 'No se pudo guardar el filtro. Ha ocurrido un error en el servidor.'; +$messages['filterdeleteconfirm'] = '¿Realmente desea borrar el filtro seleccionado?'; +$messages['ruledeleteconfirm'] = '¿Está seguro de que desea borrar la regla seleccionada?'; +$messages['actiondeleteconfirm'] = '¿Está seguro de que desea borrar la acción seleccionada?'; +$messages['forbiddenchars'] = 'Caracteres prohibidos en el campo.'; +$messages['cannotbeempty'] = 'El campo no puede estar vacío.'; +$messages['ruleexist'] = 'Ya existe un filtro con el nombre especificado.'; +$messages['setactivateerror'] = 'No se pudo activar el conjunto de filtros seleccionado. Ha ocurrido un error en el servidor.'; +$messages['setdeactivateerror'] = 'No se pudo desactivar el conjunto de filtros seleccionado. Ha ocurrido un error en el servidor.'; +$messages['setdeleteerror'] = 'No se pudo borrar el conjunto de filtros seleccionado. Ha ocurrido un error en el servidor.'; +$messages['setactivated'] = 'Conjunto de filtros activado correctamente.'; +$messages['setdeactivated'] = 'Conjunto de filtros desactivado correctamente.'; +$messages['setdeleted'] = 'Conjunto de filtros borrado correctamente.'; +$messages['setdeleteconfirm'] = '¿Está seguro de que desea borrar el conjunto de filtros seleccionado?'; +$messages['setcreateerror'] = 'No se ha podido crear el conjunto de filtros. Ha ocurrido un error en el servidor.'; +$messages['setcreated'] = 'Conjunto de filtros creado correctamente.'; +$messages['activateerror'] = 'No se pudo habilitar filtro(s) seleccionado(s). Ha ocurrido un error en el servidor.'; +$messages['deactivateerror'] = 'No se pudo deshabilitar filtro(s) seleccionado(s). Ha ocurrido un error en el servidor.'; +$messages['deactivated'] = 'Filtro(s) deshabilitado(s) correctamente.'; +$messages['activated'] = 'Filtro(s) habilitado(s) correctamente.'; +$messages['moved'] = 'Filtro movido correctamente.'; +$messages['moveerror'] = 'No se pudo mover el filtro seleccionado. Ha ocurrido un error en el servidor.'; +$messages['nametoolong'] = 'Nombre demasiado largo.'; +$messages['namereserved'] = 'Nombre reservado.'; +$messages['setexist'] = 'El conjunto ya existe.'; +$messages['nodata'] = '¡Al menos una posición debe ser seleccionada!'; +$messages['invaliddateformat'] = 'Fecha o formato de parte de la fecha no válido'; +$messages['saveerror'] = 'No se pudo guardar los datos. Ha ocurrido un error en el servidor.'; +$messages['vacationsaved'] = 'Datos de vacaciones guardados correctamente.'; +$messages['emptyvacationbody'] = '¡Hace falta un texto en el mensaje de vacaciones!'; +?> diff --git a/plugins/managesieve/localization/et_EE.inc b/plugins/managesieve/localization/et_EE.inc new file mode 100644 index 000000000..3957dcb43 --- /dev/null +++ b/plugins/managesieve/localization/et_EE.inc @@ -0,0 +1,177 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtrid'; +$labels['managefilters'] = 'Halda sisenevate kirjade filtreid'; +$labels['filtername'] = 'Filtri nimi'; +$labels['newfilter'] = 'Uus filter'; +$labels['filteradd'] = 'Lisa filter'; +$labels['filterdel'] = 'Kustuta filter'; +$labels['moveup'] = 'Liiguta üles'; +$labels['movedown'] = 'Liiguta alla'; +$labels['filterallof'] = 'vastab kõikidele järgnevatele reeglitele'; +$labels['filteranyof'] = 'vastab mõnele järgnevatest reeglitest'; +$labels['filterany'] = 'kõik kirjad'; +$labels['filtercontains'] = 'sisaldab'; +$labels['filternotcontains'] = 'ei sisalda'; +$labels['filteris'] = 'on võrdne kui'; +$labels['filterisnot'] = 'ei ole võrdne kui'; +$labels['filterexists'] = 'on olemas'; +$labels['filternotexists'] = 'pole olemas'; +$labels['filtermatches'] = 'vastab avaldisele'; +$labels['filternotmatches'] = 'ei vasta avaldisele'; +$labels['filterregex'] = 'vastab regulaaravaldisele'; +$labels['filternotregex'] = 'ei vasta regulaaravaldisele'; +$labels['filterunder'] = 'alt'; +$labels['filterover'] = 'üle'; +$labels['addrule'] = 'Lisa reegel'; +$labels['delrule'] = 'Kustuta reegel'; +$labels['messagemoveto'] = 'Liiguta kiri'; +$labels['messageredirect'] = 'Suuna kiri ümber'; +$labels['messagecopyto'] = 'Kopeeri kiri'; +$labels['messagesendcopy'] = 'Saada kirja koopia'; +$labels['messagereply'] = 'Vasta kirjaga'; +$labels['messagedelete'] = 'Kustuta kiri'; +$labels['messagediscard'] = 'Viska ära teatega'; +$labels['messagesrules'] = 'Siseneva kirja puhul, mis:'; +$labels['messagesactions'] = '...käivita järgnevad tegevused:'; +$labels['add'] = 'Lisa'; +$labels['del'] = 'Kustuta'; +$labels['sender'] = 'Saatja'; +$labels['recipient'] = 'Saaja'; +$labels['vacationdays'] = 'Kui tihti kirju saata (päevades):'; +$labels['vacationinterval'] = 'Kui tihti kirju saata:'; +$labels['vacationreason'] = 'Kirja sisu (puhkuse põhjus):'; +$labels['vacationsubject'] = 'Kirja teema:'; +$labels['days'] = 'päeva'; +$labels['seconds'] = 'sekundit'; +$labels['rulestop'] = 'Peata reeglite otsimine'; +$labels['enable'] = 'Luba/keela'; +$labels['filterset'] = 'Filtrite kogum'; +$labels['filtersets'] = 'Filtri kogum'; +$labels['filtersetadd'] = 'Lisa filtrite kogum'; +$labels['filtersetdel'] = 'Kustuta praegune filtrite kogum'; +$labels['filtersetact'] = 'Aktiveeri praegune filtrite kogum'; +$labels['filtersetdeact'] = 'De-aktiveeri praegune filtrite kogum'; +$labels['filterdef'] = 'Filtri definitsioon'; +$labels['filtersetname'] = 'Filtrite kogumi nimi'; +$labels['newfilterset'] = 'Uus filtrite kogum'; +$labels['active'] = 'aktiivne'; +$labels['none'] = 'puudub'; +$labels['fromset'] = 'kogumist'; +$labels['fromfile'] = 'failist'; +$labels['filterdisabled'] = 'Filter keelatud'; +$labels['countisgreaterthan'] = 'koguarv on suurem kui'; +$labels['countisgreaterthanequal'] = 'koguarv on suurem kui või võrdne'; +$labels['countislessthan'] = 'koguarv on väiksem'; +$labels['countislessthanequal'] = 'koguarv on väiksem kui või võrdne'; +$labels['countequals'] = 'koguarv on võrdne'; +$labels['countnotequals'] = 'summa ei ole võrdne'; +$labels['valueisgreaterthan'] = 'väärtus on suurem kui'; +$labels['valueisgreaterthanequal'] = 'väärtus on suurem kui või võrdne'; +$labels['valueislessthan'] = 'väärtus on väiksem kui'; +$labels['valueislessthanequal'] = 'väärtus on väiksem kui või võrdne'; +$labels['valueequals'] = 'väärtus on võrdne'; +$labels['valuenotequals'] = 'väärtus ei ole võrdne'; +$labels['setflags'] = 'Sea kirjale lipik'; +$labels['addflags'] = 'Lisa kirjale lipikuid'; +$labels['removeflags'] = 'Eemalda kirjalt lipikud'; +$labels['flagread'] = 'Loetud'; +$labels['flagdeleted'] = 'Kustutatud'; +$labels['flaganswered'] = 'Vastatud'; +$labels['flagflagged'] = 'Märgistatud'; +$labels['flagdraft'] = 'Mustand'; +$labels['setvariable'] = 'Määra muutuja'; +$labels['setvarname'] = 'Muutuja nimi:'; +$labels['setvarvalue'] = 'Muutuja väärtus:'; +$labels['setvarmodifiers'] = 'Muutjad:'; +$labels['varlower'] = 'väiketähed'; +$labels['varupper'] = 'suurtähed'; +$labels['varlowerfirst'] = 'esimene märk on väiketäht'; +$labels['varupperfirst'] = 'esimene märk on suurtäht'; +$labels['varquotewildcard'] = 'tsiteeri erimärke'; +$labels['varlength'] = 'pikkus'; +$labels['notify'] = 'Saada teavitus'; +$labels['notifyimportance'] = 'Tähtsus:'; +$labels['notifyimportancelow'] = 'madal'; +$labels['notifyimportancenormal'] = 'tavaline'; +$labels['notifyimportancehigh'] = 'kõrge'; +$labels['filtercreate'] = 'Loo filter'; +$labels['usedata'] = 'Kasuta filtris järgmisi andmeid:'; +$labels['nextstep'] = 'Järgmine samm'; +$labels['...'] = '…'; +$labels['currdate'] = 'Praegune kuupäev'; +$labels['datetest'] = 'Kuupäev'; +$labels['dateheader'] = 'päis:'; +$labels['year'] = 'aasta'; +$labels['month'] = 'kuu'; +$labels['day'] = 'päev'; +$labels['date'] = 'kuupäev (aaaa-kk-pp)'; +$labels['julian'] = 'kuupäev (Juliuse)'; +$labels['hour'] = 'tund'; +$labels['minute'] = 'minut'; +$labels['second'] = 'sekund'; +$labels['time'] = 'aeg (tt:mm:ss)'; +$labels['iso8601'] = 'kuupäev (ISO8601)'; +$labels['std11'] = 'kuupäev (RCF2822)'; +$labels['zone'] = 'ajatsoon'; +$labels['weekday'] = 'nädalapäev (0-6)'; +$labels['advancedopts'] = 'Lisaseadistused'; +$labels['body'] = 'Põhitekst'; +$labels['address'] = 'aadress'; +$labels['envelope'] = 'ümbrik'; +$labels['modifier'] = 'muutja:'; +$labels['text'] = 'tekst'; +$labels['undecoded'] = 'kodeerimata (toor)'; +$labels['contenttype'] = 'sisu tüüp'; +$labels['modtype'] = 'tüüp:'; +$labels['allparts'] = 'kõik'; +$labels['domain'] = 'domeen'; +$labels['localpart'] = 'kohalik osa'; +$labels['user'] = 'kasutaja'; +$labels['detail'] = 'detail'; +$labels['comparator'] = 'võrdleja:'; +$labels['default'] = 'vaikimisi'; +$labels['octet'] = 'range (octet)'; +$labels['asciicasemap'] = 'tõstutundetu (ascii-casemap)'; +$labels['asciinumeric'] = 'numbriline (ascii-numeric)'; +$labels['index'] = 'indeks:'; +$labels['indexlast'] = 'tagasisuunas'; +$messages['filterunknownerror'] = 'Tundmatu serveri tõrge'; +$messages['filterconnerror'] = 'Managesieve serveriga ühendumine nurjus'; +$messages['filterdeleted'] = 'Filter edukalt kustutatud'; +$messages['filtersaved'] = 'Filter edukalt salvestatud'; +$messages['filterdeleteconfirm'] = 'Soovid valitud filtri kustutada?'; +$messages['ruledeleteconfirm'] = 'Soovid valitud reegli kustutada?'; +$messages['actiondeleteconfirm'] = 'Soovid valitud tegevuse kustutada?'; +$messages['forbiddenchars'] = 'Väljal on lubamatu märk'; +$messages['cannotbeempty'] = 'Väli ei või tühi olla'; +$messages['ruleexist'] = 'Määratud nimega filter on juba olemas'; +$messages['setactivated'] = 'Filtrite kogumi aktiveerimine õnnestus.'; +$messages['setdeactivated'] = 'Filtrite kogumi deaktiveerimine õnnestus.'; +$messages['setdeleted'] = 'Filtrite kogumi kustutamine õnnestus.'; +$messages['setdeleteconfirm'] = 'Oled kindel, et soovid valitud filtrite kogumi kustutada?'; +$messages['setcreated'] = 'Filtrite kogumi loomine õnnestus.'; +$messages['deactivated'] = 'Filter edukalt lubatud.'; +$messages['activated'] = 'Filter edukalt keelatud.'; +$messages['moved'] = 'Filter edukalt liigutatud.'; +$messages['nametoolong'] = 'Nimi on liiga pikk.'; +$messages['namereserved'] = 'Nimi on reserveeritud.'; +$messages['setexist'] = 'Kogum on juba olemas.'; +$messages['nodata'] = 'Valitud peab olema vähemalt üks asukoht!'; +$messages['invaliddateformat'] = 'Vigane kuupäev või kuupäeva formaat'; +?> diff --git a/plugins/managesieve/localization/eu_ES.inc b/plugins/managesieve/localization/eu_ES.inc new file mode 100644 index 000000000..c9a39dc87 --- /dev/null +++ b/plugins/managesieve/localization/eu_ES.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Iragazkiak'; +$labels['managefilters'] = 'Kudeatu sarrerako posta-iragazkiak'; +$labels['filtername'] = 'Iragazkiaren izena'; +$labels['newfilter'] = 'Iragazki berria'; +$labels['filteradd'] = 'Gehitu iragazkia'; +$labels['filterdel'] = 'Ezabatu iragazkia'; +$labels['moveup'] = 'Mugitu gora'; +$labels['movedown'] = 'Mugitu behera'; +$labels['filterallof'] = 'datozen arau guztiak parekatzen'; +$labels['filteranyof'] = 'datozen arauetako batzuk parekatzen'; +$labels['filterany'] = 'mezu guztiak'; +$labels['filtercontains'] = 'badu'; +$labels['filternotcontains'] = 'ez du'; +$labels['filteris'] = 'honen berdina da'; +$labels['filterisnot'] = 'ez da honen berdina'; +$labels['filterexists'] = 'badago'; +$labels['filternotexists'] = 'ez dago'; +$labels['filtermatches'] = 'bat datorren espresioa'; +$labels['filternotmatches'] = 'bat ez datorren espresioa'; +$labels['filterregex'] = 'bat datozen adierazpen erregularra'; +$labels['filternotregex'] = 'bat ez datorren espresio erregularra'; +$labels['filterunder'] = 'azpian'; +$labels['filterover'] = 'gainean'; +$labels['addrule'] = 'Gehitu araua'; +$labels['delrule'] = 'Ezabatu araua'; +$labels['messagemoveto'] = 'Mugitu mezua hona'; +$labels['messageredirect'] = 'Birbideratu mezua hona '; +$labels['messagecopyto'] = 'Kopiatu mezua hona'; +$labels['messagesendcopy'] = 'Bidali mezuaren kopia hona'; +$labels['messagereply'] = 'Erantzun mezuarekin'; +$labels['messagedelete'] = 'Ezabatu mezua'; +$labels['messagediscard'] = 'Baztertu mezuarekin'; +$labels['messagekeep'] = 'Mantendu mezua Sarrera-ontzian'; +$labels['messagesrules'] = 'Sarrerako postarako:'; +$labels['messagesactions'] = '...exekutatu datozen ekintzak:'; +$labels['add'] = 'Gehitu'; +$labels['del'] = 'Ezabatu'; +$labels['sender'] = 'Bidaltzailea'; +$labels['recipient'] = 'Hartzailea'; +$labels['vacationaddr'] = 'Nire helbide elektroniko osagarria(k):'; +$labels['vacationdays'] = 'Zenbatero bidali mezuak (egunak)'; +$labels['vacationinterval'] = 'Zenbatero bidali mezuak:'; +$labels['vacationreason'] = 'Mezuaren gorputza (oporrak direla medio):'; +$labels['vacationsubject'] = 'Mezuaren gaia:'; +$labels['days'] = 'egun'; +$labels['seconds'] = 'segundo'; +$labels['rulestop'] = 'Gelditu arauak ebaluatzen'; +$labels['enable'] = 'Gaitu/Ezgaitu'; +$labels['filterset'] = 'Iragazki-paketea'; +$labels['filtersets'] = 'Iragazki-paketeak'; +$labels['filtersetadd'] = 'Gehitu iragazki-paketea'; +$labels['filtersetdel'] = 'Ezabatu uneko iragazki-paketea'; +$labels['filtersetact'] = 'Gaitu uneko iragazki-paketea'; +$labels['filtersetdeact'] = 'Ezgaitu uneko iragazki-paketea'; +$labels['filterdef'] = 'Iragazkiaren definizioa'; +$labels['filtersetname'] = 'Iragazki-paketearen izena'; +$labels['newfilterset'] = 'Iragazki-pakete berria'; +$labels['active'] = 'aktiboa'; +$labels['none'] = 'Bat ere ez'; +$labels['fromset'] = 'paketetik'; +$labels['fromfile'] = 'fitxategitik'; +$labels['filterdisabled'] = 'Iragazki ezgaitua'; +$labels['countisgreaterthan'] = 'kopurua handiagoa da hau baino'; +$labels['countisgreaterthanequal'] = 'kopurua hau baino handiagoa edo berdina da'; +$labels['countislessthan'] = 'kopurua hau baino txikiagoa da'; +$labels['countislessthanequal'] = 'kopurua hau baino txikiagoa edo berdina da'; +$labels['countequals'] = 'kopurua honen berdina da'; +$labels['countnotequals'] = 'kopurua ez da honen berdina'; +$labels['valueisgreaterthan'] = 'balioa hau baino handiagoa da'; +$labels['valueisgreaterthanequal'] = 'balioa hau baino handiagoa edo berdina da'; +$labels['valueislessthan'] = 'balioa hau baino txikiagoa da'; +$labels['valueislessthanequal'] = 'balioa hau baino txikiagoa edo berdina da'; +$labels['valueequals'] = 'balioa honen berdina da'; +$labels['valuenotequals'] = 'balioa ez da honen berdina'; +$labels['setflags'] = 'Jarri banderak mezuarik'; +$labels['addflags'] = 'Gehitu banderak mezuari'; +$labels['removeflags'] = 'Ezabatu banderak mezutik'; +$labels['flagread'] = 'Irakurri'; +$labels['flagdeleted'] = 'Ezabatuta'; +$labels['flaganswered'] = 'Erantzunda'; +$labels['flagflagged'] = 'Bandera jarrita'; +$labels['flagdraft'] = 'Ziriborroa'; +$labels['setvariable'] = 'Ezarri aldagaia'; +$labels['setvarname'] = 'Aldagaiaren izena:'; +$labels['setvarvalue'] = 'Aldagaiaren balioa:'; +$labels['setvarmodifiers'] = 'Modifikatzaileak:'; +$labels['varlower'] = 'minuskulan'; +$labels['varupper'] = 'maiuskulan'; +$labels['varlowerfirst'] = 'lehenengo karakterea minuskulan'; +$labels['varupperfirst'] = 'lehenengo karakterea maiuskulan'; +$labels['varquotewildcard'] = 'aipatu karaktere bereziak'; +$labels['varlength'] = 'luzera'; +$labels['notify'] = 'Bidali jakinarazpena'; +$labels['notifytarget'] = 'Jakinarazpenaren xedea:'; +$labels['notifymessage'] = 'Jakinarazpenaren mezua (aukerakoa):'; +$labels['notifyoptions'] = 'Jakinarazpenaren aukerak (aukerakoa):'; +$labels['notifyfrom'] = 'Jakinarazpenaren bidaltzailea (aukerakoa):'; +$labels['notifyimportance'] = 'Garrantzia:'; +$labels['notifyimportancelow'] = 'baxua'; +$labels['notifyimportancenormal'] = 'normala'; +$labels['notifyimportancehigh'] = 'altua'; +$labels['notifymethodmailto'] = 'Helbide elektronikoa'; +$labels['notifymethodtel'] = 'Telefonoa'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Sortu iragazkia'; +$labels['usedata'] = 'Erabili datorren data iragazkian:'; +$labels['nextstep'] = 'Hurrengo urratsa'; +$labels['...'] = '...'; +$labels['currdate'] = 'Uneko data'; +$labels['datetest'] = 'Data'; +$labels['dateheader'] = 'goiburua:'; +$labels['year'] = 'urte'; +$labels['month'] = 'hilabete'; +$labels['day'] = 'egun'; +$labels['date'] = 'data (yyyy-mm-dd)'; +$labels['julian'] = 'data (juliarra)'; +$labels['hour'] = 'ordu'; +$labels['minute'] = 'minutu'; +$labels['second'] = 'segundo'; +$labels['time'] = 'ordua (hh:mm:ss)'; +$labels['iso8601'] = 'data (ISO8601)'; +$labels['std11'] = 'data (RFC2822)'; +$labels['zone'] = 'ordu-zona'; +$labels['weekday'] = 'asteguna (0-6)'; +$labels['advancedopts'] = 'Aukera aurreratuak'; +$labels['body'] = 'Gorputza'; +$labels['address'] = 'helbidea'; +$labels['envelope'] = 'gutun-azala'; +$labels['modifier'] = 'modifikatzailea:'; +$labels['text'] = 'testua'; +$labels['undecoded'] = 'kodetu gabe (gordina)'; +$labels['contenttype'] = 'eduki mota'; +$labels['modtype'] = 'mota:'; +$labels['allparts'] = 'denak'; +$labels['domain'] = 'domeinua'; +$labels['localpart'] = 'zati lokala'; +$labels['user'] = 'erabiltzailea'; +$labels['detail'] = 'xehetasuna'; +$labels['comparator'] = 'alderatzailea:'; +$labels['default'] = 'lehenetsia'; +$labels['octet'] = 'zorrotza (zortzikotea)'; +$labels['asciicasemap'] = 'minuskulak eta maiuskulak (ascii-casemap)'; +$labels['asciinumeric'] = 'numerikoa (ascii-numeric)'; +$labels['index'] = 'indexatu:'; +$labels['indexlast'] = 'atzeraka'; +$labels['vacation'] = 'Oporraldia'; +$labels['vacation.reply'] = 'Erantzun mezua'; +$labels['vacation.advanced'] = 'Ezarpen aurreratuak'; +$labels['vacation.subject'] = 'Gaia'; +$labels['vacation.body'] = 'Gorputza'; +$labels['vacation.start'] = 'Oporraldiaren hasiera'; +$labels['vacation.end'] = 'Oporraldiaren bukaera'; +$labels['vacation.status'] = 'Egoera'; +$labels['vacation.on'] = 'Piztuta'; +$labels['vacation.off'] = 'Itzalita'; +$labels['vacation.addresses'] = 'Nire helbide osagarriak'; +$labels['vacation.interval'] = 'Erantzun tartea'; +$labels['vacation.after'] = 'Jarri oporren erregela honen ondoren'; +$labels['vacation.saving'] = 'Datuak gordetzen...'; +$labels['vacation.action'] = 'Sarrerako mezuaren ekintza'; +$labels['vacation.keep'] = 'Mantendu'; +$labels['vacation.discard'] = 'Baztertu'; +$labels['vacation.redirect'] = 'Birbideratu hona'; +$labels['vacation.copy'] = 'Bidali kopia hona'; +$labels['arialabelfiltersetactions'] = 'Iragazki-paketearen ekintzak'; +$labels['arialabelfilteractions'] = 'Iragazki-ekintzak'; +$labels['arialabelfilterform'] = 'Iragazkiaren ezaugarriak'; +$labels['ariasummaryfilterslist'] = 'Iragazkien zerrenda'; +$labels['ariasummaryfiltersetslist'] = 'Iragazki-paketeen zerrenda'; +$labels['filterstitle'] = 'Editatu postaren sarrera-iragazkiak'; +$labels['vacationtitle'] = 'Bulegotik-kanpo -erantzun automatiko- araua'; +$messages['filterunknownerror'] = 'Zerbitzari ezezaguna errorea'; +$messages['filterconnerror'] = 'Ezin da konektatu zerbitzariarekin.'; +$messages['filterdeleteerror'] = 'Ezin da ezabatu iragazkia. Errore bat gertatu da zerbitzarian.'; +$messages['filterdeleted'] = 'Iragazkia ongi ezabatu da.'; +$messages['filtersaved'] = 'Iragazkia ongi ezabatu da.'; +$messages['filtersaveerror'] = 'Ezin da gorde iragazkia. Zerbitzarian errore bat gertatu da.'; +$messages['filterdeleteconfirm'] = 'Seguru zaude hautatutako iragazkiak ezabatu nahi dituzula?'; +$messages['ruledeleteconfirm'] = 'Seguru zaude hautatutako arauak ezabatu nahi dituzula?'; +$messages['actiondeleteconfirm'] = 'Seguru zaude hautatutako ekintzak ezabatu nahi dituzula?'; +$messages['forbiddenchars'] = 'Debekatutako karaktereak eremuan.'; +$messages['cannotbeempty'] = 'Eremua ezin da hutsik egon.'; +$messages['ruleexist'] = 'Lehendik badago izen hori duen iragazki bat.'; +$messages['setactivateerror'] = 'Ezin da aktibatu hautatutako iragazki paketea. Zerbitzarian errore bat gertatu da.'; +$messages['setdeactivateerror'] = 'Ezin da ezgaitu hautatutako iragazki-paketea. Zerbitzarian errore bat gertatu da.'; +$messages['setdeleteerror'] = 'Ezin da ezabatu hautatutako iragazki-paketea. Zerbitzarian errore bat gertatu da.'; +$messages['setactivated'] = 'Iragazki paketea ongi aktibatu da.'; +$messages['setdeactivated'] = 'Iragazki paketea ongi desaktibatu da.'; +$messages['setdeleted'] = 'Iragazki paketea ongi ezabatu da.'; +$messages['setdeleteconfirm'] = 'Seguru zaude hautatutako iragazki paketea ezabatu nahi duzula?'; +$messages['setcreateerror'] = 'Ezin da iragazki-paketea sortu. Zerbitzarian errore bat gertatu da.'; +$messages['setcreated'] = 'Iragazki paketea ongi sortu da.'; +$messages['activateerror'] = 'Ezin da gaitu hautatutako iragazkia(k). Zerbitzarian errore bat gertatu da.'; +$messages['deactivateerror'] = 'Ezin da ezgaitu hautatutako iragazkia(k). Zerbitzarian errore bat gertatu da.'; +$messages['deactivated'] = 'Iragazkia(k) ongi ezgaitu da.'; +$messages['activated'] = 'Iragazkia(k) ongi gaitu da.'; +$messages['moved'] = 'Iragazkia ongi mugitu da.'; +$messages['moveerror'] = 'Ezin da mugitu hautatutako iragazkia. Zerbitzarian errore bat gertatu da.'; +$messages['nametoolong'] = 'Izen luzeegia.'; +$messages['namereserved'] = 'Izen erreserbatua.'; +$messages['setexist'] = 'Lehendik badago pakete hori.'; +$messages['nodata'] = 'Gutxienez posizio bat hautatu behar da!'; +$messages['invaliddateformat'] = 'Dataren edo dataren zati baten formatua ez da baliozkoa '; +$messages['saveerror'] = 'Ezin dira datuak gorde. Errorea gertatu da zerbitzarian.'; +$messages['vacationsaved'] = 'Oporren data ongi gorde da.'; +$messages['emptyvacationbody'] = 'Beharrezkoa da oporraldiko mezua jartzea!'; +?> diff --git a/plugins/managesieve/localization/fa_AF.inc b/plugins/managesieve/localization/fa_AF.inc new file mode 100644 index 000000000..87967958e --- /dev/null +++ b/plugins/managesieve/localization/fa_AF.inc @@ -0,0 +1,85 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'فیلترها'; +$labels['filtername'] = 'نام فیلتر'; +$labels['newfilter'] = 'فیلتر جدید'; +$labels['filteranyof'] = 'تطبیق با هر کدام از رول های زیر'; +$labels['filterany'] = 'تمام پیام ها'; +$labels['filtercontains'] = 'شامل'; +$labels['filteris'] = 'مساوی با'; +$labels['filterunder'] = 'زیر'; +$labels['filterover'] = 'بالای'; +$labels['addrule'] = 'افزودن نقش'; +$labels['delrule'] = 'حذف نقش'; +$labels['messagereply'] = 'پاسخ توسط پیام'; +$labels['messagedelete'] = 'حذف پیام'; +$labels['add'] = 'افزودن'; +$labels['del'] = 'حذف'; +$labels['sender'] = 'فرستنده'; +$labels['recipient'] = 'گیرنده'; +$labels['days'] = 'روز'; +$labels['filtersets'] = 'مجموعه فیلتر'; +$labels['filterdef'] = 'تعریف فیلتر'; +$labels['newfilterset'] = 'مجموعه فیلترهای جدید'; +$labels['active'] = 'فعال'; +$labels['none'] = 'هیچ کدام'; +$labels['flagread'] = 'خواندن'; +$labels['flagdeleted'] = 'حذف شد'; +$labels['flagflagged'] = 'نشانه گذاری شده'; +$labels['flagdraft'] = 'پیش نویس'; +$labels['varlength'] = 'طول'; +$labels['notifyimportancenormal'] = 'عادی'; +$labels['notifymethodmailto'] = 'ایمیل'; +$labels['nextstep'] = 'مرحله بعدی'; +$labels['...'] = '...'; +$labels['currdate'] = 'تاریخ کنونی'; +$labels['datetest'] = 'تاریخ'; +$labels['dateheader'] = 'سرایند:'; +$labels['year'] = 'سال'; +$labels['month'] = 'ماه'; +$labels['day'] = 'روز'; +$labels['second'] = 'ثانیه'; +$labels['address'] = 'آدرس'; +$labels['envelope'] = 'پاکت نامه'; +$labels['modifier'] = 'ویرایش کننده:'; +$labels['text'] = 'متن'; +$labels['contenttype'] = 'نوع محتوا'; +$labels['allparts'] = 'همه'; +$labels['domain'] = 'دامنه'; +$labels['localpart'] = 'جز محلی'; +$labels['user'] = 'کاربر'; +$labels['detail'] = 'جزئیات'; +$labels['comparator'] = 'مقایسه کننده:'; +$labels['default'] = 'پیش فرض'; +$labels['index'] = 'اندیس'; +$labels['vacation'] = 'تعطیلات'; +$labels['vacation.reply'] = 'پیام پاسخ'; +$labels['vacation.advanced'] = 'تنظیمات پیشرفته'; +$labels['vacation.subject'] = 'موضوع'; +$labels['vacation.body'] = 'متن پیام'; +$labels['vacation.status'] = 'وضعیت'; +$labels['vacation.on'] = 'فعال'; +$labels['vacation.off'] = 'غیرفعال'; +$labels['arialabelfilterform'] = 'خصوصیات فیلترها'; +$labels['ariasummaryfilterslist'] = 'لیست فیلترها'; +$messages['filterdeleted'] = 'فیلتر با موفقیت حذف شد.'; +$messages['filtersaved'] = 'فیلتر با موفقیت ذخیره شد.'; +$messages['deactivated'] = 'فیلتر(ها) با موفقیت غیر فعال شدند'; +$messages['nametoolong'] = 'نام بسیار بلند است.'; +$messages['namereserved'] = 'نام رزرو شده.'; +?> diff --git a/plugins/managesieve/localization/fa_IR.inc b/plugins/managesieve/localization/fa_IR.inc new file mode 100644 index 000000000..65f2d0d0d --- /dev/null +++ b/plugins/managesieve/localization/fa_IR.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'پالایهها'; +$labels['managefilters'] = 'مدیریت پالایههای نامه ورودی'; +$labels['filtername'] = 'نام پالایه'; +$labels['newfilter'] = 'پالایه جدید'; +$labels['filteradd'] = 'افزودن پالایه'; +$labels['filterdel'] = 'حذف پالایه'; +$labels['moveup'] = 'انتقال به بالا'; +$labels['movedown'] = 'انتقال به پایین'; +$labels['filterallof'] = 'مطابقت همه قوانین ذیل'; +$labels['filteranyof'] = 'مطابقت هر کدام از قوانین ذیل'; +$labels['filterany'] = 'همه پیغام ها'; +$labels['filtercontains'] = 'دربرگیرنده'; +$labels['filternotcontains'] = 'بدون'; +$labels['filteris'] = 'برابر است با'; +$labels['filterisnot'] = 'برابر نیست با'; +$labels['filterexists'] = 'وجود دارد'; +$labels['filternotexists'] = 'وجود ندارد'; +$labels['filtermatches'] = 'با عبارت تطابق دارد'; +$labels['filternotmatches'] = 'با عبارت تطابق ندارد'; +$labels['filterregex'] = 'با عبارت عمومی تطابق دارد'; +$labels['filternotregex'] = 'با عبارت عمومی تطابق ندارد'; +$labels['filterunder'] = 'زیر'; +$labels['filterover'] = 'بالا'; +$labels['addrule'] = 'افزودن قانون'; +$labels['delrule'] = 'حذف قانون'; +$labels['messagemoveto'] = 'انتقال پیغام به'; +$labels['messageredirect'] = 'بازگردانی پیغام به'; +$labels['messagecopyto'] = 'رونوشت پیغام به'; +$labels['messagesendcopy'] = 'ارسال رونوشت پیغام به'; +$labels['messagereply'] = 'پاسخ همراه پیغام'; +$labels['messagedelete'] = 'حذف پیغام'; +$labels['messagediscard'] = 'دور ریختن با پیغام'; +$labels['messagekeep'] = 'پیغام را در صندوق ورودی نگه دار'; +$labels['messagesrules'] = 'برای صندوق ورودی:'; +$labels['messagesactions'] = '...انجام اعمال ذیل:'; +$labels['add'] = 'افزودن'; +$labels['del'] = 'حذف'; +$labels['sender'] = 'فرستنده'; +$labels['recipient'] = 'گیرنده'; +$labels['vacationaddr'] = 'نشانی(های) رایانامه دیگر من:'; +$labels['vacationdays'] = 'پیغام ها در چه مواقعی فرستاده شدند (در روزهای):'; +$labels['vacationinterval'] = 'مواقعی که پیغامها ارسال میشوند:'; +$labels['vacationreason'] = 'بدنه پیغام (علت مسافرت):'; +$labels['vacationsubject'] = 'موضوع پیغام:'; +$labels['days'] = 'روزها'; +$labels['seconds'] = 'ثانیهها'; +$labels['rulestop'] = 'توقف قوانین ارزیابی'; +$labels['enable'] = 'فعال/غیرفعالسازی'; +$labels['filterset'] = 'مجموعه پالایهها'; +$labels['filtersets'] = 'مجموعههای پالایهها'; +$labels['filtersetadd'] = 'افزودن مجموعه پالایهها'; +$labels['filtersetdel'] = 'حذف مجموعه پالایههای جاری'; +$labels['filtersetact'] = 'فعال کردن مجموعه پالایههای جاری'; +$labels['filtersetdeact'] = 'غیرفعال کردن مجموعه پالایههای جاری'; +$labels['filterdef'] = 'تعریف پالایه'; +$labels['filtersetname'] = 'نام مجموعه پالایهها'; +$labels['newfilterset'] = 'مجموعه پالایههای جدید'; +$labels['active'] = 'فعال'; +$labels['none'] = 'هیچکدام'; +$labels['fromset'] = 'از مجموعه'; +$labels['fromfile'] = 'از پرونده'; +$labels['filterdisabled'] = 'پالایه غیرفعال شد'; +$labels['countisgreaterthan'] = 'تعداد بیشتر است از'; +$labels['countisgreaterthanequal'] = 'تعداد بیشتر یا مساوی است با'; +$labels['countislessthan'] = 'تعداد کمتر است از'; +$labels['countislessthanequal'] = 'تعداد کمتر یا مساوی است با'; +$labels['countequals'] = 'تعداد مساوی است با'; +$labels['countnotequals'] = 'تعداد برابر نیست با'; +$labels['valueisgreaterthan'] = 'مقدار بیشتر است از'; +$labels['valueisgreaterthanequal'] = 'مقدار بیشتر یا مساوی است با'; +$labels['valueislessthan'] = 'مقدار کمتر است از'; +$labels['valueislessthanequal'] = 'مقدار کمتر یا مساوی است با'; +$labels['valueequals'] = 'مقدار مساوی است با'; +$labels['valuenotequals'] = 'مقدار برابر نیست با'; +$labels['setflags'] = 'انتخاب پرچمها برای پیغام'; +$labels['addflags'] = 'افزودن پرچمها برای پیغام'; +$labels['removeflags'] = 'حذف پرچمها از پیغام'; +$labels['flagread'] = 'خواندهشده'; +$labels['flagdeleted'] = 'حذف شده'; +$labels['flaganswered'] = 'جواب داده شده'; +$labels['flagflagged'] = 'پرچمدار'; +$labels['flagdraft'] = 'پیشنویس'; +$labels['setvariable'] = 'تنظیم متغیر'; +$labels['setvarname'] = 'نام متغییر'; +$labels['setvarvalue'] = 'مقدار متغیر:'; +$labels['setvarmodifiers'] = 'اصلاح:'; +$labels['varlower'] = 'حروف کوچک'; +$labels['varupper'] = 'حروف بزرگ'; +$labels['varlowerfirst'] = 'حرف اول کوچک'; +$labels['varupperfirst'] = 'حرف اول بزرگ'; +$labels['varquotewildcard'] = 'نقل قول کاراکترهای خاص'; +$labels['varlength'] = 'طول'; +$labels['notify'] = 'ارسال تذکر'; +$labels['notifytarget'] = 'مقصد آگاهسازی:'; +$labels['notifymessage'] = 'متن آگاهسازی (تختیاری):'; +$labels['notifyoptions'] = 'گزینههای آگاهسازی (اختیاری):'; +$labels['notifyfrom'] = 'فرستنده آگاهسازی (اختیاری):'; +$labels['notifyimportance'] = 'اهمیت:'; +$labels['notifyimportancelow'] = 'کم'; +$labels['notifyimportancenormal'] = 'معمولی'; +$labels['notifyimportancehigh'] = 'زیاد'; +$labels['notifymethodmailto'] = 'رایانامه'; +$labels['notifymethodtel'] = 'تلفن'; +$labels['notifymethodsms'] = 'پیامک'; +$labels['filtercreate'] = 'ایجاد پالایه'; +$labels['usedata'] = 'استفاده از داده ذیل در پالایه:'; +$labels['nextstep'] = 'مرحله بعدی'; +$labels['...'] = '...'; +$labels['currdate'] = 'تاریخ جاری'; +$labels['datetest'] = 'تاریخ'; +$labels['dateheader'] = 'سربرگ:'; +$labels['year'] = 'سال'; +$labels['month'] = 'ماه'; +$labels['day'] = 'روز'; +$labels['date'] = 'تاریخ (yyyy-mm-dd)'; +$labels['julian'] = 'تاریخ (میلادی)'; +$labels['hour'] = 'ساعت'; +$labels['minute'] = 'دقیقه'; +$labels['second'] = 'ثانیه'; +$labels['time'] = 'ساعت (hh:mm:ss)'; +$labels['iso8601'] = 'تاریخ (ISO8601)'; +$labels['std11'] = 'تاریخ (RFC2822)'; +$labels['zone'] = 'منطقه زمانی'; +$labels['weekday'] = 'روز هفته (0-6)'; +$labels['advancedopts'] = 'گزینههای پیشرفته'; +$labels['body'] = 'بدنه'; +$labels['address'] = 'نشانی'; +$labels['envelope'] = 'پاکت'; +$labels['modifier'] = 'تغییر دهنده:'; +$labels['text'] = 'متن'; +$labels['undecoded'] = 'کد نشده (خام)'; +$labels['contenttype'] = 'نوع محتوا'; +$labels['modtype'] = 'نوع'; +$labels['allparts'] = 'همه'; +$labels['domain'] = 'دامنه'; +$labels['localpart'] = 'قسمت محلی'; +$labels['user'] = 'کاربر'; +$labels['detail'] = 'جزئیات'; +$labels['comparator'] = 'مقایسه:'; +$labels['default'] = 'پیشفرض'; +$labels['octet'] = 'سخت (octet)'; +$labels['asciicasemap'] = 'حساس به حروه کوچک و بزرگ (ascii-casemap)'; +$labels['asciinumeric'] = 'عددی (ascii-numeric)'; +$labels['index'] = 'فهرست:'; +$labels['indexlast'] = 'به عقب'; +$labels['vacation'] = 'مسافرت'; +$labels['vacation.reply'] = 'پاسخ به یغام'; +$labels['vacation.advanced'] = 'تنظیمات پیشرفته'; +$labels['vacation.subject'] = 'موضوع'; +$labels['vacation.body'] = 'بدنه'; +$labels['vacation.start'] = 'شروع تعطیلی'; +$labels['vacation.end'] = 'پایان تعطیلی'; +$labels['vacation.status'] = 'وضعیت'; +$labels['vacation.on'] = 'روشن'; +$labels['vacation.off'] = 'خاموش'; +$labels['vacation.addresses'] = 'نشانیهای دیگر من'; +$labels['vacation.interval'] = 'فاصله پاسخ'; +$labels['vacation.after'] = 'قرار دادن قانون مسافرت بعد از'; +$labels['vacation.saving'] = 'ذخیره دادهها...'; +$labels['vacation.action'] = 'کنش عملکرد ورودی'; +$labels['vacation.keep'] = 'نگه داشتن'; +$labels['vacation.discard'] = 'دور انداختن'; +$labels['vacation.redirect'] = 'بازگردانی به'; +$labels['vacation.copy'] = 'ارسال رونوشت به'; +$labels['arialabelfiltersetactions'] = 'کنشهای مجموعه پالایه'; +$labels['arialabelfilteractions'] = 'کنشهای پالایه'; +$labels['arialabelfilterform'] = 'خصوصیات پالایه'; +$labels['ariasummaryfilterslist'] = 'فهرست پالایهها'; +$labels['ariasummaryfiltersetslist'] = 'فهرست مجموعه پالایهها'; +$labels['filterstitle'] = 'ویرایش پالایههای پست ورودی'; +$labels['vacationtitle'] = 'ویرایش نقش بیرون از دفتر'; +$messages['filterunknownerror'] = 'خطای سرور نامعلوم.'; +$messages['filterconnerror'] = 'ناتوانی در اتصال به سرور.'; +$messages['filterdeleteerror'] = 'ناتوانی در حذف پالایه. خطای سرور رخ داد.'; +$messages['filterdeleted'] = 'پالایه با کامیابی حذف شد.'; +$messages['filtersaved'] = 'پالایه با کامیابی ذخیره شد.'; +$messages['filtersaveerror'] = 'ناتوانی در ذخیره فیلتر. خطای سرور رخ داد.'; +$messages['filterdeleteconfirm'] = 'آیا مطمئن به حذف پالایه انتخاب شده هستید؟'; +$messages['ruledeleteconfirm'] = 'آیا مطمئن هستید که می خواهید قانون انتخاب شده را حذف کنید؟'; +$messages['actiondeleteconfirm'] = 'آیا مطمئن هستید که می خواهید عمل انتخاب شده را حذف کنید.'; +$messages['forbiddenchars'] = 'حروف ممنوعه در فیلد.'; +$messages['cannotbeempty'] = 'فیلد نمی تواند خالی باشد.'; +$messages['ruleexist'] = 'پالایه با این نام مشخص وجود دارد.'; +$messages['setactivateerror'] = 'ناتوان در فعال کردن مجموعه پالایهها انتخاب شده. خطای سرور رخ داد.'; +$messages['setdeactivateerror'] = 'ناتوان در غیرفعال کردن مجموعه پالایهها انتخاب شده. خطای سرور رخ داد.'; +$messages['setdeleteerror'] = 'ناتوان در حذف مجموعه پالایهها انتخاب شده. خطای سرور رخ داد.'; +$messages['setactivated'] = 'مجموعه پالایهها با کامیابی فعال شد.'; +$messages['setdeactivated'] = 'مجموعه پالایهها با کامیابی غیرفعال شد.'; +$messages['setdeleted'] = 'مجموعه پالایهها با کامیابی حذف شد.'; +$messages['setdeleteconfirm'] = 'آیا مطمئن هستید که میخواهید مجموعه پالایهها انتخاب شده را حذف کنید؟'; +$messages['setcreateerror'] = 'ناتوانی در ایجاد مجموعه پالایهها. خطای سرور رخ داد.'; +$messages['setcreated'] = 'مجموعه پالایهها با کامیابی ایجاد شد.'; +$messages['activateerror'] = 'ناتوانی در فعال کردن پالایه(های) انتخاب شده. خطای سرور رخ داد.'; +$messages['deactivateerror'] = 'ناتوانی در غیرفعال کردن پالایه(های) انتخاب شده. خطای سرور رخ داد.'; +$messages['deactivated'] = 'پالایه(ها) با کامیابی فعال شدند.'; +$messages['activated'] = 'پالایه(ها) با کامیابی غیرفعال شدند.'; +$messages['moved'] = 'پالایه با کامیابی منتقل شد.'; +$messages['moveerror'] = 'ناتوانی در انتقال پالایه انتخاب شده. خطای سرور رخ داد.'; +$messages['nametoolong'] = 'نام خیلی بلند.'; +$messages['namereserved'] = 'نام رزرو شده.'; +$messages['setexist'] = 'مجموعه در حال حاضر موجود است.'; +$messages['nodata'] = 'حداقل باید یک موقعیت باید انتخاب شود.'; +$messages['invaliddateformat'] = 'قالب تاریخ اشتباه'; +$messages['saveerror'] = 'ناتوانی در ذخیره اطلاعات. خطای سرور رخ داد.'; +$messages['vacationsaved'] = 'اطلاعات مسافرت با کامیابی ذخیره شد.'; +$messages['emptyvacationbody'] = 'متن پیغام تعطیلی لازم است!'; +?> diff --git a/plugins/managesieve/localization/fi_FI.inc b/plugins/managesieve/localization/fi_FI.inc new file mode 100644 index 000000000..ba10b1f09 --- /dev/null +++ b/plugins/managesieve/localization/fi_FI.inc @@ -0,0 +1,183 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Suodattimet'; +$labels['managefilters'] = 'Hallitse saapuvan sähköpostin suodattimia'; +$labels['filtername'] = 'Suodattimen nimi'; +$labels['newfilter'] = 'Uusi suodatin'; +$labels['filteradd'] = 'Lisää suodatin'; +$labels['filterdel'] = 'Poista suodatin'; +$labels['moveup'] = 'Siirrä ylös'; +$labels['movedown'] = 'Siirrä alas'; +$labels['filterallof'] = 'Täsmää kaikkiin seuraaviin sääntöihin'; +$labels['filteranyof'] = 'Täsmää mihin tahansa seuraavista säännöistä'; +$labels['filterany'] = 'Kaikki viestit'; +$labels['filtercontains'] = 'Sisältää'; +$labels['filternotcontains'] = 'Ei sisällä'; +$labels['filteris'] = 'on samanlainen kuin'; +$labels['filterisnot'] = 'ei ole samanlainen kuin'; +$labels['filterexists'] = 'on olemassa'; +$labels['filternotexists'] = 'ei ole olemassa'; +$labels['filtermatches'] = 'vastaa lauseketta'; +$labels['filternotmatches'] = 'ei vastaa lauseketta'; +$labels['filterregex'] = 'vastaa säännöllistä lauseketta'; +$labels['filternotregex'] = 'ei vastaa säännöllistä lauseketta'; +$labels['filterunder'] = 'alle'; +$labels['filterover'] = 'yli'; +$labels['addrule'] = 'Lisää sääntö'; +$labels['delrule'] = 'Poista sääntö'; +$labels['messagemoveto'] = 'Siirrä viesti'; +$labels['messageredirect'] = 'Lähetä viesti edelleen'; +$labels['messagecopyto'] = 'Kopioi viesti'; +$labels['messagesendcopy'] = 'Lähetä kopio viestistä'; +$labels['messagereply'] = 'Vastaa viestillä'; +$labels['messagedelete'] = 'Poista viesti'; +$labels['messagediscard'] = 'Hylkää viestillä'; +$labels['messagekeep'] = 'Säilytä viesti saapuneissa'; +$labels['messagesrules'] = 'Saapuville viesteille:'; +$labels['messagesactions'] = '...suorita seuraavat toiminnot:'; +$labels['add'] = 'Lisää'; +$labels['del'] = 'Poista'; +$labels['sender'] = 'Lähettäjä'; +$labels['recipient'] = 'Vastaanottaja'; +$labels['vacationaddr'] = 'Muut sähköpostiosoitteeni:'; +$labels['vacationreason'] = 'Viestin runko (loman syy):'; +$labels['vacationsubject'] = 'Viestin aihe:'; +$labels['days'] = 'päivää'; +$labels['seconds'] = 'sekuntia'; +$labels['rulestop'] = 'Lopeta sääntöjen arviointi'; +$labels['enable'] = 'Ota käyttöön/poista käytöstä'; +$labels['filterset'] = 'Suodattimien asetus'; +$labels['filtersets'] = 'Suodattimen asetus'; +$labels['filtersetadd'] = 'Lisää suodatinasetus'; +$labels['filtersetdel'] = 'Poista nykyiset suodatinasetukset'; +$labels['filtersetact'] = 'Aktivoi nykyinen suodattimien asetus'; +$labels['filtersetdeact'] = 'Poista käytöstä nykyinen suodattimien asetus'; +$labels['filterdef'] = 'Suodattimen määrittely'; +$labels['filtersetname'] = 'Suodattimien asetuksen nimi'; +$labels['active'] = 'aktiivinen'; +$labels['none'] = 'Ei mikään'; +$labels['fromset'] = 'sarjasta'; +$labels['fromfile'] = 'tiedostosta'; +$labels['filterdisabled'] = 'Suodatin poistettu käytöstä'; +$labels['countisgreaterthan'] = 'määrä on suurempi kuin'; +$labels['countisgreaterthanequal'] = 'määrä on suurempi tai yhtä suuri kuin'; +$labels['countislessthan'] = 'määrä on vähemmän kuin'; +$labels['countislessthanequal'] = 'määrä on vähemmän tai yhtä suuri kuin'; +$labels['countequals'] = 'määrä on yhtä suuri kuin'; +$labels['countnotequals'] = 'määrä ei ole yhtä suuri kuin'; +$labels['valueisgreaterthan'] = 'arvo on suurempi kuin'; +$labels['valueisgreaterthanequal'] = 'arvo on suurempi kuin tai yhtä suuri kuin'; +$labels['valueislessthan'] = 'arvo on vähemmän kuin'; +$labels['valueislessthanequal'] = 'määrä on vähemmän tai yhtä suuri kuin'; +$labels['valueequals'] = 'arvo on yhtä suuri kuin'; +$labels['valuenotequals'] = 'arvo ei ole yhtä suuri kuin'; +$labels['setflags'] = 'Aseta liput viestiin'; +$labels['addflags'] = 'Lisää liput viestiin'; +$labels['removeflags'] = 'Poista liput viestistä'; +$labels['flagread'] = 'Lue'; +$labels['flagdeleted'] = 'Poistettu'; +$labels['flaganswered'] = 'Vastattu'; +$labels['flagflagged'] = 'Liputettu'; +$labels['flagdraft'] = 'Luonnos'; +$labels['setvariable'] = 'Aseta muuttuja'; +$labels['setvarname'] = 'Muuttujan nimi:'; +$labels['setvarvalue'] = 'Muuttujan arvo:'; +$labels['setvarmodifiers'] = 'Muuntimet:'; +$labels['varlower'] = 'pienellä kirjoitettu'; +$labels['varupper'] = 'isolla kirjoitettu'; +$labels['varlowerfirst'] = 'ensimmäinen merkki pienellä kirjoitettuna'; +$labels['varupperfirst'] = 'ensimmäinen merkki isolla kirjoitettuna'; +$labels['varquotewildcard'] = 'lainaa erikoismerkit'; +$labels['varlength'] = 'pituus'; +$labels['notify'] = 'Lähetä ilmoitus'; +$labels['notifytarget'] = 'Ilmoituksen kohde:'; +$labels['notifymessage'] = 'Ilmoituksen viesti (valinnainen):'; +$labels['notifyoptions'] = 'Ilmoituksen valinnat (valinnainen)'; +$labels['notifyfrom'] = 'Ilmoituksen lähettäjä (valinnainen):'; +$labels['notifyimportance'] = 'Tärkeysaste:'; +$labels['notifyimportancelow'] = 'matala'; +$labels['notifyimportancenormal'] = 'normaali'; +$labels['notifyimportancehigh'] = 'korkea'; +$labels['notifymethodmailto'] = 'Sähköposti'; +$labels['notifymethodtel'] = 'Puhelin'; +$labels['notifymethodsms'] = 'Tekstiviesti'; +$labels['filtercreate'] = 'Luo suodatin'; +$labels['usedata'] = 'Käytä seuraavaa dataa suodattimessa:'; +$labels['nextstep'] = 'Seuraava vaihe'; +$labels['...'] = '...'; +$labels['currdate'] = 'Nykyinen päivämäärä'; +$labels['datetest'] = 'Päivämäärä'; +$labels['dateheader'] = 'otsikko:'; +$labels['year'] = 'vuosi'; +$labels['month'] = 'kuukausi'; +$labels['day'] = 'päivä'; +$labels['date'] = 'päivämäärä (vvvv-kk-pp)'; +$labels['julian'] = 'päivämäärä (juliaaninen)'; +$labels['hour'] = 'tunti'; +$labels['minute'] = 'minuutti'; +$labels['second'] = 'sekunti'; +$labels['time'] = 'aika (hh:mm:ss)'; +$labels['iso8601'] = 'päivämäärä (ISO8601)'; +$labels['std11'] = 'päivämäärä (RFC2882)'; +$labels['zone'] = 'aikavyöhyke'; +$labels['weekday'] = 'viikonpäivä (0-6)'; +$labels['advancedopts'] = 'Lisävalinnat'; +$labels['body'] = 'Runko'; +$labels['address'] = 'osoite'; +$labels['envelope'] = 'kirjekuori'; +$labels['modifier'] = 'muuntaja:'; +$labels['text'] = 'teksti'; +$labels['undecoded'] = 'dekoodaamaton (raaka)'; +$labels['contenttype'] = 'sisällön tyyppi'; +$labels['modtype'] = 'tyyppi:'; +$labels['allparts'] = 'kaikki'; +$labels['domain'] = 'domain'; +$labels['localpart'] = 'paikallinen osa'; +$labels['user'] = 'käyttäjä'; +$labels['detail'] = 'yksityiskohta'; +$labels['comparator'] = 'vertailija:'; +$labels['default'] = 'oletus'; +$labels['vacation'] = 'Loma'; +$labels['vacation.reply'] = 'Vastausviesti'; +$labels['vacation.advanced'] = 'Lisäasetukset'; +$labels['vacation.subject'] = 'Aihe'; +$labels['vacation.body'] = 'Sisältö'; +$labels['vacation.status'] = 'Tila'; +$labels['vacation.on'] = 'Päällä'; +$labels['vacation.off'] = 'Pois'; +$labels['vacation.saving'] = 'Tallennetaan tietoja...'; +$labels['vacation.action'] = 'Toiminto saapuvalle viestille'; +$labels['vacation.keep'] = 'Säilytä'; +$labels['vacation.discard'] = 'Hylkää'; +$labels['vacation.redirect'] = 'Ohjaa uudelleen osoitteeseen'; +$labels['vacation.copy'] = 'Lähetä kopio osoitteeseen'; +$messages['filterunknownerror'] = 'Tuntematon palvelinvirhe.'; +$messages['filterconnerror'] = 'Yhteys palvelimeen epäonnistui.'; +$messages['filterdeleted'] = 'Suodatin poistettu onnistuneesti.'; +$messages['filtersaved'] = 'Suodatin tallennettu onnistuneesti.'; +$messages['filtersaveerror'] = 'Suodattimen tallennus epäonnistui palvelinvirheen vuoksi.'; +$messages['filterdeleteconfirm'] = 'Haluatko varmasti poistaa valitun suodattimen?'; +$messages['forbiddenchars'] = 'Virheellisiä merkkejä kentässä.'; +$messages['cannotbeempty'] = 'Kenttä ei voi olla tyhjä.'; +$messages['ruleexist'] = 'Suodatin samalla nimellä on jo olemassa.'; +$messages['moved'] = 'Suodatin siirretty onnistuneesti.'; +$messages['nametoolong'] = 'Nimi on liian pitkä.'; +$messages['saveerror'] = 'Tietojen tallennus epäonnistui palvelinvirheen vuoksi.'; +$messages['vacationsaved'] = 'Lomatiedot tallennettu onnistuneesti.'; +$messages['emptyvacationbody'] = 'Lomaviestin sisältö vaaditaan!'; +?> diff --git a/plugins/managesieve/localization/fr_FR.inc b/plugins/managesieve/localization/fr_FR.inc new file mode 100644 index 000000000..a0a38b089 --- /dev/null +++ b/plugins/managesieve/localization/fr_FR.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtres'; +$labels['managefilters'] = 'Gérer les filtres de courriels entrants'; +$labels['filtername'] = 'Nom du filtre'; +$labels['newfilter'] = 'Nouveau filtre'; +$labels['filteradd'] = 'Ajouter un filtre'; +$labels['filterdel'] = 'Supprimer le filtre'; +$labels['moveup'] = 'Monter'; +$labels['movedown'] = 'Descendre'; +$labels['filterallof'] = 'correspondant à toutes les règles suivantes'; +$labels['filteranyof'] = 'valident au moins une des conditions suivantes'; +$labels['filterany'] = 'tous les courriels'; +$labels['filtercontains'] = 'contient'; +$labels['filternotcontains'] = 'ne contient pas'; +$labels['filteris'] = 'est égal à'; +$labels['filterisnot'] = 'est différent de'; +$labels['filterexists'] = 'existe'; +$labels['filternotexists'] = 'n\'existe pas'; +$labels['filtermatches'] = 'correspond à l\'expression'; +$labels['filternotmatches'] = 'ne correspond pas à l\'expression'; +$labels['filterregex'] = 'correspond à l\'expression rationnelle'; +$labels['filternotregex'] = 'ne correspond pas à l\'expression rationnelle'; +$labels['filterunder'] = 'plus petit que'; +$labels['filterover'] = 'plus grand que'; +$labels['addrule'] = 'Ajouter une règle'; +$labels['delrule'] = 'Supprimer une règle'; +$labels['messagemoveto'] = 'Déplacer le courriel vers'; +$labels['messageredirect'] = 'Rediriger le courriel vers'; +$labels['messagecopyto'] = 'Copier le courriel vers'; +$labels['messagesendcopy'] = 'Envoyer une copie du courriel à'; +$labels['messagereply'] = 'Répondre avec le courriel'; +$labels['messagedelete'] = 'Supprimer le courriel'; +$labels['messagediscard'] = 'Rejeter avec le courriel'; +$labels['messagekeep'] = 'Conserver le courriel dans la boîte de réception'; +$labels['messagesrules'] = 'Pour les courriels entrants :'; +$labels['messagesactions'] = '...exécuter les actions suivantes :'; +$labels['add'] = 'Ajouter'; +$labels['del'] = 'Supprimer'; +$labels['sender'] = 'Expéditeur'; +$labels['recipient'] = 'Destinataire'; +$labels['vacationaddr'] = 'Mes adresses courriel additionnelles :'; +$labels['vacationdays'] = 'Fréquence d\'envoi des courriels (en jours) :'; +$labels['vacationinterval'] = 'Fréquence d\'envoi des courriels :'; +$labels['vacationreason'] = 'Corps du courriel (raison de l\'absence) :'; +$labels['vacationsubject'] = 'Objet du courriel :'; +$labels['days'] = 'jours'; +$labels['seconds'] = 'secondes'; +$labels['rulestop'] = 'Arrêter l\'évaluation des règles'; +$labels['enable'] = 'Activer/désactiver'; +$labels['filterset'] = 'Jeu de filtres'; +$labels['filtersets'] = 'Jeux de filtres'; +$labels['filtersetadd'] = 'Ajouter un jeu de filtres'; +$labels['filtersetdel'] = 'Supprimer le jeu de filtres actuel'; +$labels['filtersetact'] = 'Activer le jeu de filtres actuel'; +$labels['filtersetdeact'] = 'Désactiver le jeu de filtres actuel'; +$labels['filterdef'] = 'Définition du filtre'; +$labels['filtersetname'] = 'Nom du jeu de filtres'; +$labels['newfilterset'] = 'Nouveau jeu de filtres'; +$labels['active'] = 'activer'; +$labels['none'] = 'aucun'; +$labels['fromset'] = 'à partir du jeu'; +$labels['fromfile'] = 'à partir du fichier'; +$labels['filterdisabled'] = 'Filtre désactivé'; +$labels['countisgreaterthan'] = 'total supérieur à'; +$labels['countisgreaterthanequal'] = 'total supérieur ou égal à'; +$labels['countislessthan'] = 'total inférieur à'; +$labels['countislessthanequal'] = 'total inférieur ou égal à'; +$labels['countequals'] = 'total égal à'; +$labels['countnotequals'] = 'le nombre n\'est pas égal à'; +$labels['valueisgreaterthan'] = 'valeur supérieure à'; +$labels['valueisgreaterthanequal'] = 'valeur supérieure ou égale à'; +$labels['valueislessthan'] = 'valeur inférieure à'; +$labels['valueislessthanequal'] = 'valeur inférieure ou égale à'; +$labels['valueequals'] = 'valeur égale à'; +$labels['valuenotequals'] = 'la valeur n\'est pas égale à'; +$labels['setflags'] = 'Définir les drapeaux pour le courriel'; +$labels['addflags'] = 'Ajouter les drapeaux au courriel'; +$labels['removeflags'] = 'Supprimer les drapeaux du courriel'; +$labels['flagread'] = 'Lu'; +$labels['flagdeleted'] = 'Supprimé'; +$labels['flaganswered'] = 'Réponse envoyée'; +$labels['flagflagged'] = 'Signalé'; +$labels['flagdraft'] = 'Brouillon'; +$labels['setvariable'] = 'Définir une variable'; +$labels['setvarname'] = 'Nom de la variable :'; +$labels['setvarvalue'] = 'Valeur de la variable :'; +$labels['setvarmodifiers'] = 'Modificateurs :'; +$labels['varlower'] = 'minuscule'; +$labels['varupper'] = 'majuscule'; +$labels['varlowerfirst'] = 'premier caractère en minuscule'; +$labels['varupperfirst'] = 'premier caractère en majuscule'; +$labels['varquotewildcard'] = 'citer les caractères spéciaux'; +$labels['varlength'] = 'longueur'; +$labels['notify'] = 'Envoyer la notification'; +$labels['notifytarget'] = 'Cible de la notification :'; +$labels['notifymessage'] = 'Courriel de notification (optionnel) :'; +$labels['notifyoptions'] = 'Options de notification (optionnel) :'; +$labels['notifyfrom'] = 'Expéditeur de la notification (optionnel) :'; +$labels['notifyimportance'] = 'Importance :'; +$labels['notifyimportancelow'] = 'faible'; +$labels['notifyimportancenormal'] = 'normale'; +$labels['notifyimportancehigh'] = 'haute'; +$labels['notifymethodmailto'] = 'Courriel'; +$labels['notifymethodtel'] = 'Téléphone'; +$labels['notifymethodsms'] = 'Texto'; +$labels['filtercreate'] = 'Créer un filtre'; +$labels['usedata'] = 'Utiliser les données suivantes dans le filtre :'; +$labels['nextstep'] = 'Étape suivante'; +$labels['...'] = '...'; +$labels['currdate'] = 'Date actuelle'; +$labels['datetest'] = 'Date'; +$labels['dateheader'] = 'en-tête :'; +$labels['year'] = 'année'; +$labels['month'] = 'mois'; +$labels['day'] = 'jour'; +$labels['date'] = 'date (aaaa-mm-jj)'; +$labels['julian'] = 'date (julien)'; +$labels['hour'] = 'heure'; +$labels['minute'] = 'minute'; +$labels['second'] = 'seconde'; +$labels['time'] = 'heure (hh:mm:ss)'; +$labels['iso8601'] = 'date (ISO8601)'; +$labels['std11'] = 'date (RFC2822)'; +$labels['zone'] = 'fuseau horaire'; +$labels['weekday'] = 'jour de la semaine (0-6)'; +$labels['advancedopts'] = 'Options avancées'; +$labels['body'] = 'Corps'; +$labels['address'] = 'adresse'; +$labels['envelope'] = 'enveloppe'; +$labels['modifier'] = 'modificateur :'; +$labels['text'] = 'texte'; +$labels['undecoded'] = 'non décodé (brut)'; +$labels['contenttype'] = 'type de contenu'; +$labels['modtype'] = 'type :'; +$labels['allparts'] = 'tout'; +$labels['domain'] = 'domaine'; +$labels['localpart'] = 'partie locale'; +$labels['user'] = 'utilisateur'; +$labels['detail'] = 'détail'; +$labels['comparator'] = 'comparateur :'; +$labels['default'] = 'par défaut'; +$labels['octet'] = 'strict (octet)'; +$labels['asciicasemap'] = 'insensible à la casse (ascii-casemap)'; +$labels['asciinumeric'] = 'numérique (ascii-numeric)'; +$labels['index'] = 'index :'; +$labels['indexlast'] = 'à l\'envers'; +$labels['vacation'] = 'Vacances'; +$labels['vacation.reply'] = 'Courriel de réponse'; +$labels['vacation.advanced'] = 'Paramètres avancés'; +$labels['vacation.subject'] = 'Objet'; +$labels['vacation.body'] = 'Corps'; +$labels['vacation.start'] = 'Début de vacances'; +$labels['vacation.end'] = 'Fin de vacances'; +$labels['vacation.status'] = 'État'; +$labels['vacation.on'] = 'Arrêt'; +$labels['vacation.off'] = 'Marche'; +$labels['vacation.addresses'] = 'Mes adresses supplémentaires'; +$labels['vacation.interval'] = 'Plage de réponse'; +$labels['vacation.after'] = 'Mettre en place la règle de vacances après'; +$labels['vacation.saving'] = 'Enregistrement des données...'; +$labels['vacation.action'] = 'Action pour courriel entrant'; +$labels['vacation.keep'] = 'Garder'; +$labels['vacation.discard'] = 'Rejeter'; +$labels['vacation.redirect'] = 'Réacheminer à'; +$labels['vacation.copy'] = 'Envoyer une copie à'; +$labels['arialabelfiltersetactions'] = 'Actions des jeux de filtrage'; +$labels['arialabelfilteractions'] = 'Actions de filtrage'; +$labels['arialabelfilterform'] = 'Propriété du filtrage'; +$labels['ariasummaryfilterslist'] = 'Liste des filtres'; +$labels['ariasummaryfiltersetslist'] = 'Liste des jeux de filtrage'; +$labels['filterstitle'] = 'Modifier les filtres de courriels entrants'; +$labels['vacationtitle'] = 'Modifier la règle d\'absence du bureau'; +$messages['filterunknownerror'] = 'Erreur de serveur inconnue'; +$messages['filterconnerror'] = 'Connexion au serveur impossible.'; +$messages['filterdeleteerror'] = 'Impossible de supprimer le filtre. Une erreur de serveur est survenue.'; +$messages['filterdeleted'] = 'Le filtre a été supprimé avec succès.'; +$messages['filtersaved'] = 'Le filtre a été enregistré avec succès.'; +$messages['filtersaveerror'] = 'Impossible d\'enregistrer le filtre. Une erreur de serveur est survenue.'; +$messages['filterdeleteconfirm'] = 'Voulez-vous vraiment supprimer le filtre sélectionné ?'; +$messages['ruledeleteconfirm'] = 'Voulez-vous vraiment supprimer la règle sélectionnée ?'; +$messages['actiondeleteconfirm'] = 'Voulez-vous vraiment supprimer l\'action sélectionnée ?'; +$messages['forbiddenchars'] = 'Caractères interdits dans le champ'; +$messages['cannotbeempty'] = 'Le champ ne peut pas être vide'; +$messages['ruleexist'] = 'Un filtre existe déjà avec ce nom.'; +$messages['setactivateerror'] = 'Impossible d\'activer le jeu de filtres sélectionné. Une erreur de serveur est survenue.'; +$messages['setdeactivateerror'] = 'Impossible de désactiver le jeu de filtres sélectionné. Une erreur de serveur est survenue.'; +$messages['setdeleteerror'] = 'Impossible de supprimer le jeu de filtres sélectionné. Une erreur de serveur est survenue.'; +$messages['setactivated'] = 'Le jeu de filtres a été activé avec succès.'; +$messages['setdeactivated'] = 'Le jeu de filtres a été désactivé avec succès.'; +$messages['setdeleted'] = 'Le jeu de filtres a été supprimé avec succès.'; +$messages['setdeleteconfirm'] = 'Voulez vous vraiment supprimer le jeu de filtres sélectionné ?'; +$messages['setcreateerror'] = 'Impossible de créer un jeu de filtres. Une erreur de serveur est survenue.'; +$messages['setcreated'] = 'Le jeu de filtres a été créé avec succès.'; +$messages['activateerror'] = 'Impossible d\'activer le/les filtre(s) sélectionné(s). Une erreur de serveur est survenue.'; +$messages['deactivateerror'] = 'Impossible de désactiver le/les filtre(s) sélectionné(s). Une erreur de serveur est survenue.'; +$messages['deactivated'] = 'Filtre(s) désactivé(s) avec succès.'; +$messages['activated'] = 'Filtre(s) activé(s) avec succès.'; +$messages['moved'] = 'Filtre déplacé avec succès.'; +$messages['moveerror'] = 'Impossible de déplacer le filtre sélectionné. Une erreur de serveur est survenue.'; +$messages['nametoolong'] = 'Nom trop long.'; +$messages['namereserved'] = 'Nom réservé.'; +$messages['setexist'] = 'Le jeu existe déjà.'; +$messages['nodata'] = 'Au moins un élément doit être sélectionné !'; +$messages['invaliddateformat'] = 'Format de date ou d\'une partie de la date invalide'; +$messages['saveerror'] = 'Impossible d\'enregistrer les données. Une erreur du serveur est survenue.'; +$messages['vacationsaved'] = 'Les données de vacances ont été enregistrées avec succès.'; +$messages['emptyvacationbody'] = 'Le corps du courriel de vacances est exigé !'; +?> diff --git a/plugins/managesieve/localization/fy_NL.inc b/plugins/managesieve/localization/fy_NL.inc new file mode 100644 index 000000000..d507cbf25 --- /dev/null +++ b/plugins/managesieve/localization/fy_NL.inc @@ -0,0 +1,39 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['none'] = 'gjin'; +$labels['notifyimportance'] = 'Prioriteit:'; +$labels['notifymethodmailto'] = 'E-mail'; +$labels['notifymethodsms'] = 'SMS'; +$labels['...'] = '...'; +$labels['datetest'] = 'Date'; +$labels['year'] = 'jier'; +$labels['month'] = 'moanne'; +$labels['day'] = 'dei'; +$labels['hour'] = 'oerre'; +$labels['minute'] = 'minút'; +$labels['second'] = 'sekonde'; +$labels['time'] = 'tiid (oo:mm:ss)'; +$labels['iso8601'] = 'datum (ISO8601)'; +$labels['std11'] = 'datum (RFC2822)'; +$labels['zone'] = 'tiidsône'; +$labels['text'] = 'tekst'; +$labels['modtype'] = 'type:'; +$labels['domain'] = 'domein'; +$labels['user'] = 'brûker'; +$labels['vacation.status'] = 'Status'; +?> diff --git a/plugins/managesieve/localization/gl_ES.inc b/plugins/managesieve/localization/gl_ES.inc new file mode 100644 index 000000000..cbe45ca28 --- /dev/null +++ b/plugins/managesieve/localization/gl_ES.inc @@ -0,0 +1,206 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtros'; +$labels['managefilters'] = 'Xestionar os filtros de correo entrante'; +$labels['filtername'] = 'Nome do filtro'; +$labels['newfilter'] = 'Novo filtro'; +$labels['filteradd'] = 'Engadir filtro'; +$labels['filterdel'] = 'Eliminar filtro'; +$labels['moveup'] = 'Mover arriba'; +$labels['movedown'] = 'Mover abaixo'; +$labels['filterallof'] = 'coincidir con todas as regras seguintes'; +$labels['filteranyof'] = 'coincidir con algunha das regras seguintes'; +$labels['filterany'] = 'todas as mensaxes'; +$labels['filtercontains'] = 'contén'; +$labels['filternotcontains'] = 'non contén'; +$labels['filteris'] = 'é igual a'; +$labels['filterisnot'] = 'non é igual a'; +$labels['filterexists'] = 'existe'; +$labels['filternotexists'] = 'non existe'; +$labels['filtermatches'] = 'casa coa expresión'; +$labels['filternotmatches'] = 'non casa coa expresión'; +$labels['filterregex'] = 'casa coa expresión regular'; +$labels['filternotregex'] = 'non casa coa expresión regular'; +$labels['filterunder'] = 'baixo'; +$labels['filterover'] = 'sobre'; +$labels['addrule'] = 'Engadir regra'; +$labels['delrule'] = 'Eliminar regra'; +$labels['messagemoveto'] = 'Mover a mensaxe a'; +$labels['messageredirect'] = 'Redirixir a mensaxe a'; +$labels['messagecopyto'] = 'Copiar a mensaxe a'; +$labels['messagesendcopy'] = 'Enviar copia da mensaxe a'; +$labels['messagereply'] = 'Respostar con unha mensaxe'; +$labels['messagedelete'] = 'Eliminar a mensaxe'; +$labels['messagediscard'] = 'Descartar con unha mensaxe'; +$labels['messagekeep'] = 'Manter mensaxe na caixa de entrada'; +$labels['messagesrules'] = 'Para o correo entrante:'; +$labels['messagesactions'] = '... executar as seguintes accións:'; +$labels['add'] = 'Engadir'; +$labels['del'] = 'Eliminar'; +$labels['sender'] = 'Remite'; +$labels['recipient'] = 'Persoa destinataria'; +$labels['vacationaddr'] = 'O(s) meu(s) outro (s) enderezo(s) de correo:'; +$labels['vacationdays'] = 'Cada canto enviar mensaxes (en días):'; +$labels['vacationinterval'] = 'Con que frecuencia se van enviar mensaxes:'; +$labels['vacationreason'] = 'Corpo da mensaxe (por vacacións):'; +$labels['vacationsubject'] = 'Asunto da mensaxe:'; +$labels['days'] = 'días'; +$labels['seconds'] = 'segundos'; +$labels['rulestop'] = 'Parar de avaliar regras'; +$labels['enable'] = 'Activar/Desactivar'; +$labels['filterset'] = 'Conxunto de filtros'; +$labels['filtersets'] = 'Conxunto de filtros'; +$labels['filtersetadd'] = 'Engadir un conxunto de filtros'; +$labels['filtersetdel'] = 'Eliminar o conxunto de filtros actual'; +$labels['filtersetact'] = 'Activar o conxunto de filtros actual'; +$labels['filtersetdeact'] = 'Desactivar o conxunto de filtros actual'; +$labels['filterdef'] = 'Definición de filtros'; +$labels['filtersetname'] = 'Nome do conxunto de filtros'; +$labels['newfilterset'] = 'Novo conxunto de filtros'; +$labels['active'] = 'activo'; +$labels['none'] = 'ningún'; +$labels['fromset'] = 'de conxunto'; +$labels['fromfile'] = 'de arquivo'; +$labels['filterdisabled'] = 'Filtro desactivado'; +$labels['countisgreaterthan'] = 'a conta é maior que'; +$labels['countisgreaterthanequal'] = 'a conta é maior ou igual a'; +$labels['countislessthan'] = 'a conta é menor que'; +$labels['countislessthanequal'] = 'a conta é menor ou igual a'; +$labels['countequals'] = 'a conta é igual a'; +$labels['countnotequals'] = 'a conta non é igual a'; +$labels['valueisgreaterthan'] = 'o valor é meirande que '; +$labels['valueisgreaterthanequal'] = 'o valor é maior ou igual a'; +$labels['valueislessthan'] = 'o valor é menor que'; +$labels['valueislessthanequal'] = 'o valor é menor ou igual a'; +$labels['valueequals'] = 'o valor é igual a'; +$labels['valuenotequals'] = 'o valor non é igual a'; +$labels['setflags'] = 'Marcar a mensaxe'; +$labels['addflags'] = 'Engadir marcas á mensaxe'; +$labels['removeflags'] = 'Desmarcar as mensaxes'; +$labels['flagread'] = 'Lidas'; +$labels['flagdeleted'] = 'Eliminadas'; +$labels['flaganswered'] = 'Respostadas'; +$labels['flagflagged'] = 'Marcadas'; +$labels['flagdraft'] = 'Borrador'; +$labels['setvariable'] = 'Estabelecer variábel'; +$labels['setvarname'] = 'Nome da variábel:'; +$labels['setvarvalue'] = 'Valor da variábel:'; +$labels['setvarmodifiers'] = 'Modificadores:'; +$labels['varlower'] = 'minúscula'; +$labels['varupper'] = 'maiúscula'; +$labels['varlowerfirst'] = 'primeira letra minúscula'; +$labels['varupperfirst'] = 'primeira letra maiúscula'; +$labels['varquotewildcard'] = 'poñer entre aspas caracteres especiais'; +$labels['varlength'] = 'lonxitude'; +$labels['notify'] = 'Enviar notificación'; +$labels['notifyimportance'] = 'Importancia:'; +$labels['notifyimportancelow'] = 'baixa'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'alta'; +$labels['notifymethodmailto'] = 'Correo electrónico'; +$labels['notifymethodtel'] = 'Teléfono'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Crear filtro'; +$labels['usedata'] = 'Usar os seguintes datos no filtro:'; +$labels['nextstep'] = 'Seguinte paso'; +$labels['...'] = '...'; +$labels['currdate'] = 'Data actual'; +$labels['datetest'] = 'Data'; +$labels['dateheader'] = 'cabeceira:'; +$labels['year'] = 'ano'; +$labels['month'] = 'mes'; +$labels['day'] = 'día'; +$labels['date'] = 'data (aaaa-mm-dd)'; +$labels['julian'] = 'data (xuliano)'; +$labels['hour'] = 'hora'; +$labels['minute'] = 'minuto'; +$labels['second'] = 'segundo'; +$labels['time'] = 'tempo (hh:mm:ss)'; +$labels['iso8601'] = 'data (ISO8601)'; +$labels['std11'] = 'data (RFC2822)'; +$labels['zone'] = 'fuso-horario'; +$labels['weekday'] = 'día da semana (0-6)'; +$labels['advancedopts'] = 'Opcións avanzadas'; +$labels['body'] = 'Corpo'; +$labels['address'] = 'enderezo'; +$labels['envelope'] = 'sobre'; +$labels['modifier'] = 'modificador:'; +$labels['text'] = 'texto'; +$labels['undecoded'] = 'sen codificar (en bruto)'; +$labels['contenttype'] = 'tipo de contido'; +$labels['modtype'] = 'tipo:'; +$labels['allparts'] = 'todos'; +$labels['domain'] = 'dominio'; +$labels['localpart'] = 'parte local'; +$labels['user'] = 'utente'; +$labels['detail'] = 'detalle'; +$labels['comparator'] = 'comparador:'; +$labels['default'] = 'predeterminado'; +$labels['octet'] = 'estricto (octeto)'; +$labels['asciicasemap'] = 'non sensíbel a maiúsculas/minúsculas (ascii-casemap)'; +$labels['asciinumeric'] = 'numérico (ascii-numerico)'; +$labels['index'] = 'índice:'; +$labels['indexlast'] = 'atrás'; +$labels['vacation.reply'] = 'Respostar á mensaxe'; +$labels['vacation.advanced'] = 'Opcións avanzadas'; +$labels['vacation.subject'] = 'Asunto'; +$labels['vacation.body'] = 'Corpo'; +$labels['vacation.status'] = 'Estado'; +$labels['vacation.on'] = 'Activar'; +$labels['vacation.off'] = 'Desactivar'; +$labels['vacation.saving'] = 'Gardando datos...'; +$labels['vacation.keep'] = 'Manter'; +$labels['vacation.discard'] = 'Descartar'; +$labels['vacation.redirect'] = 'Redirixir a'; +$labels['vacation.copy'] = 'Enviar copia a'; +$labels['arialabelfilteractions'] = 'Accións de filtrado'; +$labels['arialabelfilterform'] = 'Propiedades dos filtros'; +$labels['ariasummaryfilterslist'] = 'Lista de filtros'; +$messages['filterunknownerror'] = 'Erro descoñecido do servidor'; +$messages['filterconnerror'] = 'Imposíbel conectar co servidor.'; +$messages['filterdeleteerror'] = 'Non se pode eliminar filtro. Produciuse un erro de servidor.'; +$messages['filterdeleted'] = 'Filtro borrado con éxito'; +$messages['filtersaved'] = 'Filtro gardado con éxito'; +$messages['filtersaveerror'] = 'Non se puido gardar filtro. Produciuse un erro de servidor.'; +$messages['filterdeleteconfirm'] = 'Realmente queres eliminar o filtro seleccionado?'; +$messages['ruledeleteconfirm'] = 'Seguro que queres eliminar a regra seleccionada?'; +$messages['actiondeleteconfirm'] = 'Seguro que queres eliminar a acción seleccionada?'; +$messages['forbiddenchars'] = 'Caracteres non permitidos no campo'; +$messages['cannotbeempty'] = 'O campo non pode estar baleiro'; +$messages['ruleexist'] = 'Xa existe un filtro co nome especificado.'; +$messages['setactivateerror'] = 'Non se poden activar os filtros seleccionados. Produciuse un erro de servidor.'; +$messages['setdeactivateerror'] = 'Non foi posíbel desactivar os filtros seleccionados. Produciuse un erro de servidor.'; +$messages['setdeleteerror'] = 'Non é posíbel eliminar os filtros seleccionados. Produciuse un erro de servidor.'; +$messages['setactivated'] = 'O conxunto de filtros activouse con éxito'; +$messages['setdeactivated'] = 'O conxunto de filtros desactivouse con éxito'; +$messages['setdeleted'] = 'O Conxunto de filtros borrouse con éxito'; +$messages['setdeleteconfirm'] = 'Seguro que queres eliminar o conxunto de filtros seleccionado?'; +$messages['setcreateerror'] = 'Non é posíbel crear filtros. Produciuse un erro de servidor.'; +$messages['setcreated'] = 'Conxunto de filtros creado con éxito'; +$messages['activateerror'] = 'Non é posíbel activar o(s) filtro(s) seleccionado(s). Produciuse un erro de servidor.'; +$messages['deactivateerror'] = 'Incapaz de desactivar filtro(s) seleccionado(s). Produciuse un erro de servidor.'; +$messages['deactivated'] = 'Desactiváronse os filtros correctamente.'; +$messages['activated'] = 'Activáronse os filtros correctamente'; +$messages['moved'] = 'Moveuse correctamente o filtro.'; +$messages['moveerror'] = 'Non se pode mover o filtro seleccionado. Produciuse un erro de servidor.'; +$messages['nametoolong'] = 'Imposíbel crear o conxunto de filtros. O nome é longo de máis'; +$messages['namereserved'] = 'Nome reservado'; +$messages['setexist'] = 'Xa existe o conxunto'; +$messages['nodata'] = 'É preciso seleccionar polo menos unha posición!'; +$messages['invaliddateformat'] = 'Formato de data ou parte dos datos non válidos'; +?> diff --git a/plugins/managesieve/localization/he_IL.inc b/plugins/managesieve/localization/he_IL.inc new file mode 100644 index 000000000..4e7b5976e --- /dev/null +++ b/plugins/managesieve/localization/he_IL.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'מסננים'; +$labels['managefilters'] = 'ניהול מסננים לדואר נכנס'; +$labels['filtername'] = 'שם המסנן'; +$labels['newfilter'] = 'מסנן חדש'; +$labels['filteradd'] = 'הוספת מסנן'; +$labels['filterdel'] = 'מחיקת מסנן'; +$labels['moveup'] = 'הזזה מעלה'; +$labels['movedown'] = 'הזזה מטה'; +$labels['filterallof'] = 'תאימות לכל הכללים שלהלן'; +$labels['filteranyof'] = 'תאימות לחלק מהכללים שלהלן'; +$labels['filterany'] = 'כל ההודעות'; +$labels['filtercontains'] = 'מכיל'; +$labels['filternotcontains'] = 'לא מכיל'; +$labels['filteris'] = 'שווה ערך ל-'; +$labels['filterisnot'] = 'אינו שווה ערך ל-'; +$labels['filterexists'] = 'קיים'; +$labels['filternotexists'] = 'לא קיים'; +$labels['filtermatches'] = 'תואם ביטוי'; +$labels['filternotmatches'] = 'לא תואם ביטוי'; +$labels['filterregex'] = 'תואם ביטוי מורכב'; +$labels['filternotregex'] = 'לא תואם ביטוי מורכב'; +$labels['filterunder'] = 'תחת'; +$labels['filterover'] = 'מעל'; +$labels['addrule'] = 'הוספת כלל'; +$labels['delrule'] = 'מחיקת כלל'; +$labels['messagemoveto'] = 'העברת הודעה אל'; +$labels['messageredirect'] = 'השמה חדשה של ההודעה אל'; +$labels['messagecopyto'] = 'העתקת ההודעה אל'; +$labels['messagesendcopy'] = 'משלוח העתק מההודעה אל'; +$labels['messagereply'] = 'מענה עם הודעה'; +$labels['messagedelete'] = 'מחיקת הודעה'; +$labels['messagediscard'] = 'ביטול ההודעה'; +$labels['messagekeep'] = 'שמירת הודעה בדואר נכנס'; +$labels['messagesrules'] = 'עבור דואר נכנס:'; +$labels['messagesactions'] = '...מבצע הפעולות הבאות:'; +$labels['add'] = 'הוספה'; +$labels['del'] = 'מחיקה'; +$labels['sender'] = 'השולח'; +$labels['recipient'] = 'הנמען'; +$labels['vacationaddr'] = 'כתובות דוא"ל נוספות:'; +$labels['vacationdays'] = 'באיזו תדירות ( בימים ) לשלוח הודעות:'; +$labels['vacationinterval'] = 'באיזו תדירות לשלוח ההודעה'; +$labels['vacationreason'] = 'גוף ההודעה (סיבת החופשה):'; +$labels['vacationsubject'] = 'נושא ההודעה:'; +$labels['days'] = 'ימים'; +$labels['seconds'] = 'שניות'; +$labels['rulestop'] = 'עצירה של בחינת הכללים'; +$labels['enable'] = 'אפשור/ניטרול'; +$labels['filterset'] = 'קבוצת מסננים'; +$labels['filtersets'] = 'קבוצות מסננים'; +$labels['filtersetadd'] = 'הוספה של קבוצת מסננים'; +$labels['filtersetdel'] = 'מחיקה של מסננים נוכחיים'; +$labels['filtersetact'] = 'הפעלה של מסננים נוכחיים'; +$labels['filtersetdeact'] = 'השבתה של מסננים נוכחיים'; +$labels['filterdef'] = 'הגדרת מסנן'; +$labels['filtersetname'] = 'שם של קבוצת מסננים'; +$labels['newfilterset'] = 'קבוצת מסננים חדשה'; +$labels['active'] = 'פעיל'; +$labels['none'] = 'אף אחד מאלה'; +$labels['fromset'] = 'מקבוצה'; +$labels['fromfile'] = 'מקובץ'; +$labels['filterdisabled'] = 'מסנן מושבת'; +$labels['countisgreaterthan'] = 'המספר גדול מ-'; +$labels['countisgreaterthanequal'] = 'המספר גדול או שווה ל-'; +$labels['countislessthan'] = 'המספר קטן מ-'; +$labels['countislessthanequal'] = 'המספר קטן או שווה ל-'; +$labels['countequals'] = 'המספר שווה ל-'; +$labels['countnotequals'] = 'המספר אינו שווה ל '; +$labels['valueisgreaterthan'] = 'הערך גדול מ-'; +$labels['valueisgreaterthanequal'] = 'הערך גדול או שווה ל-'; +$labels['valueislessthan'] = 'הערך קטן מ-'; +$labels['valueislessthanequal'] = 'הערך קטן או שווה ל-'; +$labels['valueequals'] = 'הערך שווה ל-'; +$labels['valuenotequals'] = 'הערך אינו שוה ל '; +$labels['setflags'] = 'סימון דגלים להודעה'; +$labels['addflags'] = 'הוספת דגלים להודעה'; +$labels['removeflags'] = 'הסרת דגלים מההודעה'; +$labels['flagread'] = 'נקרא'; +$labels['flagdeleted'] = 'נמחק'; +$labels['flaganswered'] = 'נענה'; +$labels['flagflagged'] = 'סומן בדגל'; +$labels['flagdraft'] = 'טיוטה'; +$labels['setvariable'] = 'הגדרת משתנה'; +$labels['setvarname'] = 'שם המשתנה:'; +$labels['setvarvalue'] = 'ערך המשתנה:'; +$labels['setvarmodifiers'] = 'גורם משנה:'; +$labels['varlower'] = 'אותיות קטנות'; +$labels['varupper'] = 'אותיות גדולות'; +$labels['varlowerfirst'] = 'התו הראשון אות קטנה'; +$labels['varupperfirst'] = 'התו הראשון אות גדולה'; +$labels['varquotewildcard'] = 'תו מיוחד יש לשים בין מרכאות'; +$labels['varlength'] = 'אורך'; +$labels['notify'] = 'משלוח התראה'; +$labels['notifytarget'] = 'יעד התראה:'; +$labels['notifymessage'] = 'הודעת התראה (רשות):'; +$labels['notifyoptions'] = 'אפשרויות התראה (רשות):'; +$labels['notifyfrom'] = 'שולח התראה (רשות):'; +$labels['notifyimportance'] = 'חשיובת:'; +$labels['notifyimportancelow'] = 'נמוכה'; +$labels['notifyimportancenormal'] = 'רגילה'; +$labels['notifyimportancehigh'] = 'גבוהה'; +$labels['notifymethodmailto'] = 'דוא״ל'; +$labels['notifymethodtel'] = 'טלפון'; +$labels['notifymethodsms'] = 'מסרון'; +$labels['filtercreate'] = 'יצירת מסנן'; +$labels['usedata'] = 'שימוש במידע שלהלן ליצירת המסנן:'; +$labels['nextstep'] = 'הצעד הבא'; +$labels['...'] = '...'; +$labels['currdate'] = 'תאריך נוכחי'; +$labels['datetest'] = 'תאריך'; +$labels['dateheader'] = 'כותרת:'; +$labels['year'] = 'שנה'; +$labels['month'] = 'חודש'; +$labels['day'] = 'יום'; +$labels['date'] = 'תאריך (שנה-חודש-יום)'; +$labels['julian'] = 'תאריך (יוליאני)'; +$labels['hour'] = 'שעה'; +$labels['minute'] = 'דקה'; +$labels['second'] = 'שניה'; +$labels['time'] = 'זמן (שעה:דקה:שניה)'; +$labels['iso8601'] = 'תאריך (ISO8601)'; +$labels['std11'] = 'תאריך (RFC2822)'; +$labels['zone'] = 'איזור זמן'; +$labels['weekday'] = 'יום בשבוע (0-6)'; +$labels['advancedopts'] = 'אפשרויות מתקדמות'; +$labels['body'] = 'גוף ההודעה'; +$labels['address'] = 'כתובת'; +$labels['envelope'] = 'מעטפה'; +$labels['modifier'] = 'גורם שינוי:'; +$labels['text'] = 'תמליל'; +$labels['undecoded'] = 'לא מקודד ( גולמי )'; +$labels['contenttype'] = 'סוג התוכן'; +$labels['modtype'] = 'סוג:'; +$labels['allparts'] = 'הכל'; +$labels['domain'] = 'מתחם'; +$labels['localpart'] = 'חלק מקומי'; +$labels['user'] = 'משתמש'; +$labels['detail'] = 'פרטים'; +$labels['comparator'] = 'משווה:'; +$labels['default'] = 'ברירת מחדל'; +$labels['octet'] = 'strict (octet)'; +$labels['asciicasemap'] = 'case insensitive (ascii-casemap)'; +$labels['asciinumeric'] = 'numeric (ascii-numeric)'; +$labels['index'] = 'אינדקס:'; +$labels['indexlast'] = 'בחזרה'; +$labels['vacation'] = 'חופשה'; +$labels['vacation.reply'] = 'הודעת תשובה'; +$labels['vacation.advanced'] = 'הגדרות מתקדמות'; +$labels['vacation.subject'] = 'נושא'; +$labels['vacation.body'] = 'גוף ההודעה'; +$labels['vacation.start'] = 'תאריך התחלה'; +$labels['vacation.end'] = 'תאריך סיום'; +$labels['vacation.status'] = 'מצב'; +$labels['vacation.on'] = 'מופעל'; +$labels['vacation.off'] = 'כבוי'; +$labels['vacation.addresses'] = 'כתובות נוספות שלי'; +$labels['vacation.interval'] = 'מרווח בין תשובות'; +$labels['vacation.after'] = 'העתקת סרגל החופשה אחרי'; +$labels['vacation.saving'] = 'שמירת מידע...'; +$labels['vacation.action'] = 'פעולה על הודעה נכנסת'; +$labels['vacation.keep'] = 'להשאיר'; +$labels['vacation.discard'] = 'להפטר'; +$labels['vacation.redirect'] = 'הפניה אל'; +$labels['vacation.copy'] = 'שליחת העתק אל'; +$labels['arialabelfiltersetactions'] = 'פעולות על קבוצה של חוקי סינון'; +$labels['arialabelfilteractions'] = 'פעולות מסנן'; +$labels['arialabelfilterform'] = 'מאפייני מסנן'; +$labels['ariasummaryfilterslist'] = 'רשימה של מסננים'; +$labels['ariasummaryfiltersetslist'] = 'רשימת קבוצות של חוקי סינון'; +$labels['filterstitle'] = 'ערוך מסנני דואר נכנס'; +$labels['vacationtitle'] = 'ערוך כלל מחוץ-אל-משרדי'; +$messages['filterunknownerror'] = 'שגיאת שרת בלתי מוכרת.'; +$messages['filterconnerror'] = 'לא ניתן להתחבר לשרת.'; +$messages['filterdeleteerror'] = 'לא ניתן למחוק סינון. שגיאת שרת.'; +$messages['filterdeleted'] = 'המסנן נמחק בהצלחה.'; +$messages['filtersaved'] = 'המסנן נשמר בהצלחה.'; +$messages['filtersaveerror'] = 'לא ניתן לשמור סינון. שגיאת שרת.'; +$messages['filterdeleteconfirm'] = 'האם אכן ברצונך למחוק את המסנן הנבחר?'; +$messages['ruledeleteconfirm'] = 'האם אכן ברצונך למחוק את הכלל הנבחר?'; +$messages['actiondeleteconfirm'] = 'האם אכן ברצונך למחוק את הפעולה הנבחרת?'; +$messages['forbiddenchars'] = 'תווים אסורים בשדה.'; +$messages['cannotbeempty'] = 'השדה לא יכול להישאר ריק.'; +$messages['ruleexist'] = 'כבר קיים מסנן בשם כזה.'; +$messages['setactivateerror'] = 'לא ניתן להפעיל את ערכת המסננים הנבחרת. אירעה שגיאה בצד השרת.'; +$messages['setdeactivateerror'] = 'לא ניתן להשבית רשימת מסננים שנבחרה. שגיאת שרת.'; +$messages['setdeleteerror'] = 'לא ניתן למחוק רשימת מסננים שנבחרה. שגיאת שרת.'; +$messages['setactivated'] = 'ערכת המסננים הופעלה בהצלחה.'; +$messages['setdeactivated'] = 'ערכת המסננים נוטרלה בהצלחה.'; +$messages['setdeleted'] = 'ערכת המסננים נמחקה בהצלחה.'; +$messages['setdeleteconfirm'] = 'האם אכן ברצונך למחוק את ערכת המסננים הנבחרת?'; +$messages['setcreateerror'] = 'לא ניתן ליצור ערכת מסננים. אירעה שגיאה בצד השרת.'; +$messages['setcreated'] = 'ערכת המסננים נוצרה בהצלחה.'; +$messages['activateerror'] = 'לא ניתן להפעיל את המסננים הנבחרים. אירעה שגיאה בצד השרת.'; +$messages['deactivateerror'] = 'לא ניתן לנטרל את המסננים הנבחרים. אירעה שגיאה בצד השרת.'; +$messages['deactivated'] = 'המסננים הופעלו בהצלחה.'; +$messages['activated'] = 'המסננים נוטרלו בהצלחה.'; +$messages['moved'] = 'המסנן הועבר בהצלחה.'; +$messages['moveerror'] = 'לא ניתן להעביר את המסנן הנבחר. אירעה שגיאה בצד השרת.'; +$messages['nametoolong'] = 'השם ארוך מדי.'; +$messages['namereserved'] = 'השם הזה שמור.'; +$messages['setexist'] = 'הערכה כבר קיימת.'; +$messages['nodata'] = 'חובה לבחור במיקום אחד לפחות!'; +$messages['invaliddateformat'] = 'תאריך לא חוקי אן פורמט לא תקין'; +$messages['saveerror'] = 'לא ניתן לשמור המידע בשל שגיאה של השרת'; +$messages['vacationsaved'] = 'הודעת החופשה נשמרה בהצלחה'; +$messages['emptyvacationbody'] = 'גוף של הודעת חופשה נדרש!'; +?> diff --git a/plugins/managesieve/localization/hr_HR.inc b/plugins/managesieve/localization/hr_HR.inc new file mode 100644 index 000000000..efcd4da8e --- /dev/null +++ b/plugins/managesieve/localization/hr_HR.inc @@ -0,0 +1,194 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filteri'; +$labels['managefilters'] = 'Uredi filtere za pristiglu poštu'; +$labels['filtername'] = 'Naziv filtera'; +$labels['newfilter'] = 'Novi filter'; +$labels['filteradd'] = 'Dodaj filter'; +$labels['filterdel'] = 'Obriši filter'; +$labels['moveup'] = 'Pomakni gore'; +$labels['movedown'] = 'Pomakni dolje'; +$labels['filterallof'] = 'koje odgovaraju svim sljedećim pravilima'; +$labels['filteranyof'] = 'koje odgovaraju bilo kojem od sljedećih pravila'; +$labels['filterany'] = 'sve poruke'; +$labels['filtercontains'] = 'sadrži'; +$labels['filternotcontains'] = 'ne sadrži'; +$labels['filteris'] = 'jednako je'; +$labels['filterisnot'] = 'nije jednako'; +$labels['filterexists'] = 'postoji'; +$labels['filternotexists'] = 'ne postoji'; +$labels['filtermatches'] = 'odgovara izrazu'; +$labels['filternotmatches'] = 'ne odgovara izrazu'; +$labels['filterregex'] = 'odgovara regularnom izrazu'; +$labels['filternotregex'] = 'ne odgovara regularnom izrazu'; +$labels['filterunder'] = 'ispod'; +$labels['filterover'] = 'iznad'; +$labels['addrule'] = 'Dodaj pravilo'; +$labels['delrule'] = 'Obriši pravilo'; +$labels['messagemoveto'] = 'Premjesti poruku u'; +$labels['messageredirect'] = 'Preusmjeri poruku na'; +$labels['messagecopyto'] = 'Kopiraju poruku u'; +$labels['messagesendcopy'] = 'Pošalji kopiju poruke na'; +$labels['messagereply'] = 'Odgovori sa porukom'; +$labels['messagedelete'] = 'Obriši poruku'; +$labels['messagediscard'] = 'Otkaži sa porukom'; +$labels['messagekeep'] = 'Zadrži poruku u mapi Inbox'; +$labels['messagesrules'] = 'Za pristigle poruke:'; +$labels['messagesactions'] = '...primijeni sljedeće akcije:'; +$labels['add'] = 'Dodaj'; +$labels['del'] = 'Obriši'; +$labels['sender'] = 'Pošiljatelj'; +$labels['recipient'] = 'Primatelj'; +$labels['vacationaddr'] = 'Dodatna e-mail adresa(e):'; +$labels['vacationdays'] = 'Koliko često slati poruku (u danima):'; +$labels['vacationinterval'] = 'Koliko često slati poruku:'; +$labels['vacationreason'] = 'Tijelo poruke (razlog odmora):'; +$labels['vacationsubject'] = 'Naslov poruke:'; +$labels['days'] = 'dana'; +$labels['seconds'] = 'sekundi'; +$labels['rulestop'] = 'Prekini izvođenje filtera'; +$labels['enable'] = 'Omogući/Onemogući'; +$labels['filterset'] = 'Grupa filtera'; +$labels['filtersets'] = 'Filteri'; +$labels['filtersetadd'] = 'Dodaj grupu filtera'; +$labels['filtersetdel'] = 'Obriši odabranu grupu filtera'; +$labels['filtersetact'] = 'Aktiviraj odabranu grupu filtera'; +$labels['filtersetdeact'] = 'Deaktiviraj odabranu grupu filtera'; +$labels['filterdef'] = 'Definicije filtera'; +$labels['filtersetname'] = 'Naziv grupe filtera'; +$labels['newfilterset'] = 'Nova grupa filtera'; +$labels['active'] = 'aktivan'; +$labels['none'] = 'nijedan'; +$labels['fromset'] = 'iz grupe'; +$labels['fromfile'] = 'iz datoteke'; +$labels['filterdisabled'] = 'Deaktiviraj filter'; +$labels['countisgreaterthan'] = 'brojač je veći od'; +$labels['countisgreaterthanequal'] = 'brojač je veći ili jednak od'; +$labels['countislessthan'] = 'brojač je manji od'; +$labels['countislessthanequal'] = 'brojač je manji ili jednak od'; +$labels['countequals'] = 'brojač je jednak'; +$labels['countnotequals'] = 'brojač nije jednak'; +$labels['valueisgreaterthan'] = 'vrijednost je veća od'; +$labels['valueisgreaterthanequal'] = 'vrijednost je veća ili jednaka od'; +$labels['valueislessthan'] = 'vrijednost je manja od'; +$labels['valueislessthanequal'] = 'vrijednost je manja ili jednaka od'; +$labels['valueequals'] = 'vrijednost je jednaka'; +$labels['valuenotequals'] = 'vrijednost nije jednaka'; +$labels['setflags'] = 'Postavi oznake na poruku'; +$labels['addflags'] = 'Dodaj oznake na poruku'; +$labels['removeflags'] = 'Ukloni oznake sa poruke'; +$labels['flagread'] = 'Pročitana'; +$labels['flagdeleted'] = 'Obrisana'; +$labels['flaganswered'] = 'Odgovorena'; +$labels['flagflagged'] = 'Označena'; +$labels['flagdraft'] = 'Predložak'; +$labels['setvariable'] = 'Postavi varijablu'; +$labels['setvarname'] = 'Ime varijable:'; +$labels['setvarvalue'] = 'Vrijednost varijable:'; +$labels['setvarmodifiers'] = 'Modifikatori:'; +$labels['varlower'] = 'mala slova'; +$labels['varupper'] = 'velika slova'; +$labels['varlowerfirst'] = 'prvo slovo malo'; +$labels['varupperfirst'] = 'prvo slovo veliko'; +$labels['varquotewildcard'] = 'Citiraj specijalne znakove'; +$labels['varlength'] = 'duljina'; +$labels['notify'] = 'Pošalji obavijest'; +$labels['notifyimportance'] = 'Važnost:'; +$labels['notifyimportancelow'] = 'niska'; +$labels['notifyimportancenormal'] = 'normalna'; +$labels['notifyimportancehigh'] = 'visoka'; +$labels['filtercreate'] = 'Stvori filter'; +$labels['usedata'] = 'Koristi podatke za filter:'; +$labels['nextstep'] = 'Idući korak'; +$labels['...'] = '…'; +$labels['currdate'] = 'Današnji datum'; +$labels['datetest'] = 'Datum'; +$labels['dateheader'] = 'zaglavlje:'; +$labels['year'] = 'godina'; +$labels['month'] = 'mjesec'; +$labels['day'] = 'dan'; +$labels['date'] = 'datum (yyyy-mm-dd)'; +$labels['julian'] = 'datum (julijanski)'; +$labels['hour'] = 'sat'; +$labels['minute'] = 'minute'; +$labels['second'] = 'sekunde'; +$labels['time'] = 'vrijeme (hh:mm:ss)'; +$labels['iso8601'] = 'datum (ISO8601)'; +$labels['std11'] = 'datum (RFC2822)'; +$labels['zone'] = 'vremenska zona'; +$labels['weekday'] = 'dan u tjednu (0-6)'; +$labels['advancedopts'] = 'Napredne postavke'; +$labels['body'] = 'Tijelo poruke'; +$labels['address'] = 'adresa'; +$labels['envelope'] = 'omotnica'; +$labels['modifier'] = 'modificirao:'; +$labels['text'] = 'tekst'; +$labels['undecoded'] = 'nedekodirano (raw)'; +$labels['contenttype'] = 'tip sadržaja'; +$labels['modtype'] = 'tip:'; +$labels['allparts'] = 'sve'; +$labels['domain'] = 'domena'; +$labels['localpart'] = 'lokalni dio'; +$labels['user'] = 'korisnik'; +$labels['detail'] = 'detalj'; +$labels['comparator'] = 'usporedio:'; +$labels['default'] = 'preddefinirano'; +$labels['octet'] = 'strogo (oktet)'; +$labels['asciicasemap'] = 'neosjetljivo na veličinu slova (ascii-casemap)'; +$labels['asciinumeric'] = 'numerički (ascii-numeric)'; +$labels['index'] = 'indeks:'; +$labels['indexlast'] = 'unatrag'; +$labels['vacation.advanced'] = 'Napredne postavke'; +$labels['vacation.subject'] = 'Naslov'; +$labels['vacation.body'] = 'Tijelo poruke'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.saving'] = 'Spremanje podataka...'; +$messages['filterunknownerror'] = 'Nepoznata greška na poslužitelju'; +$messages['filterconnerror'] = 'Nemoguće spajanje na poslužitelj (managesieve)'; +$messages['filterdeleteerror'] = 'Nemoguće brisanje filtera. Greška na poslužitelju.'; +$messages['filterdeleted'] = 'Filter je uspješno obrisan'; +$messages['filtersaved'] = 'Filter je uspješno spremljen'; +$messages['filtersaveerror'] = 'Nemoguće spremiti filter. Greška na poslužitelju.'; +$messages['filterdeleteconfirm'] = 'Sigurno želite obrisati odabrani filter?'; +$messages['ruledeleteconfirm'] = 'Jeste li sigurni da želite obrisati odabrana pravila?'; +$messages['actiondeleteconfirm'] = 'Jeste li sigurni da želite obrisati odabrane akcije?'; +$messages['forbiddenchars'] = 'Nedozvoljeni znakovi u polju'; +$messages['cannotbeempty'] = 'Polje nesmije biti prazno'; +$messages['ruleexist'] = 'Filter sa zadanim imenom već postoji.'; +$messages['setactivateerror'] = 'Nemoguće aktivirati odabranu grupu filtera. Greška na poslužitelju.'; +$messages['setdeactivateerror'] = 'Nemoguće deaktivirati odabranu grupu filtera. Greška na poslužitelju.'; +$messages['setdeleteerror'] = 'Nemoguće obrisati odabranu grupu filtera. Greška na poslužitelju.'; +$messages['setactivated'] = 'Grupa filtera je uspješno aktivirana'; +$messages['setdeactivated'] = 'Grupa filtera je uspješno deaktivirana'; +$messages['setdeleted'] = 'Grupa filtera je uspješno obrisana'; +$messages['setdeleteconfirm'] = 'Jeste li sigurni da želite obrisati odabranu grupu filtera?'; +$messages['setcreateerror'] = 'Nemoguće stvoriti grupu filtera. Greška na poslužitelju.'; +$messages['setcreated'] = 'Grupa filtera je uspješno stvorena'; +$messages['activateerror'] = 'Nije moguće omogućiti odabrani filter(e). Greška poslužitelja.'; +$messages['deactivateerror'] = 'Nije moguće onemogućiti odabrane filter(e). Greška poslužitelja.'; +$messages['deactivated'] = 'Filter(i) omogućen(i) uspješno.'; +$messages['activated'] = 'Filter(i) onemogućen(i) uspješno.'; +$messages['moved'] = 'Filter uspješno premješten.'; +$messages['moveerror'] = 'Nije moguće premjestiti odabrani filter. Greška poslužitelja.'; +$messages['nametoolong'] = 'Nemoguće napraviti grupu filtera. Naziv je predugačak'; +$messages['namereserved'] = 'Rezervirano ime.'; +$messages['setexist'] = 'Skup već postoji.'; +$messages['nodata'] = 'Barem jedan pozicija mora biti odabrana!'; +$messages['invaliddateformat'] = 'Neispravan datum ili dio datuma'; +$messages['saveerror'] = 'Nemoguće spremiti podatke. Greška na poslužitelju.'; +?> diff --git a/plugins/managesieve/localization/hu_HU.inc b/plugins/managesieve/localization/hu_HU.inc new file mode 100644 index 000000000..eae7650fa --- /dev/null +++ b/plugins/managesieve/localization/hu_HU.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Üzenetszűrők'; +$labels['managefilters'] = 'Bejövő üzenetek szűrői'; +$labels['filtername'] = 'Szűrő neve'; +$labels['newfilter'] = 'Új szűrő'; +$labels['filteradd'] = 'Szűrő hozzáadása'; +$labels['filterdel'] = 'Szűrő törlése'; +$labels['moveup'] = 'Mozgatás felfelé'; +$labels['movedown'] = 'Mozgatás lefelé'; +$labels['filterallof'] = 'A következők szabályok mind illeszkedjenek'; +$labels['filteranyof'] = 'A következő szabályok bármelyike illeszkedjen'; +$labels['filterany'] = 'Minden üzenet illeszkedjen'; +$labels['filtercontains'] = 'tartalmazza'; +$labels['filternotcontains'] = 'nem tartalmazza'; +$labels['filteris'] = 'megegyezik'; +$labels['filterisnot'] = 'nem egyezik meg'; +$labels['filterexists'] = 'létezik'; +$labels['filternotexists'] = 'nem létezik'; +$labels['filtermatches'] = 'kifejezéssel egyezők'; +$labels['filternotmatches'] = 'kifejezéssel nem egyezők'; +$labels['filterregex'] = 'reguláris kifejezéssel egyezők'; +$labels['filternotregex'] = 'reguláris kifejezéssel nem egyezők'; +$labels['filterunder'] = 'alatta'; +$labels['filterover'] = 'felette'; +$labels['addrule'] = 'Szabály hozzáadása'; +$labels['delrule'] = 'Szabály törlése'; +$labels['messagemoveto'] = 'Üzenet áthelyezése ide:'; +$labels['messageredirect'] = 'Üzenet továbbítása ide:'; +$labels['messagecopyto'] = 'Üzenet másolása'; +$labels['messagesendcopy'] = 'Másolat kűldése az üzenetből'; +$labels['messagereply'] = 'Válaszüzenet küldése (autoreply)'; +$labels['messagedelete'] = 'Üzenet törlése'; +$labels['messagediscard'] = 'Válaszüzenet küldése, a levél törlése'; +$labels['messagekeep'] = 'Tartsa az üzenetet a beérkező leveleknél'; +$labels['messagesrules'] = 'Az adott tulajdonságú beérkezett üzenetekre:'; +$labels['messagesactions'] = '... a következő műveletek végrehajtása:'; +$labels['add'] = 'Hozzáadás'; +$labels['del'] = 'Törlés'; +$labels['sender'] = 'Feladó'; +$labels['recipient'] = 'Címzett'; +$labels['vacationaddr'] = 'További e-mail címeim:'; +$labels['vacationdays'] = 'Válaszüzenet küldése ennyi naponként:'; +$labels['vacationinterval'] = 'Milyen gyakran küld üzeneteket:'; +$labels['vacationreason'] = 'Levél szövege (automatikus válasz):'; +$labels['vacationsubject'] = 'Üzenet tárgya:'; +$labels['days'] = 'napok'; +$labels['seconds'] = 'másodpercek'; +$labels['rulestop'] = 'Műveletek végrehajtásának befejezése'; +$labels['enable'] = 'Bekapcsol/Kikapcsol'; +$labels['filterset'] = 'Szűrök készlet'; +$labels['filtersets'] = 'Szűrő készletek'; +$labels['filtersetadd'] = 'Szűrő hozzáadása a készlethez'; +$labels['filtersetdel'] = 'Az aktuális szűrő készlet törlése'; +$labels['filtersetact'] = 'Az aktuális szűrő készlet engedélyezése'; +$labels['filtersetdeact'] = 'Az aktuális szűrő készlet tiltása'; +$labels['filterdef'] = 'Szűrő definíció'; +$labels['filtersetname'] = 'Szűrő készlet neve'; +$labels['newfilterset'] = 'Új szűrő készlet'; +$labels['active'] = 'aktív'; +$labels['none'] = 'nincs'; +$labels['fromset'] = 'készletből'; +$labels['fromfile'] = 'fájlból'; +$labels['filterdisabled'] = 'Szűrő kikapcsolása'; +$labels['countisgreaterthan'] = 'a számláló nagyobb mint'; +$labels['countisgreaterthanequal'] = 'a számláló nagyobb vagy egyenlő'; +$labels['countislessthan'] = 'a számláló kissebb mint'; +$labels['countislessthanequal'] = 'a számláló kissebb vagy egyenlő'; +$labels['countequals'] = 'a számláló egyenlő'; +$labels['countnotequals'] = 'össze számolva nem egyenlő'; +$labels['valueisgreaterthan'] = 'az érték nagyobb mint'; +$labels['valueisgreaterthanequal'] = 'az érték nagyobb vagy egyenlő'; +$labels['valueislessthan'] = 'az érték kisebb mint'; +$labels['valueislessthanequal'] = 'az érték kisebb vagy egyenlő'; +$labels['valueequals'] = 'az érték megegyzik'; +$labels['valuenotequals'] = 'az értéke nem azonos'; +$labels['setflags'] = 'Jelzők beállítása az üzeneten'; +$labels['addflags'] = 'Jelző hozzáadása az üzenethez'; +$labels['removeflags'] = 'Jelzők eltávolítása az üzenetből'; +$labels['flagread'] = 'Olvasás'; +$labels['flagdeleted'] = 'Törölt'; +$labels['flaganswered'] = 'Megválaszolt'; +$labels['flagflagged'] = 'Megjelölt'; +$labels['flagdraft'] = 'Vázlat'; +$labels['setvariable'] = 'Változó beállítása'; +$labels['setvarname'] = 'Változó neve:'; +$labels['setvarvalue'] = 'Változó értéke:'; +$labels['setvarmodifiers'] = 'Módosítók'; +$labels['varlower'] = 'kisbetű'; +$labels['varupper'] = 'nagybetű'; +$labels['varlowerfirst'] = 'első karakter kisbetű'; +$labels['varupperfirst'] = 'első karakter nagybetű'; +$labels['varquotewildcard'] = 'speciális karakterek idézése'; +$labels['varlength'] = 'hossz'; +$labels['notify'] = 'Értesítés küldése'; +$labels['notifytarget'] = 'Értesítés célja:'; +$labels['notifymessage'] = 'Értesítési üzenet (opcionális):'; +$labels['notifyoptions'] = 'Értesítés opcióik (opcionális):'; +$labels['notifyfrom'] = 'Értesítés feladója (opcionális):'; +$labels['notifyimportance'] = 'Fontosság:'; +$labels['notifyimportancelow'] = 'alacsony'; +$labels['notifyimportancenormal'] = 'normál'; +$labels['notifyimportancehigh'] = 'magas'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Telefonszám'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Szűrő létrehozása'; +$labels['usedata'] = 'A következő adatok használata a szűrőben'; +$labels['nextstep'] = 'Következő lépés'; +$labels['...'] = '…'; +$labels['currdate'] = 'Mai dátum'; +$labels['datetest'] = 'Dátum'; +$labels['dateheader'] = 'fejléc:'; +$labels['year'] = 'év'; +$labels['month'] = 'hónap'; +$labels['day'] = 'nap'; +$labels['date'] = 'dátum (éééé-hh-nn)'; +$labels['julian'] = 'dátum ( julián)'; +$labels['hour'] = 'óra'; +$labels['minute'] = 'perc'; +$labels['second'] = 'másodperc'; +$labels['time'] = 'idő (óó:pp:ms)'; +$labels['iso8601'] = 'dátum (ISO8601)'; +$labels['std11'] = 'dátum (RFC2822)'; +$labels['zone'] = 'idő-zóna'; +$labels['weekday'] = 'hét napjai (0-6)'; +$labels['advancedopts'] = 'Haladó beállítások'; +$labels['body'] = 'Levéltörzs'; +$labels['address'] = 'cím'; +$labels['envelope'] = 'boriték'; +$labels['modifier'] = 'módosító:'; +$labels['text'] = 'szöveg'; +$labels['undecoded'] = 'kódolatlan(nyers)'; +$labels['contenttype'] = 'tartalom tipusa'; +$labels['modtype'] = 'típus:'; +$labels['allparts'] = 'összes'; +$labels['domain'] = 'domain'; +$labels['localpart'] = 'név rész'; +$labels['user'] = 'felhasználó'; +$labels['detail'] = 'részlet'; +$labels['comparator'] = 'összehasonlító'; +$labels['default'] = 'alapértelmezett'; +$labels['octet'] = 'strict (octet)'; +$labels['asciicasemap'] = 'kis-nagybetüre nem érzékeny (ascii-casemap)'; +$labels['asciinumeric'] = 'számszerü (ascii-numeric)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'visszafelé'; +$labels['vacation'] = 'Vakáció'; +$labels['vacation.reply'] = 'Válasz az üzenetre'; +$labels['vacation.advanced'] = 'Haladó beállítások'; +$labels['vacation.subject'] = 'Tárgy'; +$labels['vacation.body'] = 'Törzs'; +$labels['vacation.start'] = 'Szünidő kezdete'; +$labels['vacation.end'] = 'Szünidő vége'; +$labels['vacation.status'] = 'Állapot'; +$labels['vacation.on'] = 'Be'; +$labels['vacation.off'] = 'Ki'; +$labels['vacation.addresses'] = 'További címeim'; +$labels['vacation.interval'] = 'Válasz intervallum'; +$labels['vacation.after'] = 'Rakd a szabadság szabályt ez után '; +$labels['vacation.saving'] = 'Adatok mentése...'; +$labels['vacation.action'] = 'Beérkező üzenet akció'; +$labels['vacation.keep'] = 'Megtartás'; +$labels['vacation.discard'] = 'Érvénytelenít'; +$labels['vacation.redirect'] = 'Átírányítás ide'; +$labels['vacation.copy'] = 'Másolat kűldése ide'; +$labels['arialabelfiltersetactions'] = 'Szűrő készlet müveletek'; +$labels['arialabelfilteractions'] = 'Szűrő müveletek'; +$labels['arialabelfilterform'] = 'Szűrő tulajdonságai'; +$labels['ariasummaryfilterslist'] = 'Szűrők listája'; +$labels['ariasummaryfiltersetslist'] = 'Szűrő készletek listája'; +$labels['filterstitle'] = 'Bejövő üzenetek szűrőinek szerkesztése'; +$labels['vacationtitle'] = 'Irodán kiívül szabász szerkesztése'; +$messages['filterunknownerror'] = 'Ismeretlen szerverhiba'; +$messages['filterconnerror'] = 'Nem tudok a szűrőszerverhez kapcsolódni'; +$messages['filterdeleteerror'] = 'A szűrőt nem lehet törölni. Szerverhiba történt'; +$messages['filterdeleted'] = 'A szűrő törlése sikeres'; +$messages['filtersaved'] = 'A szűrő mentése sikeres'; +$messages['filtersaveerror'] = 'A szűrő mentése sikertelen. Szerverhiba történt'; +$messages['filterdeleteconfirm'] = 'Biztosan törli ezt a szűrőt?'; +$messages['ruledeleteconfirm'] = 'Biztosan törli ezt a szabályt?'; +$messages['actiondeleteconfirm'] = 'Biztosan törli ezt a műveletet?'; +$messages['forbiddenchars'] = 'Érvénytelen karakter a mezőben'; +$messages['cannotbeempty'] = 'A mező nem lehet üres'; +$messages['ruleexist'] = 'Már van ilyen névvel elmentett szűrő.'; +$messages['setactivateerror'] = 'A kiválasztott szűrő készletet nem sikerült engedélyezni. Szerver hiba történt.'; +$messages['setdeactivateerror'] = 'A kiválasztott szűrő készletet nem sikerült tiltani. Szerver hiba történt.'; +$messages['setdeleteerror'] = 'Nem sikerült a kiválasztott szűrő készletet törölni. Szerver hiba történt.'; +$messages['setactivated'] = 'A filter készlet engedélyezése sikeresen végrehajtódott.'; +$messages['setdeactivated'] = 'A filter készlet tiltása sikeresen végrehajtódott.'; +$messages['setdeleted'] = 'A filter készlet törlése sikeresen végrehajtódott.'; +$messages['setdeleteconfirm'] = 'Biztosan törölni szeretnéd a kiválasztott szűrő készleteket?'; +$messages['setcreateerror'] = 'Nem sikerült létrehozni a szűrő készletet. Szerver hiba történt.'; +$messages['setcreated'] = 'A szűrő készlet sikeresen létrejött.'; +$messages['activateerror'] = 'Nem sikerült engedélyezni a kiválasztott szűrö(k)et. Szerver hiba történt.'; +$messages['deactivateerror'] = 'Nem sikerült kikapcsolni a kiválasztott szűrő(ke)t. Szerver hiba történt.'; +$messages['deactivated'] = 'Szűrő(k) sikeresen bekapcsolva.'; +$messages['activated'] = 'Szűrő(k) sikeresen kikapcsolva.'; +$messages['moved'] = 'A szűrő sikeresen áthelyezve.'; +$messages['moveerror'] = 'Az áthelyezés nem sikerült. Szerver hiba történt.'; +$messages['nametoolong'] = 'Túll hosszu név'; +$messages['namereserved'] = 'Nem használható (foglalt) név-'; +$messages['setexist'] = 'A készlet már létezik.'; +$messages['nodata'] = 'Legalább egyet ki kell választani.'; +$messages['invaliddateformat'] = 'hibás dátum formátum'; +$messages['saveerror'] = 'Az adat mentése sikertelen. Szerverhiba történt'; +$messages['vacationsaved'] = 'Vakáció adatai sikeresen elmentve.'; +$messages['emptyvacationbody'] = 'A vakácíó üzenet szövegtörzse kötelező!'; +?> diff --git a/plugins/managesieve/localization/hy_AM.inc b/plugins/managesieve/localization/hy_AM.inc new file mode 100644 index 000000000..5a520f46c --- /dev/null +++ b/plugins/managesieve/localization/hy_AM.inc @@ -0,0 +1,138 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Զտիչներ'; +$labels['managefilters'] = 'Կառավարել ստացվող նամակների զտիչները'; +$labels['filtername'] = 'Զտիչի անուն'; +$labels['newfilter'] = 'Նոր զտիչ'; +$labels['filteradd'] = 'Ավելացնել զտիչ'; +$labels['filterdel'] = 'Ջնջել զտիչը'; +$labels['moveup'] = 'Բարձրացնել'; +$labels['movedown'] = 'Իջեցնել'; +$labels['filterallof'] = 'հետևյալ բոլոր պահանջներին համապատասխանող'; +$labels['filteranyof'] = 'հետևյալ պահանջներից ցանկացածին համապատասխանող'; +$labels['filterany'] = 'բոլոր հաղորդագրությունները'; +$labels['filtercontains'] = 'պարունակում է'; +$labels['filternotcontains'] = 'չի պարունակում'; +$labels['filteris'] = 'հավասար է'; +$labels['filterisnot'] = 'հավասար չէ'; +$labels['filterexists'] = 'գոյություն ունի'; +$labels['filternotexists'] = 'գոյություն չունի'; +$labels['filtermatches'] = 'բավարարում է արտահայտությանը'; +$labels['filternotmatches'] = 'չի բավարարում արտահայտությանը'; +$labels['filterregex'] = 'բավարարում է կանոնավոր արտահայտությանը'; +$labels['filternotregex'] = 'չի բավարարում կանոնավոր արտահայտությանը'; +$labels['filterunder'] = 'տակ'; +$labels['filterover'] = 'վրա'; +$labels['addrule'] = 'Ավելացնել պայմանը'; +$labels['delrule'] = 'Ջնջել պայմանը'; +$labels['messagemoveto'] = 'Տեղափոխել հաղորդագրությունը'; +$labels['messageredirect'] = 'Վերահասցեվորել հաղորդագրությունը'; +$labels['messagecopyto'] = 'Պատճենել հաղորդագրությունը'; +$labels['messagesendcopy'] = 'Ուղարկել հաղորդագրության պատճեն'; +$labels['messagereply'] = 'Պատասխանել հաղորդագրությամբ'; +$labels['messagedelete'] = 'Ջնջել հաղորդագրությունը'; +$labels['messagediscard'] = 'Հեռացնել, հաղորդագրությամբ'; +$labels['messagesrules'] = 'Ստացվող հաղորդագրությունների համար'; +$labels['messagesactions'] = '…կատարել հետևյալ գործողությունները.'; +$labels['add'] = 'Ավելացնել'; +$labels['del'] = 'Ջնջել'; +$labels['sender'] = 'Ուղարկող'; +$labels['recipient'] = 'Ստացող'; +$labels['vacationdays'] = 'Ինչ հաճախությամբ ուղարկել հաղորդագրությունները (օրեր)`'; +$labels['vacationreason'] = 'Հաղորդագրության բովանդակություն (արձակուրդի պատճառ)`'; +$labels['vacationsubject'] = 'Հաղորդագրության վերնագիր`'; +$labels['rulestop'] = 'Դադարել պայմանների ստուգումը'; +$labels['enable'] = 'Միացնել/Անջատել'; +$labels['filterset'] = 'Զտիչների համալիր'; +$labels['filtersets'] = 'Զտիչների համալիրներ'; +$labels['filtersetadd'] = 'Ավելացնել զտիչների համալիր'; +$labels['filtersetdel'] = 'Ջնջել առկա զտիչների համալիրը'; +$labels['filtersetact'] = 'Միացնել առկա զտիչների համալիրը'; +$labels['filtersetdeact'] = 'Անջատել առկա զտիչների համալիրը'; +$labels['filterdef'] = 'Զտիչի սահմանում'; +$labels['filtersetname'] = 'Զտիչների համալիրի անուն'; +$labels['newfilterset'] = 'Նոր զտիչների համալիր'; +$labels['active'] = 'ակտիվ'; +$labels['none'] = 'ոչ մեկը'; +$labels['fromset'] = 'համալիրից'; +$labels['fromfile'] = 'ֆայլից'; +$labels['filterdisabled'] = 'Զտիչը անջատված է'; +$labels['countisgreaterthan'] = 'քանակը գերազանցում է'; +$labels['countisgreaterthanequal'] = 'քանակը գերազանցում է կամ հավասար է'; +$labels['countislessthan'] = 'քանակը պակաս է'; +$labels['countislessthanequal'] = 'քանակը պակաս է կամ հավասար է'; +$labels['countequals'] = 'քանակը հավասար է'; +$labels['valueisgreaterthan'] = 'արժեքը գերազանցում է'; +$labels['valueisgreaterthanequal'] = 'արժեքը գերազանցում է կամ հավասար է'; +$labels['valueislessthan'] = 'արժեքը պակաս է'; +$labels['valueislessthanequal'] = 'արժեքը պակաս է կամ հավասար է'; +$labels['valueequals'] = 'արժեքը հավասար է'; +$labels['setflags'] = 'Հաղորդագրությունը նշել որպես'; +$labels['addflags'] = 'Ավելացնել նշաններ հաղորդագրությանը'; +$labels['removeflags'] = 'Հեռացնել նշաններ հաղորդագրությունից'; +$labels['flagread'] = 'Ընթերցված'; +$labels['flagdeleted'] = 'Ջնջված'; +$labels['flaganswered'] = 'Պատասխանված'; +$labels['flagflagged'] = 'Նշված'; +$labels['flagdraft'] = 'Սևագիր'; +$labels['filtercreate'] = 'Ստեղծել զտիչ'; +$labels['usedata'] = 'Զտիչում օգտագործել հետևյալ տեղեկությունը.'; +$labels['nextstep'] = 'Հաջորդ քայլ'; +$labels['...'] = '…'; +$labels['advancedopts'] = 'Հավելյալ ընտրանքներ'; +$labels['body'] = 'Մարմին'; +$labels['address'] = 'հասցե'; +$labels['envelope'] = 'ծրար'; +$labels['modifier'] = 'փոփոխիչ`'; +$labels['text'] = 'տեքստ'; +$labels['undecoded'] = 'մաքուր'; +$labels['contenttype'] = 'բովանդակության տիպ'; +$labels['modtype'] = 'տիպ`'; +$labels['allparts'] = 'բոլորը'; +$labels['domain'] = 'տիրույթ'; +$labels['localpart'] = 'լոկալ մաս'; +$labels['user'] = 'օգտվող'; +$labels['detail'] = 'մաս'; +$labels['comparator'] = 'համեմատիչ`'; +$labels['default'] = 'լռակյաց'; +$labels['octet'] = 'անփոփոխ (օկտետ)'; +$labels['asciicasemap'] = 'case insensitive (ascii-casemap)'; +$labels['asciinumeric'] = 'numeric (ascii-numeric)'; +$messages['filterunknownerror'] = 'Սերվերի անհայտ սխալ'; +$messages['filterconnerror'] = 'Սերվերի հետ կապի խնդիր։'; +$messages['filterdeleted'] = 'Զտիչը ջնջվեց։'; +$messages['filtersaved'] = 'Զտիչը պահպանվեց։'; +$messages['filterdeleteconfirm'] = 'Դուք իսկապե՞ս ցանկանում եք ջնջել նշված զտիչը։'; +$messages['ruledeleteconfirm'] = 'Դուք իսկապե՞ս ցանկանում եք ջնջել նշված պայմանը։'; +$messages['actiondeleteconfirm'] = 'Դուք իսկապե՞ս ցանկանում եք ջնջել նշված գործողությունը։'; +$messages['forbiddenchars'] = 'Դաշտում առկա են արգելված նիշեր։'; +$messages['cannotbeempty'] = 'Դաշտը դատարկ չի կարող լինել։'; +$messages['ruleexist'] = 'Տրված անունով զտիչ արդեն գոյություն ունի։'; +$messages['setactivated'] = 'Զտիչների համալիրը միացված է։'; +$messages['setdeactivated'] = 'Զտիչների համալիրը անջատված է։'; +$messages['setdeleted'] = 'Զտիչների համալիրը ջնջված է։'; +$messages['setdeleteconfirm'] = 'Դուք իսկապե՞ս ցանկանում եք ջնջել նշված զտիչների համալիրը։'; +$messages['setcreated'] = 'Զտիչների համալիրը ստեղծված է։'; +$messages['deactivated'] = 'Զտիչի միացված է։'; +$messages['activated'] = 'Զտիչի անջատված է։'; +$messages['moved'] = 'Զտիչի տեղափոխված է։'; +$messages['nametoolong'] = 'Անունը չափազանց երկար է։'; +$messages['namereserved'] = 'Անթույլատրելի անուն։'; +$messages['setexist'] = 'Համալիրը արդեն գոյություն ունի։'; +$messages['nodata'] = 'Պահանջվում է նշել գոնե մեկ դիրք։'; +?> diff --git a/plugins/managesieve/localization/ia.inc b/plugins/managesieve/localization/ia.inc new file mode 100644 index 000000000..2f417abb9 --- /dev/null +++ b/plugins/managesieve/localization/ia.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtros'; +$labels['managefilters'] = 'Gerer filtros de e-mail entrante'; +$labels['filtername'] = 'Nomine de filtro'; +$labels['newfilter'] = 'Nove filtro'; +$labels['filteradd'] = 'Adder filtro'; +$labels['filterdel'] = 'Deler filtro'; +$labels['moveup'] = 'Displaciar in alto'; +$labels['movedown'] = 'Displaciar a basso'; +$labels['filterallof'] = 'que satisface tote le sequente regulas'; +$labels['filteranyof'] = 'que satisface un del sequente regulas'; +$labels['filterany'] = 'tote le messages'; +$labels['filtercontains'] = 'contine'; +$labels['filternotcontains'] = 'non contine'; +$labels['filteris'] = 'es equal a'; +$labels['filterisnot'] = 'non es equal a'; +$labels['filterexists'] = 'existe'; +$labels['filternotexists'] = 'non existe'; +$labels['filtermatches'] = 'corresponde al expression'; +$labels['filternotmatches'] = 'non corresponde al expression'; +$labels['filterregex'] = 'corresponde al expression regular'; +$labels['filternotregex'] = 'non corresponde al expression regular'; +$labels['filterunder'] = 'sub'; +$labels['filterover'] = 'super'; +$labels['addrule'] = 'Adder regula'; +$labels['delrule'] = 'Deler regula'; +$labels['messagemoveto'] = 'Displaciar message a'; +$labels['messageredirect'] = 'Rediriger message a'; +$labels['messagecopyto'] = 'Copiar message a'; +$labels['messagesendcopy'] = 'Inviar copia del message a'; +$labels['messagereply'] = 'Responder con message'; +$labels['messagedelete'] = 'Deler message'; +$labels['messagediscard'] = 'Abandonar con message'; +$labels['messagekeep'] = 'Retener message in cassa de entrata'; +$labels['messagesrules'] = 'Pro messages entrante:'; +$labels['messagesactions'] = '...executar le sequente actiones:'; +$labels['add'] = 'Adder'; +$labels['del'] = 'Deler'; +$labels['sender'] = 'Expeditor'; +$labels['recipient'] = 'Destinatario'; +$labels['vacationaddr'] = 'Mi additional adresse(s) de e-mail:'; +$labels['vacationdays'] = 'Frequentia de invio de messages (in dies):'; +$labels['vacationinterval'] = 'Frequentia de invio de messages:'; +$labels['vacationreason'] = 'Texto del message (motivo del absentia):'; +$labels['vacationsubject'] = 'Subjecto del message:'; +$labels['days'] = 'dies'; +$labels['seconds'] = 'secundas'; +$labels['rulestop'] = 'Cessar de evalutar regulas'; +$labels['enable'] = 'Activar/Disactivar'; +$labels['filterset'] = 'Gruppo de filtros'; +$labels['filtersets'] = 'Gruppos de filtros'; +$labels['filtersetadd'] = 'Adder gruppo de filtros'; +$labels['filtersetdel'] = 'Deler le gruppo de filtros actual'; +$labels['filtersetact'] = 'Activar le gruppo de filtros actual'; +$labels['filtersetdeact'] = 'Disactivar le gruppo de filtros actual'; +$labels['filterdef'] = 'Definition del filtro'; +$labels['filtersetname'] = 'Nomine del gruppo de filtros'; +$labels['newfilterset'] = 'Nove gruppo de filtros'; +$labels['active'] = 'active'; +$labels['none'] = 'nulle'; +$labels['fromset'] = 'ab gruppo'; +$labels['fromfile'] = 'ab file'; +$labels['filterdisabled'] = 'Filtro disactivate'; +$labels['countisgreaterthan'] = 'numero es superior a'; +$labels['countisgreaterthanequal'] = 'numero es superior o equal a'; +$labels['countislessthan'] = 'numero es inferior a'; +$labels['countislessthanequal'] = 'numero es inferior o equal a'; +$labels['countequals'] = 'numero es equal a'; +$labels['countnotequals'] = 'numero non es equal a'; +$labels['valueisgreaterthan'] = 'valor es superior a'; +$labels['valueisgreaterthanequal'] = 'valor es superior o equal a'; +$labels['valueislessthan'] = 'valor es inferior a'; +$labels['valueislessthanequal'] = 'valor es inferior o equal a'; +$labels['valueequals'] = 'valor es equal a'; +$labels['valuenotequals'] = 'valor non es equal a'; +$labels['setflags'] = 'Mitter signales al message'; +$labels['addflags'] = 'Adder signales al message'; +$labels['removeflags'] = 'Remover signales del message'; +$labels['flagread'] = 'Legite'; +$labels['flagdeleted'] = 'Delite'; +$labels['flaganswered'] = 'Respondite'; +$labels['flagflagged'] = 'Signalate'; +$labels['flagdraft'] = 'Version provisori'; +$labels['setvariable'] = 'Definir variabile'; +$labels['setvarname'] = 'Nomine del variabile:'; +$labels['setvarvalue'] = 'Valor del variabile:'; +$labels['setvarmodifiers'] = 'Modificatores:'; +$labels['varlower'] = 'minusculas'; +$labels['varupper'] = 'majusculas'; +$labels['varlowerfirst'] = 'prime character es minuscula'; +$labels['varupperfirst'] = 'prime character es majuscula'; +$labels['varquotewildcard'] = 'mitter characteres special inter virgulettas'; +$labels['varlength'] = 'longitude'; +$labels['notify'] = 'Inviar notification'; +$labels['notifytarget'] = 'Scopo del notification:'; +$labels['notifymessage'] = 'Message del notification (optional):'; +$labels['notifyoptions'] = 'Optiones de notification (optional):'; +$labels['notifyfrom'] = 'Expeditor del notification (optional):'; +$labels['notifyimportance'] = 'Importantia:'; +$labels['notifyimportancelow'] = 'basse'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'alte'; +$labels['notifymethodmailto'] = 'E-mail'; +$labels['notifymethodtel'] = 'Telephono'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Crear filtro'; +$labels['usedata'] = 'Usar le sequente datos in le filtro:'; +$labels['nextstep'] = 'Proxime passo'; +$labels['...'] = '...'; +$labels['currdate'] = 'Data actual'; +$labels['datetest'] = 'Data'; +$labels['dateheader'] = 'capite:'; +$labels['year'] = 'anno'; +$labels['month'] = 'mense'; +$labels['day'] = 'die'; +$labels['date'] = 'data (aaaa-mm-dd)'; +$labels['julian'] = 'data (julian)'; +$labels['hour'] = 'hora'; +$labels['minute'] = 'minuta'; +$labels['second'] = 'secunda'; +$labels['time'] = 'hora (hh:mm:ss)'; +$labels['iso8601'] = 'data (ISO8601)'; +$labels['std11'] = 'data (RFC2822)'; +$labels['zone'] = 'fuso horari'; +$labels['weekday'] = 'die del septimana (0-6)'; +$labels['advancedopts'] = 'Optiones avantiate'; +$labels['body'] = 'Texto'; +$labels['address'] = 'adresse'; +$labels['envelope'] = 'inveloppe'; +$labels['modifier'] = 'modificator:'; +$labels['text'] = 'texto'; +$labels['undecoded'] = 'non decodificate (crude)'; +$labels['contenttype'] = 'typo de contento'; +$labels['modtype'] = 'typo:'; +$labels['allparts'] = 'totes'; +$labels['domain'] = 'dominio'; +$labels['localpart'] = 'parte local'; +$labels['user'] = 'usator'; +$labels['detail'] = 'detalio'; +$labels['comparator'] = 'comparator:'; +$labels['default'] = 'predefinite'; +$labels['octet'] = 'stricte (octetto)'; +$labels['asciicasemap'] = 'non sensibile al differentia inter majusculas e minusculas (ascii-casemap)'; +$labels['asciinumeric'] = 'numeric (ascii-numeric)'; +$labels['index'] = 'indice:'; +$labels['indexlast'] = 'a retro'; +$labels['vacation'] = 'Vacantias'; +$labels['vacation.reply'] = 'Message de responsa'; +$labels['vacation.advanced'] = 'Configuration avantiate'; +$labels['vacation.subject'] = 'Subjecto'; +$labels['vacation.body'] = 'Texto'; +$labels['vacation.start'] = 'Initio del vacantias'; +$labels['vacation.end'] = 'Fin del vacantias'; +$labels['vacation.status'] = 'Stato'; +$labels['vacation.on'] = 'Active'; +$labels['vacation.off'] = 'Non active'; +$labels['vacation.addresses'] = 'Mi adresses additional'; +$labels['vacation.interval'] = 'Intervallo de responsa'; +$labels['vacation.after'] = 'Mitter le regula de vacantias post'; +$labels['vacation.saving'] = 'A salveguardar datos...'; +$labels['vacation.action'] = 'Action pro message entrante'; +$labels['vacation.keep'] = 'Retener'; +$labels['vacation.discard'] = 'Abandonar'; +$labels['vacation.redirect'] = 'Rediriger a'; +$labels['vacation.copy'] = 'Inviar copia a'; +$labels['arialabelfiltersetactions'] = 'Actiones de gruppo de filtros'; +$labels['arialabelfilteractions'] = 'Actiones de filtro'; +$labels['arialabelfilterform'] = 'Proprietates de filtro'; +$labels['ariasummaryfilterslist'] = 'Lista de filtros'; +$labels['ariasummaryfiltersetslist'] = 'Lista de gruppos de filtros'; +$labels['filterstitle'] = 'Modificar filtros de e-mail entrante'; +$labels['vacationtitle'] = 'Modificar regula de absentia'; +$messages['filterunknownerror'] = 'Error de servitor incognite.'; +$messages['filterconnerror'] = 'Impossibile connecter al servitor.'; +$messages['filterdeleteerror'] = 'Impossibile deler le filtro. Un error de servitor ha occurrite.'; +$messages['filterdeleted'] = 'Le filtro ha essite delite.'; +$messages['filtersaved'] = 'Le filtro ha essite salveguardate.'; +$messages['filtersaveerror'] = 'Impossibile salveguardar le filtro. Un error de servitor ha occurrite.'; +$messages['filterdeleteconfirm'] = 'Es vos secur de voler deler le filtro seligite?'; +$messages['ruledeleteconfirm'] = 'Es vos secur de voler deler le regula seligite?'; +$messages['actiondeleteconfirm'] = 'Es vos secur de voler deler le action seligite?'; +$messages['forbiddenchars'] = 'Le campo contine characteres interdicte.'; +$messages['cannotbeempty'] = 'Le campo non pote esser vacue.'; +$messages['ruleexist'] = 'Un filtro con le nomine specificate jam existe.'; +$messages['setactivateerror'] = 'Impossibile activar le gruppo de filtros seligite. Un error de servitor ha occurrite.'; +$messages['setdeactivateerror'] = 'Impossibile disactivar le gruppo de filtros seligite. Un error de servitor ha occurrite.'; +$messages['setdeleteerror'] = 'Impossibile deler le gruppo de filtros seligite. Un error de servitor ha occurrite.'; +$messages['setactivated'] = 'Le gruppo de filtros ha essite activate.'; +$messages['setdeactivated'] = 'Le gruppo de filtros ha essite disactivate.'; +$messages['setdeleted'] = 'Le gruppo de filtros ha essite delite.'; +$messages['setdeleteconfirm'] = 'Es vos secur de voler deler le gruppo de filtros seligite?'; +$messages['setcreateerror'] = 'Impossibile crear le gruppo de filtros. Un error de servitor ha occurrite.'; +$messages['setcreated'] = 'Le gruppo de filtros ha essite create.'; +$messages['activateerror'] = 'Impossibile activar le filtro(s) seligite. Un error de servitor ha occurrite.'; +$messages['deactivateerror'] = 'Impossibile disactivar le filtro(s) seligite. Un error de servitor ha occurrite.'; +$messages['deactivated'] = 'Le filtro(s) ha essite disactivate.'; +$messages['activated'] = 'Le filtro(s) ha essite activate.'; +$messages['moved'] = 'Le filtro ha essite displaciate.'; +$messages['moveerror'] = 'Impossibile displaciar le filtro seligite. Un error de servitor ha occurrite.'; +$messages['nametoolong'] = 'Le nomine es troppo longe.'; +$messages['namereserved'] = 'Nomine reservate.'; +$messages['setexist'] = 'Le gruppo jam existe.'; +$messages['nodata'] = 'Al minus un position debe esser seligite.'; +$messages['invaliddateformat'] = 'Le formato del data o del parte de data non es valide'; +$messages['saveerror'] = 'Impossibile salveguardar le datos. Un error de servitor ha occurrite.'; +$messages['vacationsaved'] = 'Le datos del vacantias ha essite salveguardate.'; +$messages['emptyvacationbody'] = 'Le texto del message de vacantias es obligatori.'; +?> diff --git a/plugins/managesieve/localization/id_ID.inc b/plugins/managesieve/localization/id_ID.inc new file mode 100644 index 000000000..b445ef65e --- /dev/null +++ b/plugins/managesieve/localization/id_ID.inc @@ -0,0 +1,221 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filter'; +$labels['managefilters'] = 'Atur filter email masuk'; +$labels['filtername'] = 'Nama filter'; +$labels['newfilter'] = 'Filter baru'; +$labels['filteradd'] = 'Tambah filter'; +$labels['filterdel'] = 'Hapus filter'; +$labels['moveup'] = 'Pindah ke atas'; +$labels['movedown'] = 'Pindah ke bawah'; +$labels['filterallof'] = 'cocok dengan semua aturan berikut ini'; +$labels['filteranyof'] = 'cocok dengan aturan manapun'; +$labels['filterany'] = 'semua pesan'; +$labels['filtercontains'] = 'berisi'; +$labels['filternotcontains'] = 'tidak berisi'; +$labels['filteris'] = 'sama dengan'; +$labels['filterisnot'] = 'tidak sama dengan'; +$labels['filterexists'] = 'ada'; +$labels['filternotexists'] = 'tidak ada'; +$labels['filtermatches'] = 'ekspresi yg cocok'; +$labels['filternotmatches'] = 'ekspresi yg tidak cocok'; +$labels['filterregex'] = 'cocok dengan ekspresi reguler'; +$labels['filternotregex'] = 'tidak cocok dengan ekspresi reguler'; +$labels['filterunder'] = 'di bawah'; +$labels['filterover'] = 'di atas'; +$labels['addrule'] = 'Tambah aturan'; +$labels['delrule'] = 'Hapus aturan'; +$labels['messagemoveto'] = 'Pindah pesan ke'; +$labels['messageredirect'] = 'Alihkan pesan ke'; +$labels['messagecopyto'] = 'Salin pesan ke'; +$labels['messagesendcopy'] = 'Kirim salinan pesan ke'; +$labels['messagereply'] = 'balas dengan pesan'; +$labels['messagedelete'] = 'Hapus pesan'; +$labels['messagediscard'] = 'Buang dengan pesan'; +$labels['messagekeep'] = 'Biarkan pesan tetap didalam kotak surat'; +$labels['messagesrules'] = 'Untuk email masuk:'; +$labels['messagesactions'] = '...lakukan tindakan berikut'; +$labels['add'] = 'Tambah'; +$labels['del'] = 'Hapus'; +$labels['sender'] = 'Pengirim'; +$labels['recipient'] = 'Penerima'; +$labels['vacationaddr'] = 'Alamat email tambahan saya:'; +$labels['vacationdays'] = 'Seberapa sering mengirim pesan (dalam hari):'; +$labels['vacationinterval'] = 'Seberapa sering untuk pengiriman pesan:'; +$labels['vacationreason'] = 'Isi pesan (alasan liburan):'; +$labels['vacationsubject'] = 'Judul pesan:'; +$labels['days'] = 'hari'; +$labels['seconds'] = 'detik'; +$labels['rulestop'] = 'Berhenti mengevaluasi aturan'; +$labels['enable'] = 'Aktifkan/Non-Aktifkan'; +$labels['filterset'] = 'Himpunan filter'; +$labels['filtersets'] = 'Himpunan banyak filter'; +$labels['filtersetadd'] = 'Tambahkan himpunan filter'; +$labels['filtersetdel'] = 'Hapus himpunan filter yang sekarang'; +$labels['filtersetact'] = 'Aktifkan himpunan filter ayng sekarang'; +$labels['filtersetdeact'] = 'Matikan himpunan filter ayng sekarang'; +$labels['filterdef'] = 'Definisi filter'; +$labels['filtersetname'] = 'Nama himpunan filter'; +$labels['newfilterset'] = 'Himpunan filter baru'; +$labels['active'] = 'aktif'; +$labels['none'] = 'nihil'; +$labels['fromset'] = 'dari himpunan'; +$labels['fromfile'] = 'dari berkas'; +$labels['filterdisabled'] = 'Filter dimatikan'; +$labels['countisgreaterthan'] = 'penghitungan lebih besar dari'; +$labels['countisgreaterthanequal'] = 'penghitungan lebih besa dari atau sama dengan'; +$labels['countislessthan'] = 'penghitungan lebih kecil dari'; +$labels['countislessthanequal'] = 'penghitungan lebih kecil dari atau sama dengan'; +$labels['countequals'] = 'penghitungan sama dengan'; +$labels['countnotequals'] = 'penghitungan tidak sama dengan'; +$labels['valueisgreaterthan'] = 'nilai lebih besar dari'; +$labels['valueisgreaterthanequal'] = 'nilai lebih besar dari atau sama dengan'; +$labels['valueislessthan'] = 'nilai lebih kecil dari'; +$labels['valueislessthanequal'] = 'nilai lebih kecil dari atau sama dengan'; +$labels['valueequals'] = 'nilai sama dengan'; +$labels['valuenotequals'] = 'nilai tidak sadengan'; +$labels['setflags'] = 'Atur tanda pada pesan'; +$labels['addflags'] = 'Berikan tanda pada pesan'; +$labels['removeflags'] = 'Cabut tanda dari pesan'; +$labels['flagread'] = 'Baca'; +$labels['flagdeleted'] = 'Terhapus'; +$labels['flaganswered'] = 'Terjawab'; +$labels['flagflagged'] = 'Ditandai'; +$labels['flagdraft'] = 'Konsep'; +$labels['setvariable'] = 'Set variabel'; +$labels['setvarname'] = 'Nama variabel:'; +$labels['setvarvalue'] = 'Nilai variabel'; +$labels['setvarmodifiers'] = 'Pengubah'; +$labels['varlower'] = 'huruf kecil'; +$labels['varupper'] = 'huruf besar'; +$labels['varlowerfirst'] = 'karakter pertama huruf kecil'; +$labels['varupperfirst'] = 'karakter pertama huruf besar'; +$labels['varquotewildcard'] = 'kutip karakter khusus'; +$labels['varlength'] = 'panjang'; +$labels['notify'] = 'Kirim pemberitahuan'; +$labels['notifytarget'] = 'Pemberitahuan yang dituju:'; +$labels['notifymessage'] = 'Pemberitahuan pesan (pilihan):'; +$labels['notifyoptions'] = 'Pemberitahuan untuk beberapa pilihan (pilihan):'; +$labels['notifyfrom'] = 'Pemberitahuan ke pengirim (tidak harus):'; +$labels['notifyimportance'] = 'Tingkat kepentingan:'; +$labels['notifyimportancelow'] = 'rendah'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'tinggi'; +$labels['notifymethodmailto'] = 'Surat Elektronik / Email'; +$labels['notifymethodtel'] = 'Telepon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Buat filter'; +$labels['usedata'] = 'Gunakan data berikut dalam filter:'; +$labels['nextstep'] = 'Langkah Selanjutnya'; +$labels['...'] = '...'; +$labels['currdate'] = 'Tanggal sekarang'; +$labels['datetest'] = 'Tanggal'; +$labels['dateheader'] = 'header / tajuk:'; +$labels['year'] = 'tahun'; +$labels['month'] = 'bulan'; +$labels['day'] = 'hari'; +$labels['date'] = 'tanggal (yyyy-mm-dd)'; +$labels['julian'] = 'tanggal (kalender julian)'; +$labels['hour'] = 'jam'; +$labels['minute'] = 'menit'; +$labels['second'] = 'detik'; +$labels['time'] = 'waktu :(hh:mm:ss)'; +$labels['iso8601'] = 'tanggal (ISO8601)'; +$labels['std11'] = 'tanggal (RFC2822)'; +$labels['zone'] = 'zona-waktu'; +$labels['weekday'] = 'hari kerja (0-6)'; +$labels['advancedopts'] = 'Pilihan lanjutan'; +$labels['body'] = 'Isi'; +$labels['address'] = 'alamat'; +$labels['envelope'] = 'amplop'; +$labels['modifier'] = 'peubah:'; +$labels['text'] = 'teks'; +$labels['undecoded'] = 'praterjemahan (mentah)'; +$labels['contenttype'] = 'tipe isi'; +$labels['modtype'] = 'tipe:'; +$labels['allparts'] = 'semua'; +$labels['domain'] = 'domain'; +$labels['localpart'] = 'bagian lokal'; +$labels['user'] = 'pengguna'; +$labels['detail'] = 'rinci'; +$labels['comparator'] = 'pembanding:'; +$labels['default'] = 'standar'; +$labels['octet'] = 'ketat (oktet)'; +$labels['asciicasemap'] = 'case insensitive (ascii-casemap)'; +$labels['asciinumeric'] = 'numeric (ascii-numeric)'; +$labels['index'] = 'indeks:'; +$labels['indexlast'] = 'mundur:'; +$labels['vacation'] = 'Liburan'; +$labels['vacation.reply'] = 'Balas pesan'; +$labels['vacation.advanced'] = 'Pengaturan Lanjutan'; +$labels['vacation.subject'] = 'Judul'; +$labels['vacation.body'] = 'Isi'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.on'] = 'Nyala'; +$labels['vacation.off'] = 'Mati'; +$labels['vacation.addresses'] = 'Alamat email tambahan saya'; +$labels['vacation.interval'] = 'Balas secara interval'; +$labels['vacation.after'] = 'Atur untuk pengaturan cuti setelah'; +$labels['vacation.saving'] = 'Menyimpan data...'; +$labels['vacation.action'] = 'Tindakan untuk pesan masuk'; +$labels['vacation.keep'] = 'Simpan'; +$labels['vacation.discard'] = 'Buang'; +$labels['vacation.redirect'] = 'Alihkan ke'; +$labels['vacation.copy'] = 'Kirim salinan ke'; +$labels['arialabelfiltersetactions'] = 'Tindakan untuk penyaringan'; +$labels['arialabelfilteractions'] = 'Tindakan penyaringan'; +$labels['arialabelfilterform'] = 'Properti untuk penyaringan'; +$labels['ariasummaryfilterslist'] = 'Daftar penyaringan'; +$labels['ariasummaryfiltersetslist'] = 'Daftar penyaringan yang telah di set'; +$labels['filterstitle'] = 'Ubah penyaringan untuk email masuk'; +$labels['vacationtitle'] = 'Ubah aturan untuk sedang-diluar-kantor'; +$messages['filterunknownerror'] = 'Error pada server tak dikenali.'; +$messages['filterconnerror'] = 'Tidak dapat menyambung ke server.'; +$messages['filterdeleteerror'] = 'Tidak dapat menghapus penyaringan. Terjadi kesalahan pada server.'; +$messages['filterdeleted'] = 'Penyaringan berhasil dihapus.'; +$messages['filtersaved'] = 'Penyaringan berhasil disimpan.'; +$messages['filtersaveerror'] = 'Tidak dapat menyimpan penyaringan. Terjadi kesalahan pada server.'; +$messages['filterdeleteconfirm'] = 'Yakin untuk menghapus penyaringan terpilih?'; +$messages['ruledeleteconfirm'] = 'Yakin untuk menghapus aturan terpilih?'; +$messages['actiondeleteconfirm'] = 'Yakin untuk menghapus tindakan terpilih?'; +$messages['forbiddenchars'] = 'Karakter terlarang pada isian.'; +$messages['cannotbeempty'] = 'Isian tidak bisa kosong.'; +$messages['ruleexist'] = 'Penyaringan dengan nama tersebut sudah ada.'; +$messages['setactivateerror'] = 'Tidak dapat mengaktivkan kumpulan penyaringan terpilih. Terjadi kesalahan pada server.'; +$messages['setdeactivateerror'] = 'Tidak bisa mematikan kumpulan penyaringan terpilih. Terjadi kesalahan pada server.'; +$messages['setdeleteerror'] = 'Tidak dapat menghapus kumpulan penyaringan terpilih. Terjadi kesalahan pada server.'; +$messages['setactivated'] = 'Kumpulan penyaringan berhasil dihidupkan.'; +$messages['setdeactivated'] = 'Kumpulan penyaringan berhasil dimatikan.'; +$messages['setdeleted'] = 'Kumpulan penyaringan berhasil dihapus.'; +$messages['setdeleteconfirm'] = 'Yakin ingin menghapus kumpulan penyaringan terpilih?'; +$messages['setcreateerror'] = 'Tidak bisa membuat kumpulan penyaringan. Terjadi kesalahan pada server'; +$messages['setcreated'] = 'Kumpulan penyaringan berhasul dibuat.'; +$messages['activateerror'] = 'Tidak dapat mengaktifkan penyaringan terpilih. Terjadi kesalahan pada server'; +$messages['deactivateerror'] = 'Tidak dapat mematikan penyaringan terpilih. Terjadi kesalahan pada server'; +$messages['deactivated'] = 'Berhasil menghidupkan penyaringan.'; +$messages['activated'] = 'Berhasil mematikan penyaringan.'; +$messages['moved'] = 'Berhasil memindahkan penyaringan.'; +$messages['moveerror'] = 'Tidak bisa memindahkan penyaringan terpilih. Ada kesalahan di server.'; +$messages['nametoolong'] = 'Nama terlalu panjang.'; +$messages['namereserved'] = 'Nama sudah terpesan.'; +$messages['setexist'] = 'Kumpulan sudah ada.'; +$messages['nodata'] = 'Setidaknya satu posisi harus dipilih!'; +$messages['invaliddateformat'] = 'Format tanggal atau bagian dari tanggal salah'; +$messages['saveerror'] = 'Tidak dapat menyimpan data. Terjadi kesalahan pada server.'; +$messages['vacationsaved'] = 'Data untuk cuti berhasil disimpan.'; +?> diff --git a/plugins/managesieve/localization/it_IT.inc b/plugins/managesieve/localization/it_IT.inc new file mode 100644 index 000000000..b97fde843 --- /dev/null +++ b/plugins/managesieve/localization/it_IT.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtri'; +$labels['managefilters'] = 'Gestione dei filtri per la posta in arrivo'; +$labels['filtername'] = 'Nome del filtro'; +$labels['newfilter'] = 'Nuovo filtro'; +$labels['filteradd'] = 'Aggiungi filtro'; +$labels['filterdel'] = 'Elimina filtro'; +$labels['moveup'] = 'Sposta sopra'; +$labels['movedown'] = 'Sposta sotto'; +$labels['filterallof'] = 'che soddisfa tutte le regole seguenti'; +$labels['filteranyof'] = 'che soddisfa una qualsiasi delle regole seguenti'; +$labels['filterany'] = 'tutti i messaggi'; +$labels['filtercontains'] = 'contiene'; +$labels['filternotcontains'] = 'non contiene'; +$labels['filteris'] = 'è uguale a'; +$labels['filterisnot'] = 'è diverso da'; +$labels['filterexists'] = 'esiste'; +$labels['filternotexists'] = 'non esiste'; +$labels['filtermatches'] = 'matcha l\'espressione'; +$labels['filternotmatches'] = 'non matcha l\'espressione'; +$labels['filterregex'] = 'matcha l\'espressione regolare'; +$labels['filternotregex'] = 'non matcha l\'espressione regolare'; +$labels['filterunder'] = 'sotto'; +$labels['filterover'] = 'sopra'; +$labels['addrule'] = 'Aggiungi regola'; +$labels['delrule'] = 'Elimina regola'; +$labels['messagemoveto'] = 'Sposta il messaggio in'; +$labels['messageredirect'] = 'Inoltra il messaggio a'; +$labels['messagecopyto'] = 'copia a'; +$labels['messagesendcopy'] = 'Invia copia a'; +$labels['messagereply'] = 'Rispondi con il messaggio'; +$labels['messagedelete'] = 'Elimina il messaggio'; +$labels['messagediscard'] = 'Rifiuta con messaggio'; +$labels['messagekeep'] = 'Mantieni il messaggio in Posta ricevuta'; +$labels['messagesrules'] = 'Per la posta in arrivo'; +$labels['messagesactions'] = '...esegui le seguenti azioni:'; +$labels['add'] = 'Aggiungi'; +$labels['del'] = 'Elimina'; +$labels['sender'] = 'Mittente'; +$labels['recipient'] = 'Destinatario'; +$labels['vacationaddr'] = 'Account email aggiuntivo(i):'; +$labels['vacationdays'] = 'Ogni quanti giorni ribadire il messaggio allo stesso mittente'; +$labels['vacationinterval'] = 'Ogni quanto tempo inviare i messaggi:'; +$labels['vacationreason'] = 'Corpo del messaggio (dettagli relativi all\'assenza):'; +$labels['vacationsubject'] = 'Oggetto del messaggio'; +$labels['days'] = 'giorni'; +$labels['seconds'] = 'secondi'; +$labels['rulestop'] = 'Non valutare le regole successive'; +$labels['enable'] = 'Abilita/disabilita'; +$labels['filterset'] = 'Gruppi di filtri'; +$labels['filtersets'] = 'gruppo di filtri'; +$labels['filtersetadd'] = 'Aggiungi gruppo'; +$labels['filtersetdel'] = 'Cancella gruppo selezionato'; +$labels['filtersetact'] = 'Attiva gruppo selezionato'; +$labels['filtersetdeact'] = 'Disattiva gruppo selezionato'; +$labels['filterdef'] = 'Definizione del filtro'; +$labels['filtersetname'] = 'Nome del Gruppo di filtri'; +$labels['newfilterset'] = 'Nuovo gruppo di filri'; +$labels['active'] = 'attivo'; +$labels['none'] = 'nessuno'; +$labels['fromset'] = 'dal set'; +$labels['fromfile'] = 'dal file'; +$labels['filterdisabled'] = 'Filtro disabilitato'; +$labels['countisgreaterthan'] = 'somma maggiore di'; +$labels['countisgreaterthanequal'] = 'somma maggiore uguale a'; +$labels['countislessthan'] = 'somma minore di'; +$labels['countislessthanequal'] = 'somma minore o uguale a'; +$labels['countequals'] = 'somma uguale a'; +$labels['countnotequals'] = 'il conteggio non è uguale a'; +$labels['valueisgreaterthan'] = 'valore maggiore di'; +$labels['valueisgreaterthanequal'] = 'valore maggiore uguale a'; +$labels['valueislessthan'] = 'valore minore di'; +$labels['valueislessthanequal'] = 'valore minore uguale di'; +$labels['valueequals'] = 'valore uguale a'; +$labels['valuenotequals'] = 'il valore non è uguale a'; +$labels['setflags'] = 'Contrassegna il messaggio'; +$labels['addflags'] = 'aggiungi flag al messaggio'; +$labels['removeflags'] = 'togli flag dal messaggio'; +$labels['flagread'] = 'Letto'; +$labels['flagdeleted'] = 'Cancellato'; +$labels['flaganswered'] = 'Risposto'; +$labels['flagflagged'] = 'Contrassegna'; +$labels['flagdraft'] = 'Bozza'; +$labels['setvariable'] = 'Imposta variabile'; +$labels['setvarname'] = 'Nome variabile:'; +$labels['setvarvalue'] = 'Valore variabile:'; +$labels['setvarmodifiers'] = 'Modificatori:'; +$labels['varlower'] = 'minuscole'; +$labels['varupper'] = 'maiuscole'; +$labels['varlowerfirst'] = 'primo carattere minuscolo'; +$labels['varupperfirst'] = 'primo carattere maiuscolo'; +$labels['varquotewildcard'] = 'caratteri speciali di quoting'; +$labels['varlength'] = 'lunghezza'; +$labels['notify'] = 'Invia notifica'; +$labels['notifytarget'] = 'Destinatario della notifica'; +$labels['notifymessage'] = 'Messaggio di notifica (opzionale):'; +$labels['notifyoptions'] = 'Opzioni di notifica (opzionale):'; +$labels['notifyfrom'] = 'Mittente della notifica (opzionale):'; +$labels['notifyimportance'] = 'Importanza:'; +$labels['notifyimportancelow'] = 'bassa'; +$labels['notifyimportancenormal'] = 'normale'; +$labels['notifyimportancehigh'] = 'alta'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Telefono'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Crea filtro'; +$labels['usedata'] = 'utilizza i seguenti dati nel filtro'; +$labels['nextstep'] = 'passo successivo'; +$labels['...'] = '...'; +$labels['currdate'] = 'Data attuale'; +$labels['datetest'] = 'Data'; +$labels['dateheader'] = 'intestazione:'; +$labels['year'] = 'anno'; +$labels['month'] = 'mese'; +$labels['day'] = 'giorno'; +$labels['date'] = 'data (aaaa-mm-gg)'; +$labels['julian'] = 'data (Giuliana)'; +$labels['hour'] = 'ora'; +$labels['minute'] = 'minuto'; +$labels['second'] = 'secondo'; +$labels['time'] = 'tempo (hh:mm:ss)'; +$labels['iso8601'] = 'data (ISO8601)'; +$labels['std11'] = 'data (RFC2822)'; +$labels['zone'] = 'fuso orario'; +$labels['weekday'] = 'giorno della settimana (0-6)'; +$labels['advancedopts'] = 'Opzioni avanzate'; +$labels['body'] = 'Corpo'; +$labels['address'] = 'indirizzo'; +$labels['envelope'] = 'busta'; +$labels['modifier'] = 'modificatore:'; +$labels['text'] = 'testo'; +$labels['undecoded'] = 'non decodificato (raw)'; +$labels['contenttype'] = 'content type'; +$labels['modtype'] = 'tipo:'; +$labels['allparts'] = 'tutto'; +$labels['domain'] = 'dominio'; +$labels['localpart'] = 'parte locale'; +$labels['user'] = 'user'; +$labels['detail'] = 'dettaglio'; +$labels['comparator'] = 'comparatore'; +$labels['default'] = 'predefinito'; +$labels['octet'] = 'strict (octet)'; +$labels['asciicasemap'] = 'non differenziare maiuscole/minuscole (ascii-casemap)'; +$labels['asciinumeric'] = 'numerico'; +$labels['index'] = 'indice:'; +$labels['indexlast'] = 'indietro'; +$labels['vacation'] = 'Vacanza'; +$labels['vacation.reply'] = 'Messaggio di risposta'; +$labels['vacation.advanced'] = 'Impostazioni avanzate'; +$labels['vacation.subject'] = 'Oggetto'; +$labels['vacation.body'] = 'Testo'; +$labels['vacation.start'] = 'Inizio vacanza'; +$labels['vacation.end'] = 'Fine vacanza'; +$labels['vacation.status'] = 'Stato'; +$labels['vacation.on'] = 'Attivato'; +$labels['vacation.off'] = 'Disattivato'; +$labels['vacation.addresses'] = 'I miei indirizzi aggiuntivi'; +$labels['vacation.interval'] = 'Intervallo di risposta'; +$labels['vacation.after'] = 'Imposta regola di vacanza dopo'; +$labels['vacation.saving'] = 'Salvataggio...'; +$labels['vacation.action'] = 'Azione messaggio in arrivo'; +$labels['vacation.keep'] = 'Mantieni'; +$labels['vacation.discard'] = 'Elimina'; +$labels['vacation.redirect'] = 'Ridireziona a'; +$labels['vacation.copy'] = 'Invia copia a'; +$labels['arialabelfiltersetactions'] = 'Azione settaggio dei filtri '; +$labels['arialabelfilteractions'] = 'Azione Filtri'; +$labels['arialabelfilterform'] = 'Proprietà filtri'; +$labels['ariasummaryfilterslist'] = 'Lista dei filtri'; +$labels['ariasummaryfiltersetslist'] = 'Lista settaggio dei filtri'; +$labels['filterstitle'] = 'Modifica filtri dei messaggio in arrivo'; +$labels['vacationtitle'] = 'Modifica le regole del Risponditore automatico'; +$messages['filterunknownerror'] = 'Errore sconosciuto del server'; +$messages['filterconnerror'] = 'Collegamento al server managesieve fallito'; +$messages['filterdeleteerror'] = 'Eliminazione del filtro fallita. Si è verificato un errore nel server.'; +$messages['filterdeleted'] = 'Filtro eliminato con successo'; +$messages['filtersaved'] = 'Filtro salvato con successo'; +$messages['filtersaveerror'] = 'Salvataggio del filtro fallito. Si è verificato un errore nel server.'; +$messages['filterdeleteconfirm'] = 'Vuoi veramente eliminare il filtro selezionato?'; +$messages['ruledeleteconfirm'] = 'Sei sicuro di voler eliminare la regola selezionata?'; +$messages['actiondeleteconfirm'] = 'Sei sicuro di voler eliminare l\'azione selezionata?'; +$messages['forbiddenchars'] = 'Caratteri non consentiti nel campo'; +$messages['cannotbeempty'] = 'Il campo non può essere vuoto'; +$messages['ruleexist'] = 'Esiste già un filtro con questo nome'; +$messages['setactivateerror'] = 'Impossibile attivare il filtro. Errore del server.'; +$messages['setdeactivateerror'] = 'Impossibile disattivare i filtri selezionati. Errore del server.'; +$messages['setdeleteerror'] = 'Impossibile cancellare i filtri selezionati. Errore del server.'; +$messages['setactivated'] = 'Filtro attivato'; +$messages['setdeactivated'] = 'Filtro disattivato'; +$messages['setdeleted'] = 'Filtro cancellato'; +$messages['setdeleteconfirm'] = 'Sei sicuro di voler cancellare il gruppo di filtri'; +$messages['setcreateerror'] = 'Impossibile creare il gruppo di filtri. Errore del server.'; +$messages['setcreated'] = 'Gruppo di filtri creato'; +$messages['activateerror'] = 'Impossibile abilitare i filtri selzionati. Errore del server.'; +$messages['deactivateerror'] = 'impossibile disabilitare i filtri selezionati. Errore del server.'; +$messages['deactivated'] = 'filtro abilitato'; +$messages['activated'] = 'filtro disabilitato'; +$messages['moved'] = 'filtro spostato'; +$messages['moveerror'] = 'impossibile spostare il filtro selezionato. Errore del server.'; +$messages['nametoolong'] = 'Impossibile creare il gruppo: Nome troppo lungo'; +$messages['namereserved'] = 'nome riservato'; +$messages['setexist'] = 'Il gruppo esiste già'; +$messages['nodata'] = 'selezionare almeno una posizione'; +$messages['invaliddateformat'] = 'Formato della data non valido'; +$messages['saveerror'] = 'Impossibile salvare i dati. Errore del server.'; +$messages['vacationsaved'] = 'Dati di vacanza salvati correttamente.'; +$messages['emptyvacationbody'] = 'Il testo del messaggio non puo\' essere vuoto!'; +?> diff --git a/plugins/managesieve/localization/ja_JP.inc b/plugins/managesieve/localization/ja_JP.inc new file mode 100644 index 000000000..db04084bf --- /dev/null +++ b/plugins/managesieve/localization/ja_JP.inc @@ -0,0 +1,214 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'フィルター'; +$labels['managefilters'] = '受信メールのフィルターを管理'; +$labels['filtername'] = 'フィルター名'; +$labels['newfilter'] = '新しいフィルター'; +$labels['filteradd'] = 'フィルターを追加'; +$labels['filterdel'] = 'フィルターを削除'; +$labels['moveup'] = '上に移動'; +$labels['movedown'] = '下に移動'; +$labels['filterallof'] = '次のルールのすべてに一致'; +$labels['filteranyof'] = '次のルールのいずれかに一致'; +$labels['filterany'] = 'すべてのメッセージ'; +$labels['filtercontains'] = '含む'; +$labels['filternotcontains'] = '含まない'; +$labels['filteris'] = '次に等しい'; +$labels['filterisnot'] = '次に等しくない'; +$labels['filterexists'] = 'が存在'; +$labels['filternotexists'] = 'が存在しない'; +$labels['filtermatches'] = '次の式に一致'; +$labels['filternotmatches'] = '次の式に一致しない'; +$labels['filterregex'] = '次の正規表現に一致'; +$labels['filternotregex'] = '次の正規表現に一致しない'; +$labels['filterunder'] = 'より下'; +$labels['filterover'] = 'より上'; +$labels['addrule'] = 'ルールを追加'; +$labels['delrule'] = 'ルールを削除'; +$labels['messagemoveto'] = '次にメッセージを移動'; +$labels['messageredirect'] = '次のメールアドレスに転送'; +$labels['messagecopyto'] = '次にメッセージをコピー'; +$labels['messagesendcopy'] = '次にメッセージのコピーを送信'; +$labels['messagereply'] = 'メッセージを返信'; +$labels['messagedelete'] = 'メッセージを削除'; +$labels['messagediscard'] = 'メッセージを破棄'; +$labels['messagekeep'] = 'Keep message in Inbox'; +$labels['messagesrules'] = '受信したメールの処理:'; +$labels['messagesactions'] = '以下の操作を実行:'; +$labels['add'] = '追加'; +$labels['del'] = '削除'; +$labels['sender'] = '送信者'; +$labels['recipient'] = '宛先'; +$labels['vacationaddr'] = 'My additional e-mail address(es):'; +$labels['vacationdays'] = 'メッセージを(1日に)送信する頻度:'; +$labels['vacationinterval'] = 'メッセージを送信する頻度:'; +$labels['vacationreason'] = 'メッセージ本体(休暇の理由):'; +$labels['vacationsubject'] = 'メッセージの件名:'; +$labels['days'] = '日'; +$labels['seconds'] = '秒'; +$labels['rulestop'] = 'ルールの評価を停止'; +$labels['enable'] = '有効/無効'; +$labels['filterset'] = 'フィルターセット'; +$labels['filtersets'] = 'フィルターセット'; +$labels['filtersetadd'] = 'フィルターセットを追加'; +$labels['filtersetdel'] = '現在のフィルターセットを削除'; +$labels['filtersetact'] = '現在のフィルター セットを有効'; +$labels['filtersetdeact'] = '現在のフィルター セットを無効'; +$labels['filterdef'] = 'フィルターの定義'; +$labels['filtersetname'] = 'フィルターセットの名前'; +$labels['newfilterset'] = '新しいフィルターセット'; +$labels['active'] = '有効'; +$labels['none'] = 'なし'; +$labels['fromset'] = 'セットから'; +$labels['fromfile'] = 'ファイルから'; +$labels['filterdisabled'] = 'フィルターを無効にしました。'; +$labels['countisgreaterthan'] = 'より大きい回数'; +$labels['countisgreaterthanequal'] = '以上の回数'; +$labels['countislessthan'] = '未満の回数'; +$labels['countislessthanequal'] = '以下の回数'; +$labels['countequals'] = '次と等しい回数'; +$labels['countnotequals'] = 'count is not equal to'; +$labels['valueisgreaterthan'] = 'より大きい値'; +$labels['valueisgreaterthanequal'] = '以上の値'; +$labels['valueislessthan'] = '未満の値'; +$labels['valueislessthanequal'] = '以下の値'; +$labels['valueequals'] = '次と等しい値'; +$labels['valuenotequals'] = 'value is not equal to'; +$labels['setflags'] = 'メッセージにフラグを設定'; +$labels['addflags'] = 'メッセージにフラグを追加'; +$labels['removeflags'] = 'メッセージからフラグを削除'; +$labels['flagread'] = '既読'; +$labels['flagdeleted'] = '削除済み'; +$labels['flaganswered'] = '返信済み'; +$labels['flagflagged'] = 'フラグ付き'; +$labels['flagdraft'] = '下書き'; +$labels['setvariable'] = '変数を設定'; +$labels['setvarname'] = '変数の名前:'; +$labels['setvarvalue'] = '変数の値:'; +$labels['setvarmodifiers'] = '修飾子:'; +$labels['varlower'] = '小文字'; +$labels['varupper'] = '大文字'; +$labels['varlowerfirst'] = '最初の文字を小文字'; +$labels['varupperfirst'] = '最初の文字を大文字'; +$labels['varquotewildcard'] = '特殊文字を引用処理'; +$labels['varlength'] = '長さ'; +$labels['notify'] = '通知を送信'; +$labels['notifytarget'] = '通知の対象:'; +$labels['notifymessage'] = '通知のメッセージ(任意):'; +$labels['notifyoptions'] = '通知のオプション(任意):'; +$labels['notifyfrom'] = '通知の送信者(任意):'; +$labels['notifyimportance'] = '重要度:'; +$labels['notifyimportancelow'] = '低'; +$labels['notifyimportancenormal'] = '通常'; +$labels['notifyimportancehigh'] = '高'; +$labels['notifymethodmailto'] = '電子メール'; +$labels['notifymethodtel'] = '電話'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'フィルターを作成'; +$labels['usedata'] = 'フィルターで次のデータを使用'; +$labels['nextstep'] = '次のステップ'; +$labels['...'] = '...'; +$labels['currdate'] = 'Current date'; +$labels['datetest'] = 'Date'; +$labels['dateheader'] = 'header:'; +$labels['year'] = 'year'; +$labels['month'] = 'month'; +$labels['day'] = 'day'; +$labels['date'] = 'date (yyyy-mm-dd)'; +$labels['julian'] = 'date (julian)'; +$labels['hour'] = 'hour'; +$labels['minute'] = 'minute'; +$labels['second'] = 'second'; +$labels['time'] = 'time (hh:mm:ss)'; +$labels['iso8601'] = 'date (ISO8601)'; +$labels['std11'] = 'date (RFC2822)'; +$labels['zone'] = 'time-zone'; +$labels['weekday'] = 'weekday (0-6)'; +$labels['advancedopts'] = '高度なオプション'; +$labels['body'] = '本文'; +$labels['address'] = 'メールアドレス'; +$labels['envelope'] = 'エンベロープ'; +$labels['modifier'] = '修正:'; +$labels['text'] = 'テキスト'; +$labels['undecoded'] = '未デコード(そのまま)'; +$labels['contenttype'] = 'Content Type'; +$labels['modtype'] = '種類:'; +$labels['allparts'] = 'すべて'; +$labels['domain'] = 'ドメイン'; +$labels['localpart'] = 'ローカルパート'; +$labels['user'] = 'ユーザー'; +$labels['detail'] = '詳細'; +$labels['comparator'] = '比較器:'; +$labels['default'] = '初期値'; +$labels['octet'] = '厳密(オクテット)'; +$labels['asciicasemap'] = '大文字小文字を区別しない(ascii-casemap)'; +$labels['asciinumeric'] = '数値(ascii-numeric)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'backwards'; +$labels['vacation'] = '休暇'; +$labels['vacation.reply'] = '返信のメッセージ'; +$labels['vacation.advanced'] = '詳細な設定'; +$labels['vacation.subject'] = '件名'; +$labels['vacation.body'] = '本文'; +$labels['vacation.status'] = '状態'; +$labels['vacation.on'] = 'オン'; +$labels['vacation.off'] = 'オフ'; +$labels['vacation.addresses'] = '追加のアドレス'; +$labels['vacation.interval'] = '返信の間隔'; +$labels['vacation.after'] = '後に休暇のルールを記入'; +$labels['vacation.saving'] = 'データを保存中...'; +$labels['arialabelfiltersetactions'] = 'フィルターセットの動作'; +$labels['arialabelfilteractions'] = 'フィルターの動作'; +$labels['arialabelfilterform'] = 'フィルターの特性'; +$labels['ariasummaryfilterslist'] = 'フィルターの一覧'; +$labels['ariasummaryfiltersetslist'] = 'フィルターセットの一覧'; +$messages['filterunknownerror'] = '不明なサーバーのエラーです。'; +$messages['filterconnerror'] = 'サーバに接続できません。'; +$messages['filterdeleteerror'] = 'フィルターを削除できません。サーバーでエラーが発生しました。'; +$messages['filterdeleted'] = 'フィルターを削除しました。'; +$messages['filtersaved'] = 'フィルターを保存しました。'; +$messages['filtersaveerror'] = 'フィルターの保存できません。サーバーでエラーが発生しました。'; +$messages['filterdeleteconfirm'] = '本当に選択したフィルターを削除しますか?'; +$messages['ruledeleteconfirm'] = '本当に選択したルールを削除しますか?'; +$messages['actiondeleteconfirm'] = '本当に選択した操作を削除しますか?'; +$messages['forbiddenchars'] = '項目に禁止している文字が含まれています。'; +$messages['cannotbeempty'] = '項目は空欄にできません。'; +$messages['ruleexist'] = '指定した名前のフィルターが既に存在します。'; +$messages['setactivateerror'] = '選択したフィルターセットを有効にできません。サーバーでエラーが発生しました。'; +$messages['setdeactivateerror'] = '選択したフィルターセットを無効にできません。サーバーでエラーが発生しました。'; +$messages['setdeleteerror'] = '選択したフィルターセットを削除できません。サーバーでエラーが発生しました。'; +$messages['setactivated'] = 'フィルターセットを有効にしました。'; +$messages['setdeactivated'] = 'フィルターセットを無効にしました。'; +$messages['setdeleted'] = 'フィルターセットを削除しました。'; +$messages['setdeleteconfirm'] = '本当に選択したフィルターセットを削除しますか?'; +$messages['setcreateerror'] = 'フィルターセットを作成できません。サーバーでエラーが発生しました。'; +$messages['setcreated'] = 'フィルターセットを作成しました。'; +$messages['activateerror'] = '選択したフィルターを有効にできません。サーバーでエラーが発生しました。'; +$messages['deactivateerror'] = '選択したフィルターを無効にできません。サーバーでエラーが発生しました。'; +$messages['deactivated'] = 'フィルターを有効にしました。'; +$messages['activated'] = 'フィルターを無効にしました。'; +$messages['moved'] = 'フィルターを移動しました。'; +$messages['moveerror'] = 'Unable to move selected filter. Server error occurred.'; +$messages['nametoolong'] = '名前が長すぎます。'; +$messages['namereserved'] = '予約されている名前です。'; +$messages['setexist'] = 'フィルターセットが既に存在します。'; +$messages['nodata'] = '少なくとも1つの場所を選択しなければなりません!'; +$messages['invaliddateformat'] = '無効な日付または日付部分の書式'; +$messages['saveerror'] = 'フィルターの保存できません。サーバーでエラーが発生しました。'; +$messages['vacationsaved'] = '休暇のデータを保存しました。'; +?> diff --git a/plugins/managesieve/localization/km_KH.inc b/plugins/managesieve/localization/km_KH.inc new file mode 100644 index 000000000..9d3de700b --- /dev/null +++ b/plugins/managesieve/localization/km_KH.inc @@ -0,0 +1,116 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'តម្រង'; +$labels['managefilters'] = 'គ្រប់គ្រងតម្របសំបុត្រចូល'; +$labels['filtername'] = 'ឈ្មោះតម្រង'; +$labels['newfilter'] = 'តម្រងថ្មី'; +$labels['filteradd'] = 'បន្ថែមតម្រង'; +$labels['filterdel'] = 'លុបតម្រង'; +$labels['moveup'] = 'រុញទៅលើ'; +$labels['movedown'] = 'រុញចុះក្រោម'; +$labels['filterallof'] = 'ត្រូវគ្នាទៅនឹងលក្ខខណ្ឌទាំងនេះ'; +$labels['filteranyof'] = 'ត្រូវគ្នាទៅនឹងលក្ខខណ្ឌណាមួយ'; +$labels['filterany'] = 'សារទាំងអស់'; +$labels['filtercontains'] = 'មានផ្ទុក'; +$labels['filternotcontains'] = 'មិនមាន'; +$labels['filteris'] = 'ស្មើនឹង'; +$labels['filterisnot'] = 'មិនស្មើនឹង'; +$labels['filterexists'] = 'មាន'; +$labels['filternotexists'] = 'មិនមាន'; +$labels['filtermatches'] = 'សញ្ញាណដែលត្រូវ'; +$labels['filterunder'] = 'ក្រោម'; +$labels['filterover'] = 'លើ'; +$labels['addrule'] = 'បន្ថែមលក្ខខណ្ឌ'; +$labels['delrule'] = 'លុបលក្ខខណ្ឌ'; +$labels['messagemoveto'] = 'ផ្លាស់ទីសារទៅ'; +$labels['messageredirect'] = 'ប្ដូរទិសដៅសារទៅ'; +$labels['messagecopyto'] = 'ចម្លងសារទៅ'; +$labels['messagesendcopy'] = 'ផ្ញើការចម្លងសារទៅ'; +$labels['messagereply'] = 'ឆ្លើយតបជាមួយសារ'; +$labels['messagedelete'] = 'លុបសារ'; +$labels['messagediscard'] = 'បោះបង់ជាមួយនឹងសារ'; +$labels['messagesrules'] = 'សម្រាប់សំបុត្រចូល៖'; +$labels['messagesactions'] = '...ប្រតិបត្តិសកម្មភាពទាំងនេះ៖'; +$labels['add'] = 'បន្ថែម'; +$labels['del'] = 'លុប'; +$labels['sender'] = 'អ្នកផ្ញើ'; +$labels['recipient'] = 'អ្នកទទួល'; +$labels['vacationdays'] = 'តើផ្ញើសារញឹកញាប់ប៉ុណ្ណា (ក្នុងមួយថ្ងៃ)៖'; +$labels['vacationreason'] = 'តួសារ (ហេតុផលវិស្សមកាល)៖'; +$labels['vacationsubject'] = 'ប្រធានបទសារ៖'; +$labels['days'] = 'ថ្ងៃ'; +$labels['seconds'] = 'វិនាទី'; +$labels['rulestop'] = 'ឈប់គិតទៅលើលក្ខខណ្ឌ'; +$labels['enable'] = 'បើក/បិទ'; +$labels['filterdef'] = 'អត្ថន័យតម្រង'; +$labels['active'] = 'សកម្ម'; +$labels['none'] = 'គ្មាន'; +$labels['fromfile'] = 'ពីឯកសារ'; +$labels['filterdisabled'] = 'បានបិទតម្រង'; +$labels['valuenotequals'] = 'តម្លៃមិនស្មើនឹង'; +$labels['flagread'] = 'បានអាន'; +$labels['flagdeleted'] = 'បានលុប'; +$labels['flaganswered'] = 'បានឆ្លើយ'; +$labels['flagflagged'] = 'បានដាក់ទង់'; +$labels['flagdraft'] = 'ការព្រាង'; +$labels['setvariable'] = 'កំណត់អថេរ'; +$labels['setvarname'] = 'ឈ្មោះអថេរ៖'; +$labels['setvarvalue'] = 'តម្លៃអថេរ៖'; +$labels['varlower'] = 'អក្សរតូច'; +$labels['varupper'] = 'អក្សរធំ'; +$labels['varlength'] = 'ប្រវែង'; +$labels['notify'] = 'ផ្ញើការជូនដំណឹង'; +$labels['notifyimportance'] = 'សំខាន់៖'; +$labels['notifyimportancelow'] = 'ទាប'; +$labels['notifyimportancenormal'] = 'ធម្មតា'; +$labels['notifyimportancehigh'] = 'ខ្ពស់'; +$labels['filtercreate'] = 'បង្កើតតម្រង'; +$labels['usedata'] = 'ប្រើទិន្នន័យទាំងនេះក្នុងតម្រង៖'; +$labels['nextstep'] = 'ជំហានបន្ទាប់'; +$labels['...'] = '...'; +$labels['currdate'] = 'កាលបរិច្ឆេទបច្ចុប្បន្ន'; +$labels['datetest'] = 'កាលបរិច្ឆេទ'; +$labels['dateheader'] = 'ក្បាល៖'; +$labels['year'] = 'ឆ្នាំ'; +$labels['month'] = 'ខែ'; +$labels['day'] = 'ថ្ងៃ'; +$labels['date'] = 'កាលបរិច្ឆេទ (yyyy-mm-dd)'; +$labels['julian'] = 'កាលបរិច្ឆេទ (julian)'; +$labels['hour'] = 'ម៉ោង'; +$labels['minute'] = 'នាទី'; +$labels['second'] = 'វិនាទី'; +$labels['time'] = 'ម៉ោង (hh:mm:ss)'; +$labels['iso8601'] = 'កាលបរិច្ឆេទ (ISO8601)'; +$labels['std11'] = 'កាលបរិច្ឆេទ (RFC2822)'; +$labels['zone'] = 'តំបន់ម៉ោង'; +$labels['weekday'] = 'ថ្ងៃសប្ដាហ៍ (0-6)'; +$labels['advancedopts'] = 'ជម្រើសកម្រិតខ្ពស់'; +$labels['body'] = 'តួ'; +$labels['address'] = 'អាសយដ្ឋាន'; +$labels['envelope'] = 'ស្រោមសំបុត្រ'; +$labels['text'] = 'អត្ថបទ'; +$labels['contenttype'] = 'ប្រភេទមាតិកា'; +$labels['modtype'] = 'ប្រភេទ៖'; +$labels['allparts'] = 'ទាំងអស់'; +$labels['domain'] = 'ដូមេន'; +$labels['localpart'] = 'ផ្នែកមូលដ្ឋាន'; +$labels['user'] = 'អ្នកប្រើ'; +$labels['detail'] = 'លម្អិត'; +$labels['index'] = 'លិបិក្រម៖'; +$labels['indexlast'] = 'បកក្រោយ'; +?> diff --git a/plugins/managesieve/localization/ko_KR.inc b/plugins/managesieve/localization/ko_KR.inc new file mode 100644 index 000000000..e9497e761 --- /dev/null +++ b/plugins/managesieve/localization/ko_KR.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = '필터'; +$labels['managefilters'] = '수신 메일 필터 관리'; +$labels['filtername'] = '필터명'; +$labels['newfilter'] = '새로운 필터'; +$labels['filteradd'] = '필터 추가'; +$labels['filterdel'] = '필터 삭제'; +$labels['moveup'] = '위로 이동'; +$labels['movedown'] = '아래로 이동'; +$labels['filterallof'] = '다음 모든 규칙과 일치함'; +$labels['filteranyof'] = '다음 규칙 중 하나라도 일치함'; +$labels['filterany'] = '모든 메시지'; +$labels['filtercontains'] = '다음을 포함함'; +$labels['filternotcontains'] = '다음을 포함하지 않음'; +$labels['filteris'] = '다음과 일치함'; +$labels['filterisnot'] = '다음과 일치하지 않음'; +$labels['filterexists'] = '다음이 존재함'; +$labels['filternotexists'] = '다음이 존재하지 않음'; +$labels['filtermatches'] = '다음 표현식과 일치함'; +$labels['filternotmatches'] = '다음 표현식과 일치하지 않음'; +$labels['filterregex'] = '다음 정규 표현식과 일치함'; +$labels['filternotregex'] = '다음 정규 표현식과 일치하지 않음'; +$labels['filterunder'] = '다음보다 아래임'; +$labels['filterover'] = '다음보다 위임'; +$labels['addrule'] = '규칙 추가'; +$labels['delrule'] = '규칙 삭제'; +$labels['messagemoveto'] = '메시지를 다음 위치로 이동'; +$labels['messageredirect'] = '메시지를 다음 주소로 재전송'; +$labels['messagecopyto'] = '메시지를 다음 위치로 복사'; +$labels['messagesendcopy'] = '메시지 사본을 다음 대상에게 보내기'; +$labels['messagereply'] = '다음 메시지로 회신'; +$labels['messagedelete'] = '메시지 삭제'; +$labels['messagediscard'] = '다음 메시지와 함께 폐기'; +$labels['messagekeep'] = '메시지를 받은 편지함에 보관'; +$labels['messagesrules'] = '해당 받은 메일:'; +$labels['messagesactions'] = '...다음 동작을 실행:'; +$labels['add'] = '추가'; +$labels['del'] = '삭제'; +$labels['sender'] = '발송자'; +$labels['recipient'] = '수신자'; +$labels['vacationaddr'] = '나의 추가적인 이메일 주소:'; +$labels['vacationdays'] = '메시지 발신 주기 (일):'; +$labels['vacationinterval'] = '메시지 발신 주기:'; +$labels['vacationreason'] = '메시지 본문 (휴가 사유):'; +$labels['vacationsubject'] = '메시지 제목:'; +$labels['days'] = '일'; +$labels['seconds'] = '초'; +$labels['rulestop'] = '규칙 평가를 중단'; +$labels['enable'] = '활성화/비활성화'; +$labels['filterset'] = '필터 세트'; +$labels['filtersets'] = '필터 세트'; +$labels['filtersetadd'] = '필터 세트 추가'; +$labels['filtersetdel'] = '현재 필터 세트를 삭제'; +$labels['filtersetact'] = '현재 필터 세트 활성화'; +$labels['filtersetdeact'] = '현재 필터 세트 비활성화'; +$labels['filterdef'] = '필터 정의'; +$labels['filtersetname'] = '필터 세트명'; +$labels['newfilterset'] = '새 필터 세트'; +$labels['active'] = '활성화됨'; +$labels['none'] = '없음'; +$labels['fromset'] = '세트로부터'; +$labels['fromfile'] = '파일로부터'; +$labels['filterdisabled'] = '필터가 비활성화됨'; +$labels['countisgreaterthan'] = '개수가 다음보다 큼'; +$labels['countisgreaterthanequal'] = '개수가 다음보다 크거나 같음'; +$labels['countislessthan'] = '개수가 다음보다 작음'; +$labels['countislessthanequal'] = '개수가 작거나 같음'; +$labels['countequals'] = '개수가 다음과 같음'; +$labels['countnotequals'] = '개수가 다음과 일치하지 않음'; +$labels['valueisgreaterthan'] = '값이 다음보다 큼'; +$labels['valueisgreaterthanequal'] = '값이 다음보다 크거나 같음'; +$labels['valueislessthan'] = '값이 다음보다 작음'; +$labels['valueislessthanequal'] = '값이 다음보다 작거나 같음'; +$labels['valueequals'] = '값이 다음과 같음'; +$labels['valuenotequals'] = '값이 다음과 일치하지 않음'; +$labels['setflags'] = '메시지를 깃발로 표시'; +$labels['addflags'] = '메시지에 깃발을 추가'; +$labels['removeflags'] = '메시지에서 깃발을 제거'; +$labels['flagread'] = '읽음'; +$labels['flagdeleted'] = '삭제됨'; +$labels['flaganswered'] = '응답함'; +$labels['flagflagged'] = '깃발로 표시함'; +$labels['flagdraft'] = '임시 보관함'; +$labels['setvariable'] = '변수 설정'; +$labels['setvarname'] = '변수명:'; +$labels['setvarvalue'] = '변수 값:'; +$labels['setvarmodifiers'] = '수식자:'; +$labels['varlower'] = '소문자'; +$labels['varupper'] = '대문자'; +$labels['varlowerfirst'] = '첫 문자를 소문자로'; +$labels['varupperfirst'] = '첫 문자를 대문자로'; +$labels['varquotewildcard'] = '특수 기호를 인용'; +$labels['varlength'] = '길이'; +$labels['notify'] = '알림 메시지 보내기'; +$labels['notifytarget'] = '알림 대상:'; +$labels['notifymessage'] = '알림 메시지(옵션):'; +$labels['notifyoptions'] = '알림 옵션(옵션):'; +$labels['notifyfrom'] = '알림 발송자(옵션):'; +$labels['notifyimportance'] = '중요도:'; +$labels['notifyimportancelow'] = '낮음'; +$labels['notifyimportancenormal'] = '보통'; +$labels['notifyimportancehigh'] = '높음'; +$labels['notifymethodmailto'] = '이메일'; +$labels['notifymethodtel'] = '전화'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = '필터 생성'; +$labels['usedata'] = '필터에서 다음 데이터를 사용:'; +$labels['nextstep'] = '다음 단계'; +$labels['...'] = '...'; +$labels['currdate'] = '오늘 날짜'; +$labels['datetest'] = '날짜'; +$labels['dateheader'] = '머리글:'; +$labels['year'] = '년'; +$labels['month'] = '월'; +$labels['day'] = '일'; +$labels['date'] = '날짜 (yyyy-mm-dd)'; +$labels['julian'] = '날짜 (율리우스력)'; +$labels['hour'] = '시'; +$labels['minute'] = '분'; +$labels['second'] = '초'; +$labels['time'] = '시간 (hh:mm:ss)'; +$labels['iso8601'] = '날짜 (ISO8601)'; +$labels['std11'] = '날짜 (RFC2822)'; +$labels['zone'] = '시간대'; +$labels['weekday'] = '주중 (0-6)'; +$labels['advancedopts'] = '고급 설정'; +$labels['body'] = '본문'; +$labels['address'] = '주소'; +$labels['envelope'] = '봉투'; +$labels['modifier'] = '수식자:'; +$labels['text'] = '텍스트'; +$labels['undecoded'] = '암호화되지 않음(원상태)'; +$labels['contenttype'] = '내용 유형'; +$labels['modtype'] = '유형:'; +$labels['allparts'] = '모두'; +$labels['domain'] = '도메인'; +$labels['localpart'] = '로컬 부분'; +$labels['user'] = '사용자'; +$labels['detail'] = '세부사항'; +$labels['comparator'] = '비교기:'; +$labels['default'] = '기본'; +$labels['octet'] = '엄격 (8진수)'; +$labels['asciicasemap'] = '대/소문자 구분 (ascii-casemap)'; +$labels['asciinumeric'] = '숫자 (ascii-numeric)'; +$labels['index'] = '색인:'; +$labels['indexlast'] = '역방향'; +$labels['vacation'] = '휴가'; +$labels['vacation.reply'] = '메시지 회신'; +$labels['vacation.advanced'] = '고급 설정'; +$labels['vacation.subject'] = '제목'; +$labels['vacation.body'] = '본문'; +$labels['vacation.start'] = '휴가 시작'; +$labels['vacation.end'] = '휴가 끝'; +$labels['vacation.status'] = '상태'; +$labels['vacation.on'] = '켬'; +$labels['vacation.off'] = '끔'; +$labels['vacation.addresses'] = '내 추가적인 주소'; +$labels['vacation.interval'] = '회신 주기'; +$labels['vacation.after'] = '다음 이후에 휴가 규칙을 위치함'; +$labels['vacation.saving'] = '데이터를 저장하는 중...'; +$labels['vacation.action'] = '수신 메시지 동작'; +$labels['vacation.keep'] = '보관'; +$labels['vacation.discard'] = '폐기'; +$labels['vacation.redirect'] = '재전송'; +$labels['vacation.copy'] = '사본을 다음 대상에게 전송'; +$labels['arialabelfiltersetactions'] = '필터 세트 동작'; +$labels['arialabelfilteractions'] = '필터 동작'; +$labels['arialabelfilterform'] = '필터 속성'; +$labels['ariasummaryfilterslist'] = '필터 목록'; +$labels['ariasummaryfiltersetslist'] = '필터 세트 목록'; +$labels['filterstitle'] = '수신 메일 필터 편집'; +$labels['vacationtitle'] = '자리비움 규칙 편집'; +$messages['filterunknownerror'] = '알수 없는 서버 오류.'; +$messages['filterconnerror'] = '서버에 연결할 수 없습니다.'; +$messages['filterdeleteerror'] = '필터를 삭제할 수 없습니다. 서버 오류가 발생했습니다.'; +$messages['filterdeleted'] = '필터가 성공적으로 삭제됨.'; +$messages['filtersaved'] = '필터가 성공적으로 저장됨.'; +$messages['filtersaveerror'] = '필터를 저장할 수 없습니다. 서버 오류가 발생했습니다.'; +$messages['filterdeleteconfirm'] = '정말로 선택한 필터를 삭제하시겠습니까?'; +$messages['ruledeleteconfirm'] = '정말로 선택한 규칙을 삭제하시겠습니까?'; +$messages['actiondeleteconfirm'] = '정말로 선택한 동작을 삭제하시겠습니까?'; +$messages['forbiddenchars'] = '필드에 금지된 문자가 존재합니다.'; +$messages['cannotbeempty'] = '필드는 비어둘 수 없습니다.'; +$messages['ruleexist'] = '지정한 이름의 필터가 이미 존재합니다.'; +$messages['setactivateerror'] = '선택한 필터 세트를 활성화할 수 없습니다. 서버 오류가 발생했습니다.'; +$messages['setdeactivateerror'] = '선택한 필터 세트를 비활성화할 수 없습니다. 서버 오류가 발생했습니다.'; +$messages['setdeleteerror'] = '선택한 필터 세트를 삭제할 수 없습니다. 서버 오류가 발생했습니다.'; +$messages['setactivated'] = '필터 세트가 성공적으로 활성화됨.'; +$messages['setdeactivated'] = '필터 세트가 성공적으로 비활성화됨.'; +$messages['setdeleted'] = '필터 세트가 성공적으로 삭제됨.'; +$messages['setdeleteconfirm'] = '정말로 선택한 필터 세트를 삭제하시겠습니까?'; +$messages['setcreateerror'] = '선택한 필터 세트를 생성할 수 없습니다. 서버 오류가 발생했습니다.'; +$messages['setcreated'] = '필터 세트가 성공적으로 생성됨.'; +$messages['activateerror'] = '선택한 필터를 활성화할 수 없습니다. 서버 오류가 발생했습니다.'; +$messages['deactivateerror'] = '선택한 필터를 비활성화할 수 없습니다. 서버 오류가 발생했습니다.'; +$messages['deactivated'] = '필터가 성공적으로 비활성화됨.'; +$messages['activated'] = '필터가 성공적으로 활성화됨.'; +$messages['moved'] = '필터가 성공적으로 이동되었습니다.'; +$messages['moveerror'] = '선택한 필터를 이동할 수 없습니다. 서버 오류가 발생했습니다.'; +$messages['nametoolong'] = '이름이 너무 깁니다.'; +$messages['namereserved'] = '예약된 이름입니다.'; +$messages['setexist'] = '세트가 이미 존재합니다.'; +$messages['nodata'] = '최소 하나의 위치가 선택되어야 합니다!'; +$messages['invaliddateformat'] = '유효하지 않은 날짜 또는 날짜 일부 형식'; +$messages['saveerror'] = '데이터를 저장할 수 없습니다.. 서버 오류가 발생했습니다.'; +$messages['vacationsaved'] = '휴가 데이터가 성공적으로 저장됨.'; +$messages['emptyvacationbody'] = '휴가 메시지의 본문이 필요합니다!'; +?> diff --git a/plugins/managesieve/localization/ku.inc b/plugins/managesieve/localization/ku.inc new file mode 100644 index 000000000..c5171dc12 --- /dev/null +++ b/plugins/managesieve/localization/ku.inc @@ -0,0 +1,90 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filterany'] = 'hemû peyam'; +$labels['filtercontains'] = 'dihewîne'; +$labels['filternotcontains'] = 'nahebîne'; +$labels['filteris'] = 'weke'; +$labels['filterisnot'] = 'ne weke'; +$labels['filterexists'] = 'heye'; +$labels['filternotexists'] = 'tune ye'; +$labels['filterunder'] = 'bin'; +$labels['filterover'] = 'ser'; +$labels['messagemoveto'] = 'Peyamê bibe '; +$labels['messageredirect'] = 'Peyamê vegerîne'; +$labels['messagereply'] = 'Bi peyamekê bibersivîne'; +$labels['messagedelete'] = 'Peyamê jê bibe'; +$labels['add'] = 'Tev bike'; +$labels['del'] = 'Jê bibe'; +$labels['sender'] = 'Şandyar'; +$labels['vacationaddr'] = 'Navnîşanên e-mailên min ên din:'; +$labels['vacationsubject'] = 'Mijara peyamê:'; +$labels['days'] = 'roj'; +$labels['seconds'] = 'saniye'; +$labels['enable'] = 'Veke/Bigire'; +$labels['active'] = 'çalak'; +$labels['none'] = 'qet'; +$labels['fromfile'] = 'ji dosyeyê'; +$labels['filterdisabled'] = 'Parzing girtî ye'; +$labels['countisgreaterthan'] = 'hejmar mezintir e ji'; +$labels['countisgreaterthanequal'] = 'hejmar weke an jî mezintir e ji'; +$labels['countislessthan'] = 'hejmar kêmtir e ji'; +$labels['countequals'] = 'hejmar weke '; +$labels['countnotequals'] = 'hejmar ne weke'; +$labels['flagread'] = 'Xwendî'; +$labels['flagdeleted'] = 'Jêbirî'; +$labels['flaganswered'] = 'Nebersivandî'; +$labels['flagflagged'] = 'Bialakirî'; +$labels['varlength'] = 'Dirêjahî'; +$labels['notify'] = 'Agahiyê bişîne'; +$labels['notifyimportance'] = 'Girîng:'; +$labels['notifyimportancelow'] = 'nizm'; +$labels['notifyimportancehigh'] = 'bilind'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Telefon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Parzingek çêke'; +$labels['nextstep'] = 'Gava pêşde'; +$labels['...'] = '...'; +$labels['currdate'] = 'Dîroka niha'; +$labels['datetest'] = 'Dîrok'; +$labels['year'] = 'sal'; +$labels['month'] = 'meh'; +$labels['day'] = 'roj'; +$labels['date'] = 'dîrok (ssss-mm--rr)'; +$labels['julian'] = 'dîrok (julian)'; +$labels['hour'] = 'saet'; +$labels['minute'] = 'deqîqe'; +$labels['second'] = 'saniye'; +$labels['time'] = 'dem (ss:dd:ss)'; +$labels['iso8601'] = 'dem (ISO8601)'; +$labels['zone'] = 'qada demê'; +$labels['weekday'] = 'rojên hefteyê (0-6)'; +$labels['address'] = 'navnîşan'; +$labels['text'] = 'nivîs'; +$labels['contenttype'] = 'cûreya naverokê'; +$labels['modtype'] = 'cûre'; +$labels['allparts'] = 'hemû'; +$labels['user'] = 'bikarhêner'; +$labels['detail'] = 'detay'; +$labels['vacation.reply'] = 'Peyamê bibersivîne'; +$labels['vacation.advanced'] = 'Mihengên pêşketî'; +$labels['vacation.subject'] = 'Mijar'; +$labels['vacation.status'] = 'Rewş'; +$labels['vacation.on'] = 'Vekirî'; +$labels['vacation.addresses'] = 'Navnîşanên min ên din'; +?> diff --git a/plugins/managesieve/localization/lb_LU.inc b/plugins/managesieve/localization/lb_LU.inc new file mode 100644 index 000000000..621fff831 --- /dev/null +++ b/plugins/managesieve/localization/lb_LU.inc @@ -0,0 +1,49 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filteren'; +$labels['managefilters'] = 'Filtere geréieren fir Mailen déi erakommen'; +$labels['filtername'] = 'Numm vum Filter'; +$labels['newfilter'] = 'Neie Filter'; +$labels['filteradd'] = 'Filter dobäisetzen'; +$labels['filterdel'] = 'Filter läschen'; +$labels['moveup'] = 'Eropréckelen'; +$labels['movedown'] = 'Erofréckelen'; +$labels['filterallof'] = 'all dës Reegele mussen zoutreffen'; +$labels['filteranyof'] = 'just eng vun de Reegele muss zoutreffen'; +$labels['filterany'] = 'all d\'Messagen'; +$labels['filtercontains'] = 'enthält'; +$labels['filternotcontains'] = 'enthält net'; +$labels['filteris'] = 'ass gläich'; +$labels['filterisnot'] = 'ass net gläich'; +$labels['filterexists'] = 'existéiert'; +$labels['filternotexists'] = 'existéiert net'; +$labels['filterunder'] = 'ënner'; +$labels['filterover'] = 'iwwer'; +$labels['addrule'] = 'Reegel dobäisetzen'; +$labels['delrule'] = 'Reegel läschen'; +$labels['messagemoveto'] = 'Message verréckelen an'; +$labels['messageredirect'] = 'Message ëmleeden an'; +$labels['messagecopyto'] = 'Message kopéieren an'; +$labels['messagesendcopy'] = 'Kopie vum Message schécken un'; +$labels['messagereply'] = 'Mat dësem Message äntweren'; +$labels['messagedelete'] = 'Message läschen'; +$labels['add'] = 'Dobäisetzen'; +$labels['del'] = 'Läschen'; +$labels['sender'] = 'Ofsender'; +$labels['recipient'] = 'Empfänger'; +?> diff --git a/plugins/managesieve/localization/lt_LT.inc b/plugins/managesieve/localization/lt_LT.inc new file mode 100644 index 000000000..575e43cbe --- /dev/null +++ b/plugins/managesieve/localization/lt_LT.inc @@ -0,0 +1,221 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtrai'; +$labels['managefilters'] = 'Tvarkyti gaunamų laiškų filtrus'; +$labels['filtername'] = 'Filtro pavadinimas'; +$labels['newfilter'] = 'Naujas filtras'; +$labels['filteradd'] = 'Pridėti filtrą'; +$labels['filterdel'] = 'Pašalinti filtrą'; +$labels['moveup'] = 'Pakelti aukštyn'; +$labels['movedown'] = 'Nuleisti žemyn'; +$labels['filterallof'] = 'atitinka visas šias taisykles'; +$labels['filteranyof'] = 'atitinka bet kurią šių taisyklių'; +$labels['filterany'] = 'visi laiškai'; +$labels['filtercontains'] = 'savyje turi'; +$labels['filternotcontains'] = 'savyje neturi'; +$labels['filteris'] = 'yra lygus'; +$labels['filterisnot'] = 'nėra lygus'; +$labels['filterexists'] = 'egzistuoja'; +$labels['filternotexists'] = 'neegzistuoja'; +$labels['filtermatches'] = 'atitinka šabloną'; +$labels['filternotmatches'] = 'neatitinka šablono'; +$labels['filterregex'] = 'atitinka reguliarųjį reiškinį'; +$labels['filternotregex'] = 'neatitinka reguliariojo reiškinio'; +$labels['filterunder'] = 'nesiekia'; +$labels['filterover'] = 'viršija'; +$labels['addrule'] = 'Pridėti taisyklę'; +$labels['delrule'] = 'Pašalinti taisyklę'; +$labels['messagemoveto'] = 'Perkelti laišką į'; +$labels['messageredirect'] = 'Peradresuoti laišką'; +$labels['messagecopyto'] = 'Kopijuoti laišką į'; +$labels['messagesendcopy'] = 'Nusiųsti laiško kopiją'; +$labels['messagereply'] = 'Atsakyti laišku'; +$labels['messagedelete'] = 'Pašalinti laišką'; +$labels['messagediscard'] = 'Panaikinti su laišku'; +$labels['messagekeep'] = 'Palikti laišką gautųjų aplanke'; +$labels['messagesrules'] = 'Gaunamiems laiškams:'; +$labels['messagesactions'] = '…vykdyti šiuos veiksmus:'; +$labels['add'] = 'Pridėti'; +$labels['del'] = 'Pašalinti'; +$labels['sender'] = 'Siuntėjas'; +$labels['recipient'] = 'Gavėjas'; +$labels['vacationaddr'] = 'Papildomas gavėjų adresų sąrašas:'; +$labels['vacationdays'] = 'Kaip dažnai išsiųsti laiškus (dienomis):'; +$labels['vacationinterval'] = 'Kaip dažnai siųsti laiškus:'; +$labels['vacationreason'] = 'Laiško tekstas'; +$labels['vacationsubject'] = 'Laiško tema:'; +$labels['days'] = 'd.'; +$labels['seconds'] = 'sek.'; +$labels['rulestop'] = 'Nutraukti taisyklių vykdymą'; +$labels['enable'] = 'Įjungti / išjungti'; +$labels['filterset'] = 'Filtrų rinkinys'; +$labels['filtersets'] = 'Filtrų rinkiniai'; +$labels['filtersetadd'] = 'Pridėti filtrų rinkinį'; +$labels['filtersetdel'] = 'Pašalinti šį filtrų rinkinį'; +$labels['filtersetact'] = 'Įgalinti šį filtrų rinkinį'; +$labels['filtersetdeact'] = 'Išjungti šį filtrų rinkinį'; +$labels['filterdef'] = 'Filtro aprašas'; +$labels['filtersetname'] = 'Filtrų rinkinio pavadinimas'; +$labels['newfilterset'] = 'Naujas filtrų rinkinys'; +$labels['active'] = 'aktyvus'; +$labels['none'] = 'joks'; +$labels['fromset'] = 'iš rinkinio'; +$labels['fromfile'] = 'iš failo'; +$labels['filterdisabled'] = 'Filtras išjungtas'; +$labels['countisgreaterthan'] = 'kiekis didesnis nei'; +$labels['countisgreaterthanequal'] = 'kiekis didesnis arba lygus'; +$labels['countislessthan'] = 'kiekis mažesnis nei'; +$labels['countislessthanequal'] = 'kiekis mažesnis arba lygus'; +$labels['countequals'] = 'kiekis lygus'; +$labels['countnotequals'] = 'kiekis nėra lygus'; +$labels['valueisgreaterthan'] = 'reikšmė didesnė nei'; +$labels['valueisgreaterthanequal'] = 'reikšmė didesnė arba lygi'; +$labels['valueislessthan'] = 'reikšmė mažesnė nei'; +$labels['valueislessthanequal'] = 'reikšmė mažesnė arba lygi'; +$labels['valueequals'] = 'reikšmė lygi'; +$labels['valuenotequals'] = 'reikšmė nėra lygi'; +$labels['setflags'] = 'Nustatyti laiško požymius'; +$labels['addflags'] = 'Pridėti laiško požymius'; +$labels['removeflags'] = 'Pašalinti laiško požymius'; +$labels['flagread'] = 'Skaitytas'; +$labels['flagdeleted'] = 'Pašalintas'; +$labels['flaganswered'] = 'Atsakytas'; +$labels['flagflagged'] = 'Pažymėtas gairele'; +$labels['flagdraft'] = 'Juodraštis'; +$labels['setvariable'] = 'Nustatyti kintamąjį'; +$labels['setvarname'] = 'Kintamojo vardas:'; +$labels['setvarvalue'] = 'Kintamojo vertė:'; +$labels['setvarmodifiers'] = 'Modifikatoriai:'; +$labels['varlower'] = 'mažosios raidės'; +$labels['varupper'] = 'didžiosios raidės'; +$labels['varlowerfirst'] = 'pirmoji raidė mažoji'; +$labels['varupperfirst'] = 'pirmoji raidė didžioji'; +$labels['varquotewildcard'] = 'cituoti specialius simbolius'; +$labels['varlength'] = 'ilgis'; +$labels['notify'] = 'Siųsti priminimą'; +$labels['notifytarget'] = 'Priminimo gavėjas:'; +$labels['notifymessage'] = 'Priminimo laiškas (nebūtina):'; +$labels['notifyoptions'] = 'Priminimo nustatymai (nebūtina):'; +$labels['notifyfrom'] = 'Priminimo siuntėjas (nebūtina):'; +$labels['notifyimportance'] = 'Svarbumas'; +$labels['notifyimportancelow'] = 'žemas'; +$labels['notifyimportancenormal'] = 'normalus'; +$labels['notifyimportancehigh'] = 'aukštas'; +$labels['notifymethodmailto'] = 'El. paštas'; +$labels['notifymethodtel'] = 'Telefono numeris'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Kurti filtrą'; +$labels['usedata'] = 'Filtrui naudoti šiuos duomenis:'; +$labels['nextstep'] = 'Kitas žingsnis'; +$labels['...'] = '…'; +$labels['currdate'] = 'Šiandienos data'; +$labels['datetest'] = 'Data'; +$labels['dateheader'] = 'antraštė:'; +$labels['year'] = 'metai'; +$labels['month'] = 'mėnuo'; +$labels['day'] = 'diena'; +$labels['date'] = 'data (yyyy-mm-dd)'; +$labels['julian'] = 'data (Julijaus)'; +$labels['hour'] = 'valanda'; +$labels['minute'] = 'minutė'; +$labels['second'] = 'sekundė'; +$labels['time'] = 'laikas (hh:mm:ss)'; +$labels['iso8601'] = 'data (ISO8601)'; +$labels['std11'] = 'data (RFC2822)'; +$labels['zone'] = 'laiko-zona'; +$labels['weekday'] = 'savaitės diena (0-6)'; +$labels['advancedopts'] = 'Papildomi nustatymai'; +$labels['body'] = 'Laiško tekstas'; +$labels['address'] = 'adresas'; +$labels['envelope'] = 'vokas'; +$labels['modifier'] = 'midifikatorius:'; +$labels['text'] = 'tekstas'; +$labels['undecoded'] = 'neiškoduotas (pirminis) tekstas'; +$labels['contenttype'] = 'turinio tipas'; +$labels['modtype'] = 'tipas:'; +$labels['allparts'] = 'visi'; +$labels['domain'] = 'sritis'; +$labels['localpart'] = 'vietinė adreso dalis'; +$labels['user'] = 'naudotojas'; +$labels['detail'] = 'detalė'; +$labels['comparator'] = 'palyginimo algoritmas:'; +$labels['default'] = 'numatytasis'; +$labels['octet'] = 'griežtas („octet“)'; +$labels['asciicasemap'] = 'nepaisantis raidžių registro („ascii-casemap“)'; +$labels['asciinumeric'] = 'skaitinis („ascii-numeric“)'; +$labels['index'] = 'turinys:'; +$labels['indexlast'] = 'atbulai'; +$labels['vacation'] = 'Atostogos'; +$labels['vacation.reply'] = 'Atsakyti laišku'; +$labels['vacation.advanced'] = 'Papildomos nuostatos'; +$labels['vacation.subject'] = 'Tema'; +$labels['vacation.body'] = 'Laiško tekstas'; +$labels['vacation.status'] = 'Būsena'; +$labels['vacation.on'] = 'Įjungta'; +$labels['vacation.off'] = 'Išjungta'; +$labels['vacation.addresses'] = 'Mano papildomi adresai'; +$labels['vacation.interval'] = 'Atsakymo intervalas'; +$labels['vacation.after'] = 'Atostogų taisyklę pastatyti po'; +$labels['vacation.saving'] = 'Išsaugomi duomenys...'; +$labels['vacation.action'] = 'Veiksmas su gaunamais laiškais'; +$labels['vacation.keep'] = 'Palikti'; +$labels['vacation.discard'] = 'Panaikinti'; +$labels['vacation.redirect'] = 'Peradresuoti kam'; +$labels['vacation.copy'] = 'Siųsti kopiją kam'; +$labels['arialabelfiltersetactions'] = 'Filtrų rinkinio veiksmai'; +$labels['arialabelfilteractions'] = 'Filtro veiksmai'; +$labels['arialabelfilterform'] = 'Filtro nustatymai'; +$labels['ariasummaryfilterslist'] = 'Filtrų sąrašas'; +$labels['ariasummaryfiltersetslist'] = 'Filtrų rinkinių sąrašas'; +$labels['filterstitle'] = 'Tvarkyti gaunamų laiškų filtrus'; +$labels['vacationtitle'] = 'Redaguoti ne-biure taisyklę'; +$messages['filterunknownerror'] = 'Nežinoma serverio klaida.'; +$messages['filterconnerror'] = 'Neįmanoma užmegzti ryšio su serveriu.'; +$messages['filterdeleteerror'] = 'Nepavyksta ištrinti filtro. Įvyko serverio klaida.'; +$messages['filterdeleted'] = 'Filtras panaikintas sėkmingai.'; +$messages['filtersaved'] = 'Filtras sėkmingai išsaugotas'; +$messages['filtersaveerror'] = 'Nepavyksta išsaugoti filtro. Įvyko serverio klaida.'; +$messages['filterdeleteconfirm'] = 'Ar jūs esate įsitikinęs, jog norite panaikinti pasirinktus filtrus(-ą)?'; +$messages['ruledeleteconfirm'] = 'Ar jūs įsitikinęs, jog norite panaikinti pasirinktą taisyklę?'; +$messages['actiondeleteconfirm'] = 'Ar jūs įsitikinęs, jog norite panaikinti pasirinktą veiksmą?'; +$messages['forbiddenchars'] = 'Laukelyje yra draudžiamų simbolių.'; +$messages['cannotbeempty'] = 'Laukelis negali būti tuščias'; +$messages['ruleexist'] = 'Filtras tokiu vardu jau yra.'; +$messages['setactivateerror'] = 'Neįmanoma aktyvuoti pasirinkto filtrų rinkinio. Įvyko serverio klaida.'; +$messages['setdeactivateerror'] = 'Neįmanoma išjungti pasirinkto filtrų rinkinio. Įvyko serverio klaida.'; +$messages['setdeleteerror'] = 'Neįmanoma panaikinti pasirinkto filtrų rinkinio. Įvyko serverio klaida.'; +$messages['setactivated'] = 'Filtrų rinkinys sėkmingai aktyvuotas.'; +$messages['setdeactivated'] = 'Filtrų rinkinys sėkmingai deaktyvuotas.'; +$messages['setdeleted'] = 'Filtrų rinkinys sėkmingai panaikintas.'; +$messages['setdeleteconfirm'] = 'Ar jūs esate tikri, jog norite panaikinti pasirinktą filtrų rinkinį?'; +$messages['setcreateerror'] = 'Neįmanoma sukurti filtrų rinkinio. Įvyko serverio klaida.'; +$messages['setcreated'] = 'Filtrų rinkinys sėkmingai sukurtas.'; +$messages['activateerror'] = 'Neįmanoma įjungti pasirinktų filtrų(-o). Įvyko serverio klaida.'; +$messages['deactivateerror'] = 'Neįmanoma išjungti pasirinktų filtrų(-o). Įvyko serverio klaida.'; +$messages['deactivated'] = 'Filtras(-as) sėkmingai išjungti.'; +$messages['activated'] = 'Filtras(-as) sėkmingai įjungti.'; +$messages['moved'] = 'Filtrai perkelti sėkmingai.'; +$messages['moveerror'] = 'Pasirinkto filtro perkelti neįmanoma. Įvyko serverio klaida.'; +$messages['nametoolong'] = 'Vardas per ilgas.'; +$messages['namereserved'] = 'Rezervuotas vardas.'; +$messages['setexist'] = 'Rinkinys jau yra sukurtas.'; +$messages['nodata'] = 'Būtina pasirinkti bent vieną poziciją!'; +$messages['invaliddateformat'] = 'Neteisingas datos ar jos dalies formatas'; +$messages['saveerror'] = 'Nepavyksta išsaugoti duomenų. Įvyko serverio klaida.'; +$messages['vacationsaved'] = 'Sėkmingai išsaugoti atostogų duomenys.'; +?> diff --git a/plugins/managesieve/localization/lv_LV.inc b/plugins/managesieve/localization/lv_LV.inc new file mode 100644 index 000000000..33c000e49 --- /dev/null +++ b/plugins/managesieve/localization/lv_LV.inc @@ -0,0 +1,188 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Vēstuļu filtri'; +$labels['managefilters'] = 'Pārvaldīt ienākošo vēstuļu filtrus'; +$labels['filtername'] = 'Filtra nosaukums'; +$labels['newfilter'] = 'Jauns filtrs'; +$labels['filteradd'] = 'Pievienot filtru'; +$labels['filterdel'] = 'Dzēst filtru'; +$labels['moveup'] = 'Pārvietot augšup'; +$labels['movedown'] = 'Pārvietot lejup'; +$labels['filterallof'] = 'jāatbilst visiem sekojošajiem nosacījumiem'; +$labels['filteranyof'] = 'jāatbilst jebkuram no sekojošajiem nosacījumiem'; +$labels['filterany'] = 'visām vēstulēm'; +$labels['filtercontains'] = 'satur'; +$labels['filternotcontains'] = 'nesatur'; +$labels['filteris'] = 'ir vienāds ar'; +$labels['filterisnot'] = 'nav vienāds ar'; +$labels['filterexists'] = 'eksistē'; +$labels['filternotexists'] = 'neeksistē'; +$labels['filtermatches'] = 'jāatbilst izteiksmei'; +$labels['filternotmatches'] = 'neatbilst izteiksmei'; +$labels['filterregex'] = 'jāatbilst regulārai izteiksmei'; +$labels['filternotregex'] = 'neatbilst regulārai izteiksmei'; +$labels['filterunder'] = 'zem'; +$labels['filterover'] = 'virs'; +$labels['addrule'] = 'Pievienot nosacījumu'; +$labels['delrule'] = 'Dzēst nosacījumu'; +$labels['messagemoveto'] = 'Pārvietot vēstuli uz'; +$labels['messageredirect'] = 'Pāradresēt vēstuli uz'; +$labels['messagecopyto'] = 'Kopēt vēstuli uz'; +$labels['messagesendcopy'] = 'Pārsūtīt vēstules kopiju uz'; +$labels['messagereply'] = 'Atbildēt ar vēstuli'; +$labels['messagedelete'] = 'Dzēst vēstuli'; +$labels['messagediscard'] = 'Dzēst vēstuli un atbildēt'; +$labels['messagekeep'] = 'Paturēt ziņu Iesūtnē'; +$labels['messagesrules'] = 'Ienākošajām vēstulēm:'; +$labels['messagesactions'] = '...izpildīt sekojošās darbības:'; +$labels['add'] = 'Pievienot'; +$labels['del'] = 'Dzēst'; +$labels['sender'] = 'Sūtītājs'; +$labels['recipient'] = 'Saņēmējs'; +$labels['vacationaddr'] = 'Mana(s) papildus e-pasta adrese(s):'; +$labels['vacationdays'] = 'Cik bieži sūtī ziņojumus (dienās):'; +$labels['vacationinterval'] = 'Cik bieži sūtīt vēstules:'; +$labels['vacationreason'] = 'Atvaļinājuma paziņojuma teksts:'; +$labels['vacationsubject'] = 'Vēstules tēma:'; +$labels['days'] = 'dienas'; +$labels['seconds'] = 'sekundes'; +$labels['rulestop'] = 'Apturēt nosacījumu pārbaudi'; +$labels['enable'] = 'Ieslēgt/Izslēgt'; +$labels['filterset'] = 'Filtru kopa'; +$labels['filtersets'] = 'Filtru kopas'; +$labels['filtersetadd'] = 'Pievienot filtru kopu'; +$labels['filtersetdel'] = 'Dzēst pašreizējo filtru kopu'; +$labels['filtersetact'] = 'Aktivizēt pašreizējo filtru kopu'; +$labels['filtersetdeact'] = 'Deaktivizēt pašreizējo filtru kopu'; +$labels['filterdef'] = 'Filtra apraksts'; +$labels['filtersetname'] = 'Filtru kopas nosaukums'; +$labels['newfilterset'] = 'Jauna filtru kopa'; +$labels['active'] = 'aktīvs'; +$labels['none'] = 'nav'; +$labels['fromset'] = 'no kopas'; +$labels['fromfile'] = 'no faila'; +$labels['filterdisabled'] = 'Filtrs atslēgts'; +$labels['countisgreaterthan'] = 'skaits ir lielāks kā'; +$labels['countisgreaterthanequal'] = 'skaits ir vienāds vai lielāks kā'; +$labels['countislessthan'] = 'skaits ir mazāks kā'; +$labels['countislessthanequal'] = 'skaits ir vienāds vai mazāks kā'; +$labels['countequals'] = 'skaits ir vienāds ar'; +$labels['countnotequals'] = 'skaits nav vienāds ar'; +$labels['valueisgreaterthan'] = 'vērtība ir lielāka kā'; +$labels['valueisgreaterthanequal'] = 'vērtība ir vienāda vai lielāka kā'; +$labels['valueislessthan'] = 'vērtība ir mazāka kā'; +$labels['valueislessthanequal'] = 'vērtība ir vienāda vai mazāka kā'; +$labels['valueequals'] = 'vērtība ir vienāda ar'; +$labels['valuenotequals'] = 'vērtība nav vienāda ar'; +$labels['setflags'] = 'Marķēt vēstuli'; +$labels['addflags'] = 'Pievienot vēstulei marķierus'; +$labels['removeflags'] = 'Noņemt vēstulei marķierus'; +$labels['flagread'] = 'Lasītas'; +$labels['flagdeleted'] = 'Dzēstas'; +$labels['flaganswered'] = 'Atbildētas'; +$labels['flagflagged'] = 'Marķētas'; +$labels['flagdraft'] = 'Melnraksts'; +$labels['setvariable'] = 'Iestatīt mainīgo'; +$labels['setvarname'] = 'Mainīgā nosaukums:'; +$labels['setvarvalue'] = 'Mainīgā vērtība:'; +$labels['setvarmodifiers'] = 'Modifikatori:'; +$labels['varlower'] = 'mazie burti'; +$labels['varupper'] = 'lielie burti'; +$labels['varlowerfirst'] = 'pirmais burts kā mazais burts'; +$labels['varupperfirst'] = 'pirmais burts kā lielais burts'; +$labels['varquotewildcard'] = '"citēt" speciālās rakstzīmes'; +$labels['varlength'] = 'garums'; +$labels['notify'] = 'Sūtīt paziņojumus'; +$labels['notifyimportance'] = 'Svarīgums:'; +$labels['notifyimportancelow'] = 'zems'; +$labels['notifyimportancenormal'] = 'parasts'; +$labels['notifyimportancehigh'] = 'augsts'; +$labels['filtercreate'] = 'Izveidot filtru'; +$labels['usedata'] = 'Filtrā izmantot sekojošus datus'; +$labels['nextstep'] = 'Nākamais solis'; +$labels['...'] = '...'; +$labels['currdate'] = 'Pašreizējais datums'; +$labels['datetest'] = 'Datums'; +$labels['dateheader'] = 'galvene:'; +$labels['year'] = 'gads'; +$labels['month'] = 'mēnesis'; +$labels['day'] = 'diena'; +$labels['date'] = 'datums (gggg-mm-dd)'; +$labels['julian'] = 'datums (Jūlija kalendārs)'; +$labels['hour'] = 'stunda'; +$labels['minute'] = 'minūte'; +$labels['second'] = 'sekunde'; +$labels['time'] = 'laiks (hh:mm:ss)'; +$labels['iso8601'] = 'datums (ISO8601)'; +$labels['std11'] = 'datums (RFC2822)'; +$labels['zone'] = 'laikajosla'; +$labels['weekday'] = 'nedēļas diena (0-6)'; +$labels['advancedopts'] = 'Paplašinātie iestatījumi'; +$labels['body'] = 'Pamatteksts'; +$labels['address'] = 'adresāts'; +$labels['envelope'] = 'aploksne'; +$labels['modifier'] = 'modifikators:'; +$labels['text'] = 'teksts'; +$labels['undecoded'] = 'neatkodēts (neapstrādāti dati)'; +$labels['contenttype'] = 'satura tips'; +$labels['modtype'] = 'tips:'; +$labels['allparts'] = 'viss'; +$labels['domain'] = 'domēns'; +$labels['localpart'] = 'lokālā daļa'; +$labels['user'] = 'lietotājs'; +$labels['detail'] = 'detaļas'; +$labels['comparator'] = 'salīdzinātājs'; +$labels['default'] = 'noklusētā vērtība'; +$labels['octet'] = 'precīzs (oktets)'; +$labels['asciicasemap'] = 'reģistrnejutīgs (ascii tabula)'; +$labels['asciinumeric'] = 'skaitļu (ascii skaitļu)'; +$labels['index'] = 'indekss:'; +$labels['indexlast'] = 'atpakaļ'; +$messages['filterunknownerror'] = 'Nezināma servera kļūda.'; +$messages['filterconnerror'] = 'Neizdevās pieslēgties ManageSieve serverim.'; +$messages['filterdeleteerror'] = 'Neizdevās izdzēst filtru - atgadījās servera iekšējā kļūda.'; +$messages['filterdeleted'] = 'Filtrs veiksmīgi izdzēsts.'; +$messages['filtersaved'] = 'Filtrs veiksmīgi saglabāts.'; +$messages['filtersaveerror'] = 'Neizdevās saglabāt filtru - atgadījās servera iekšējā kļūda.'; +$messages['filterdeleteconfirm'] = 'Vai Jūs tiešām vēlaties dzēst atzīmēto filtru?'; +$messages['ruledeleteconfirm'] = 'Vai Jūs tiešām vēlaties dzēst atzīmēto nosacījumu?'; +$messages['actiondeleteconfirm'] = 'Vai Jūs tiešām vēlaties dzēst atzīmēto darbību?'; +$messages['forbiddenchars'] = 'Lauks satur aizliegtus simbolus.'; +$messages['cannotbeempty'] = 'Lauks nedrīkst būt tukšs.'; +$messages['ruleexist'] = 'Filtrs ar tādu nosaukumu jau pastāv.'; +$messages['setactivateerror'] = 'Neizdevās aktivizēt atzīmēto filtru kopu - atgadījās servera iekšējā kļūda.'; +$messages['setdeactivateerror'] = 'Neizdevās deaktivizēt atzīmēto filtru kopu - atgadījās servera iekšējā kļūda.'; +$messages['setdeleteerror'] = 'Neizdevās izdzēst atzīmēto filtru kopu - atgadījās servera ieksējā kļūda.'; +$messages['setactivated'] = 'Filtru kopa veiksmīgi aktivizēta.'; +$messages['setdeactivated'] = 'Filtru kopa veiksmīgi deaktivizēta.'; +$messages['setdeleted'] = 'Filtru kopa veiksmīgi izdzēsta.'; +$messages['setdeleteconfirm'] = 'Vai tiešām Jūs vēlaties dzēst atzīmēto filtru kopu?'; +$messages['setcreateerror'] = 'Neizdevās izveidot filtru kopu - atgadījās servera iekšējā kļūda.'; +$messages['setcreated'] = 'Filtru kopa veiksmīgi izveidota.'; +$messages['activateerror'] = 'Nav iespējams ieslēgt izvēlēto(s) filtru(s) - atgadījās servera iekšējā kļūda.'; +$messages['deactivateerror'] = 'Nav iespējams atslēgt izvēlēto(s) filtru(s) - atgadījās servera iekšējā kļūda.'; +$messages['deactivated'] = 'Filtrs(i) veiksmīgi atslēgts(i).'; +$messages['activated'] = 'Filtrs(i) veiksmīgi ieslēgts(i).'; +$messages['moved'] = 'Filtrs veiksmīgi pārvietots.'; +$messages['moveerror'] = 'Nav iespējams pārvietot izvēlēto filtru - atgadījās servera iekšējā kļūda.'; +$messages['nametoolong'] = 'Neizdevās izveidot filtru kopu. Pārāk garš kopas nosaukums.'; +$messages['namereserved'] = 'Rezervētais nosaukums.'; +$messages['setexist'] = 'Kopa jau eksistē.'; +$messages['nodata'] = 'Ir jābūt atzīmētai vismaz vienai pozīcijai!'; +$messages['invaliddateformat'] = 'Nederīgs datums vai datuma formāts'; +?> diff --git a/plugins/managesieve/localization/ml_IN.inc b/plugins/managesieve/localization/ml_IN.inc new file mode 100644 index 000000000..613695c0b --- /dev/null +++ b/plugins/managesieve/localization/ml_IN.inc @@ -0,0 +1,148 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'അരിപ്പകള്'; +$labels['managefilters'] = 'അകത്തോട്ടുള്ള ഇമെയില് അരിപ്പകള് ക്രമീകരിക്കുക'; +$labels['filtername'] = 'അരിപ്പയുടെ പേര്'; +$labels['newfilter'] = 'പുതിയ അരിപ്പ'; +$labels['filteradd'] = 'അരിപ്പ ചേര്ക്കുക'; +$labels['filterdel'] = 'അരിപ്പ നീക്കംചെയ്യുക'; +$labels['moveup'] = 'മുകളിലേക്ക് നീക്കുക'; +$labels['movedown'] = 'താഴേക്ക് നീക്കുക'; +$labels['filterallof'] = 'കീഴ്പറഞ്ഞ എല്ലാ നിയമങ്ങളും പാലിക്കുന്നവ'; +$labels['filteranyof'] = 'കീഴ്പറഞ്ഞ ഏതെങ്കിലും നിയമം പാലിക്കുന്നവ'; +$labels['filterany'] = 'എല്ലാ സന്ദേശങ്ങളും'; +$labels['filtercontains'] = 'അടങ്ങുന്നത്'; +$labels['filternotcontains'] = 'ല് അടങ്ങുന്നില്ല'; +$labels['filteris'] = 'ന് തുല്യം'; +$labels['filterisnot'] = 'ന് തുല്യമല്ല'; +$labels['filterexists'] = 'നിലവിലുണ്ട്'; +$labels['filternotexists'] = 'നിലവിലില്ല'; +$labels['filtermatches'] = 'എക്സ്പ്രഷന് ചേരുന്നുണ്ട്'; +$labels['filternotmatches'] = 'എക്സ്പ്രഷന് ചേരുന്നില്ല'; +$labels['filterregex'] = 'റെഗുലര് എക്സ്പ്രഷന് ചേരുന്നുണ്ട്'; +$labels['filternotregex'] = 'റെഗുലര് എക്സ്പ്രഷന് ചേരുന്നില്ല'; +$labels['filterunder'] = 'കീഴില്'; +$labels['filterover'] = 'മുകളില്'; +$labels['addrule'] = 'നിയമം ചേര്ക്കുക'; +$labels['delrule'] = 'നിയമം നീക്കം ചെയ്യുക'; +$labels['messagemoveto'] = 'സന്ദേശം നിക്കു :'; +$labels['messageredirect'] = 'സന്ദേശം മാറ്റിവിടു :'; +$labels['messagecopyto'] = 'സന്ദേശം പകര്ത്തു :'; +$labels['messagesendcopy'] = 'സന്ദേശത്തിന്റെ പകര്പ്പ് അയക്കു :'; +$labels['messagereply'] = 'സന്ദേശം വെച്ച് മറുപടി അയക്കു'; +$labels['messagedelete'] = 'സന്ദേശം മായ്ക്കു'; +$labels['messagediscard'] = 'സന്ദേശത്തോടെ നിരാകരിക്കുക'; +$labels['messagekeep'] = 'സന്ദേശം ഇൻബോക്സിൽ സൂക്ഷിക്കുക'; +$labels['messagesrules'] = 'ആഗമന സന്ദേശങ്ങള്ക്ക്:'; +$labels['messagesactions'] = '...ഈ പ്രവര്ത്തനങ്ങള് ചെയ്യുക:'; +$labels['add'] = 'ചേര്ക്കു'; +$labels['del'] = 'നീക്കം ചെയ്യുക'; +$labels['sender'] = 'അയചയാള്'; +$labels['recipient'] = 'സ്വീകര്ത്താവ്'; +$labels['vacationaddr'] = 'എന്റെ മറ്റ് ഈമെയിൽ വിലാസങ്ങൾ:'; +$labels['vacationdays'] = 'എത്ര ഭിവസം കൂടുമ്പോള് സന്ദേശം അയക്കണം:'; +$labels['vacationinterval'] = 'എത്ര സമയം കൂടുമ്പോൾ സന്ദേശങ്ങൾ അയയ്ക്കണം:'; +$labels['vacationreason'] = 'സന്ദേശത്തിന്റെ ഉള്ളടക്കം (അവധിയുടെ കാരണം):'; +$labels['vacationsubject'] = 'സന്ദേശത്തിന്റെ വിഷയം:'; +$labels['days'] = 'ദിവസങ്ങൾ'; +$labels['seconds'] = 'സെക്കന്റുകൾ'; +$labels['rulestop'] = 'നിയമങ്ങള് വിലയിരുത്തുന്നത് നിര്ത്തുക'; +$labels['enable'] = 'പ്രവര്ത്തനസജ്ജം/രഹിതം'; +$labels['filterset'] = 'അരിപ്പകളുടെ കൂട്ടം'; +$labels['filtersets'] = 'അരിപ്പകളുടെ കൂട്ടങ്ങള്'; +$labels['filtersetadd'] = 'അരിപ്പകളുടെ കൂട്ടം ചേര്ക്കുക'; +$labels['filtersetdel'] = 'ഇപ്പോഴത്തെ അരിപ്പകളുടെ കൂട്ടം മായ്ക്കുക'; +$labels['filtersetact'] = 'ഇപ്പോഴത്തെ അരിപ്പകളുടെ കൂട്ടം പ്രവര്ത്തിപ്പിക്കുക'; +$labels['filtersetdeact'] = 'ഇപ്പോഴത്തെ അരിപ്പകളുടെ കൂട്ടം പ്രവര്ത്തനം അവസാനിപ്പിക്കുക'; +$labels['filterdef'] = 'അരിപ്പയുടെ നിര്വ്വചനം'; +$labels['filtersetname'] = 'അരിപ്പകളുടെ കൂട്ടത്തിന്റെ പേര്'; +$labels['newfilterset'] = 'പുതിയ അരിപ്പയുട കൂട്ടം'; +$labels['active'] = 'സജീവം'; +$labels['none'] = 'ഒന്നുമില്ല'; +$labels['fromset'] = 'സെറ്റില് നിന്ന്'; +$labels['fromfile'] = 'ഫയലില് നിന്ന്'; +$labels['filterdisabled'] = 'അരിപ്പ പ്രവര്ത്തനരഹിതമാക്കി'; +$labels['countisgreaterthan'] = 'എണ്ണം ഇതിനെക്കാള് കുടുതല്'; +$labels['countisgreaterthanequal'] = 'എണ്ണം ഇതിനെക്കാള് കൂടുതല് ഇല്ലെങ്കില് സമം'; +$labels['countislessthan'] = 'എണ്ണം ഇതിനെക്കാള് കുറവ്'; +$labels['countislessthanequal'] = 'എണ്ണം ഇതിനെക്കാള് കൂറവ് ഇല്ലെങ്കില് സമം'; +$labels['countequals'] = 'എണ്ണം ഇതിനോട് സമം'; +$labels['countnotequals'] = 'എണ്ണം ഇതിനോട് തുല്യമല്ല'; +$labels['valueisgreaterthan'] = 'മൂല്യം ഇതിനെക്കാള് കുടുതല്'; +$labels['valueisgreaterthanequal'] = 'മുല്യം ഇതിനെക്കാള് കൂടുതല് ഇല്ലെങ്കില് സമം'; +$labels['valueislessthan'] = 'മൂല്യം ഇതിനെക്കാള് കുറവ്'; +$labels['valueislessthanequal'] = 'മൂല്യം ഇതിനെക്കാള് കൂറവ് ഇല്ലെങ്കില് തുല്യം'; +$labels['valueequals'] = 'മൂല്യം ഇതിനോട് സമം'; +$labels['valuenotequals'] = 'മൂല്യം ഇതിനോട് തുല്യമല്ല'; +$labels['setflags'] = 'സന്ദേശത്തില് അടയാളമിടുക'; +$labels['addflags'] = 'സന്ദേശത്തില് അടയാളം ചേര്ക്കുക'; +$labels['removeflags'] = 'സന്ദേശത്തില് നിന്നും അടയാളം മാറ്റുക'; +$labels['flagread'] = 'വായിച്ചവ'; +$labels['flagdeleted'] = 'നീക്കം ചെയ്തവ'; +$labels['flaganswered'] = 'മറുപടി നല്കിയവ'; +$labels['flagflagged'] = 'അടയാളപ്പെടുത്തിയവ'; +$labels['flagdraft'] = 'കരട്'; +$labels['setvariable'] = 'വേരിയബിൾ സ്ഥിരപ്പെടുത്തുക'; +$labels['setvarname'] = 'വേരിയബിളിന്റെ പേര്'; +$labels['setvarvalue'] = 'വേരിയബിളിന്റെ മൂല്യം'; +$labels['filtercreate'] = 'അരിപ്പ ഉണ്ടാക്കുക'; +$labels['usedata'] = 'ഈ വിവരങ്ങള് അരിപ്പയില് ഉപയോഗിക്കുക:'; +$labels['nextstep'] = 'അടുത്ത പടി'; +$labels['...'] = '...'; +$labels['advancedopts'] = 'വിപുലീക്രിതമായ ക്രമീകരണങ്ങള്'; +$labels['body'] = 'ഉള്ളടക്കം'; +$labels['address'] = 'മേല്വിലാസം'; +$labels['envelope'] = 'എന്വലപ്പ്'; +$labels['modifier'] = 'മോഡിഫയര്:'; +$labels['text'] = 'വാചകം'; +$labels['undecoded'] = 'ഡീക്കോഡ് ചെയ്യാത്തത് (റോ)'; +$labels['contenttype'] = 'ഉള്ളടക്കത്തിന്റെ തരം'; +$labels['modtype'] = 'തരം:'; +$labels['allparts'] = 'എല്ലാം'; +$labels['domain'] = 'ഡൊമൈന്'; +$labels['localpart'] = 'പ്രാദേശിക ഭാഗം'; +$labels['user'] = 'ഉപയോക്താവു്'; +$labels['detail'] = 'വിശദാംശം'; +$labels['comparator'] = 'താരതമ്യകന്:'; +$labels['default'] = 'സഹജമായ'; +$labels['octet'] = 'കര്ശനം (octet)'; +$labels['asciicasemap'] = 'വലിയ-ചെറിയക്ഷരങ്ങള് തമ്മില് വ്യത്യാസമില്ലാത്ത (ascii-casemap)'; +$labels['asciinumeric'] = 'സംഖ്യകള് (ascii-numeric)'; +$messages['filterunknownerror'] = 'അജ്ഞാതമായ സെര്വ്വര് പിശക്.'; +$messages['filterconnerror'] = 'സെര്വ്വറുമായി ബന്ധപ്പെടാന് സാധിക്കുന്നില്ല.'; +$messages['filterdeleted'] = 'അരിപ്പ വിജകരമായി മായ്ച്ചു.'; +$messages['filtersaved'] = 'അരിപ്പ വിജകരമായി സൂക്ഷിച്ചു.'; +$messages['filterdeleteconfirm'] = 'തെരഞ്ഞെടുത്ത അരിപ്പ നീക്കം ചെയ്യണമെന്ന് ഉറപ്പാണോ?'; +$messages['ruledeleteconfirm'] = 'തെരഞ്ഞെടുത്ത നിയമം നീക്കം ചെയ്യണമെന്ന് ഉറപ്പാണോ?'; +$messages['actiondeleteconfirm'] = 'തെരഞ്ഞെടുത്ത പ്രവര്ത്തി നീക്കം ചെയ്യണമെന്ന് ഉറപ്പാണോ?'; +$messages['forbiddenchars'] = 'ഫില്ഡില് സാധുവല്ലാത്ത അക്ഷരങ്ങള്.'; +$messages['cannotbeempty'] = 'ഫീല്ഡ് ശൂന്യമാകാന് പാടില്ല.'; +$messages['ruleexist'] = 'ഈ പേരിലുള്ള അരിപ്പ ഇപ്പോള് തന്നെ ഉണ്ട്.'; +$messages['setactivated'] = 'അരിപ്പകളുടെ കൂട്ടത്തെ വിജയകരമായി പ്രവര്ത്തനസജ്ജമാക്കി.'; +$messages['setdeactivated'] = 'അരിപ്പകളുടെ കൂട്ടത്തെ വിജയകരമായി പ്രവര്ത്തനരഹിതമാക്കി.'; +$messages['setdeleted'] = 'അരിപ്പകളുടെ കൂട്ടത്തെ വിജയകരമായി മായ്ച്ചു.'; +$messages['setdeleteconfirm'] = 'തെരഞ്ഞെടുത്ത അരിപ്പകളുടെ കൂട്ടത്തെ നീക്കം ചെയ്യണമെന്ന് ഉറപ്പാണോ?'; +$messages['setcreated'] = 'അരിപ്പകളുടെ കൂട്ടത്തെ വിജയകരമായി നിര്മ്മിച്ചു.'; +$messages['deactivated'] = 'അരിപ്പ വിജകരമായി പ്രവര്ത്തനസജ്ജമാക്കി.'; +$messages['activated'] = 'അരിപ്പകള് നിര്വീര്യം ആക്കപ്പെട്ടിരിക്കുന്നു'; +$messages['moved'] = 'അരിപ്പ വിജകരമായി മാറ്റി.'; +$messages['nametoolong'] = 'പേരിന് നീളം കൂടുതല്.'; +$messages['namereserved'] = 'നീക്കിവെച്ച വാക്ക്.'; +$messages['setexist'] = 'കൂട്ടം നേരത്തെ തന്നെ ഉണ്ട്.'; +$messages['nodata'] = 'ഒരു സ്ഥാനമെങ്കിലും തെരഞ്ഞെടുക്കണം!'; +?> diff --git a/plugins/managesieve/localization/mr_IN.inc b/plugins/managesieve/localization/mr_IN.inc new file mode 100644 index 000000000..88edb92e4 --- /dev/null +++ b/plugins/managesieve/localization/mr_IN.inc @@ -0,0 +1,34 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'चाळण्या'; +$labels['moveup'] = 'वर हलवा'; +$labels['movedown'] = 'खाली हलवा'; +$labels['filterallof'] = 'खालील सर्व नियम जुळत आहेत'; +$labels['filterany'] = 'सर्व संदेश'; +$labels['filteris'] = 'च्या बरोबर आहे'; +$labels['filterisnot'] = 'च्या बरोबर नाही'; +$labels['filterexists'] = 'अस्तित्वात आहे'; +$labels['filternotexists'] = 'अस्तित्वात नाही'; +$labels['filterunder'] = 'खाली'; +$labels['filterover'] = 'वरती'; +$labels['messagedelete'] = 'संदेश काढून टाका'; +$labels['messagesactions'] = 'खालील कृती आमलात आणा :'; +$labels['add'] = 'समावेश करा'; +$labels['del'] = 'नष्ट करा'; +$labels['sender'] = 'प्रेषक'; +?> diff --git a/plugins/managesieve/localization/nb_NO.inc b/plugins/managesieve/localization/nb_NO.inc new file mode 100644 index 000000000..c9224ae61 --- /dev/null +++ b/plugins/managesieve/localization/nb_NO.inc @@ -0,0 +1,188 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtre'; +$labels['managefilters'] = 'Rediger filter for innkommende e-post'; +$labels['filtername'] = 'Filternavn'; +$labels['newfilter'] = 'Nytt filter'; +$labels['filteradd'] = 'Legg til filter'; +$labels['filterdel'] = 'Slett filter'; +$labels['moveup'] = 'Flytt opp'; +$labels['movedown'] = 'Flytt ned'; +$labels['filterallof'] = 'som treffer alle følgende regler'; +$labels['filteranyof'] = 'som treffer en av følgende regler'; +$labels['filterany'] = 'alle meldinger'; +$labels['filtercontains'] = 'inneholder'; +$labels['filternotcontains'] = 'ikke inneholder'; +$labels['filteris'] = 'er lik'; +$labels['filterisnot'] = 'er ulik'; +$labels['filterexists'] = 'eksisterer'; +$labels['filternotexists'] = 'ikke eksisterer'; +$labels['filtermatches'] = 'treffer uttrykk'; +$labels['filternotmatches'] = 'ikke treffer uttrykk'; +$labels['filterregex'] = 'treffer regulært uttrykk'; +$labels['filternotregex'] = 'ikke treffer regulært uttrykk'; +$labels['filterunder'] = 'under'; +$labels['filterover'] = 'over'; +$labels['addrule'] = 'Legg til regel'; +$labels['delrule'] = 'Slett regel'; +$labels['messagemoveto'] = 'Flytt meldingen til'; +$labels['messageredirect'] = 'Videresend meldingen til'; +$labels['messagecopyto'] = 'Kopier meldingen til'; +$labels['messagesendcopy'] = 'Send en kopi av meldingen til'; +$labels['messagereply'] = 'Svar med melding'; +$labels['messagedelete'] = 'Slett melding'; +$labels['messagediscard'] = 'Avvis med melding'; +$labels['messagekeep'] = 'Behold melding i innboks'; +$labels['messagesrules'] = 'For innkommende e-post'; +$labels['messagesactions'] = '... gjør følgende:'; +$labels['add'] = 'Legg til'; +$labels['del'] = 'Slett'; +$labels['sender'] = 'Avsender'; +$labels['recipient'] = 'Mottaker'; +$labels['vacationaddr'] = 'Tilleggs epost-adresse(r):'; +$labels['vacationdays'] = 'Periode mellom meldinger (i dager):'; +$labels['vacationinterval'] = 'Periode mellom meldinger:'; +$labels['vacationreason'] = 'Innhold (begrunnelse for fravær)'; +$labels['vacationsubject'] = 'Meldingsemne:'; +$labels['days'] = 'dager'; +$labels['seconds'] = 'sekunder'; +$labels['rulestop'] = 'Stopp evaluering av regler'; +$labels['enable'] = 'Aktiver/Deaktiver'; +$labels['filterset'] = 'Filtersett'; +$labels['filtersets'] = 'Filtersett'; +$labels['filtersetadd'] = 'Nytt filtersett'; +$labels['filtersetdel'] = 'Slett gjeldende filtersett'; +$labels['filtersetact'] = 'Aktiver gjeldende filtersett'; +$labels['filtersetdeact'] = 'Deaktiver gjeldende filtersett'; +$labels['filterdef'] = 'Filterdefinisjon'; +$labels['filtersetname'] = 'Navn på filtersett'; +$labels['newfilterset'] = 'Nytt filtersett'; +$labels['active'] = 'aktiv'; +$labels['none'] = 'ingen'; +$labels['fromset'] = 'fra sett'; +$labels['fromfile'] = 'fra fil'; +$labels['filterdisabled'] = 'Filter deaktivert'; +$labels['countisgreaterthan'] = 'antall er flere enn'; +$labels['countisgreaterthanequal'] = 'antall er flere enn eller lik'; +$labels['countislessthan'] = 'antall er færre enn'; +$labels['countislessthanequal'] = 'antall er færre enn eller lik'; +$labels['countequals'] = 'antall er lik'; +$labels['countnotequals'] = 'tallet er ikke det samme som'; +$labels['valueisgreaterthan'] = 'verdien er høyrere enn'; +$labels['valueisgreaterthanequal'] = 'verdien er høyere eller lik'; +$labels['valueislessthan'] = 'verdien er lavere enn'; +$labels['valueislessthanequal'] = 'verdien er lavere eller lik'; +$labels['valueequals'] = 'verdien er lik'; +$labels['valuenotequals'] = 'verdien er ikke den samme som'; +$labels['setflags'] = 'Sett meldingsflagg'; +$labels['addflags'] = 'Legg til flagg på meldingen'; +$labels['removeflags'] = 'Fjern flagg fra meldingen'; +$labels['flagread'] = 'Lese'; +$labels['flagdeleted'] = 'Slettet'; +$labels['flaganswered'] = 'Besvart'; +$labels['flagflagged'] = 'Flagget'; +$labels['flagdraft'] = 'Utkast'; +$labels['setvariable'] = 'Set variabel'; +$labels['setvarname'] = 'Variabelnavn:'; +$labels['setvarvalue'] = 'Variabel verdi:'; +$labels['setvarmodifiers'] = 'Modifikator:'; +$labels['varlower'] = 'med små bokstaver'; +$labels['varupper'] = 'med store bokstaver'; +$labels['varlowerfirst'] = 'første tegn liten bokstav'; +$labels['varupperfirst'] = 'første tegn stor bokstav'; +$labels['varquotewildcard'] = 'sitér spesialtegn'; +$labels['varlength'] = 'lengde'; +$labels['notify'] = 'Send melding'; +$labels['notifyimportance'] = 'Viktighet:'; +$labels['notifyimportancelow'] = 'lav'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'høy'; +$labels['filtercreate'] = 'Opprett filter'; +$labels['usedata'] = 'Bruk følgende data i filteret:'; +$labels['nextstep'] = 'Neste steg'; +$labels['...'] = '…'; +$labels['currdate'] = 'Nåværende dato'; +$labels['datetest'] = 'Dato'; +$labels['dateheader'] = 'header:'; +$labels['year'] = 'år'; +$labels['month'] = 'måned'; +$labels['day'] = 'dag'; +$labels['date'] = 'dato (yyyy-mm-dd)'; +$labels['julian'] = 'dato (juliansk)'; +$labels['hour'] = 'time'; +$labels['minute'] = 'minutt'; +$labels['second'] = 'sekund'; +$labels['time'] = 'tid (hh:mm:ss)'; +$labels['iso8601'] = 'dato (ISO8601)'; +$labels['std11'] = 'dato (RFC2822)'; +$labels['zone'] = 'tidssone'; +$labels['weekday'] = 'ukedag (0-6)'; +$labels['advancedopts'] = 'Avanserte alternativer'; +$labels['body'] = 'Meldingstekst'; +$labels['address'] = 'adresse'; +$labels['envelope'] = 'konvolutt'; +$labels['modifier'] = 'modifikator:'; +$labels['text'] = 'tekst'; +$labels['undecoded'] = 'ikke dekodet (rå)'; +$labels['contenttype'] = 'innholdstype'; +$labels['modtype'] = 'type:'; +$labels['allparts'] = 'alle'; +$labels['domain'] = 'domene'; +$labels['localpart'] = 'lokal del (local part)'; +$labels['user'] = 'bruker'; +$labels['detail'] = 'detalj'; +$labels['comparator'] = 'sammenligning:'; +$labels['default'] = 'standard'; +$labels['octet'] = 'streng (oktett)'; +$labels['asciicasemap'] = 'ikke skill store og små bokstaver (ascii-casemap)'; +$labels['asciinumeric'] = 'numerisk (ascii-numeric)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'baklengs'; +$messages['filterunknownerror'] = 'Ukjent problem med tjener.'; +$messages['filterconnerror'] = 'Kunne ikke koble til tjeneren.'; +$messages['filterdeleteerror'] = 'Kunne ikke slette filter. Fikk feilmelding fra server.'; +$messages['filterdeleted'] = 'Filteret er blitt slettet.'; +$messages['filtersaved'] = 'Filteret er blitt lagret.'; +$messages['filtersaveerror'] = 'Kunne ikke lagre filter. Fikk feilmelding fra server.'; +$messages['filterdeleteconfirm'] = 'Vil du virkelig slette det valgte filteret?'; +$messages['ruledeleteconfirm'] = 'Er du sikker på at du vil slette valgte regel?'; +$messages['actiondeleteconfirm'] = 'Er du sikker på at du vil slette valgte hendelse?'; +$messages['forbiddenchars'] = 'Ugyldige tegn i felt.'; +$messages['cannotbeempty'] = 'Feltet kan ikke stå tomt.'; +$messages['ruleexist'] = 'Det finnes allerede et filter med dette navnet.'; +$messages['setactivateerror'] = 'Kunne ikke aktivere valgte filtersett. Fikk feilmelding fra server.'; +$messages['setdeactivateerror'] = 'Kunne ikke deaktivere valgte filtersett. Fikk feilmelding fra server.'; +$messages['setdeleteerror'] = 'Kunne ikke slette valgte filtersett. Fikk feilmelding fra server.'; +$messages['setactivated'] = 'Filtersett aktivert.'; +$messages['setdeactivated'] = 'Filtersett deaktivert.'; +$messages['setdeleted'] = 'Filtersett slettet.'; +$messages['setdeleteconfirm'] = 'Er du sikker på at du vil slette det valgte filtersettet?'; +$messages['setcreateerror'] = 'Kunne ikke opprette filtersett. Fikk feilmelding fra server.'; +$messages['setcreated'] = 'Filtersett opprettet.'; +$messages['activateerror'] = 'Kunne ikke aktivere valgte filter(e). Fikk feilmelding fra server.'; +$messages['deactivateerror'] = 'Kunne ikke deaktivere valgte filter(e). Fikk feilmelding fra server.'; +$messages['deactivated'] = 'Filter skrudd på.'; +$messages['activated'] = 'Filter skrudd av.'; +$messages['moved'] = 'Filter ble flyttet.'; +$messages['moveerror'] = 'Kunne ikke flytte valgte filter. Fikk feilmelding fra server.'; +$messages['nametoolong'] = 'Navnet er for langt.'; +$messages['namereserved'] = 'Navnet er reservert.'; +$messages['setexist'] = 'Settet eksisterer allerede.'; +$messages['nodata'] = 'Du må velge minst én posisjon!'; +$messages['invaliddateformat'] = 'Ugyldig dato eller datoformat'; +?> diff --git a/plugins/managesieve/localization/nl_NL.inc b/plugins/managesieve/localization/nl_NL.inc new file mode 100644 index 000000000..b84b87e94 --- /dev/null +++ b/plugins/managesieve/localization/nl_NL.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filters'; +$labels['managefilters'] = 'Beheer filters voor inkomende e-mail'; +$labels['filtername'] = 'Filternaam'; +$labels['newfilter'] = 'Nieuw filter'; +$labels['filteradd'] = 'Filter toevoegen'; +$labels['filterdel'] = 'Verwijder filter'; +$labels['moveup'] = 'Verplaats omhoog'; +$labels['movedown'] = 'Verplaats omlaag'; +$labels['filterallof'] = 'die voldoet aan alle volgende regels'; +$labels['filteranyof'] = 'die voldoet aan één van de volgende regels'; +$labels['filterany'] = 'alle berichten'; +$labels['filtercontains'] = 'bevat'; +$labels['filternotcontains'] = 'bevat niet'; +$labels['filteris'] = 'is gelijk aan'; +$labels['filterisnot'] = 'is niet gelijk aan'; +$labels['filterexists'] = 'bestaat'; +$labels['filternotexists'] = 'bestaat niet'; +$labels['filtermatches'] = 'komt overeen met expressie'; +$labels['filternotmatches'] = 'komt niet overeen met expressie'; +$labels['filterregex'] = 'komt overeen met de reguliere expressie'; +$labels['filternotregex'] = 'komt niet overeen met de reguliere expressie'; +$labels['filterunder'] = 'onder'; +$labels['filterover'] = 'over'; +$labels['addrule'] = 'Regel toevoegen'; +$labels['delrule'] = 'Regel verwijderen'; +$labels['messagemoveto'] = 'Verplaats bericht naar'; +$labels['messageredirect'] = 'Bericht doorsturen naar'; +$labels['messagecopyto'] = 'Kopieer bericht naar'; +$labels['messagesendcopy'] = 'Verstuur een kopie naar'; +$labels['messagereply'] = 'Beantwoord met bericht'; +$labels['messagedelete'] = 'Verwijder bericht'; +$labels['messagediscard'] = 'Met bericht negeren'; +$labels['messagekeep'] = 'Bewaar bericht in Postvak IN'; +$labels['messagesrules'] = 'Voor binnenkomende e-mail:'; +$labels['messagesactions'] = '...voer de volgende acties uit'; +$labels['add'] = 'Toevoegen'; +$labels['del'] = 'Verwijderen'; +$labels['sender'] = 'Afzender'; +$labels['recipient'] = 'Ontvanger'; +$labels['vacationaddr'] = 'Mijn extra e-mailadres(sen):'; +$labels['vacationdays'] = 'Hoe vaak moet een bericht verstuurd worden (in dagen):'; +$labels['vacationinterval'] = 'Hoe vaak moet een bericht verstuurd worden:'; +$labels['vacationreason'] = 'Bericht (vakantiereden):'; +$labels['vacationsubject'] = 'Onderwerp:'; +$labels['days'] = 'dagen'; +$labels['seconds'] = 'seconden'; +$labels['rulestop'] = 'Stop met regels uitvoeren'; +$labels['enable'] = 'In-/uitschakelen'; +$labels['filterset'] = 'Filterset'; +$labels['filtersets'] = 'Filtersets'; +$labels['filtersetadd'] = 'Nieuwe filterset'; +$labels['filtersetdel'] = 'Verwijder huidige filterset'; +$labels['filtersetact'] = 'Huidige filterset activeren'; +$labels['filtersetdeact'] = 'Huidige filterset uitschakelen'; +$labels['filterdef'] = 'Filterdefinitie'; +$labels['filtersetname'] = 'Filtersetnaam'; +$labels['newfilterset'] = 'Nieuwe filterset'; +$labels['active'] = 'actief'; +$labels['none'] = 'geen'; +$labels['fromset'] = 'van set'; +$labels['fromfile'] = 'van bestand'; +$labels['filterdisabled'] = 'Filter uitgeschakeld'; +$labels['countisgreaterthan'] = 'aantal is groter dan'; +$labels['countisgreaterthanequal'] = 'aantal is groter dan of gelijk aan'; +$labels['countislessthan'] = 'aantal is kleiner dan'; +$labels['countislessthanequal'] = 'aantal is kleiner dan of gelijk aan'; +$labels['countequals'] = 'aantal is gelijk aan'; +$labels['countnotequals'] = 'aantal is niet gelijk aan'; +$labels['valueisgreaterthan'] = 'waarde is groter dan'; +$labels['valueisgreaterthanequal'] = 'waarde is groter dan of gelijk aan'; +$labels['valueislessthan'] = 'waarde is minder dan'; +$labels['valueislessthanequal'] = 'waarde is minder dan of gelijk aan'; +$labels['valueequals'] = 'waarde is gelijk aan'; +$labels['valuenotequals'] = 'waarde is niet gelijk aan'; +$labels['setflags'] = 'Stel markeringen in op bericht'; +$labels['addflags'] = 'Voeg markeringen toe aan bericht'; +$labels['removeflags'] = 'Verwijder markeringen van bericht'; +$labels['flagread'] = 'Lezen'; +$labels['flagdeleted'] = 'Verwijderd'; +$labels['flaganswered'] = 'Beantwoord'; +$labels['flagflagged'] = 'Gemarkeerd'; +$labels['flagdraft'] = 'Concept'; +$labels['setvariable'] = 'Variabele instellen'; +$labels['setvarname'] = 'Naam variabele:'; +$labels['setvarvalue'] = 'Waarde:'; +$labels['setvarmodifiers'] = 'Waarde wijzigen:'; +$labels['varlower'] = 'kleine letters'; +$labels['varupper'] = 'hoofdletters'; +$labels['varlowerfirst'] = 'eerste karakter als kleine letter'; +$labels['varupperfirst'] = 'eerste karakter als hoofdletter'; +$labels['varquotewildcard'] = 'speciale karakters quoten'; +$labels['varlength'] = 'lengte'; +$labels['notify'] = 'Stuur melding'; +$labels['notifytarget'] = 'Meldingsdoel:'; +$labels['notifymessage'] = 'Meldingsbericht (optioneel):'; +$labels['notifyoptions'] = 'Meldingsopties (optioneel):'; +$labels['notifyfrom'] = 'Meldingsafzender (optioneel):'; +$labels['notifyimportance'] = 'Prioriteit:'; +$labels['notifyimportancelow'] = 'laag'; +$labels['notifyimportancenormal'] = 'normaal'; +$labels['notifyimportancehigh'] = 'hoog'; +$labels['notifymethodmailto'] = 'E-mail'; +$labels['notifymethodtel'] = 'Telefoon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Filter aanmaken'; +$labels['usedata'] = 'Gebruik de volgende gegevens in het filter:'; +$labels['nextstep'] = 'Volgende stap'; +$labels['...'] = '...'; +$labels['currdate'] = 'Huidige datum'; +$labels['datetest'] = 'Datum'; +$labels['dateheader'] = 'header:'; +$labels['year'] = 'jaar'; +$labels['month'] = 'maand'; +$labels['day'] = 'dag'; +$labels['date'] = 'datum (jjjj-mm-dd)'; +$labels['julian'] = 'datum (juliaanse kalender)'; +$labels['hour'] = 'uur'; +$labels['minute'] = 'minuut'; +$labels['second'] = 'seconde'; +$labels['time'] = 'tijd (uu:mm:ss)'; +$labels['iso8601'] = 'datum (ISO-8601)'; +$labels['std11'] = 'datum (RFC 2822)'; +$labels['zone'] = 'tijdzone'; +$labels['weekday'] = 'weekdag (0-6)'; +$labels['advancedopts'] = 'Geavanceerde opties'; +$labels['body'] = 'Inhoud'; +$labels['address'] = 'adres'; +$labels['envelope'] = 'envelope'; +$labels['modifier'] = 'toets op:'; +$labels['text'] = 'tekst'; +$labels['undecoded'] = 'undecoded (raw)'; +$labels['contenttype'] = 'content type'; +$labels['modtype'] = 'type:'; +$labels['allparts'] = 'Alle'; +$labels['domain'] = 'domein'; +$labels['localpart'] = 'lokaal gedeelte'; +$labels['user'] = 'gebruiker'; +$labels['detail'] = 'detail'; +$labels['comparator'] = 'vergelijkingswijze:'; +$labels['default'] = 'standaard'; +$labels['octet'] = 'strikt (octet)'; +$labels['asciicasemap'] = 'hoofdletterongevoelig (ascii-casemap)'; +$labels['asciinumeric'] = 'numeriek (ascii-numeriek)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'terugwaarts'; +$labels['vacation'] = 'Vakantie'; +$labels['vacation.reply'] = 'Antwoordbericht'; +$labels['vacation.advanced'] = 'Geavanceerde instellingen'; +$labels['vacation.subject'] = 'Onderwerp'; +$labels['vacation.body'] = 'Inhoud'; +$labels['vacation.start'] = 'Begin van vakantie'; +$labels['vacation.end'] = 'Einde van vakantie'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.on'] = 'Aan'; +$labels['vacation.off'] = 'Uit'; +$labels['vacation.addresses'] = 'Mijn extra e-mailadressen'; +$labels['vacation.interval'] = 'Antwoordinterval'; +$labels['vacation.after'] = 'Voeg een vakantieregel toe na'; +$labels['vacation.saving'] = 'Gegevens worden opgeslagen...'; +$labels['vacation.action'] = 'Actie voor inkomend bericht'; +$labels['vacation.keep'] = 'Bewaren'; +$labels['vacation.discard'] = 'Weggooien'; +$labels['vacation.redirect'] = 'Doorsturen naar'; +$labels['vacation.copy'] = 'Kopie sturen naar'; +$labels['arialabelfiltersetactions'] = 'Filtersetacties'; +$labels['arialabelfilteractions'] = 'Filteracties'; +$labels['arialabelfilterform'] = 'Filtereigenschappen'; +$labels['ariasummaryfilterslist'] = 'Filterlijst'; +$labels['ariasummaryfiltersetslist'] = 'Lijst met filtersets'; +$labels['filterstitle'] = 'Bewerk filters voor inkomende berichten'; +$labels['vacationtitle'] = 'Bewerk vakantieregel'; +$messages['filterunknownerror'] = 'Onbekende fout'; +$messages['filterconnerror'] = 'Kan geen verbinding maken met de managesieve server'; +$messages['filterdeleteerror'] = 'Kan filter niet verwijderen. Er trad een serverfout op.'; +$messages['filterdeleted'] = 'Filter succesvol verwijderd'; +$messages['filtersaved'] = 'Filter succesvol opgeslagen'; +$messages['filtersaveerror'] = 'Kan filter niet opslaan. Er trad een serverfout op.'; +$messages['filterdeleteconfirm'] = 'Weet je zeker dat je het geselecteerde filter wilt verwijderen?'; +$messages['ruledeleteconfirm'] = 'Weet je zeker dat je de geselecteerde regel wilt verwijderen?'; +$messages['actiondeleteconfirm'] = 'Weet je zeker dat je de geselecteerde actie wilt verwijderen?'; +$messages['forbiddenchars'] = 'Verboden karakters in het veld'; +$messages['cannotbeempty'] = 'Veld mag niet leeg zijn'; +$messages['ruleexist'] = 'Er bestaat al een filter met deze naam.'; +$messages['setactivateerror'] = 'Filterset kon niet geactiveerd worden. Er trad een serverfout op.'; +$messages['setdeactivateerror'] = 'Filterset kon niet gedeactiveerd worden. Er trad een serverfout op.'; +$messages['setdeleteerror'] = 'Filterset kon niet verwijderd worden. Er trad een serverfout op.'; +$messages['setactivated'] = 'Filterset succesvol geactiveerd.'; +$messages['setdeactivated'] = 'Filterset succesvol gedeactiveerd.'; +$messages['setdeleted'] = 'Filterset succesvol verwijderd.'; +$messages['setdeleteconfirm'] = 'Weet u zeker dat u de geselecteerde filterset wilt verwijderen?'; +$messages['setcreateerror'] = 'Filterset kon niet aangemaakt worden. Er trad een serverfout op.'; +$messages['setcreated'] = 'Filterset succesvol aangemaakt.'; +$messages['activateerror'] = 'Geselecteerde filter(s) konden niet ingeschakeld worden. Er trad een serverfout op.'; +$messages['deactivateerror'] = 'Geselecteerde filter(s) konden niet uitgeschakeld worden. Er trad een serverfout op.'; +$messages['deactivated'] = 'Filter(s) succesvol ingeschakeld.'; +$messages['activated'] = 'Filter(s) succesvol uitgeschakeld.'; +$messages['moved'] = 'Filter succesvol verplaatst.'; +$messages['moveerror'] = 'Het geselecteerde filter kon niet verplaatst worden. Er trad een serverfout op.'; +$messages['nametoolong'] = 'Naam is te lang.'; +$messages['namereserved'] = 'Gereserveerde naam.'; +$messages['setexist'] = 'Filterset bestaat al.'; +$messages['nodata'] = 'Tenminste één positie moet geselecteerd worden!'; +$messages['invaliddateformat'] = 'Ongeldige datum of datumformaat'; +$messages['saveerror'] = 'Opslaan van de gegevens is mislukt. Er trad een serverfout op.'; +$messages['vacationsaved'] = 'Vakantiegegevens succesvol opgeslagen.'; +$messages['emptyvacationbody'] = 'Inhoud van vakantiebericht is verplicht!'; +?> diff --git a/plugins/managesieve/localization/nn_NO.inc b/plugins/managesieve/localization/nn_NO.inc new file mode 100644 index 000000000..2dc68e6c9 --- /dev/null +++ b/plugins/managesieve/localization/nn_NO.inc @@ -0,0 +1,152 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filter'; +$labels['managefilters'] = 'Rediger filter for innkommande e-post'; +$labels['filtername'] = 'Filternamn'; +$labels['newfilter'] = 'Nytt filter'; +$labels['filteradd'] = 'Legg til filter'; +$labels['filterdel'] = 'Slett filter'; +$labels['moveup'] = 'Flytt opp'; +$labels['movedown'] = 'Flytt ned'; +$labels['filterallof'] = 'som treffer alle følgjande regler'; +$labels['filteranyof'] = 'som treffer ein av følgjande regler'; +$labels['filterany'] = 'alle meldingar'; +$labels['filtercontains'] = 'inneheld'; +$labels['filternotcontains'] = 'ikkje inneheld'; +$labels['filteris'] = 'er lik'; +$labels['filterisnot'] = 'er ikkje lik'; +$labels['filterexists'] = 'eksisterer'; +$labels['filternotexists'] = 'ikkje eksisterer'; +$labels['filtermatches'] = 'treffer uttrykk'; +$labels['filternotmatches'] = 'ikkje treffer uttrykk'; +$labels['filterregex'] = 'treffer regulært uttrykk'; +$labels['filternotregex'] = 'ikkje treffer regulært uttrykk'; +$labels['filterunder'] = 'under'; +$labels['filterover'] = 'over'; +$labels['addrule'] = 'Legg til regel'; +$labels['delrule'] = 'Slett regel'; +$labels['messagemoveto'] = 'Flytt meldinga til'; +$labels['messageredirect'] = 'Vidaresend meldinga til'; +$labels['messagecopyto'] = 'Kopier meldinga til'; +$labels['messagesendcopy'] = 'Send ein kopi av meldinga til'; +$labels['messagereply'] = 'Svar med melding'; +$labels['messagedelete'] = 'Slett melding'; +$labels['messagediscard'] = 'Avvis med melding'; +$labels['messagesrules'] = 'For innkommande e-post'; +$labels['messagesactions'] = '…gjer følgjande:'; +$labels['add'] = 'Legg til'; +$labels['del'] = 'Slett'; +$labels['sender'] = 'Avsendar'; +$labels['recipient'] = 'Mottakar'; +$labels['vacationdays'] = 'Periode mellom meldingar (i dagar):'; +$labels['vacationreason'] = 'Innhald (grunngjeving for fråvær)'; +$labels['vacationsubject'] = 'Meldingsemne:'; +$labels['rulestop'] = 'Stopp evaluering av regler'; +$labels['enable'] = 'Aktiver/Deaktiver'; +$labels['filterset'] = 'Filtersett'; +$labels['filtersets'] = 'Filtersett'; +$labels['filtersetadd'] = 'Nytt filtersett'; +$labels['filtersetdel'] = 'Slett gjeldande filtersett'; +$labels['filtersetact'] = 'Aktiver gjeldande filtersett'; +$labels['filtersetdeact'] = 'Deaktiver gjeldande filtersett'; +$labels['filterdef'] = 'Filterdefinisjon'; +$labels['filtersetname'] = 'Namn på filtersett'; +$labels['newfilterset'] = 'Nytt filtersett'; +$labels['active'] = 'aktiv'; +$labels['none'] = 'ingen'; +$labels['fromset'] = 'frå sett'; +$labels['fromfile'] = 'frå fil'; +$labels['filterdisabled'] = 'Filter deaktivert'; +$labels['countisgreaterthan'] = 'mengd er fleire enn'; +$labels['countisgreaterthanequal'] = 'mengd er fleire enn eller lik'; +$labels['countislessthan'] = 'mengd er færre enn'; +$labels['countislessthanequal'] = 'mengd er færre enn eller lik'; +$labels['countequals'] = 'mengd er lik'; +$labels['valueisgreaterthan'] = 'verdien er høgare enn'; +$labels['valueisgreaterthanequal'] = 'verdien er høgare eller lik'; +$labels['valueislessthan'] = 'verdien er lågare enn'; +$labels['valueislessthanequal'] = 'verdien er lågare eller lik'; +$labels['valueequals'] = 'verdien er lik'; +$labels['setflags'] = 'Sett meldingsflagg'; +$labels['addflags'] = 'Legg til flagg på meldinga'; +$labels['removeflags'] = 'Fjern flagg fra meldinga'; +$labels['flagread'] = 'Lese'; +$labels['flagdeleted'] = 'Sletta'; +$labels['flaganswered'] = 'Svart på'; +$labels['flagflagged'] = 'Flagga'; +$labels['flagdraft'] = 'Skisse'; +$labels['setvariable'] = 'Sett variabel:'; +$labels['setvarname'] = 'Variabelnamn:'; +$labels['setvarvalue'] = 'Variabelverdi:'; +$labels['setvarmodifiers'] = 'Modifikator:'; +$labels['varlower'] = 'med små bokstavar'; +$labels['varupper'] = 'med store bokstavar'; +$labels['varlowerfirst'] = 'med liten forbokstav'; +$labels['varupperfirst'] = 'med stor forbokstav'; +$labels['varlength'] = 'lengde'; +$labels['notify'] = 'Send varsel'; +$labels['notifyimportance'] = 'Betyding:'; +$labels['notifyimportancelow'] = 'låg'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'høg'; +$labels['filtercreate'] = 'Opprett filter'; +$labels['usedata'] = 'Bruk følgande data i filteret:'; +$labels['nextstep'] = 'Neste steg'; +$labels['...'] = '…'; +$labels['advancedopts'] = 'Avanserte val'; +$labels['body'] = 'Meldingstekst'; +$labels['address'] = 'adresse'; +$labels['envelope'] = 'konvolutt'; +$labels['modifier'] = 'modifikator:'; +$labels['text'] = 'tekst'; +$labels['undecoded'] = 'ikkje dekoda (rå)'; +$labels['contenttype'] = 'innhaldstype'; +$labels['modtype'] = 'type:'; +$labels['allparts'] = 'alle'; +$labels['domain'] = 'domene'; +$labels['localpart'] = 'lokal del (local part)'; +$labels['user'] = 'brukar'; +$labels['detail'] = 'detalj'; +$labels['comparator'] = 'samanlikning:'; +$labels['default'] = 'standard'; +$labels['octet'] = 'streng (oktett)'; +$labels['asciicasemap'] = 'ikkje skil mellom store og små bokstavar (ascii-casemap)'; +$labels['asciinumeric'] = 'numerisk (ascii-numeric)'; +$messages['filterunknownerror'] = 'Ukjent problem med tenar.'; +$messages['filterconnerror'] = 'Kunne ikkje kople til tenaren.'; +$messages['filterdeleted'] = 'Filteret er blitt sletta.'; +$messages['filtersaved'] = 'Filteret er blitt lagra.'; +$messages['filterdeleteconfirm'] = 'Vil du verkeleg slette det valde filteret?'; +$messages['ruledeleteconfirm'] = 'Er du sikker på at du vil slette vald regel?'; +$messages['actiondeleteconfirm'] = 'Er du sikker på at du vil slette vald hending?'; +$messages['forbiddenchars'] = 'Ugyldige teikn i felt.'; +$messages['cannotbeempty'] = 'Feltet kan ikkje stå tomt.'; +$messages['ruleexist'] = 'Det finst alt eit filter med dette namnet.'; +$messages['setactivated'] = 'Filtersett aktivert.'; +$messages['setdeactivated'] = 'Filtersett deaktivert.'; +$messages['setdeleted'] = 'Filtersett sletta.'; +$messages['setdeleteconfirm'] = 'Er du sikker på at du vil slette det valde filtersettet?'; +$messages['setcreated'] = 'Filtersett oppretta.'; +$messages['deactivated'] = 'Filter skrudd på.'; +$messages['activated'] = 'Filter skrudd av.'; +$messages['moved'] = 'Filter vart flytta.'; +$messages['nametoolong'] = 'Namnet er for langt.'; +$messages['namereserved'] = 'Namnet er reservert.'; +$messages['setexist'] = 'Settet eksisterer alt.'; +$messages['nodata'] = 'Du må velje minst éin posisjon!'; +?> diff --git a/plugins/managesieve/localization/pl_PL.inc b/plugins/managesieve/localization/pl_PL.inc new file mode 100644 index 000000000..06c0a7925 --- /dev/null +++ b/plugins/managesieve/localization/pl_PL.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtry'; +$labels['managefilters'] = 'Zarządzanie filtrami poczty przychodzącej'; +$labels['filtername'] = 'Nazwa filtru'; +$labels['newfilter'] = 'Nowy filtr'; +$labels['filteradd'] = 'Dodaj filtr'; +$labels['filterdel'] = 'Usuń filtr'; +$labels['moveup'] = 'W górę'; +$labels['movedown'] = 'W dół'; +$labels['filterallof'] = 'spełniających wszystkie poniższe kryteria'; +$labels['filteranyof'] = 'spełniających dowolne z poniższych kryteriów'; +$labels['filterany'] = 'wszystkich'; +$labels['filtercontains'] = 'zawiera'; +$labels['filternotcontains'] = 'nie zawiera'; +$labels['filteris'] = 'jest równe'; +$labels['filterisnot'] = 'nie jest równe'; +$labels['filterexists'] = 'istnieje'; +$labels['filternotexists'] = 'nie istnieje'; +$labels['filtermatches'] = 'pasuje do wyrażenia'; +$labels['filternotmatches'] = 'nie pasuje do wyrażenia'; +$labels['filterregex'] = 'pasuje do wyrażenia regularnego'; +$labels['filternotregex'] = 'nie pasuje do wyrażenia regularnego'; +$labels['filterunder'] = 'poniżej'; +$labels['filterover'] = 'ponad'; +$labels['addrule'] = 'Dodaj regułę'; +$labels['delrule'] = 'Usuń regułę'; +$labels['messagemoveto'] = 'Przenieś wiadomość do'; +$labels['messageredirect'] = 'Przekaż wiadomość na konto'; +$labels['messagecopyto'] = 'Skopiuj wiadomość do'; +$labels['messagesendcopy'] = 'Wyślij kopię do'; +$labels['messagereply'] = 'Odpowiedz wiadomością o treści'; +$labels['messagedelete'] = 'Usuń wiadomość'; +$labels['messagediscard'] = 'Odrzuć z komunikatem'; +$labels['messagekeep'] = 'Zachowaj wiadomość w Odebranych'; +$labels['messagesrules'] = 'W stosunku do przychodzącej poczty:'; +$labels['messagesactions'] = '...wykonaj następujące czynności:'; +$labels['add'] = 'Dodaj'; +$labels['del'] = 'Usuń'; +$labels['sender'] = 'Nadawca'; +$labels['recipient'] = 'Odbiorca'; +$labels['vacationaddr'] = 'Moje dodatkowe adresy email:'; +$labels['vacationdays'] = 'Częstotliwość wysyłania wiadomości (w dniach):'; +$labels['vacationinterval'] = 'Jak często wysyłać wiadomości:'; +$labels['vacationreason'] = 'Treść (przyczyna nieobecności):'; +$labels['vacationsubject'] = 'Temat wiadomości:'; +$labels['days'] = 'dni'; +$labels['seconds'] = 'sekundy'; +$labels['rulestop'] = 'Przerwij przetwarzanie reguł'; +$labels['enable'] = 'Włącz/Wyłącz'; +$labels['filterset'] = 'Zbiór filtrów'; +$labels['filtersets'] = 'Zbiory fitrów'; +$labels['filtersetadd'] = 'Dodaj zbiór filtrów'; +$labels['filtersetdel'] = 'Usuń bieżący zbiór filtrów'; +$labels['filtersetact'] = 'Aktywuj bieżący zbiór filtrów'; +$labels['filtersetdeact'] = 'Deaktywuj bieżący zbiór filtrów'; +$labels['filterdef'] = 'Definicja filtra'; +$labels['filtersetname'] = 'Nazwa zbioru'; +$labels['newfilterset'] = 'Nowy zbiór filtrów'; +$labels['active'] = 'aktywny'; +$labels['none'] = 'brak'; +$labels['fromset'] = 'ze zbioru'; +$labels['fromfile'] = 'z pliku'; +$labels['filterdisabled'] = 'Filtr wyłączony'; +$labels['countisgreaterthan'] = 'ilość jest większa od'; +$labels['countisgreaterthanequal'] = 'ilość jest równa lub większa od'; +$labels['countislessthan'] = 'ilość jest mniejsza od'; +$labels['countislessthanequal'] = 'ilość jest równa lub mniejsza od'; +$labels['countequals'] = 'ilość jest równa'; +$labels['countnotequals'] = 'ilość nie jest równa'; +$labels['valueisgreaterthan'] = 'wartość jest większa od'; +$labels['valueisgreaterthanequal'] = 'wartość jest równa lub większa od'; +$labels['valueislessthan'] = 'wartość jest mniejsza od'; +$labels['valueislessthanequal'] = 'wartość jest równa lub mniejsza od'; +$labels['valueequals'] = 'wartość jest równa'; +$labels['valuenotequals'] = 'wartość nie jest równa'; +$labels['setflags'] = 'Ustaw flagi wiadomości'; +$labels['addflags'] = 'Dodaj flagi do wiadomości'; +$labels['removeflags'] = 'Usuń flagi wiadomości'; +$labels['flagread'] = 'Przeczytana'; +$labels['flagdeleted'] = 'Usunięta'; +$labels['flaganswered'] = 'Z odpowiedzią'; +$labels['flagflagged'] = 'Oflagowana'; +$labels['flagdraft'] = 'Szkic'; +$labels['setvariable'] = 'Ustaw zmienną'; +$labels['setvarname'] = 'Nazwa zmiennej:'; +$labels['setvarvalue'] = 'Wartość zmiennej:'; +$labels['setvarmodifiers'] = 'Modyfikatory:'; +$labels['varlower'] = 'małe litery'; +$labels['varupper'] = 'wielkie litery'; +$labels['varlowerfirst'] = 'pierwsza mała litera'; +$labels['varupperfirst'] = 'pierwsza wielka litera'; +$labels['varquotewildcard'] = 'zamień znaki specjalne'; +$labels['varlength'] = 'długość'; +$labels['notify'] = 'Wyślij powiadomienie'; +$labels['notifytarget'] = 'Odbiorca powiadomienia:'; +$labels['notifymessage'] = 'Wiadomość powiadomienia (opcjonalne):'; +$labels['notifyoptions'] = 'Opcje powiadomienia (opcjonalne):'; +$labels['notifyfrom'] = 'Nadawca powiadomienia (opcjonalne):'; +$labels['notifyimportance'] = 'Priorytet:'; +$labels['notifyimportancelow'] = 'niski'; +$labels['notifyimportancenormal'] = 'normalny'; +$labels['notifyimportancehigh'] = 'wysoki'; +$labels['notifymethodmailto'] = 'E-Mail'; +$labels['notifymethodtel'] = 'Telefon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Utwórz filtr'; +$labels['usedata'] = 'Użyj następujących danych do utworzenia filtra:'; +$labels['nextstep'] = 'Następny krok'; +$labels['...'] = '...'; +$labels['currdate'] = 'Bieżąca data'; +$labels['datetest'] = 'Data'; +$labels['dateheader'] = 'nagłówek:'; +$labels['year'] = 'rok'; +$labels['month'] = 'miesiąc'; +$labels['day'] = 'dzień'; +$labels['date'] = 'data (rrrr-mm-dd)'; +$labels['julian'] = 'data (kalendarz juliański)'; +$labels['hour'] = 'godzina'; +$labels['minute'] = 'minuta'; +$labels['second'] = 'sekunda'; +$labels['time'] = 'czas (gg:mm:ss)'; +$labels['iso8601'] = 'data (ISO8601)'; +$labels['std11'] = 'data (RFC2822)'; +$labels['zone'] = 'Strefa czasowa'; +$labels['weekday'] = 'dzień tygodnia (0-6)'; +$labels['advancedopts'] = 'Zaawansowane opcje'; +$labels['body'] = 'Treść'; +$labels['address'] = 'adres'; +$labels['envelope'] = 'koperta (envelope)'; +$labels['modifier'] = 'modyfikator:'; +$labels['text'] = 'tekst'; +$labels['undecoded'] = 'nie (raw)'; +$labels['contenttype'] = 'typ części (content type)'; +$labels['modtype'] = 'typ:'; +$labels['allparts'] = 'wszystkie'; +$labels['domain'] = 'domena'; +$labels['localpart'] = 'część lokalna'; +$labels['user'] = 'użytkownik'; +$labels['detail'] = 'detal'; +$labels['comparator'] = 'komparator:'; +$labels['default'] = 'domyślny'; +$labels['octet'] = 'dokładny (octet)'; +$labels['asciicasemap'] = 'nierozróżniający wielkości liter (ascii-casemap)'; +$labels['asciinumeric'] = 'numeryczny (ascii-numeric)'; +$labels['index'] = 'indeks:'; +$labels['indexlast'] = 'wstecz'; +$labels['vacation'] = 'Nieobecność'; +$labels['vacation.reply'] = 'Odpowiedź'; +$labels['vacation.advanced'] = 'Ustawienia zaawansowane'; +$labels['vacation.subject'] = 'Temat'; +$labels['vacation.body'] = 'Treść'; +$labels['vacation.start'] = 'Początek nieobecności'; +$labels['vacation.end'] = 'Koniec nieobecności'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.on'] = 'włączone'; +$labels['vacation.off'] = 'wyłączone'; +$labels['vacation.addresses'] = 'Moje dodatkowe adresy'; +$labels['vacation.interval'] = 'Częstotliwość odpowiedzi'; +$labels['vacation.after'] = 'Umieść regułę odpowiedzi po'; +$labels['vacation.saving'] = 'Zapisywanie danych...'; +$labels['vacation.action'] = 'Akcje wiadomości przychodzących'; +$labels['vacation.keep'] = 'Zachowaj'; +$labels['vacation.discard'] = 'Odrzuć'; +$labels['vacation.redirect'] = 'Przekaż do'; +$labels['vacation.copy'] = 'Wyślij kopię do'; +$labels['arialabelfiltersetactions'] = 'Zbiór filtrów akcji'; +$labels['arialabelfilteractions'] = 'Akcje filtrów'; +$labels['arialabelfilterform'] = 'Ustawienia filtrów'; +$labels['ariasummaryfilterslist'] = 'Spis filtrów'; +$labels['ariasummaryfiltersetslist'] = 'Lista zbiorów filtrów'; +$labels['filterstitle'] = 'Zarządzaj filtrami wiadomości przychodzących'; +$labels['vacationtitle'] = 'Zarządzaj asystentem nieobecności'; +$messages['filterunknownerror'] = 'Nieznany błąd serwera.'; +$messages['filterconnerror'] = 'Nie można nawiązać połączenia z serwerem.'; +$messages['filterdeleteerror'] = 'Nie można usunąć filtra. Błąd serwera.'; +$messages['filterdeleted'] = 'Filtr został usunięty pomyślnie.'; +$messages['filtersaved'] = 'Filtr został zapisany pomyślnie.'; +$messages['filtersaveerror'] = 'Nie można zapisać filtra. Wystąpił błąd serwera.'; +$messages['filterdeleteconfirm'] = 'Czy na pewno chcesz usunąć wybrany filtr?'; +$messages['ruledeleteconfirm'] = 'Czy na pewno chcesz usunąć wybraną regułę?'; +$messages['actiondeleteconfirm'] = 'Czy na pewno usunąć wybraną akcję?'; +$messages['forbiddenchars'] = 'Pole zawiera niedozwolone znaki.'; +$messages['cannotbeempty'] = 'Pole nie może być puste.'; +$messages['ruleexist'] = 'Filtr o podanej nazwie już istnieje.'; +$messages['setactivateerror'] = 'Nie można aktywować wybranego zbioru filtrów. Błąd serwera.'; +$messages['setdeactivateerror'] = 'Nie można deaktywować wybranego zbioru filtrów. Błąd serwera.'; +$messages['setdeleteerror'] = 'Nie można usunąć wybranego zbioru filtrów. Błąd serwera.'; +$messages['setactivated'] = 'Zbiór filtrów został aktywowany pomyślnie.'; +$messages['setdeactivated'] = 'Zbiór filtrów został deaktywowany pomyślnie.'; +$messages['setdeleted'] = 'Zbiór filtrów został usunięty pomyślnie.'; +$messages['setdeleteconfirm'] = 'Czy na pewno chcesz usunąć wybrany zbiór filtrów?'; +$messages['setcreateerror'] = 'Nie można utworzyć zbioru filtrów. Błąd serwera.'; +$messages['setcreated'] = 'Zbiór filtrów został utworzony pomyślnie.'; +$messages['activateerror'] = 'Nie można włączyć wybranych filtrów. Błąd serwera.'; +$messages['deactivateerror'] = 'Nie można wyłączyć wybranych filtrów. Błąd serwera.'; +$messages['deactivated'] = 'Filtr(y) włączono pomyślnie.'; +$messages['activated'] = 'Filtr(y) wyłączono pomyślnie.'; +$messages['moved'] = 'Filter został przeniesiony pomyślnie.'; +$messages['moveerror'] = 'Nie można przenieść wybranego filtra. Błąd serwera.'; +$messages['nametoolong'] = 'Zbyt długa nazwa.'; +$messages['namereserved'] = 'Nazwa zarezerwowana.'; +$messages['setexist'] = 'Zbiór już istnieje.'; +$messages['nodata'] = 'Należy wybrać co najmniej jedną pozycję!'; +$messages['invaliddateformat'] = 'Nieprawidłowy format daty lub fragmentu daty'; +$messages['saveerror'] = 'Nie można zapisać danych. Wystąpił błąd serwera.'; +$messages['vacationsaved'] = 'Dane nieobecności zapisano pomyślnie.'; +$messages['emptyvacationbody'] = 'Treść wiadomości jest wymagana!'; +?> diff --git a/plugins/managesieve/localization/pt_BR.inc b/plugins/managesieve/localization/pt_BR.inc new file mode 100644 index 000000000..b0ccaf65a --- /dev/null +++ b/plugins/managesieve/localization/pt_BR.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtros'; +$labels['managefilters'] = 'Gerenciar filtros de entrada de e-mail'; +$labels['filtername'] = 'Nome do filtro'; +$labels['newfilter'] = 'Novo filtro'; +$labels['filteradd'] = 'Adicionar filtro'; +$labels['filterdel'] = 'Excluir filtro'; +$labels['moveup'] = 'Mover para cima'; +$labels['movedown'] = 'Mover para baixo'; +$labels['filterallof'] = 'casando todas as seguintes regras'; +$labels['filteranyof'] = 'casando qualquer das seguintes regras'; +$labels['filterany'] = 'todas as mensagens'; +$labels['filtercontains'] = 'contem'; +$labels['filternotcontains'] = 'não contem'; +$labels['filteris'] = 'é igual a'; +$labels['filterisnot'] = 'não é igual a'; +$labels['filterexists'] = 'existe'; +$labels['filternotexists'] = 'não existe'; +$labels['filtermatches'] = 'expressão combina'; +$labels['filternotmatches'] = 'expressão não combina'; +$labels['filterregex'] = 'combina com expressão regular'; +$labels['filternotregex'] = 'não combina com a expressão regular'; +$labels['filterunder'] = 'inferior a'; +$labels['filterover'] = 'superior a'; +$labels['addrule'] = 'Adicionar regra'; +$labels['delrule'] = 'Excluir regra'; +$labels['messagemoveto'] = 'Mover mensagem para'; +$labels['messageredirect'] = 'Redirecionar mensagem para'; +$labels['messagecopyto'] = 'Copiar mensagem para'; +$labels['messagesendcopy'] = 'Enviar cópia da mensagem para'; +$labels['messagereply'] = 'Responder com mensagem'; +$labels['messagedelete'] = 'Excluir mensagem'; +$labels['messagediscard'] = 'Descartar com mensagem'; +$labels['messagekeep'] = 'Manter mensagens na caixa'; +$labels['messagesrules'] = 'Para e-mails recebidos:'; +$labels['messagesactions'] = '...execute as seguintes ações:'; +$labels['add'] = 'Adicionar'; +$labels['del'] = 'Excluir'; +$labels['sender'] = 'Remetente'; +$labels['recipient'] = 'Destinatário'; +$labels['vacationaddr'] = 'Meu endereço de e-mail adicional:'; +$labels['vacationdays'] = 'Enviar mensagens com que frequência (em dias):'; +$labels['vacationinterval'] = 'Como geralmente enviam mensagens:'; +$labels['vacationreason'] = 'Corpo da mensagem (motivo de férias):'; +$labels['vacationsubject'] = 'Título da mensagem:'; +$labels['days'] = 'dias'; +$labels['seconds'] = 'segundos'; +$labels['rulestop'] = 'Parar de avaliar regras'; +$labels['enable'] = 'Habilitar/Desabilitar'; +$labels['filterset'] = 'Conjunto de filtros'; +$labels['filtersets'] = 'Conjuntos de filtro'; +$labels['filtersetadd'] = 'Adicionar conjunto de filtros'; +$labels['filtersetdel'] = 'Excluir conjunto de filtros atual'; +$labels['filtersetact'] = 'Ativar conjunto de filtros atual'; +$labels['filtersetdeact'] = 'Desativar conjunto de filtros atual'; +$labels['filterdef'] = 'Definição de filtro'; +$labels['filtersetname'] = 'Nome do conjunto de filtros'; +$labels['newfilterset'] = 'Novo conjunto de filtros'; +$labels['active'] = 'ativo'; +$labels['none'] = 'nenhum'; +$labels['fromset'] = 'Do conjunto'; +$labels['fromfile'] = 'Do arquivo'; +$labels['filterdisabled'] = 'Filtro desativado'; +$labels['countisgreaterthan'] = 'contagem é maior que'; +$labels['countisgreaterthanequal'] = 'contagem é maior ou igual a'; +$labels['countislessthan'] = 'contagem é menor que'; +$labels['countislessthanequal'] = 'contagem é menor ou igual a'; +$labels['countequals'] = 'contagem é igual a'; +$labels['countnotequals'] = 'contagem não é igual a'; +$labels['valueisgreaterthan'] = 'valor é maior que'; +$labels['valueisgreaterthanequal'] = 'valor é maior ou igual a'; +$labels['valueislessthan'] = 'valor é menor que'; +$labels['valueislessthanequal'] = 'valor é menor ou igual a'; +$labels['valueequals'] = 'valor é igual a'; +$labels['valuenotequals'] = 'valor não é igual a'; +$labels['setflags'] = 'Definir marcadores à mensagem'; +$labels['addflags'] = 'Adicionar marcadores à mensagem'; +$labels['removeflags'] = 'Remover marcadores da mensagem'; +$labels['flagread'] = 'Lida'; +$labels['flagdeleted'] = 'Excluída'; +$labels['flaganswered'] = 'Respondida'; +$labels['flagflagged'] = 'Marcada'; +$labels['flagdraft'] = 'Rascunho'; +$labels['setvariable'] = 'Definir variável'; +$labels['setvarname'] = 'Nome da variável:'; +$labels['setvarvalue'] = 'Valor da variável:'; +$labels['setvarmodifiers'] = 'Modificadores:'; +$labels['varlower'] = 'minúsculas'; +$labels['varupper'] = 'maiúsculas'; +$labels['varlowerfirst'] = 'primeiro caractere minúsculo'; +$labels['varupperfirst'] = 'primeiro caractere maiúsculo'; +$labels['varquotewildcard'] = 'caracteres especiais de citação'; +$labels['varlength'] = 'tamanho'; +$labels['notify'] = 'Enviar notificação'; +$labels['notifytarget'] = 'Destino da notificação:'; +$labels['notifymessage'] = 'Mensagem de notificação (opcional):'; +$labels['notifyoptions'] = 'Opções de notificação (opcional):'; +$labels['notifyfrom'] = 'Remetente da notificação (opcional):'; +$labels['notifyimportance'] = 'Importância'; +$labels['notifyimportancelow'] = 'baixa'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'alta'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Telefone'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Criar filtro'; +$labels['usedata'] = 'Usar os seguintes dados no filtro:'; +$labels['nextstep'] = 'Próximo Passo'; +$labels['...'] = '...'; +$labels['currdate'] = 'Data atual'; +$labels['datetest'] = 'Data'; +$labels['dateheader'] = 'cabeçalho:'; +$labels['year'] = 'ano'; +$labels['month'] = 'mês'; +$labels['day'] = 'dia'; +$labels['date'] = 'data (aaaa-mm-dd)'; +$labels['julian'] = 'data (calendário juliano)'; +$labels['hour'] = 'hora'; +$labels['minute'] = 'minuto'; +$labels['second'] = 'segundo'; +$labels['time'] = 'hora (hh:mm:ss)'; +$labels['iso8601'] = 'data (ISO8601)'; +$labels['std11'] = 'data (RFC2822)'; +$labels['zone'] = 'fuso horário'; +$labels['weekday'] = 'dia da semana (0-6)'; +$labels['advancedopts'] = 'Opções avançadas'; +$labels['body'] = 'Corpo'; +$labels['address'] = 'endereço'; +$labels['envelope'] = 'envelope'; +$labels['modifier'] = 'modificador:'; +$labels['text'] = 'texto'; +$labels['undecoded'] = 'decodificado (bruto)'; +$labels['contenttype'] = 'tipo de conteúdo'; +$labels['modtype'] = 'tipo:'; +$labels['allparts'] = 'todas'; +$labels['domain'] = 'domínio'; +$labels['localpart'] = 'parte local'; +$labels['user'] = 'usuário'; +$labels['detail'] = 'detalhes'; +$labels['comparator'] = 'comparador:'; +$labels['default'] = 'padrão'; +$labels['octet'] = 'estrito (octeto)'; +$labels['asciicasemap'] = 'caso insensível (mapa de caracteres ascii)'; +$labels['asciinumeric'] = 'numérico (ascii-numeric)'; +$labels['index'] = 'índice:'; +$labels['indexlast'] = 'retroceder'; +$labels['vacation'] = 'Férias'; +$labels['vacation.reply'] = 'Responder mensagem'; +$labels['vacation.advanced'] = 'Opções avançadas'; +$labels['vacation.subject'] = 'Assunto'; +$labels['vacation.body'] = 'Conteúdo'; +$labels['vacation.start'] = 'Início das férias'; +$labels['vacation.end'] = 'Término das férias'; +$labels['vacation.status'] = 'Estado'; +$labels['vacation.on'] = 'Ligado'; +$labels['vacation.off'] = 'Desligado'; +$labels['vacation.addresses'] = 'Meus endereços de e-mail adicionais'; +$labels['vacation.interval'] = 'Intervalo de resposta'; +$labels['vacation.after'] = 'Colocar regra de férias após'; +$labels['vacation.saving'] = 'Salvando dados...'; +$labels['vacation.action'] = 'Ações para mensagens recebidas'; +$labels['vacation.keep'] = 'Manter'; +$labels['vacation.discard'] = 'Descartar'; +$labels['vacation.redirect'] = 'Redirecionar para'; +$labels['vacation.copy'] = 'Enviar cópia para'; +$labels['arialabelfiltersetactions'] = 'Ações do grupo de filtros'; +$labels['arialabelfilteractions'] = 'Ações do filtro'; +$labels['arialabelfilterform'] = 'Propriedades do filtro'; +$labels['ariasummaryfilterslist'] = 'Lista dos filtros'; +$labels['ariasummaryfiltersetslist'] = 'Lista de grupo de filtros'; +$labels['filterstitle'] = 'Editar filtro dos e-mails recebidos'; +$labels['vacationtitle'] = 'Editar regra de ausência'; +$messages['filterunknownerror'] = 'Erro desconhecido de servidor'; +$messages['filterconnerror'] = 'Não foi possível conectar ao servidor managesieve'; +$messages['filterdeleteerror'] = 'Impossível excluir o filtro. Ocorreu um erro no servidor.'; +$messages['filterdeleted'] = 'Filtro excluído com sucesso'; +$messages['filtersaved'] = 'Filtro gravado com sucesso'; +$messages['filtersaveerror'] = 'Impossível salvar o filtro. Ocorreu um erro no servidor.'; +$messages['filterdeleteconfirm'] = 'Deseja realmente excluir o filtro selecionado?'; +$messages['ruledeleteconfirm'] = 'Deseja realmente excluir a regra selecionada?'; +$messages['actiondeleteconfirm'] = 'Deseja realmente excluir a ação selecionada?'; +$messages['forbiddenchars'] = 'Caracteres não permitidos no campo'; +$messages['cannotbeempty'] = 'Campo não pode ficar em branco'; +$messages['ruleexist'] = 'O filtro com o nome especificado já existe.'; +$messages['setactivateerror'] = 'Impossível ativar o conjunto de filtros selecionados. Ocorreu um erro no servidor.'; +$messages['setdeactivateerror'] = 'Impossível desativar o conjunto de filtros selecionados. Ocorreu um erro no servidor.'; +$messages['setdeleteerror'] = 'Impossível excluir o conjunto de filtros selecionados. Ocorreu um erro no servidor.'; +$messages['setactivated'] = 'Conjunto de filtros ativados com sucesso.'; +$messages['setdeactivated'] = 'Conjunto de filtros desativados com sucesso.'; +$messages['setdeleted'] = 'Conjunto de filtros excluídos com sucesso.'; +$messages['setdeleteconfirm'] = 'Você está certo que deseja excluir o conjunto de filtros selecionados?'; +$messages['setcreateerror'] = 'Impossível criar o conjunto de filtros. Ocorreu um erro no servidor.'; +$messages['setcreated'] = 'Conjunto de filtros criado com sucesso.'; +$messages['activateerror'] = 'Impossível habilitar o(s) filtro(s) selecionado(s). Ocorreu um erro no servidor.'; +$messages['deactivateerror'] = 'Impossível desabilitar o(s) filtro(s) selecionado(s). Ocorreu um erro no servidor.'; +$messages['deactivated'] = 'Filtro(s) habilitado(s) com sucesso.'; +$messages['activated'] = 'Filtro(s) desabilitado(s) com sucesso.'; +$messages['moved'] = 'Filtro movido com sucesso.'; +$messages['moveerror'] = 'Impossível mover o filtro selecionado. Ocorreu um erro no servidor.'; +$messages['nametoolong'] = 'Nome muito longo.'; +$messages['namereserved'] = 'Nome reservado.'; +$messages['setexist'] = 'Conjunto já existe.'; +$messages['nodata'] = 'Pelo menos uma posição precisa ser selecionada!'; +$messages['invaliddateformat'] = 'Data inválida'; +$messages['saveerror'] = 'Impossível salvar dados. Ocorreu um erro no servidor.'; +$messages['vacationsaved'] = 'Dados de férias salvos com sucesso.'; +$messages['emptyvacationbody'] = 'Conteúdo da mensagem de férias necessário!'; +?> diff --git a/plugins/managesieve/localization/pt_PT.inc b/plugins/managesieve/localization/pt_PT.inc new file mode 100644 index 000000000..ec3954200 --- /dev/null +++ b/plugins/managesieve/localization/pt_PT.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtros'; +$labels['managefilters'] = 'Gerir filtros'; +$labels['filtername'] = 'Nome do filtro'; +$labels['newfilter'] = 'Novo filtro'; +$labels['filteradd'] = 'Adicionar filtro'; +$labels['filterdel'] = 'Eliminar filtro'; +$labels['moveup'] = 'Mover para cima'; +$labels['movedown'] = 'Mover para baixo'; +$labels['filterallof'] = 'corresponde a todas as seguintes regras'; +$labels['filteranyof'] = 'corresponde a uma das seguintes regras'; +$labels['filterany'] = 'todas as mensagens'; +$labels['filtercontains'] = 'contém'; +$labels['filternotcontains'] = 'não contém'; +$labels['filteris'] = 'é igual a'; +$labels['filterisnot'] = 'é diferente de'; +$labels['filterexists'] = 'existe'; +$labels['filternotexists'] = 'não existe'; +$labels['filtermatches'] = 'expressão corresponde'; +$labels['filternotmatches'] = 'expressão não corresponde'; +$labels['filterregex'] = 'corresponde à expressão'; +$labels['filternotregex'] = 'não corresponde à expressão'; +$labels['filterunder'] = 'é inferior a'; +$labels['filterover'] = 'é superior a'; +$labels['addrule'] = 'Adicionar regra'; +$labels['delrule'] = 'Eliminar regra'; +$labels['messagemoveto'] = 'Mover mensagem para'; +$labels['messageredirect'] = 'Redirecionar mensagem para'; +$labels['messagecopyto'] = 'Copiar mensagem para'; +$labels['messagesendcopy'] = 'Enviar cópia da mensagem para'; +$labels['messagereply'] = 'Responder com a mensagem'; +$labels['messagedelete'] = 'Eliminar mensagem'; +$labels['messagediscard'] = 'Rejeitar mensagem'; +$labels['messagekeep'] = 'Manter mensagem na Caixa de entrada'; +$labels['messagesrules'] = 'Regras para Filtros'; +$labels['messagesactions'] = 'Acções para Filtros'; +$labels['add'] = 'Adicionar'; +$labels['del'] = 'Eliminar'; +$labels['sender'] = 'Remetente'; +$labels['recipient'] = 'Destinatário'; +$labels['vacationaddr'] = 'Os meus endereços de e-mail adicionais:'; +$labels['vacationdays'] = 'Enviar mensagens com que frequência (em dias):'; +$labels['vacationinterval'] = 'Com que frequência envia mensagens:'; +$labels['vacationreason'] = 'Conteúdo da mensagem (motivo da ausência):'; +$labels['vacationsubject'] = 'Assunto da mensagem:'; +$labels['days'] = 'dias'; +$labels['seconds'] = 'segundos'; +$labels['rulestop'] = 'Parar de avaliar regras'; +$labels['enable'] = 'Activar/Desactivar'; +$labels['filterset'] = 'Filtros definidos'; +$labels['filtersets'] = 'Filtros definidos'; +$labels['filtersetadd'] = 'Adicionar definição de filtros'; +$labels['filtersetdel'] = 'Eliminar definição de filtros actuais'; +$labels['filtersetact'] = 'Activar definição de filtros actuais'; +$labels['filtersetdeact'] = 'Desactivar definição de filtros actuais'; +$labels['filterdef'] = 'Definição de filtros'; +$labels['filtersetname'] = 'Nome da definição de filtros'; +$labels['newfilterset'] = 'Nova definição de filtros'; +$labels['active'] = 'activo'; +$labels['none'] = 'nehnum'; +$labels['fromset'] = 'definição de'; +$labels['fromfile'] = 'a partir do ficheiro'; +$labels['filterdisabled'] = 'Filtro desactivado'; +$labels['countisgreaterthan'] = 'contagem é maior que'; +$labels['countisgreaterthanequal'] = 'contagem é maior ou igual a'; +$labels['countislessthan'] = 'contagem é menor que'; +$labels['countislessthanequal'] = 'contagem é menor ou igual a'; +$labels['countequals'] = 'contagem é igual a'; +$labels['countnotequals'] = 'a contagem não é igual a'; +$labels['valueisgreaterthan'] = 'valor é maior que'; +$labels['valueisgreaterthanequal'] = 'valor é maior ou igual a'; +$labels['valueislessthan'] = 'valor é menor que'; +$labels['valueislessthanequal'] = 'valor é menor ou igual a'; +$labels['valueequals'] = 'valor é igual a'; +$labels['valuenotequals'] = 'o valor não é igual a'; +$labels['setflags'] = 'Definir indicadores para a mensagem'; +$labels['addflags'] = 'Adicionar indicadores para a mensagem'; +$labels['removeflags'] = 'Eliminar indicadores da mensagem'; +$labels['flagread'] = 'Lida'; +$labels['flagdeleted'] = 'Eliminada'; +$labels['flaganswered'] = 'Respondida'; +$labels['flagflagged'] = 'Marcada'; +$labels['flagdraft'] = 'Rascunho'; +$labels['setvariable'] = 'Definir variável'; +$labels['setvarname'] = 'Nome da Variável:'; +$labels['setvarvalue'] = 'Valor da Variável:'; +$labels['setvarmodifiers'] = 'Modificadores:'; +$labels['varlower'] = 'minúscula'; +$labels['varupper'] = 'maiúscula'; +$labels['varlowerfirst'] = 'primeira letra em minúscula'; +$labels['varupperfirst'] = 'primeira letra em maiúscula'; +$labels['varquotewildcard'] = 'citar caracteres especiais'; +$labels['varlength'] = 'tamanho'; +$labels['notify'] = 'Enviar notificação'; +$labels['notifytarget'] = 'Destino da notificação:'; +$labels['notifymessage'] = 'Mensagem de notificação (opcional):'; +$labels['notifyoptions'] = 'Opções de notificação (opcional):'; +$labels['notifyfrom'] = 'Remetente da notificação (opcional):'; +$labels['notifyimportance'] = 'Importância:'; +$labels['notifyimportancelow'] = 'baixa'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'alta'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Telefone'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Criar filtro'; +$labels['usedata'] = 'Usar os seguintes dados no filtro:'; +$labels['nextstep'] = 'Próximo passo'; +$labels['...'] = '...'; +$labels['currdate'] = 'Data atual'; +$labels['datetest'] = 'Data'; +$labels['dateheader'] = 'cabeçalho:'; +$labels['year'] = 'ano'; +$labels['month'] = 'mês'; +$labels['day'] = 'dia'; +$labels['date'] = 'data (yyyy-mm-dd)'; +$labels['julian'] = 'data (juliano)'; +$labels['hour'] = 'hora'; +$labels['minute'] = 'minuto'; +$labels['second'] = 'segundo'; +$labels['time'] = 'hora (hh:mm:ss)'; +$labels['iso8601'] = 'data (ISO8601)'; +$labels['std11'] = 'data (RFC2822)'; +$labels['zone'] = 'fuso horário'; +$labels['weekday'] = 'dia da semana (0-6)'; +$labels['advancedopts'] = 'Opções avançadas'; +$labels['body'] = 'Corpo'; +$labels['address'] = 'endereço'; +$labels['envelope'] = 'envelope'; +$labels['modifier'] = 'modificador:'; +$labels['text'] = 'Texto'; +$labels['undecoded'] = 'não descodificado (raw)'; +$labels['contenttype'] = 'tipo de conteúdo'; +$labels['modtype'] = 'tipo:'; +$labels['allparts'] = 'todos'; +$labels['domain'] = 'domínio'; +$labels['localpart'] = 'parte local'; +$labels['user'] = 'utilizador'; +$labels['detail'] = 'detalhe'; +$labels['comparator'] = 'Comparador'; +$labels['default'] = 'predefinido'; +$labels['octet'] = 'estrito (octeto)'; +$labels['asciicasemap'] = 'não sensível a maiúsculas/minúsculas (caracteres ascii)'; +$labels['asciinumeric'] = 'numérico (numérico ascii)'; +$labels['index'] = 'índice:'; +$labels['indexlast'] = 'retroceder'; +$labels['vacation'] = 'Férias'; +$labels['vacation.reply'] = 'Mensagem de resposta'; +$labels['vacation.advanced'] = 'Definições avançadas'; +$labels['vacation.subject'] = 'Assunto'; +$labels['vacation.body'] = 'Corpo da mensagem'; +$labels['vacation.start'] = 'Início de férias'; +$labels['vacation.end'] = 'Fim de férias'; +$labels['vacation.status'] = 'Estado'; +$labels['vacation.on'] = 'Ligar'; +$labels['vacation.off'] = 'Desligar'; +$labels['vacation.addresses'] = 'Meus endereços adicionais'; +$labels['vacation.interval'] = 'Intervalo de resposta'; +$labels['vacation.after'] = 'Coloque regra de férias depois'; +$labels['vacation.saving'] = 'A guardar dados...'; +$labels['vacation.action'] = 'Acção para mensagem recebida'; +$labels['vacation.keep'] = 'Manter'; +$labels['vacation.discard'] = 'Rejeitar'; +$labels['vacation.redirect'] = 'Redireccionar para'; +$labels['vacation.copy'] = 'Enviar cópia para'; +$labels['arialabelfiltersetactions'] = 'Acções do conjunto de filtros'; +$labels['arialabelfilteractions'] = 'Acções dos filtros'; +$labels['arialabelfilterform'] = 'Propriedades dos filtro'; +$labels['ariasummaryfilterslist'] = 'Lista de filtros'; +$labels['ariasummaryfiltersetslist'] = 'Lista de conjuntos de filtros'; +$labels['filterstitle'] = 'Editar filtros de mensagens recebidas'; +$labels['vacationtitle'] = 'Editar regra de ausência do escritório'; +$messages['filterunknownerror'] = 'Erro de servidor desconhecido'; +$messages['filterconnerror'] = 'Não é possível ligar ao servidor Sieve'; +$messages['filterdeleteerror'] = 'Não foi possível eliminar o filtro. Ocorreu um erro no servidor.'; +$messages['filterdeleted'] = 'Filtro eliminado com sucesso'; +$messages['filtersaved'] = 'Filtro guardado com sucesso'; +$messages['filtersaveerror'] = 'Não foi possível guardar o filtro. Ocorreu um erro no servidor.'; +$messages['filterdeleteconfirm'] = 'Tem a certeza que pretende eliminar este filtro?'; +$messages['ruledeleteconfirm'] = 'Tem a certeza que pretende eliminar esta regra?'; +$messages['actiondeleteconfirm'] = 'Tem a certeza que pretende eliminar esta acção?'; +$messages['forbiddenchars'] = 'Caracteres inválidos no campo.'; +$messages['cannotbeempty'] = 'Este campo não pode estar vazio.'; +$messages['ruleexist'] = 'Já existe um Filtro com o nome especificado.'; +$messages['setactivateerror'] = 'Não foi possível ativar os filtros selecionados. Ocorreu um erro no servidor.'; +$messages['setdeactivateerror'] = 'Não foi possível desativar os filtros selecionados. Ocorreu um erro no servidor.'; +$messages['setdeleteerror'] = 'Não foi possível eliminar os filtros selecionados. Ocorreu um erro no servidor.'; +$messages['setactivated'] = 'Filtros ativados com sucesso.'; +$messages['setdeactivated'] = 'Filtros desativados com sucesso.'; +$messages['setdeleted'] = 'Filtros eliminados com sucesso.'; +$messages['setdeleteconfirm'] = 'Tem a certeza que pretende eliminar os filtros selecionados?'; +$messages['setcreateerror'] = 'Não foi possível criar o conjunto de filtros. Ocorreu um erro no servidor.'; +$messages['setcreated'] = 'Conjunto de filtros criado com sucesso.'; +$messages['activateerror'] = 'Não foi possível ativar os filtros selecionados. Ocorreu um erro no servidor.'; +$messages['deactivateerror'] = 'Não foi possível desativar os filtros selecionados. Ocorreu um erro no servidor.'; +$messages['deactivated'] = 'Filtro(s) ativado(s) com sucesso.'; +$messages['activated'] = 'Filtro(s) desativado(s) com sucesso.'; +$messages['moved'] = 'Filtro movido com sucesso.'; +$messages['moveerror'] = 'Não foi possível mover o filtro selecionado. Ocorreu um erro no servidor.'; +$messages['nametoolong'] = 'Nome demasiado longo.'; +$messages['namereserved'] = 'Nome invertido.'; +$messages['setexist'] = 'O conjunto já existe.'; +$messages['nodata'] = 'Deve selecionar pelo menos uma posição.'; +$messages['invaliddateformat'] = 'Data ou formato de data inválido.'; +$messages['saveerror'] = 'Não foi possível guardar os dados. Ocorreu um erro no servidor.'; +$messages['vacationsaved'] = 'Dados de férias guardados com sucesso.'; +$messages['emptyvacationbody'] = 'É necessário o corpo da mensagem de férias!'; +?> diff --git a/plugins/managesieve/localization/ro_RO.inc b/plugins/managesieve/localization/ro_RO.inc new file mode 100644 index 000000000..017320ee6 --- /dev/null +++ b/plugins/managesieve/localization/ro_RO.inc @@ -0,0 +1,202 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtre'; +$labels['managefilters'] = 'Administreaza filtrele pentru mesaje primite.'; +$labels['filtername'] = 'Nume filtru'; +$labels['newfilter'] = 'Filtru nou'; +$labels['filteradd'] = 'Adauga un filtru'; +$labels['filterdel'] = 'Sterge filtru.'; +$labels['moveup'] = 'Muta mai sus'; +$labels['movedown'] = 'Muta mai jos'; +$labels['filterallof'] = 'se potriveste cu toate regulile urmatoare'; +$labels['filteranyof'] = 'se potriveste cu oricare din regulile urmatoare'; +$labels['filterany'] = 'toate mesajele'; +$labels['filtercontains'] = 'contine'; +$labels['filternotcontains'] = 'nu contine'; +$labels['filteris'] = 'este egal cu'; +$labels['filterisnot'] = 'este diferit de'; +$labels['filterexists'] = 'exista'; +$labels['filternotexists'] = 'nu exista'; +$labels['filtermatches'] = 'se potriveste cu expresia'; +$labels['filternotmatches'] = 'nu se potriveste cu expresia'; +$labels['filterregex'] = 'se potriveste cu expresia regulata'; +$labels['filternotregex'] = 'nu se potriveste cu expresia regulata'; +$labels['filterunder'] = 'sub'; +$labels['filterover'] = 'peste'; +$labels['addrule'] = 'Adauga regula'; +$labels['delrule'] = 'Sterge regula'; +$labels['messagemoveto'] = 'Muta mesajul in'; +$labels['messageredirect'] = 'Redirectioneaza mesajul catre'; +$labels['messagecopyto'] = 'Copiaza mesajul in'; +$labels['messagesendcopy'] = 'Trimite o copie a mesajului catre'; +$labels['messagereply'] = 'Raspunde cu mesajul'; +$labels['messagedelete'] = 'Sterge mesajul'; +$labels['messagediscard'] = 'Respinge cu mesajul'; +$labels['messagekeep'] = 'Pastreaza mesajele in Inbox'; +$labels['messagesrules'] = 'Pentru e-mail primit:'; +$labels['messagesactions'] = '...executa urmatoarele actiuni:'; +$labels['add'] = 'Adauga'; +$labels['del'] = 'Sterge'; +$labels['sender'] = 'Expeditor'; +$labels['recipient'] = 'Destinatar'; +$labels['vacationaddr'] = 'Adresele mele de e-mail (adiţionale)'; +$labels['vacationdays'] = 'Cat de des sa trimit mesajele (in zile):'; +$labels['vacationinterval'] = 'Cât de des să trimit mesaje:'; +$labels['vacationreason'] = 'Corpul mesajului (motivul vacantei):'; +$labels['vacationsubject'] = 'Subiectul mesajului:'; +$labels['days'] = 'zile'; +$labels['seconds'] = 'secunde'; +$labels['rulestop'] = 'Nu mai evalua reguli'; +$labels['enable'] = 'Activeaza/Dezactiveaza'; +$labels['filterset'] = 'Filtre setate'; +$labels['filtersets'] = 'Filtrul seteaza'; +$labels['filtersetadd'] = 'Adauga set de filtre'; +$labels['filtersetdel'] = 'Sterge setul curent de filtre'; +$labels['filtersetact'] = 'Activeaza setul curent de filtre'; +$labels['filtersetdeact'] = 'Dezactiveaza setul curent de filtre'; +$labels['filterdef'] = 'Definiţie filtru'; +$labels['filtersetname'] = 'Nume set filtre'; +$labels['newfilterset'] = 'Set filtre nou'; +$labels['active'] = 'activ'; +$labels['none'] = 'niciunul'; +$labels['fromset'] = 'din setul'; +$labels['fromfile'] = 'din fişier'; +$labels['filterdisabled'] = 'Filtru dezactivat'; +$labels['countisgreaterthan'] = 'numărul este mai mare ca'; +$labels['countisgreaterthanequal'] = 'numărul este mai mare sau egal cu'; +$labels['countislessthan'] = 'numărul este mai mic decât'; +$labels['countislessthanequal'] = 'numărul este mai mic sau egal cu'; +$labels['countequals'] = 'numărul este egal cu'; +$labels['countnotequals'] = 'numaratoarea nu este egala cu'; +$labels['valueisgreaterthan'] = 'valoarea este egală cu'; +$labels['valueisgreaterthanequal'] = 'valoarea este mai mare sau egala cu'; +$labels['valueislessthan'] = 'valoarea este mai mică decât'; +$labels['valueislessthanequal'] = 'valoarea este mai mică sau egală cu'; +$labels['valueequals'] = 'valoarea este egală cu'; +$labels['valuenotequals'] = 'valoarea nu este egala cu'; +$labels['setflags'] = 'Pune marcaje mesajului'; +$labels['addflags'] = 'Adaugă marcaje mesajului'; +$labels['removeflags'] = 'Şterge marcajele mesajului'; +$labels['flagread'] = 'Citit'; +$labels['flagdeleted'] = 'Șters'; +$labels['flaganswered'] = 'Răspuns'; +$labels['flagflagged'] = 'Marcat'; +$labels['flagdraft'] = 'Schiță'; +$labels['setvariable'] = 'Setare variabilă'; +$labels['setvarname'] = 'Nume variabilă:'; +$labels['setvarvalue'] = 'Valoare variabilă:'; +$labels['setvarmodifiers'] = 'Modificatori:'; +$labels['varlower'] = 'cu litere mici'; +$labels['varupper'] = 'cu litere mari'; +$labels['varlowerfirst'] = 'primul caracter cu litre mici'; +$labels['varupperfirst'] = 'primul caracter cu litre mari'; +$labels['varquotewildcard'] = 'caracterele speciale in citat'; +$labels['varlength'] = 'lungime'; +$labels['notify'] = 'Notificare trimitere'; +$labels['notifyimportance'] = 'Importanța:'; +$labels['notifyimportancelow'] = 'mică'; +$labels['notifyimportancenormal'] = 'normală'; +$labels['notifyimportancehigh'] = 'mare'; +$labels['filtercreate'] = 'Crează filtru'; +$labels['usedata'] = 'Foloseşte următoarele date în filtru:'; +$labels['nextstep'] = 'Următorul Pas'; +$labels['...'] = '...'; +$labels['currdate'] = 'Data curenta'; +$labels['datetest'] = 'Data'; +$labels['dateheader'] = 'header:'; +$labels['year'] = 'an'; +$labels['month'] = 'luna'; +$labels['day'] = 'zi'; +$labels['date'] = 'data (AAAA-LL-ZZ)'; +$labels['julian'] = 'data (calendar iulian)'; +$labels['hour'] = 'ora'; +$labels['minute'] = 'minut'; +$labels['second'] = 'secunda'; +$labels['time'] = 'ora (hh:mm:ss)'; +$labels['iso8601'] = 'data (ISO8601)'; +$labels['std11'] = 'data (RFC2822)'; +$labels['zone'] = 'fus orar'; +$labels['weekday'] = 'zi saptamana (0-6)'; +$labels['advancedopts'] = 'Opţiuni avansate'; +$labels['body'] = 'Corp'; +$labels['address'] = 'adresă'; +$labels['envelope'] = 'plic'; +$labels['modifier'] = 'modificator:'; +$labels['text'] = 'text'; +$labels['undecoded'] = 'nedecodat (brut)'; +$labels['contenttype'] = 'tip conţinut'; +$labels['modtype'] = 'tip:'; +$labels['allparts'] = 'toate'; +$labels['domain'] = 'domeniu'; +$labels['localpart'] = 'partea locală'; +$labels['user'] = 'utilizator'; +$labels['detail'] = 'detaliu'; +$labels['comparator'] = 'comparator:'; +$labels['default'] = 'implicit'; +$labels['octet'] = 'strict (octet)'; +$labels['asciicasemap'] = 'ignoră majusculele (ascii-casemap)'; +$labels['asciinumeric'] = 'numeric (ascii-numeric)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'invers'; +$labels['vacation'] = 'Vacanta'; +$labels['vacation.reply'] = 'Raspunde mesajului'; +$labels['vacation.advanced'] = 'Setari avansate'; +$labels['vacation.subject'] = 'Subiect'; +$labels['vacation.body'] = 'Corp'; +$labels['vacation.status'] = 'Statut'; +$labels['vacation.on'] = 'Pe'; +$labels['vacation.off'] = 'De pe'; +$labels['vacation.addresses'] = 'Adresa mea aditionala'; +$labels['vacation.interval'] = 'Interval de raspundere'; +$labels['vacation.after'] = 'Pune regula de vacanta dupa'; +$labels['vacation.saving'] = 'Salvez datele...'; +$messages['filterunknownerror'] = 'Eroare necunoscută la server:'; +$messages['filterconnerror'] = 'Nu mă pot conecta la server.'; +$messages['filterdeleteerror'] = 'Nu pot şterge filtrul. S-a produs o eroare la server.'; +$messages['filterdeleted'] = 'Filtrul a fost şters cu succes.'; +$messages['filtersaved'] = 'Filtrul a fost salvat cu succes.'; +$messages['filtersaveerror'] = 'Nu am putut salva filtrul. S-a produs o eroare la server.'; +$messages['filterdeleteconfirm'] = 'Chiar vrei să ştergi filtrul selectat?'; +$messages['ruledeleteconfirm'] = 'Eşti sigur că vrei să ştergi regula selectată?'; +$messages['actiondeleteconfirm'] = 'Eşti sigur că vrei să ştergi acţiunea selectată?'; +$messages['forbiddenchars'] = 'Caractere nepermise în câmp.'; +$messages['cannotbeempty'] = 'Câmpul nu poate fi gol.'; +$messages['ruleexist'] = 'Filtrul cu numele specificat există deja.'; +$messages['setactivateerror'] = 'Nu pot activa setul de filtre selectat. S-a produs o eroare la server.'; +$messages['setdeactivateerror'] = 'Nu pot dezactiva setul de filtre selectat. S-a produs o eroare la server.'; +$messages['setdeleteerror'] = 'Nu pot şterge setul de filtre selectat. S-a produs o eroare la server.'; +$messages['setactivated'] = 'Setul de filtre activat cu succes.'; +$messages['setdeactivated'] = 'Setul de filtre dezactivat cu succes.'; +$messages['setdeleted'] = 'Setul de filtre şters cu succes.'; +$messages['setdeleteconfirm'] = 'Eşti sigur(ă) că vrei să ştergi setul de filtre selectat?'; +$messages['setcreateerror'] = 'Nu am putut crea setul de filtre. S-a produs o eroare la server.'; +$messages['setcreated'] = 'Setul de filtre creat cu succes.'; +$messages['activateerror'] = 'Nu am putut activa filtrul (filtrele) selectate. S-a produs o eroare la server.'; +$messages['deactivateerror'] = 'Nu am putut dezactiva filtrele (filtrele) selectate. S-a produs o eroare la server.'; +$messages['deactivated'] = 'Filtrele au fost activate cu succes.'; +$messages['activated'] = 'Filtrele au fost dezactivate cu succes.'; +$messages['moved'] = 'Filtrele au fost mutate cu succes.'; +$messages['moveerror'] = 'Nu am putut muta filtrul selectat. S-a produs o eroare la server.'; +$messages['nametoolong'] = 'Numele este prea lung.'; +$messages['namereserved'] = 'Nume rezervat.'; +$messages['setexist'] = 'Setul există deja.'; +$messages['nodata'] = 'Trebuie selectată cel putin o poziţie!'; +$messages['invaliddateformat'] = 'Data sau parte din data in format invalid'; +$messages['saveerror'] = 'Nu am putut salva datele. A aparut o eroare de server.'; +$messages['vacationsaved'] = 'Data de vacanta salvata cu succes'; +?> diff --git a/plugins/managesieve/localization/ru_RU.inc b/plugins/managesieve/localization/ru_RU.inc new file mode 100644 index 000000000..6714c4c9d --- /dev/null +++ b/plugins/managesieve/localization/ru_RU.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Фильтры'; +$labels['managefilters'] = 'Управление фильтрами для входящей почты'; +$labels['filtername'] = 'Название фильтра'; +$labels['newfilter'] = 'Новый фильтр'; +$labels['filteradd'] = 'Добавить фильтр'; +$labels['filterdel'] = 'Удалить фильтр'; +$labels['moveup'] = 'Сдвинуть вверх'; +$labels['movedown'] = 'Сдвинуть вниз'; +$labels['filterallof'] = 'соответствует всем указанным правилам'; +$labels['filteranyof'] = 'соответствует любому из указанных правил'; +$labels['filterany'] = 'все сообщения'; +$labels['filtercontains'] = 'содержит'; +$labels['filternotcontains'] = 'не содержит'; +$labels['filteris'] = 'соответствует'; +$labels['filterisnot'] = 'не соответствует'; +$labels['filterexists'] = 'существует'; +$labels['filternotexists'] = 'не существует'; +$labels['filtermatches'] = 'совпадает с выражением'; +$labels['filternotmatches'] = 'не совпадает с выражением'; +$labels['filterregex'] = 'совпадает с регулярным выражением'; +$labels['filternotregex'] = 'не совпадает с регулярным выражением'; +$labels['filterunder'] = 'меньше'; +$labels['filterover'] = 'больше'; +$labels['addrule'] = 'Добавить правило'; +$labels['delrule'] = 'Удалить правило'; +$labels['messagemoveto'] = 'Переместить сообщение в'; +$labels['messageredirect'] = 'Перенаправить сообщение на'; +$labels['messagecopyto'] = 'Скопировать сообщение в'; +$labels['messagesendcopy'] = 'Отправить копию сообщения на'; +$labels['messagereply'] = 'Ответить с сообщением'; +$labels['messagedelete'] = 'Удалить сообщение'; +$labels['messagediscard'] = 'Отбросить с сообщением'; +$labels['messagekeep'] = 'Оставить сообщение во Входящих'; +$labels['messagesrules'] = 'Для входящей почты:'; +$labels['messagesactions'] = '...выполнить следующие действия:'; +$labels['add'] = 'Добавить'; +$labels['del'] = 'Удалить'; +$labels['sender'] = 'Отправитель'; +$labels['recipient'] = 'Получатель'; +$labels['vacationaddr'] = 'Мой дополнительный адрес(а):'; +$labels['vacationdays'] = 'Как часто отправлять сообщения (в днях):'; +$labels['vacationinterval'] = 'Как часто отправлять сообщения:'; +$labels['vacationreason'] = 'Текст сообщения (причина отсутствия):'; +$labels['vacationsubject'] = 'Тема сообщения:'; +$labels['days'] = 'дней'; +$labels['seconds'] = 'секунд'; +$labels['rulestop'] = 'Закончить выполнение'; +$labels['enable'] = 'Включить/Выключить'; +$labels['filterset'] = 'Набор фильтров'; +$labels['filtersets'] = 'Наборы фильтров'; +$labels['filtersetadd'] = 'Добавить набор фильтров'; +$labels['filtersetdel'] = 'Удалить текущий набор фильтров'; +$labels['filtersetact'] = 'Включить текущий набор фильтров'; +$labels['filtersetdeact'] = 'Отключить текущий набор фильтров'; +$labels['filterdef'] = 'Описание фильтра'; +$labels['filtersetname'] = 'Название набора фильтров'; +$labels['newfilterset'] = 'Новый набор фильтров'; +$labels['active'] = 'используется'; +$labels['none'] = 'нет'; +$labels['fromset'] = 'из набора'; +$labels['fromfile'] = 'из файла'; +$labels['filterdisabled'] = 'Отключить фильтр'; +$labels['countisgreaterthan'] = 'количество больше, чем'; +$labels['countisgreaterthanequal'] = 'количество больше или равно'; +$labels['countislessthan'] = 'количество меньше, чем'; +$labels['countislessthanequal'] = 'количество меньше или равно'; +$labels['countequals'] = 'количество равно'; +$labels['countnotequals'] = 'количество не равно'; +$labels['valueisgreaterthan'] = 'значение больше, чем'; +$labels['valueisgreaterthanequal'] = 'значение больше или равно'; +$labels['valueislessthan'] = 'значение меньше, чем'; +$labels['valueislessthanequal'] = 'значение меньше или равно'; +$labels['valueequals'] = 'значение равно'; +$labels['valuenotequals'] = 'значение не равно'; +$labels['setflags'] = 'Установить флаги на сообщение'; +$labels['addflags'] = 'Добавить флаги к сообщению'; +$labels['removeflags'] = 'Убрать флаги из сообщения'; +$labels['flagread'] = 'Прочитано'; +$labels['flagdeleted'] = 'Удалено'; +$labels['flaganswered'] = 'Отвечено'; +$labels['flagflagged'] = 'Помечено'; +$labels['flagdraft'] = 'Черновик'; +$labels['setvariable'] = 'Задать переменную'; +$labels['setvarname'] = 'Имя переменной:'; +$labels['setvarvalue'] = 'Значение переменной:'; +$labels['setvarmodifiers'] = 'Модификаторы:'; +$labels['varlower'] = 'нижний регистр'; +$labels['varupper'] = 'верхний регистр'; +$labels['varlowerfirst'] = 'первый символ в нижнем регистре'; +$labels['varupperfirst'] = 'первый символ в верхнем регистре'; +$labels['varquotewildcard'] = 'символ кавычек'; +$labels['varlength'] = 'длина'; +$labels['notify'] = 'Отправить уведомление'; +$labels['notifytarget'] = 'Объект уведомления:'; +$labels['notifymessage'] = 'Сообщение уведомления (не обязательно):'; +$labels['notifyoptions'] = 'Параметры уведомления (не обязательно):'; +$labels['notifyfrom'] = 'Отправитель уведомления (не обязательно):'; +$labels['notifyimportance'] = 'Важность:'; +$labels['notifyimportancelow'] = 'низкая'; +$labels['notifyimportancenormal'] = 'нормальная'; +$labels['notifyimportancehigh'] = 'высокая'; +$labels['notifymethodmailto'] = 'Email'; +$labels['notifymethodtel'] = 'Телефон'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Создать фильтр'; +$labels['usedata'] = 'Использовать следующие данные в фильтре:'; +$labels['nextstep'] = 'Далее'; +$labels['...'] = '...'; +$labels['currdate'] = 'Текущая дата'; +$labels['datetest'] = 'Дата'; +$labels['dateheader'] = 'заголовок:'; +$labels['year'] = 'год'; +$labels['month'] = 'месяц'; +$labels['day'] = 'день'; +$labels['date'] = 'дата (гггг-мм-дд)'; +$labels['julian'] = 'дата (юлианская)'; +$labels['hour'] = 'час'; +$labels['minute'] = 'минута'; +$labels['second'] = 'секунда'; +$labels['time'] = 'время (чч:мм:сс)'; +$labels['iso8601'] = 'дата (ISO8601)'; +$labels['std11'] = 'дата (RFC2822)'; +$labels['zone'] = 'часовой пояс'; +$labels['weekday'] = 'день недели (0-6)'; +$labels['advancedopts'] = 'Дополнительные параметры'; +$labels['body'] = 'Тело письма'; +$labels['address'] = 'адрес'; +$labels['envelope'] = 'конверт'; +$labels['modifier'] = 'модификатор области поиска:'; +$labels['text'] = 'текст'; +$labels['undecoded'] = 'необработанный (сырой)'; +$labels['contenttype'] = 'тип содержимого'; +$labels['modtype'] = 'поиск в адресах:'; +$labels['allparts'] = 'везде'; +$labels['domain'] = 'в имени домена'; +$labels['localpart'] = 'только в имени пользователя, без домена'; +$labels['user'] = 'в полном имени пользователя'; +$labels['detail'] = 'в дополнительных сведениях'; +$labels['comparator'] = 'способ сравнения:'; +$labels['default'] = 'по умолчанию'; +$labels['octet'] = 'Строгий (octet)'; +$labels['asciicasemap'] = 'Регистронезависимый (ascii-casemap)'; +$labels['asciinumeric'] = 'Числовой (ascii-numeric)'; +$labels['index'] = 'индекс:'; +$labels['indexlast'] = 'наоборот'; +$labels['vacation'] = 'Отпуск'; +$labels['vacation.reply'] = 'Ответное сообщение'; +$labels['vacation.advanced'] = 'Дополнительные настройки'; +$labels['vacation.subject'] = 'Тема'; +$labels['vacation.body'] = 'Тело письма'; +$labels['vacation.start'] = 'Начало отпуска'; +$labels['vacation.end'] = 'Конец отпуска'; +$labels['vacation.status'] = 'Состояние'; +$labels['vacation.on'] = 'Вкл.'; +$labels['vacation.off'] = 'Выкл.'; +$labels['vacation.addresses'] = 'Мои дополнительные адреса'; +$labels['vacation.interval'] = 'Интервал ответа'; +$labels['vacation.after'] = 'Поместить правило отпуска после'; +$labels['vacation.saving'] = 'Сохранение данных...'; +$labels['vacation.action'] = 'Действия с входящим сообщением'; +$labels['vacation.keep'] = 'Оставить'; +$labels['vacation.discard'] = 'Отменить'; +$labels['vacation.redirect'] = 'Перенаправить на'; +$labels['vacation.copy'] = 'Отправить копию на'; +$labels['arialabelfiltersetactions'] = 'Действия набора фильтров'; +$labels['arialabelfilteractions'] = 'Действия фильтра'; +$labels['arialabelfilterform'] = 'Свойства фильтра'; +$labels['ariasummaryfilterslist'] = 'Список фильтров'; +$labels['ariasummaryfiltersetslist'] = 'Список набора фильтров'; +$labels['filterstitle'] = 'Редактировать фильтры для входящей почты'; +$labels['vacationtitle'] = 'Изменить правило "Не в офисе"'; +$messages['filterunknownerror'] = 'Неизвестная ошибка сервера.'; +$messages['filterconnerror'] = 'Невозможно подключиться к серверу.'; +$messages['filterdeleteerror'] = 'Невозможно удалить фильтр. Ошибка сервера.'; +$messages['filterdeleted'] = 'Фильтр успешно удалён.'; +$messages['filtersaved'] = 'Фильтр успешно сохранён.'; +$messages['filtersaveerror'] = 'Невозможно сохранить фильтр. Ошибка сервера.'; +$messages['filterdeleteconfirm'] = 'Вы действительно хотите удалить выделенный фильтр?'; +$messages['ruledeleteconfirm'] = 'Вы уверенны, что хотите удалить выделенное правило?'; +$messages['actiondeleteconfirm'] = 'Вы уверенны, что хотите удалить выделенное действие?'; +$messages['forbiddenchars'] = 'Недопустимые символы в поле.'; +$messages['cannotbeempty'] = 'Поле не может быть пустым.'; +$messages['ruleexist'] = 'Фильтр с таким именем уже существует.'; +$messages['setactivateerror'] = 'Невозможно включить выбранный набор фильтров. Ошибка сервера.'; +$messages['setdeactivateerror'] = 'Невозможно отключить выбранный набор фильтров. Ошибка сервера.'; +$messages['setdeleteerror'] = 'Невозможно удалить выбранный набор фильтров. Ошибка сервера.'; +$messages['setactivated'] = 'Набор фильтров успешно включён.'; +$messages['setdeactivated'] = 'Набор фильтров успешно отключён.'; +$messages['setdeleted'] = 'Набор фильтров успешно удалён.'; +$messages['setdeleteconfirm'] = 'Вы уверены в том, что хотите удалить выбранный набор фильтров?'; +$messages['setcreateerror'] = 'Невозможно создать набор фильтров. Ошибка сервера.'; +$messages['setcreated'] = 'Набор фильтров успешно создан.'; +$messages['activateerror'] = 'Невозможно включить выбранный(е) фильтр(ы). Ошибка сервера.'; +$messages['deactivateerror'] = 'Невозможно выключить выбранный(е) фильтр(ы). Ошибка сервера.'; +$messages['deactivated'] = 'Фильтр(ы) успешно отключен(ы).'; +$messages['activated'] = 'Фильтр(ы) успешно включен(ы).'; +$messages['moved'] = 'Фильтр успешно перемещён.'; +$messages['moveerror'] = 'Невозможно переместить фильтр. Ошибка сервера.'; +$messages['nametoolong'] = 'Слишком длинное имя.'; +$messages['namereserved'] = 'Зарезервированное имя.'; +$messages['setexist'] = 'Набор уже существует.'; +$messages['nodata'] = 'Нужно выбрать хотя бы одну позицию!'; +$messages['invaliddateformat'] = 'Неверная дата или формат части даты'; +$messages['saveerror'] = 'Невозможно сохранить данные. Ошибка сервера.'; +$messages['vacationsaved'] = 'Данные об отпуске успешно сохранены.'; +$messages['emptyvacationbody'] = 'Сообщение о причине отсутствия не может быть пустым!'; +?> diff --git a/plugins/managesieve/localization/si_LK.inc b/plugins/managesieve/localization/si_LK.inc new file mode 100644 index 000000000..6537ed597 --- /dev/null +++ b/plugins/managesieve/localization/si_LK.inc @@ -0,0 +1,42 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'පෙරහණ'; +$labels['moveup'] = 'ඉහළට ගෙනයන්න'; +$labels['movedown'] = 'පහළට ගෙනයන්න'; +$labels['filterany'] = 'සියලු පණිවිඩ'; +$labels['filtercontains'] = 'අඩංගු'; +$labels['messagedelete'] = 'පණිවිඩය මකන්න'; +$labels['add'] = 'එක් කරන්න'; +$labels['del'] = 'මකන්න'; +$labels['sender'] = 'යවන්නා'; +$labels['recipient'] = 'ලබන්නා'; +$labels['vacationsubject'] = 'පණිවිඩයේ මාතෘකාව:'; +$labels['enable'] = 'සක්රීය කරන්න/අක්රීය කරන්න'; +$labels['active'] = 'සක්රීය'; +$labels['none'] = 'කිසිවක් නැත'; +$labels['flagread'] = 'කියවන්න'; +$labels['flagdeleted'] = 'මකන ලදී'; +$labels['flagdraft'] = 'කටු සටහන'; +$labels['nextstep'] = 'මීලග පියවර'; +$labels['...'] = '...'; +$labels['address'] = 'ලිපිනය'; +$labels['envelope'] = 'ලියුම් කවරය'; +$labels['modtype'] = 'වර්ගය:'; +$labels['allparts'] = 'සියල්ල'; +$messages['nametoolong'] = 'නම දිග වැඩිය.'; +?> diff --git a/plugins/managesieve/localization/sk_SK.inc b/plugins/managesieve/localization/sk_SK.inc new file mode 100644 index 000000000..4cad13f55 --- /dev/null +++ b/plugins/managesieve/localization/sk_SK.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtre'; +$labels['managefilters'] = 'Správa filtrov prichádzajúcej pošty'; +$labels['filtername'] = 'Názov filtra'; +$labels['newfilter'] = 'Nový filter'; +$labels['filteradd'] = 'Pridať filter'; +$labels['filterdel'] = 'Vymazať filter'; +$labels['moveup'] = 'Presunúť nahor'; +$labels['movedown'] = 'Presunúť nadol'; +$labels['filterallof'] = 'vyhovujúca všetkým z nasledujúcich pravidiel'; +$labels['filteranyof'] = 'vyhovujúca ľubovoľnému z nasledujúcich pravidiel'; +$labels['filterany'] = 'všetky správy'; +$labels['filtercontains'] = 'obsahuje'; +$labels['filternotcontains'] = 'neobsahuje'; +$labels['filteris'] = 'sa rovná'; +$labels['filterisnot'] = 'sa nerovná'; +$labels['filterexists'] = 'existuje'; +$labels['filternotexists'] = 'neexistuje'; +$labels['filtermatches'] = 'vyhovuje výrazu'; +$labels['filternotmatches'] = 'nevyhovuje výrazu'; +$labels['filterregex'] = 'vyhovuje regulárnemu výrazu'; +$labels['filternotregex'] = 'nevyhovuje regulárnemu výrazu'; +$labels['filterunder'] = 'pod'; +$labels['filterover'] = 'nad'; +$labels['addrule'] = 'Pridať pravidlo'; +$labels['delrule'] = 'Vymazať pravidlo'; +$labels['messagemoveto'] = 'Presunúť správu do'; +$labels['messageredirect'] = 'Presmerovať správu na'; +$labels['messagecopyto'] = 'Kopírovať správu do'; +$labels['messagesendcopy'] = 'Poslať kópiu správy na adresu'; +$labels['messagereply'] = 'Odpovedať správou'; +$labels['messagedelete'] = 'Vymazať správu'; +$labels['messagediscard'] = 'Vymazať a poslať správu na'; +$labels['messagekeep'] = 'Ponechať správu v Doručenej pošte'; +$labels['messagesrules'] = 'Pre prichádzajúcu poštu:'; +$labels['messagesactions'] = '...vykonať tieto akcie:'; +$labels['add'] = 'Pridať'; +$labels['del'] = 'Vymazať'; +$labels['sender'] = 'Odosielateľ'; +$labels['recipient'] = 'Príjemca'; +$labels['vacationaddr'] = 'Iná moja e-mailová adresa (adresy):'; +$labels['vacationdays'] = 'Ako často odosielať správy (v dňoch):'; +$labels['vacationinterval'] = 'Ako často odosielať správy:'; +$labels['vacationreason'] = 'Telo správy (dôvod neprítomnosti):'; +$labels['vacationsubject'] = 'Predmet správy:'; +$labels['days'] = 'dní'; +$labels['seconds'] = 'sekúnd'; +$labels['rulestop'] = 'Koniec pravidiel'; +$labels['enable'] = 'Zapnúť/vypnúť'; +$labels['filterset'] = 'Súprava filtrov'; +$labels['filtersets'] = 'Súpravy filtrov'; +$labels['filtersetadd'] = 'Pridať súpravu filtrov'; +$labels['filtersetdel'] = 'Vymazať aktuálnu súpravu filtrov'; +$labels['filtersetact'] = 'Aktivovať aktuálnu súpravu filtrov'; +$labels['filtersetdeact'] = 'Deaktivovať aktuálnu súpravu filtrov'; +$labels['filterdef'] = 'Definícia filtra'; +$labels['filtersetname'] = 'Názov súpravy filtrov'; +$labels['newfilterset'] = 'Nová súprava filtrov'; +$labels['active'] = 'aktívna'; +$labels['none'] = 'žiadne'; +$labels['fromset'] = 'zo súpravy'; +$labels['fromfile'] = 'zo súboru'; +$labels['filterdisabled'] = 'Filter vypnutý'; +$labels['countisgreaterthan'] = 'počet je väčší ako'; +$labels['countisgreaterthanequal'] = 'počet je väčší alebo rovný ako'; +$labels['countislessthan'] = 'počet je menší ako'; +$labels['countislessthanequal'] = 'počet je menší alebo rovný ako'; +$labels['countequals'] = 'počet je rovný'; +$labels['countnotequals'] = 'počet sa nerovná'; +$labels['valueisgreaterthan'] = 'hodnota je väčšia ako'; +$labels['valueisgreaterthanequal'] = 'hodnota je väčšia alebo rovná ako'; +$labels['valueislessthan'] = 'hodnota je menšia ako'; +$labels['valueislessthanequal'] = 'hodnota je menšia alebo rovná ako'; +$labels['valueequals'] = 'hodnota je rovná ako'; +$labels['valuenotequals'] = 'hodnota sa nerovná'; +$labels['setflags'] = 'Nastaviť príznaky správy'; +$labels['addflags'] = 'Pridať príznaky správy'; +$labels['removeflags'] = 'Odstrániť príznaky zo správy'; +$labels['flagread'] = 'Prečítané'; +$labels['flagdeleted'] = 'Vymazané'; +$labels['flaganswered'] = 'Odpovedané'; +$labels['flagflagged'] = 'Označené príznakom'; +$labels['flagdraft'] = 'Koncept'; +$labels['setvariable'] = 'Nastaviť premennú'; +$labels['setvarname'] = 'Názov premennej:'; +$labels['setvarvalue'] = 'Hodnota premennej:'; +$labels['setvarmodifiers'] = 'Modifikátory:'; +$labels['varlower'] = 'malé písmená'; +$labels['varupper'] = 'VEĽKÉ PÍSMENÁ'; +$labels['varlowerfirst'] = 'prvé písmeno malé'; +$labels['varupperfirst'] = 'prvé písmeno veľké'; +$labels['varquotewildcard'] = 'k špeciálnym znakom pridať úvodzovky'; +$labels['varlength'] = 'dĺžka'; +$labels['notify'] = 'Odoslať oznámenie'; +$labels['notifytarget'] = 'Cieľ notifikácie:'; +$labels['notifymessage'] = 'Notifikačná správa (voliteľne):'; +$labels['notifyoptions'] = 'Nastavenia notifikácie (voliteľné):'; +$labels['notifyfrom'] = 'Odosielateľ notifikácie (voliteľne):'; +$labels['notifyimportance'] = 'Priorita:'; +$labels['notifyimportancelow'] = 'nízka'; +$labels['notifyimportancenormal'] = 'normálna'; +$labels['notifyimportancehigh'] = 'vysoká'; +$labels['notifymethodmailto'] = 'E-mail'; +$labels['notifymethodtel'] = 'Telefón'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Vytvoriť filter'; +$labels['usedata'] = 'Použiť tieto údaje vo filtri:'; +$labels['nextstep'] = 'Ďalší krok'; +$labels['...'] = '...'; +$labels['currdate'] = 'Aktuálny dátum'; +$labels['datetest'] = 'Dátum'; +$labels['dateheader'] = 'záhlavie:'; +$labels['year'] = 'rok'; +$labels['month'] = 'mesiac'; +$labels['day'] = 'deň'; +$labels['date'] = 'dátum (rrrr-mm-dd)'; +$labels['julian'] = 'dátum (podľa Juliánskeho kalendára)'; +$labels['hour'] = 'hod.'; +$labels['minute'] = 'min.'; +$labels['second'] = 'sek.'; +$labels['time'] = 'čas (hh:mm:ss)'; +$labels['iso8601'] = 'dátum (ISO8601)'; +$labels['std11'] = 'dátum (RFC2822)'; +$labels['zone'] = 'časové pásmo'; +$labels['weekday'] = 'deň v týždni (0-6)'; +$labels['advancedopts'] = 'Rozšírené nastavenia'; +$labels['body'] = 'Telo'; +$labels['address'] = 'adresa'; +$labels['envelope'] = 'obálka'; +$labels['modifier'] = 'modifikátor:'; +$labels['text'] = 'text'; +$labels['undecoded'] = 'nedekódované (raw)'; +$labels['contenttype'] = 'typ obsahu'; +$labels['modtype'] = 'typ:'; +$labels['allparts'] = 'všetko'; +$labels['domain'] = 'doména'; +$labels['localpart'] = 'lokálna časť'; +$labels['user'] = 'používateľ'; +$labels['detail'] = 'detail'; +$labels['comparator'] = 'porovnávač:'; +$labels['default'] = 'predvolené'; +$labels['octet'] = 'striktný (osmičkový)'; +$labels['asciicasemap'] = 'nerozlišuje veľké a malé písmená (ascii tabuľka znakov)'; +$labels['asciinumeric'] = 'numerické (ascii čísla)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'dozadu'; +$labels['vacation'] = 'Dovolenka'; +$labels['vacation.reply'] = 'Odpoveď na správu'; +$labels['vacation.advanced'] = 'Pokročilé nastavenia'; +$labels['vacation.subject'] = 'Predmet'; +$labels['vacation.body'] = 'Telo'; +$labels['vacation.start'] = 'Začiatok dovolenky'; +$labels['vacation.end'] = 'Koniec dovolenky'; +$labels['vacation.status'] = 'Stav'; +$labels['vacation.on'] = 'Zap.'; +$labels['vacation.off'] = 'Vyp.'; +$labels['vacation.addresses'] = 'Moje ďalšie adresy'; +$labels['vacation.interval'] = 'Interval odpovedania'; +$labels['vacation.after'] = 'Nastaviť pravidlo pre dovolenku po'; +$labels['vacation.saving'] = 'Ukladanie údajov...'; +$labels['vacation.action'] = 'Akcia pre prichádzajúcu správu'; +$labels['vacation.keep'] = 'Zachovať'; +$labels['vacation.discard'] = 'Vyhodiť do koša'; +$labels['vacation.redirect'] = 'Presmerovať na'; +$labels['vacation.copy'] = 'Poslať kópiu na'; +$labels['arialabelfiltersetactions'] = 'Akcie zo súpravy filtrov'; +$labels['arialabelfilteractions'] = 'Akcie filtra'; +$labels['arialabelfilterform'] = 'Nastavenia filtra'; +$labels['ariasummaryfilterslist'] = 'Zoznam filtrov'; +$labels['ariasummaryfiltersetslist'] = 'Zoznam súprav s filtrami'; +$labels['filterstitle'] = 'Upraviť filtre prichádzajúcich e-mailov'; +$labels['vacationtitle'] = 'Upraviť pravidlo pre čas mimo kancelárie'; +$messages['filterunknownerror'] = 'Neznáma chyba servera.'; +$messages['filterconnerror'] = 'Nepodarilo sa pripojiť k serveru.'; +$messages['filterdeleteerror'] = 'Nemožno vymazať filter. Nastala chyba servera.'; +$messages['filterdeleted'] = 'Filter bol úspešne vymazaný.'; +$messages['filtersaved'] = 'Filter bol úspešne uložený.'; +$messages['filtersaveerror'] = 'Nemožno uložiť filter. Nastala chyba servera.'; +$messages['filterdeleteconfirm'] = 'Naozaj chcete vymazať vybraný filter?'; +$messages['ruledeleteconfirm'] = 'Naozaj chcete vymazať vybrané pravidlo?'; +$messages['actiondeleteconfirm'] = 'Naozaj chcete vymazať vybranú akciu?'; +$messages['forbiddenchars'] = 'Pole obsahuje nepovolené znaky.'; +$messages['cannotbeempty'] = 'Pole nemôže byť prázdne.'; +$messages['ruleexist'] = 'Filter so zadaným názvom už existuje.'; +$messages['setactivateerror'] = 'Nemožno aktivovať vybranú súpravu filtrov. Nastala chyba servera.'; +$messages['setdeactivateerror'] = 'Nemožno deaktivovať vybranú súpravu filtrov. Nastala chyba servera.'; +$messages['setdeleteerror'] = 'Nemožno vymazať vybranú súpravu filtrov. Nastala chyba servera.'; +$messages['setactivated'] = 'Súprava filtrov bola úspešne aktivovaná.'; +$messages['setdeactivated'] = 'Súprava filtrov bola úspešne deaktivovaná.'; +$messages['setdeleted'] = 'Súprava filtrov bola úspešne vymazaná.'; +$messages['setdeleteconfirm'] = 'Naozaj chcete vymazať vybranú súpravu filtrov?'; +$messages['setcreateerror'] = 'Nemožno vytvoriť súpravu filtrov. Nastala chyba servera.'; +$messages['setcreated'] = 'Súprava filtrov bola úspešne vytvorená.'; +$messages['activateerror'] = 'Nemožno aktivovať vybraný filter (vybrané filtre). Nastala chyba servera.'; +$messages['deactivateerror'] = 'Nemožno vypnúť vybraný filter (vybrané filtre). Nastala chyba servera.'; +$messages['deactivated'] = 'Filtre boli úspešne vypnuté.'; +$messages['activated'] = 'Filtre boli úspešne zapnuté.'; +$messages['moved'] = 'Filter bol úspešne presunutý.'; +$messages['moveerror'] = 'Nemožno presunúť vybraný filter. Nastala chyba servera.'; +$messages['nametoolong'] = 'Názov je príliš dlhý.'; +$messages['namereserved'] = 'Rezervovaný názov.'; +$messages['setexist'] = 'Súprava už existuje.'; +$messages['nodata'] = 'Aspoň jedna pozícia musí byť zvolená!'; +$messages['invaliddateformat'] = 'Neplatný formát dátumu alebo časti dátumu'; +$messages['saveerror'] = 'Údaje nemožno uložiť. Nastala chyba servera.'; +$messages['vacationsaved'] = 'Údaje o dovolenke boli úspešne uložené.'; +$messages['emptyvacationbody'] = 'Musíte zadať telo správy, zobrazovanej v čase neprítomnosti!'; +?> diff --git a/plugins/managesieve/localization/sl_SI.inc b/plugins/managesieve/localization/sl_SI.inc new file mode 100644 index 000000000..f0e5159c3 --- /dev/null +++ b/plugins/managesieve/localization/sl_SI.inc @@ -0,0 +1,188 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtri'; +$labels['managefilters'] = 'Uredi filtre za dohodno pošto'; +$labels['filtername'] = 'Ime filtra'; +$labels['newfilter'] = 'Nov filter'; +$labels['filteradd'] = 'Dodaj filter'; +$labels['filterdel'] = 'Izbriši filter'; +$labels['moveup'] = 'Pomakni se navzgor'; +$labels['movedown'] = 'Pomakni se navzdol'; +$labels['filterallof'] = 'izpolnjeni morajo biti vsi pogoji'; +$labels['filteranyof'] = 'izpolnjen mora biti vsaj eden od navedenih pogojev'; +$labels['filterany'] = 'pogoj velja za vsa sporočila'; +$labels['filtercontains'] = 'vsebuje'; +$labels['filternotcontains'] = 'ne vsebuje'; +$labels['filteris'] = 'je enak/a'; +$labels['filterisnot'] = 'ni enak/a'; +$labels['filterexists'] = 'obstaja'; +$labels['filternotexists'] = 'ne obstaja'; +$labels['filtermatches'] = 'ustreza izrazu'; +$labels['filternotmatches'] = 'ne ustreza izrazu'; +$labels['filterregex'] = 'ustreza regularnemu izrazu'; +$labels['filternotregex'] = 'ne ustreza regularnemu izrazu'; +$labels['filterunder'] = 'pod'; +$labels['filterover'] = 'nad'; +$labels['addrule'] = 'Dodaj pravilo'; +$labels['delrule'] = 'Izbriši pravilo'; +$labels['messagemoveto'] = 'Premakni sporočilo v'; +$labels['messageredirect'] = 'Preusmeri sporočilo v'; +$labels['messagecopyto'] = 'Kopiraj sporočila na'; +$labels['messagesendcopy'] = 'Pošlji kopijo sporočila na'; +$labels['messagereply'] = 'Odgovori s sporočilom'; +$labels['messagedelete'] = 'Izbriši sporočilo'; +$labels['messagediscard'] = 'Zavrži s sporočilom'; +$labels['messagekeep'] = 'Ohrani sporočila v mapi Prejeto'; +$labels['messagesrules'] = 'Določi pravila za dohodno pošto:'; +$labels['messagesactions'] = '...izvrši naslednja dejanja:'; +$labels['add'] = 'Dodaj'; +$labels['del'] = 'Izbriši'; +$labels['sender'] = 'Pošiljatelj'; +$labels['recipient'] = 'Prejemnik'; +$labels['vacationaddr'] = 'Moji dodatni e-naslovi'; +$labels['vacationdays'] = 'Kako pogosto naj bodo sporočila poslana (v dnevih):'; +$labels['vacationinterval'] = 'Sporočila pošlji na:'; +$labels['vacationreason'] = 'Vsebina sporočila (vzrok za odsotnost):'; +$labels['vacationsubject'] = 'Zadeva sporočila'; +$labels['days'] = 'dni'; +$labels['seconds'] = 'sekund'; +$labels['rulestop'] = 'Prekini z izvajanjem pravil'; +$labels['enable'] = 'Omogoči/Onemogoči'; +$labels['filterset'] = 'Nastavitev filtrov'; +$labels['filtersets'] = 'Nastavitve filtrov'; +$labels['filtersetadd'] = 'Dodaj nastavitev filtrov'; +$labels['filtersetdel'] = 'Izbriši trenutne nastavitve filtriranja'; +$labels['filtersetact'] = 'Vključi trenutno nastavitev filtriranja'; +$labels['filtersetdeact'] = 'Onemogoči trenutno nastavitev filtriranja'; +$labels['filterdef'] = 'Opis filtra'; +$labels['filtersetname'] = 'Ime filtra'; +$labels['newfilterset'] = 'Nov filter'; +$labels['active'] = 'aktiven'; +$labels['none'] = 'brez'; +$labels['fromset'] = 'iz nastavitve'; +$labels['fromfile'] = 'iz dokumenta'; +$labels['filterdisabled'] = 'Filter onemogočen'; +$labels['countisgreaterthan'] = 'seštevek je večji od'; +$labels['countisgreaterthanequal'] = 'seštevek je večji ali enak'; +$labels['countislessthan'] = 'seštevek je manjši od'; +$labels['countislessthanequal'] = 'seštevel je manjši ali enak'; +$labels['countequals'] = 'seštevek je enak'; +$labels['countnotequals'] = 'vsota ne ustreza'; +$labels['valueisgreaterthan'] = 'vrednost je večja od'; +$labels['valueisgreaterthanequal'] = 'vrednost je večja ali enaka'; +$labels['valueislessthan'] = 'vrednost je manjša od'; +$labels['valueislessthanequal'] = 'vrednost je manjša ali enaka'; +$labels['valueequals'] = 'vrednost je enaka'; +$labels['valuenotequals'] = 'vrednost ni enaka'; +$labels['setflags'] = 'Označi sporočilo'; +$labels['addflags'] = 'Označi sporočilo'; +$labels['removeflags'] = 'Odstrani zaznamke s sporočil'; +$labels['flagread'] = 'Prebrano'; +$labels['flagdeleted'] = 'Izbrisano'; +$labels['flaganswered'] = 'Odgovorjeno'; +$labels['flagflagged'] = 'Označeno'; +$labels['flagdraft'] = 'Osnutek'; +$labels['setvariable'] = 'Nastavi spremenljivko'; +$labels['setvarname'] = 'Ime spremenljivke:'; +$labels['setvarvalue'] = 'Vrednost spremenljivke:'; +$labels['setvarmodifiers'] = 'Modifikator:'; +$labels['varlower'] = 'majhne črke'; +$labels['varupper'] = 'velike črke'; +$labels['varlowerfirst'] = 'prvi znak velika začetnica'; +$labels['varupperfirst'] = 'prvi znak velika začetnica'; +$labels['varquotewildcard'] = 'citiraj posebne znake'; +$labels['varlength'] = 'dolžina'; +$labels['notify'] = 'Poštlji obvestilo'; +$labels['notifyimportance'] = 'Pomembnost:'; +$labels['notifyimportancelow'] = 'nizko'; +$labels['notifyimportancenormal'] = 'običajno'; +$labels['notifyimportancehigh'] = 'visoko'; +$labels['filtercreate'] = 'Ustvari filter'; +$labels['usedata'] = 'Pri stvarjanju filtra uporabi naslednje podatke'; +$labels['nextstep'] = 'Naslednji korak'; +$labels['...'] = '...'; +$labels['currdate'] = 'Današnji datum'; +$labels['datetest'] = 'Datum'; +$labels['dateheader'] = 'glava:'; +$labels['year'] = 'leto'; +$labels['month'] = 'mesec'; +$labels['day'] = 'dan'; +$labels['date'] = 'datum(yyyy-mm-dd)'; +$labels['julian'] = 'datum (julijanski)'; +$labels['hour'] = 'ura'; +$labels['minute'] = 'minuta'; +$labels['second'] = 'sekunda'; +$labels['time'] = 'čas'; +$labels['iso8601'] = 'datum (ISO8601)'; +$labels['std11'] = 'datum (RFC2822)'; +$labels['zone'] = 'časovni pas'; +$labels['weekday'] = 'dan v tednu (0-6)'; +$labels['advancedopts'] = 'Dodatne možnosti'; +$labels['body'] = 'Vsebina'; +$labels['address'] = 'naslov'; +$labels['envelope'] = 'ovojnica'; +$labels['modifier'] = 'modifikator'; +$labels['text'] = 'besedilo'; +$labels['undecoded'] = 'neobdelano'; +$labels['contenttype'] = 'tip vsebine'; +$labels['modtype'] = 'tip'; +$labels['allparts'] = 'vse'; +$labels['domain'] = 'domena'; +$labels['localpart'] = 'lokalni del'; +$labels['user'] = 'uporabnik'; +$labels['detail'] = 'podrobnosti'; +$labels['comparator'] = 'primerjalnik'; +$labels['default'] = 'privzeto'; +$labels['octet'] = 'strict (octet)'; +$labels['asciicasemap'] = 'ni občutljiv na velike/male črke (ascii-casemap)'; +$labels['asciinumeric'] = 'numerično (ascii-numeric)'; +$labels['index'] = 'indeks:'; +$labels['indexlast'] = 'obraten vrstni red'; +$messages['filterunknownerror'] = 'Prišlo je do neznane napake.'; +$messages['filterconnerror'] = 'Povezave s strežnikom (managesieve) ni bilo mogoče vzpostaviti'; +$messages['filterdeleteerror'] = 'Pravila ni bilo mogoče izbrisati. Prišlo je do napake.'; +$messages['filterdeleted'] = 'Pravilo je bilo uspešno izbrisano.'; +$messages['filtersaved'] = 'Pravilo je bilo uspešno shranjeno'; +$messages['filtersaveerror'] = 'Pravila ni bilo mogoče shraniti. Prišlo je do napake.'; +$messages['filterdeleteconfirm'] = 'Ste prepričani, da želite izbrisati izbrano pravilo?'; +$messages['ruledeleteconfirm'] = 'Ste prepričani, da želite izbrisati izbrano pravilo?'; +$messages['actiondeleteconfirm'] = 'Ste prepričani, da želite izbrisati izbrano dejanje?'; +$messages['forbiddenchars'] = 'V polju so neveljavni znaki'; +$messages['cannotbeempty'] = 'Polje ne sme biti prazno'; +$messages['ruleexist'] = 'Filer s tem imenom že obstaja'; +$messages['setactivateerror'] = 'Izbranih filtrov ni bilo mogoče vključiti. Prišlo je do napake na strežniku.'; +$messages['setdeactivateerror'] = 'Izbranih filtrov ni bilo mogoče izključiti. Prišlo je do napake na strežniku.'; +$messages['setdeleteerror'] = 'Izbranih filtrov ni bilo mogoče izbrisati. Prišlo je do napake na strežniku.'; +$messages['setactivated'] = 'Filter je bil uspešno vključen.'; +$messages['setdeactivated'] = 'Filter je bil uspešno onemogočen.'; +$messages['setdeleted'] = 'Filter je bil uspešno izbrisan.'; +$messages['setdeleteconfirm'] = 'Ste prepričani, da želite izbrisati ta filter?'; +$messages['setcreateerror'] = 'Nabora filtrov ni bilo mogoče ustvariti. Prišlo je do napake na strežniku.'; +$messages['setcreated'] = 'Filter je bil uspešno ustvarjen.'; +$messages['activateerror'] = 'Izbranega/ih filtra/ov ni bilo mogoče vključiti. Prišlo je do napake na strežniku.'; +$messages['deactivateerror'] = 'Izbranega/ih fitra/ov ni bilo mogoče izključiti. Prišlo je do napake na strežniku.'; +$messages['deactivated'] = 'Filtri so bili uspešno omogočeni.'; +$messages['activated'] = 'Filtri so bili uspešno onemogočeni.'; +$messages['moved'] = 'Filter je bil uspešno premaknjen.'; +$messages['moveerror'] = 'Izbranega filtra ni bilo mogoče premakniti. Prišlo je do napake na strežniku.'; +$messages['nametoolong'] = 'Ime je predolgo.'; +$messages['namereserved'] = 'Rezervirano ime.'; +$messages['setexist'] = 'Nastavitev filtra že obstaja.'; +$messages['nodata'] = 'Izbrana mora biti vsaj ena nastavitev!'; +$messages['invaliddateformat'] = 'Neveljaven datum ali oblika zapisa datuma'; +?> diff --git a/plugins/managesieve/localization/sq_AL.inc b/plugins/managesieve/localization/sq_AL.inc new file mode 100644 index 000000000..bba59b650 --- /dev/null +++ b/plugins/managesieve/localization/sq_AL.inc @@ -0,0 +1,26 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['moveup'] = 'Lëviz lartë'; +$labels['movedown'] = 'Lëviz poshtë'; +$labels['filterany'] = 'të gjitha mesazhet'; +$labels['messagemoveto'] = 'Zhvendose mesazhin te'; +$labels['add'] = 'Shto'; +$labels['del'] = 'Fshije'; +$labels['vacationdays'] = 'Sa shpesh dërgon mesazhe (në ditë):'; +$labels['active'] = 'aktiv'; +?> diff --git a/plugins/managesieve/localization/sv_SE.inc b/plugins/managesieve/localization/sv_SE.inc new file mode 100644 index 000000000..ede13cb61 --- /dev/null +++ b/plugins/managesieve/localization/sv_SE.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filter'; +$labels['managefilters'] = 'Administrera filter'; +$labels['filtername'] = 'Filternamn'; +$labels['newfilter'] = 'Nytt filter'; +$labels['filteradd'] = 'Nytt filter'; +$labels['filterdel'] = 'Ta bort filter'; +$labels['moveup'] = 'Flytta upp filter'; +$labels['movedown'] = 'Flytta ner filter'; +$labels['filterallof'] = 'Filtrera på alla följande regler'; +$labels['filteranyof'] = 'Filtrera på någon av följande regler'; +$labels['filterany'] = 'Filtrera alla meddelanden'; +$labels['filtercontains'] = 'innehåller'; +$labels['filternotcontains'] = 'inte innehåller'; +$labels['filteris'] = 'är lika med'; +$labels['filterisnot'] = 'är inte lika med'; +$labels['filterexists'] = 'finns'; +$labels['filternotexists'] = 'inte finns'; +$labels['filtermatches'] = 'matchar uttryck'; +$labels['filternotmatches'] = 'inte matchar uttryck'; +$labels['filterregex'] = 'matchar reguljärt uttryck'; +$labels['filternotregex'] = 'inte matchar reguljärt uttryck'; +$labels['filterunder'] = 'under'; +$labels['filterover'] = 'över'; +$labels['addrule'] = 'Lägg till regel'; +$labels['delrule'] = 'Ta bort regel'; +$labels['messagemoveto'] = 'Flytta meddelande till'; +$labels['messageredirect'] = 'Ändra mottagare till'; +$labels['messagecopyto'] = 'Kopiera meddelande till'; +$labels['messagesendcopy'] = 'Skicka kopia av meddelande till'; +$labels['messagereply'] = 'Besvara meddelande'; +$labels['messagedelete'] = 'Ta bort meddelande'; +$labels['messagediscard'] = 'Avböj med felmeddelande'; +$labels['messagekeep'] = 'Behåll meddelande i Inkorg'; +$labels['messagesrules'] = 'För inkommande meddelande'; +$labels['messagesactions'] = 'Utför följande åtgärd'; +$labels['add'] = 'Lägg till'; +$labels['del'] = 'Ta bort'; +$labels['sender'] = 'Avsändare'; +$labels['recipient'] = 'Mottagare'; +$labels['vacationaddr'] = 'Ytterligare mottagaradresser:'; +$labels['vacationdays'] = 'Antal dagar mellan auto-svar:'; +$labels['vacationinterval'] = 'Tid mellan auto-svar:'; +$labels['vacationreason'] = 'Meddelandetext (frånvaroanledning):'; +$labels['vacationsubject'] = 'Meddelandeämne:'; +$labels['days'] = 'Dagar'; +$labels['seconds'] = 'Sekunder'; +$labels['rulestop'] = 'Avsluta filtrering'; +$labels['enable'] = 'Aktivera/deaktivera'; +$labels['filterset'] = 'Filtergrupp'; +$labels['filtersets'] = 'Filtergrupper'; +$labels['filtersetadd'] = 'Ny filtergrupp'; +$labels['filtersetdel'] = 'Ta bort filtergrupp'; +$labels['filtersetact'] = 'Aktivera filtergrupp'; +$labels['filtersetdeact'] = 'Deaktivera filtergrupp'; +$labels['filterdef'] = 'Filterdefinition'; +$labels['filtersetname'] = 'Filtergruppsnamn'; +$labels['newfilterset'] = 'Ny filtergrupp'; +$labels['active'] = 'aktiv'; +$labels['none'] = 'ingen'; +$labels['fromset'] = 'från grupp'; +$labels['fromfile'] = 'från fil'; +$labels['filterdisabled'] = 'Filter deaktiverat'; +$labels['countisgreaterthan'] = 'antal är större än'; +$labels['countisgreaterthanequal'] = 'antal är större än eller lika med'; +$labels['countislessthan'] = 'antal är mindre än'; +$labels['countislessthanequal'] = 'antal är mindre än eller lika med'; +$labels['countequals'] = 'antal är lika med'; +$labels['countnotequals'] = 'antal är inte lika med'; +$labels['valueisgreaterthan'] = 'värde är större än'; +$labels['valueisgreaterthanequal'] = 'värde är större än eller lika med'; +$labels['valueislessthan'] = 'värde är mindre än'; +$labels['valueislessthanequal'] = 'värde är mindre än eller lika med'; +$labels['valueequals'] = 'värde är lika med'; +$labels['valuenotequals'] = 'värde är inte lika med'; +$labels['setflags'] = 'Flagga meddelande'; +$labels['addflags'] = 'Lägg till meddelandeflaggor'; +$labels['removeflags'] = 'Ta bort meddelandeflaggor'; +$labels['flagread'] = 'Läst'; +$labels['flagdeleted'] = 'Borttaget'; +$labels['flaganswered'] = 'Besvarat'; +$labels['flagflagged'] = 'Flaggat'; +$labels['flagdraft'] = 'Utkast'; +$labels['setvariable'] = 'Sätt variabel'; +$labels['setvarname'] = 'Variabelnamn:'; +$labels['setvarvalue'] = 'Variabelvärde:'; +$labels['setvarmodifiers'] = 'Modifierare:'; +$labels['varlower'] = 'Gemener'; +$labels['varupper'] = 'Versaler'; +$labels['varlowerfirst'] = 'Första tecken gement'; +$labels['varupperfirst'] = 'Första tecken versalt'; +$labels['varquotewildcard'] = 'Koda specialtecken'; +$labels['varlength'] = 'Längd'; +$labels['notify'] = 'Skicka avisering'; +$labels['notifytarget'] = 'Aviseringsmål:'; +$labels['notifymessage'] = 'Aviseringsmeddelande (valfritt):'; +$labels['notifyoptions'] = 'Aviseringstillval (valfritt):'; +$labels['notifyfrom'] = 'Aviseringsavsändare (valfri):'; +$labels['notifyimportance'] = 'Prioritet:'; +$labels['notifyimportancelow'] = 'Låg'; +$labels['notifyimportancenormal'] = 'Normal'; +$labels['notifyimportancehigh'] = 'Hög'; +$labels['notifymethodmailto'] = 'E-post'; +$labels['notifymethodtel'] = 'Telefon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Skapa filter'; +$labels['usedata'] = 'Använd följande information i filtret:'; +$labels['nextstep'] = 'Nästa steg'; +$labels['...'] = '...'; +$labels['currdate'] = 'Dagens datum'; +$labels['datetest'] = 'Datum'; +$labels['dateheader'] = 'huvud:'; +$labels['year'] = 'år'; +$labels['month'] = 'månad'; +$labels['day'] = 'dag'; +$labels['date'] = 'datum (åååå-mm-dd)'; +$labels['julian'] = 'datum (Julianskt)'; +$labels['hour'] = 'timme'; +$labels['minute'] = 'minut'; +$labels['second'] = 'sekund'; +$labels['time'] = 'tid (hh:mm:ss)'; +$labels['iso8601'] = 'datum (ISO 8601)'; +$labels['std11'] = 'datum (RFC 2822)'; +$labels['zone'] = 'tidszon'; +$labels['weekday'] = 'veckodag (0-6)'; +$labels['advancedopts'] = 'Avancerade inställningar'; +$labels['body'] = 'Meddelandeinnehåll'; +$labels['address'] = 'adress'; +$labels['envelope'] = 'kuvert'; +$labels['modifier'] = 'modifierare:'; +$labels['text'] = 'text'; +$labels['undecoded'] = 'obearbetat (rå)'; +$labels['contenttype'] = 'innehållstyp'; +$labels['modtype'] = 'typ:'; +$labels['allparts'] = 'allt'; +$labels['domain'] = 'domän'; +$labels['localpart'] = 'lokal del'; +$labels['user'] = 'användare'; +$labels['detail'] = 'detalj'; +$labels['comparator'] = 'jämförelse:'; +$labels['default'] = 'standard'; +$labels['octet'] = 'strikt (oktalt)'; +$labels['asciicasemap'] = 'teckenlägesokänslig (ascii-casemap)'; +$labels['asciinumeric'] = 'numerisk (ascii-numeric)'; +$labels['index'] = 'index:'; +$labels['indexlast'] = 'omvänd'; +$labels['vacation'] = 'Frånvaro'; +$labels['vacation.reply'] = 'Besvara meddelande'; +$labels['vacation.advanced'] = 'Avancerade inställningar'; +$labels['vacation.subject'] = 'Ämne'; +$labels['vacation.body'] = 'Innehåll'; +$labels['vacation.start'] = 'Frånvaron börjar'; +$labels['vacation.end'] = 'Frånvaron slutar'; +$labels['vacation.status'] = 'Status'; +$labels['vacation.on'] = 'På'; +$labels['vacation.off'] = 'Av'; +$labels['vacation.addresses'] = 'Ytterligare mottagaradresser'; +$labels['vacation.interval'] = 'Svarsintervall'; +$labels['vacation.after'] = 'Placera frånvaroregel efter'; +$labels['vacation.saving'] = 'Sparar data...'; +$labels['vacation.action'] = 'Hantering av inkommande meddelanden'; +$labels['vacation.keep'] = 'Behåll'; +$labels['vacation.discard'] = 'Förkasta'; +$labels['vacation.redirect'] = 'Ändra mottagare till'; +$labels['vacation.copy'] = 'Skicka kopia till'; +$labels['arialabelfiltersetactions'] = 'Hantera filtergrupper'; +$labels['arialabelfilteractions'] = 'Hantera filter'; +$labels['arialabelfilterform'] = 'Filteregenskaper'; +$labels['ariasummaryfilterslist'] = 'Lista med filter'; +$labels['ariasummaryfiltersetslist'] = 'Lista med filtergrupper'; +$labels['filterstitle'] = 'Ändra filter för inkommande meddelanden'; +$labels['vacationtitle'] = 'Ändra regel för frånvaromeddelande'; +$messages['filterunknownerror'] = 'Okänt serverfel'; +$messages['filterconnerror'] = 'Anslutning till serverns filtertjänst misslyckades'; +$messages['filterdeleteerror'] = 'Filtret kunde inte tas bort på grund av serverfel'; +$messages['filterdeleted'] = 'Filtret är borttaget'; +$messages['filtersaved'] = 'Filtret har sparats'; +$messages['filtersaveerror'] = 'Filtret kunde inte sparas på grund av serverfel'; +$messages['filterdeleteconfirm'] = 'Vill du ta bort det markerade filtret?'; +$messages['ruledeleteconfirm'] = 'Vill du ta bort filterregeln?'; +$messages['actiondeleteconfirm'] = 'Vill du ta bort filteråtgärden?'; +$messages['forbiddenchars'] = 'Otillåtet tecken i fältet'; +$messages['cannotbeempty'] = 'Fältet kan inte lämnas tomt'; +$messages['ruleexist'] = 'Ett filter med angivet namn finns redan.'; +$messages['setactivateerror'] = 'Filtergruppen kunde inte aktiveras på grund av serverfel'; +$messages['setdeactivateerror'] = 'Filtergruppen kunde inte deaktiveras på grund av serverfel'; +$messages['setdeleteerror'] = 'Filtergruppen kunde inte tas bort på grund av serverfel'; +$messages['setactivated'] = 'Filtergruppen är aktiverad'; +$messages['setdeactivated'] = 'Filtergruppen är deaktiverad'; +$messages['setdeleted'] = 'Filtergruppen är borttagen'; +$messages['setdeleteconfirm'] = 'Vill du ta bort filtergruppen?'; +$messages['setcreateerror'] = 'Filtergruppen kunde inte läggas till på grund av serverfel'; +$messages['setcreated'] = 'Filtergruppen har lagts till'; +$messages['activateerror'] = 'Kunde inte aktivera filter på grund av serverfel.'; +$messages['deactivateerror'] = 'Kunde inte deaktivera filter på grund av serverfel.'; +$messages['deactivated'] = 'Filter aktiverat.'; +$messages['activated'] = 'Filter deaktiverat.'; +$messages['moved'] = 'Filter flyttat.'; +$messages['moveerror'] = 'Kunde inte flytta filter på grund av serverfel.'; +$messages['nametoolong'] = 'För långt namn.'; +$messages['namereserved'] = 'Reserverat namn.'; +$messages['setexist'] = 'Filtergrupp finns redan.'; +$messages['nodata'] = 'Minst en position måste väljas!'; +$messages['invaliddateformat'] = 'Ogiltigt datum eller del av datumformat'; +$messages['saveerror'] = 'Datan kunde inte sparas på grund av serverfel.'; +$messages['vacationsaved'] = 'Frånvarodatan har sparats.'; +$messages['emptyvacationbody'] = 'Text för frånvaromeddelande saknas!'; +?> diff --git a/plugins/managesieve/localization/th_TH.inc b/plugins/managesieve/localization/th_TH.inc new file mode 100644 index 000000000..c2d041cfe --- /dev/null +++ b/plugins/managesieve/localization/th_TH.inc @@ -0,0 +1,45 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'ตัวกรองข้อมูล'; +$labels['filtername'] = 'ชื่อตัวกรองข้อมูล'; +$labels['newfilter'] = 'สร้างตัวกรองข้อมูลใหม่'; +$labels['filteradd'] = 'เพิ่มตัวกรองข้อมูล'; +$labels['filterdel'] = 'ลบตัวกรองข้อมูล'; +$labels['moveup'] = 'เลื่อนขึ้น'; +$labels['movedown'] = 'เลื่อนลง'; +$labels['filterany'] = 'ข้อความทั้งหมด'; +$labels['filtercontains'] = 'ที่มีคำว่า'; +$labels['filternotcontains'] = 'ไม่มีคำว่า'; +$labels['filteris'] = 'ที่มีค่าเท่ากับ'; +$labels['filterisnot'] = 'ที่มีค่าไม่เท่ากับ'; +$labels['addrule'] = 'เพิ่มกฏ'; +$labels['delrule'] = 'ลบกฏ'; +$labels['messagemoveto'] = 'ย้ายข้อความไปที่'; +$labels['messageredirect'] = 'เปลียนเส้นทางข้อความไปที่'; +$labels['messagecopyto'] = 'คัดลอกข้อความไปที่'; +$labels['messagesendcopy'] = 'ส่งข้อความคัดลอกไปที่'; +$labels['messagedelete'] = 'ลบข้อความ'; +$labels['messagediscard'] = 'ยกเลิกข้อความ'; +$labels['messagesrules'] = 'สำหรับอีเมลขาเข้า:'; +$labels['add'] = 'เพิ่ม'; +$labels['del'] = 'ลบ'; +$labels['sender'] = 'ผู้ส่ง'; +$labels['recipient'] = 'ผู้รับ'; +$labels['vacationsubject'] = 'หัวเรื่องข้อความ:'; +$labels['enable'] = 'เปิดใช้งาน/ปิดใช้งาน'; +?> diff --git a/plugins/managesieve/localization/tr_TR.inc b/plugins/managesieve/localization/tr_TR.inc new file mode 100644 index 000000000..c61838690 --- /dev/null +++ b/plugins/managesieve/localization/tr_TR.inc @@ -0,0 +1,224 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Filtreler'; +$labels['managefilters'] = 'Gelen e-posta filtrelerini yönet'; +$labels['filtername'] = 'Filtre adı'; +$labels['newfilter'] = 'Yeni filtre'; +$labels['filteradd'] = 'Filtre ekle'; +$labels['filterdel'] = 'Filtre Sil'; +$labels['moveup'] = 'Yukarı taşı'; +$labels['movedown'] = 'Aşağı taşı'; +$labels['filterallof'] = 'Aşağıdaki kuralların hepsine uyan'; +$labels['filteranyof'] = 'Aşağıdaki kuralların herhangi birine uyan'; +$labels['filterany'] = 'Tüm mesajlar'; +$labels['filtercontains'] = 'içeren'; +$labels['filternotcontains'] = 'içermeyen'; +$labels['filteris'] = 'eşittir'; +$labels['filterisnot'] = 'eşit değildir'; +$labels['filterexists'] = 'mevcut'; +$labels['filternotexists'] = 'mevcut değil'; +$labels['filtermatches'] = 'ifadeye uyan'; +$labels['filternotmatches'] = 'ifadeye uymayan'; +$labels['filterregex'] = 'düzenli ifadeye uyan'; +$labels['filternotregex'] = 'düzenli ifadeye uymayan'; +$labels['filterunder'] = 'altında'; +$labels['filterover'] = 'üzerinde'; +$labels['addrule'] = 'Kural ekle'; +$labels['delrule'] = 'Kuralı sil'; +$labels['messagemoveto'] = 'mesajı taşı'; +$labels['messageredirect'] = 'mesajı yönlendir'; +$labels['messagecopyto'] = 'Mesajı kopyala'; +$labels['messagesendcopy'] = 'mesajın kopyasını gönder'; +$labels['messagereply'] = 'mesajla birlikte cevap ver'; +$labels['messagedelete'] = 'Mesajı sil'; +$labels['messagediscard'] = 'mesajı yok say'; +$labels['messagekeep'] = 'Mesajı Gelen Kutusunda tut.'; +$labels['messagesrules'] = 'Gelen e-postalar için:'; +$labels['messagesactions'] = '... aşağıdaki aksiyonları çalıştır:'; +$labels['add'] = 'Ekle'; +$labels['del'] = 'Sil'; +$labels['sender'] = 'Gönderici'; +$labels['recipient'] = 'Alıcı'; +$labels['vacationaddr'] = 'Ek e-posta adres(ler)im:'; +$labels['vacationdays'] = 'Ne sıklıkla mesajlar gönderilir(gün)'; +$labels['vacationinterval'] = 'Ne kadar sıklıkla mesaj gönderirsiniz:'; +$labels['vacationreason'] = 'Mesaj gövdesi(tatil sebebi):'; +$labels['vacationsubject'] = 'Mesaj konusu:'; +$labels['days'] = 'günler'; +$labels['seconds'] = 'saniyeler'; +$labels['rulestop'] = 'Kuralları değerlendirmeyi bitir'; +$labels['enable'] = 'Etkinleştir/Etkisiz Kıl'; +$labels['filterset'] = 'Filtre seti'; +$labels['filtersets'] = 'Filtre setleri'; +$labels['filtersetadd'] = 'Filtre seti ekle'; +$labels['filtersetdel'] = 'Mevcut filtre setini sil'; +$labels['filtersetact'] = 'Mevcut filtre setini etkinleştir'; +$labels['filtersetdeact'] = 'Mevcut filtre setini etkinsizleştir'; +$labels['filterdef'] = 'Filtre tanımı'; +$labels['filtersetname'] = 'Filtre seti adı'; +$labels['newfilterset'] = 'Yeni filtre seti'; +$labels['active'] = 'etkin'; +$labels['none'] = 'hiçbiri'; +$labels['fromset'] = 'gönderici seti'; +$labels['fromfile'] = 'gönderici dosya'; +$labels['filterdisabled'] = 'Filtre iptal edildi'; +$labels['countisgreaterthan'] = 'toplamı büyük'; +$labels['countisgreaterthanequal'] = 'toplamı büyük veya eşit'; +$labels['countislessthan'] = 'toplamı az'; +$labels['countislessthanequal'] = 'toplamı daha az veya eşit'; +$labels['countequals'] = 'toplamı eşit'; +$labels['countnotequals'] = 'toplamı eşit değil'; +$labels['valueisgreaterthan'] = 'değeri büyük'; +$labels['valueisgreaterthanequal'] = 'değeri büyük veya eşit'; +$labels['valueislessthan'] = 'değer az'; +$labels['valueislessthanequal'] = 'değer daha az veya eşit'; +$labels['valueequals'] = 'değer eşit'; +$labels['valuenotequals'] = 'değer eşit değil'; +$labels['setflags'] = 'bayrakları mesaja set et'; +$labels['addflags'] = 'Bayrakları mesaja ekle'; +$labels['removeflags'] = 'Bayrakları mesajdan sil'; +$labels['flagread'] = 'Oku'; +$labels['flagdeleted'] = 'Silindi'; +$labels['flaganswered'] = 'Cevaplanmış'; +$labels['flagflagged'] = 'İşaretli'; +$labels['flagdraft'] = 'Taslak'; +$labels['setvariable'] = 'Değişken tanımla'; +$labels['setvarname'] = 'Değişken adı:'; +$labels['setvarvalue'] = 'Değişken değeri:'; +$labels['setvarmodifiers'] = 'Değiştiriciler:'; +$labels['varlower'] = 'küçük harf'; +$labels['varupper'] = 'büyük harf'; +$labels['varlowerfirst'] = 'İlk karakter küçük harf'; +$labels['varupperfirst'] = 'İlk karakter büyük harf'; +$labels['varquotewildcard'] = 'özel karakterleri tırnak içine al'; +$labels['varlength'] = 'uzunluk'; +$labels['notify'] = 'Bildirim gönder'; +$labels['notifytarget'] = 'Bildirim hedefi:'; +$labels['notifymessage'] = 'Bildirim mesajı (tercihe bağlı):'; +$labels['notifyoptions'] = 'Bildirim tercihleri (tercihe bağlı):'; +$labels['notifyfrom'] = 'Bildirim göndericisi (tercihe bağlı):'; +$labels['notifyimportance'] = 'Önem derecesi:'; +$labels['notifyimportancelow'] = 'düşük'; +$labels['notifyimportancenormal'] = 'normal'; +$labels['notifyimportancehigh'] = 'yüksek'; +$labels['notifymethodmailto'] = 'E-posta'; +$labels['notifymethodtel'] = 'Telefon'; +$labels['notifymethodsms'] = 'SMS'; +$labels['filtercreate'] = 'Süzgeç oluştur'; +$labels['usedata'] = 'Aşağıdaki verileri süzgeçte kullan'; +$labels['nextstep'] = 'Sonraki adım'; +$labels['...'] = '...'; +$labels['currdate'] = 'Mevcut tarih'; +$labels['datetest'] = 'Tarih'; +$labels['dateheader'] = 'Başlık'; +$labels['year'] = 'yıl'; +$labels['month'] = 'ay'; +$labels['day'] = 'gün'; +$labels['date'] = 'tarih (yyyy-aa-gg)'; +$labels['julian'] = 'tarih (julian)'; +$labels['hour'] = 'saat'; +$labels['minute'] = 'dakika'; +$labels['second'] = 'saniye'; +$labels['time'] = 'saat (ss:dd:ss)'; +$labels['iso8601'] = 'tarih (ISO8601)'; +$labels['std11'] = 'tarih (RFC2822)'; +$labels['zone'] = 'saat-dilimi'; +$labels['weekday'] = 'Hafta günleri (0-6)'; +$labels['advancedopts'] = 'Gelişmiş seçenekler'; +$labels['body'] = 'Gövde'; +$labels['address'] = 'adres'; +$labels['envelope'] = 'zarf'; +$labels['modifier'] = 'değiştirici'; +$labels['text'] = 'metin'; +$labels['undecoded'] = 'çözülmemiş(ham)'; +$labels['contenttype'] = 'içerik türü'; +$labels['modtype'] = 'tip:'; +$labels['allparts'] = 'hepsi'; +$labels['domain'] = 'alan adı'; +$labels['localpart'] = 'yerel parça'; +$labels['user'] = 'kullanıcı'; +$labels['detail'] = 'detay'; +$labels['comparator'] = 'karşılaştırıcı'; +$labels['default'] = 'öntanımlı'; +$labels['octet'] = 'sıkı(oktet)'; +$labels['asciicasemap'] = 'büyük küçük harf duyarsız(ascii-casemap)'; +$labels['asciinumeric'] = 'sayı (ascii-numeric)'; +$labels['index'] = 'indeks:'; +$labels['indexlast'] = 'geriye yönelik'; +$labels['vacation'] = 'Tatil'; +$labels['vacation.reply'] = 'Cevap mesajı'; +$labels['vacation.advanced'] = 'Gelişmiş seçenekler'; +$labels['vacation.subject'] = 'Konu'; +$labels['vacation.body'] = 'Gövde'; +$labels['vacation.start'] = 'Tatil başlangıcı'; +$labels['vacation.end'] = 'Tatil bitişi'; +$labels['vacation.status'] = 'Durum'; +$labels['vacation.on'] = 'Etkin'; +$labels['vacation.off'] = 'Devre dışı'; +$labels['vacation.addresses'] = 'Ek adresler'; +$labels['vacation.interval'] = 'Cevap aralığı'; +$labels['vacation.after'] = 'Şundan sonra tatil kuralı koy'; +$labels['vacation.saving'] = 'Veri kaydediliyor...'; +$labels['vacation.action'] = 'Gelen mesaj aksiyonu'; +$labels['vacation.keep'] = 'Koru'; +$labels['vacation.discard'] = 'Yoksay'; +$labels['vacation.redirect'] = 'Şuraya yönlendir'; +$labels['vacation.copy'] = 'Şuraya kopya gönder'; +$labels['arialabelfiltersetactions'] = 'Filtre seti aksiyonları'; +$labels['arialabelfilteractions'] = 'Filtre aksiyonları'; +$labels['arialabelfilterform'] = 'Filtre özellikleri'; +$labels['ariasummaryfilterslist'] = 'Filtre listesi'; +$labels['ariasummaryfiltersetslist'] = 'Filtre seti listesi'; +$labels['filterstitle'] = 'Gelen e-posta filtrelerini düzenle'; +$labels['vacationtitle'] = 'Ofis dışında kuralını düzenle'; +$messages['filterunknownerror'] = 'Bilinmeyen sunucu hatası.'; +$messages['filterconnerror'] = 'Sunucuya bağlanamıyor.'; +$messages['filterdeleteerror'] = 'Filtre silinemedi. Sunucuda hata oluştu.'; +$messages['filterdeleted'] = 'Filtre başarıyla silindi.'; +$messages['filtersaved'] = 'Filtre başarıyla kaydedildi.'; +$messages['filtersaveerror'] = 'Filtre kaydedilemedi. Sunucuda hata oluştu.'; +$messages['filterdeleteconfirm'] = 'Seçilen filtreleri gerçekten silmek istiyor musun?'; +$messages['ruledeleteconfirm'] = 'Seçili kuralları silmek istediğinizden emin misiniz?'; +$messages['actiondeleteconfirm'] = 'Seçili aksiyonları silmek istediğinizden emin misiniz?'; +$messages['forbiddenchars'] = 'Alanda izin verilmeyen karakterler var.'; +$messages['cannotbeempty'] = 'Alan boş olmaz'; +$messages['ruleexist'] = 'Belirtilen isimde bir filtre zaten var.'; +$messages['setactivateerror'] = 'Seçilen filtreler etkinleştirilemedi. Sunucuda hata oluştu.'; +$messages['setdeactivateerror'] = 'Seçilen filtreler pasifleştirilemedi. Sunucuda hata oluştu.'; +$messages['setdeleteerror'] = 'Seçilen filtreler silinemedi. Sunucuda hata oluştu.'; +$messages['setactivated'] = 'Filtreler başarıyla etkinleştirilemedi.'; +$messages['setdeactivated'] = 'Filtreler başarıyla pasifleştirildi.'; +$messages['setdeleted'] = 'Filtre seti başarıyla silindi.'; +$messages['setdeleteconfirm'] = 'Seçilen filtre setlerini silmek istediğinizden emin misiniz?'; +$messages['setcreateerror'] = 'Filtre setleri oluşturulamadı. Sunucuda hata oluştu.'; +$messages['setcreated'] = 'Filtre setleri başarıyla oluşturuldu.'; +$messages['activateerror'] = 'Seçilen filtre(ler) etkinleştirilemedi. Sunucuda hata oluştu.'; +$messages['deactivateerror'] = 'Seçilen filtre(ler) pasifleştirilemedi. Sunucuda hata oluştu.'; +$messages['deactivated'] = 'Filtre(ler) başarıyla etkinleştirildi.'; +$messages['activated'] = 'Filtre(ler) başarıyla iptal edildi.'; +$messages['moved'] = 'Filtre başarıyla taşındı.'; +$messages['moveerror'] = 'Seçilen filtre taşınamadı. Sunucuda hata oluştu.'; +$messages['nametoolong'] = 'İsim çok uzun.'; +$messages['namereserved'] = 'rezerve edilmiş isim.'; +$messages['setexist'] = 'Set zaten var.'; +$messages['nodata'] = 'En az bir pozisyon seçilmelidir.'; +$messages['invaliddateformat'] = 'geçersiz tarih veya tarih biçimi'; +$messages['saveerror'] = 'Veri kaydedilemedi. Sunucuda hata oluştu.'; +$messages['vacationsaved'] = 'Tatil verisi başarıyla kaydedildi.'; +$messages['emptyvacationbody'] = 'Tatil mesajı metni gerekmektedir.'; +?> diff --git a/plugins/managesieve/localization/uk_UA.inc b/plugins/managesieve/localization/uk_UA.inc new file mode 100644 index 000000000..fce7867a6 --- /dev/null +++ b/plugins/managesieve/localization/uk_UA.inc @@ -0,0 +1,140 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Фільтри'; +$labels['managefilters'] = 'Керування фільтрами вхідної пошти'; +$labels['filtername'] = 'Назва фільтру'; +$labels['newfilter'] = 'Новий фільтр'; +$labels['filteradd'] = 'Додати фільтр'; +$labels['filterdel'] = 'Видалити фільтр'; +$labels['moveup'] = 'Пересунути вгору'; +$labels['movedown'] = 'Пересунути вниз'; +$labels['filterallof'] = 'задовольняє усім наступним умовам'; +$labels['filteranyof'] = 'задовольняє будь-якій з умов'; +$labels['filterany'] = 'всі повідомлення'; +$labels['filtercontains'] = 'містить'; +$labels['filternotcontains'] = 'не містить'; +$labels['filteris'] = 'ідентичний до'; +$labels['filterisnot'] = 'не ідентичний до'; +$labels['filterexists'] = 'існує'; +$labels['filternotexists'] = 'не існує'; +$labels['filterunder'] = 'менше, ніж'; +$labels['filterover'] = 'більше, ніж'; +$labels['addrule'] = 'Додати правило'; +$labels['delrule'] = 'Видалити правило'; +$labels['messagemoveto'] = 'Пересунути повідомлення до'; +$labels['messageredirect'] = 'Перенаправити повідомлення до'; +$labels['messagecopyto'] = 'Копіювати листа до'; +$labels['messagesendcopy'] = 'Надсилати копію листа на'; +$labels['messagereply'] = 'Автовідповідач'; +$labels['messagedelete'] = 'Видалити повідомлення'; +$labels['messagediscard'] = 'Відхилити з повідомленням'; +$labels['messagekeep'] = 'Залишити лист у Вхідних'; +$labels['messagesrules'] = 'Для вхідної пошти'; +$labels['messagesactions'] = '... виконати дію:'; +$labels['add'] = 'Додати'; +$labels['del'] = 'Видалити'; +$labels['sender'] = 'Відправник'; +$labels['recipient'] = 'Отримувач'; +$labels['vacationaddr'] = 'Додаткова адреса(и):'; +$labels['vacationdays'] = 'Як часто повторювати (у днях):'; +$labels['vacationreason'] = 'Текст повідомлення:'; +$labels['vacationsubject'] = 'Тема листа:'; +$labels['days'] = 'днів'; +$labels['seconds'] = 'секунд'; +$labels['rulestop'] = 'Зупинити перевірку правил'; +$labels['enable'] = 'Увімкнути/Вимкнуни'; +$labels['filterset'] = 'Набір фільтрів'; +$labels['filtersetadd'] = 'Додати набір фільтрів'; +$labels['filtersetdel'] = 'Видалити поточний набір'; +$labels['filtersetact'] = 'Активувати поточний набір'; +$labels['filterdef'] = 'Параметри фільтру'; +$labels['filtersetname'] = 'Назва набору фільтрів'; +$labels['newfilterset'] = 'Новий набір фільтрів'; +$labels['active'] = 'активний'; +$labels['none'] = 'нічого'; +$labels['fromset'] = 'з набору'; +$labels['fromfile'] = 'з файлу'; +$labels['filterdisabled'] = 'Фільтр вимкнено'; +$labels['countisgreaterthan'] = 'лічильник більший за'; +$labels['countisgreaterthanequal'] = 'лічильник більший або рівний '; +$labels['countislessthan'] = 'лічильник менший'; +$labels['countislessthanequal'] = 'льчильник менший або рівний'; +$labels['countequals'] = 'лічильник рівний'; +$labels['countnotequals'] = 'лічильник рівний'; +$labels['valueisgreaterthan'] = 'значення більше за'; +$labels['valueisgreaterthanequal'] = 'значення більше або рівне'; +$labels['valueislessthan'] = 'значення менше за'; +$labels['valueislessthanequal'] = 'значення менше або рівне'; +$labels['valueequals'] = 'значення рівне'; +$labels['valuenotequals'] = 'значення не рівне'; +$labels['flagdraft'] = 'Чернетка'; +$labels['setvariable'] = 'Встановити змінну'; +$labels['setvarname'] = 'Назва змінної:'; +$labels['setvarvalue'] = 'Значення змінної:'; +$labels['setvarmodifiers'] = 'Модифікатори:'; +$labels['varlower'] = 'нижній регістр'; +$labels['varupper'] = 'верхній регістр'; +$labels['varlowerfirst'] = 'перший символ в нижньому регістрі'; +$labels['varupperfirst'] = 'перший символ в верхньому регістрі'; +$labels['varlength'] = 'довжина'; +$labels['notify'] = 'Надсилати сповіщення'; +$labels['filtercreate'] = 'Створити фільтр'; +$labels['nextstep'] = 'Наступний крок'; +$labels['...'] = '...'; +$labels['currdate'] = 'Поточна дата'; +$labels['datetest'] = 'Дата'; +$labels['dateheader'] = 'шапка:'; +$labels['year'] = 'рік'; +$labels['month'] = 'місяць'; +$labels['day'] = 'день'; +$labels['date'] = 'дата (рррр-мм-дд)'; +$labels['hour'] = 'година'; +$labels['minute'] = 'хвилина'; +$labels['second'] = 'секунда'; +$labels['time'] = 'час (гг:хх:сс)'; +$labels['iso8601'] = 'дата (ISO8601)'; +$labels['std11'] = 'дата (RFC2822)'; +$labels['zone'] = 'часовий пояс'; +$labels['advancedopts'] = 'Розширені параметри'; +$labels['body'] = 'Тіло'; +$labels['address'] = 'адреса'; +$labels['text'] = 'текст'; +$labels['modtype'] = 'тип:'; +$labels['allparts'] = 'все'; +$labels['domain'] = 'домен'; +$labels['localpart'] = 'локальна частина'; +$labels['user'] = 'користувач'; +$labels['detail'] = 'деталь'; +$labels['default'] = 'типово'; +$labels['index'] = 'індекс:'; +$messages['filterunknownerror'] = 'Невідома помилка сервера'; +$messages['filterconnerror'] = 'Неможливо з\'єднатися з сервером'; +$messages['filterdeleted'] = 'Фільтр успішно видалено'; +$messages['filtersaved'] = 'Фільтр успішно збережено'; +$messages['filterdeleteconfirm'] = 'Ви дійсно хочете видалити обраний фільтр?'; +$messages['ruledeleteconfirm'] = 'Ви дійсно хочете видалити обране правило?'; +$messages['actiondeleteconfirm'] = 'Ви дійсно хочете видалити обрану дію?'; +$messages['forbiddenchars'] = 'Введено заборонений символ'; +$messages['cannotbeempty'] = 'Поле не може бути пустим'; +$messages['setactivated'] = 'Набір фільтрів активовано успішно'; +$messages['setdeleted'] = 'Набір фільтрів видалено успішно'; +$messages['setdeleteconfirm'] = 'Ви впевнені, що хочете видалити обраний набір?'; +$messages['setcreated'] = 'Набір фільтрів створено успішно'; +$messages['moveerror'] = 'Неможливо перемістити обраний фільтр. Помилка сервера.'; +$messages['nametoolong'] = 'Не вдалося створити набір. Занадто довга назва'; +?> diff --git a/plugins/managesieve/localization/vi_VN.inc b/plugins/managesieve/localization/vi_VN.inc new file mode 100644 index 000000000..d22ff7e91 --- /dev/null +++ b/plugins/managesieve/localization/vi_VN.inc @@ -0,0 +1,209 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = 'Bộ lọc'; +$labels['managefilters'] = 'Quản lý bộ lọc thư đến'; +$labels['filtername'] = 'Lọc tên'; +$labels['newfilter'] = 'Bộ lọc mới'; +$labels['filteradd'] = 'Thêm bộ lọc'; +$labels['filterdel'] = 'Xóa bộ lọc'; +$labels['moveup'] = 'Chuyển lên'; +$labels['movedown'] = 'Chuyển xuống'; +$labels['filterallof'] = 'Phù hợp với tất cả các qui luật sau đây'; +$labels['filteranyof'] = 'Phù hợp với bất kỳ qui luật nào sau đây'; +$labels['filterany'] = 'Tất cả tin nhắn'; +$labels['filtercontains'] = 'Bao gồm'; +$labels['filternotcontains'] = 'Không bao gồm'; +$labels['filteris'] = 'Bằng với'; +$labels['filterisnot'] = 'Không bằng với'; +$labels['filterexists'] = 'Tồn tại'; +$labels['filternotexists'] = 'Không tồn tại'; +$labels['filtermatches'] = 'Tương ứng với cách diễn đạt'; +$labels['filternotmatches'] = 'Không tương ứng với cách diễn đạt'; +$labels['filterregex'] = 'Tương ứng với cách diễn đạt thông thường'; +$labels['filternotregex'] = 'Không phù hợp với cách diễn đạt thông thường'; +$labels['filterunder'] = 'Dưới'; +$labels['filterover'] = 'Hơn'; +$labels['addrule'] = 'Thêm qui luật'; +$labels['delrule'] = 'Xóa qui luật'; +$labels['messagemoveto'] = 'Chuyển tin nhắn tới'; +$labels['messageredirect'] = 'Gửi lại tin nhắn tới'; +$labels['messagecopyto'] = 'Sao chép tin nhắn tới'; +$labels['messagesendcopy'] = 'Gửi bản sao chép tin nhắn tới'; +$labels['messagereply'] = 'Trả lời tin nhắn'; +$labels['messagedelete'] = 'Xóa thư'; +$labels['messagediscard'] = 'Loại bỏ với tin nhắn'; +$labels['messagekeep'] = 'Giữ thư ở Hộp thư chính'; +$labels['messagesrules'] = 'Với thư đến'; +$labels['messagesactions'] = 'Thực hiện các hành động sau:'; +$labels['add'] = 'Thêm'; +$labels['del'] = 'Xoá'; +$labels['sender'] = 'Người gửi'; +$labels['recipient'] = 'Người nhận'; +$labels['vacationaddr'] = '(Các) Địa chỉ email bổ sung của tôi:'; +$labels['vacationdays'] = 'Số lần gửi thư (trong ngày)'; +$labels['vacationinterval'] = 'Tần suất gửi thư:'; +$labels['vacationreason'] = 'Nội dung chính'; +$labels['vacationsubject'] = 'Tiêu đề thư'; +$labels['days'] = 'ngày'; +$labels['seconds'] = 'giây'; +$labels['rulestop'] = 'Ngừng đánh giá qui luật'; +$labels['enable'] = 'Kích hoạt/Không kích hoạt'; +$labels['filterset'] = 'Đặt các bộ lọc'; +$labels['filtersets'] = 'Thiết lập bộ lọc'; +$labels['filtersetadd'] = 'Thêm bộ lọc'; +$labels['filtersetdel'] = 'Xóa bộ lọc hiện tại'; +$labels['filtersetact'] = 'Kích hoạt bộ lọc hiện tại'; +$labels['filtersetdeact'] = 'Ngừng kích hoạt bộ lọc hiện tai'; +$labels['filterdef'] = 'Định nghĩa bộ lọc'; +$labels['filtersetname'] = 'Tên bộ lọc'; +$labels['newfilterset'] = 'Thiết lập bộ lọc mới'; +$labels['active'] = 'Kích hoạt'; +$labels['none'] = 'Không có'; +$labels['fromset'] = 'Từ thiết lập'; +$labels['fromfile'] = 'Từ hồ sơ'; +$labels['filterdisabled'] = 'Bộ lọc được ngừng hoạt động'; +$labels['countisgreaterthan'] = 'Đếm lớn hơn'; +$labels['countisgreaterthanequal'] = 'Đếm lớn hơn hoặc bằng'; +$labels['countislessthan'] = 'Đếm ít hơn'; +$labels['countislessthanequal'] = 'Đếm ít hơn hoặc bằng'; +$labels['countequals'] = 'Đếm bằng'; +$labels['countnotequals'] = 'đếm không bằng với'; +$labels['valueisgreaterthan'] = 'Giá trị lớn hơn'; +$labels['valueisgreaterthanequal'] = 'Giá trị lớn hơn hoặc bằng'; +$labels['valueislessthan'] = 'Giá trị nhỏ hơn'; +$labels['valueislessthanequal'] = 'Giá trị nhỏ hơn hoặc bằng'; +$labels['valueequals'] = 'Giá trị bằng'; +$labels['valuenotequals'] = 'giá trị không bằng với'; +$labels['setflags'] = 'Thiết lập đánh dấu cho thư'; +$labels['addflags'] = 'Thêm đánh dấu cho thư'; +$labels['removeflags'] = 'Bỏ đánh dấu khỏi thư'; +$labels['flagread'] = 'Đọc'; +$labels['flagdeleted'] = 'Đã được xóa'; +$labels['flaganswered'] = 'Đã trả lời'; +$labels['flagflagged'] = 'Đã đánh dấu'; +$labels['flagdraft'] = 'Nháp'; +$labels['setvariable'] = 'Đặt biến'; +$labels['setvarname'] = 'Tên biến:'; +$labels['setvarvalue'] = 'Giá trị biến:'; +$labels['setvarmodifiers'] = 'Bộ chia:'; +$labels['varlower'] = 'viết thường'; +$labels['varupper'] = 'viết hoa'; +$labels['varlowerfirst'] = 'chữ cái đầu viết thường'; +$labels['varupperfirst'] = 'chữ cái đầu viết hoa'; +$labels['varquotewildcard'] = 'trích dẫn ký tự đặc biệt'; +$labels['varlength'] = 'độ dài'; +$labels['notify'] = 'Gửi thông báo'; +$labels['notifytarget'] = 'Mục tiêu thông báo:'; +$labels['notifymessage'] = 'Nội dung thông báo (tuỳ chọn):'; +$labels['notifyoptions'] = 'Lựa chọn thông báo (tuỳ chọn):'; +$labels['notifyfrom'] = 'Người gửi thông báo (tuỳ chọn):'; +$labels['notifyimportance'] = 'Mức độ quan trọng:'; +$labels['notifyimportancelow'] = 'thấp'; +$labels['notifyimportancenormal'] = 'vừa phải'; +$labels['notifyimportancehigh'] = 'cao'; +$labels['notifymethodmailto'] = 'Thư điện tử'; +$labels['notifymethodtel'] = 'Điện thoại'; +$labels['notifymethodsms'] = 'Tin nhắn'; +$labels['filtercreate'] = 'Tạo bộ lọc'; +$labels['usedata'] = 'Dùng dữ liệu trong bộ lọc sau:'; +$labels['nextstep'] = 'Bước tiếp theo'; +$labels['...'] = '…'; +$labels['currdate'] = 'Ngày hiện tại'; +$labels['datetest'] = 'Ngày'; +$labels['dateheader'] = 'tiêu đề:'; +$labels['year'] = 'năm'; +$labels['month'] = 'tháng'; +$labels['day'] = 'ngày'; +$labels['date'] = 'ngày (cú pháp: năm-tháng-ngày)'; +$labels['julian'] = 'ngày (theo kiểu Julian)'; +$labels['hour'] = 'giờ'; +$labels['minute'] = 'phút'; +$labels['second'] = 'giây'; +$labels['time'] = 'giờ (cú pháp: giờ:phút:giây)'; +$labels['iso8601'] = 'ngày (theo chuẩn ISO 8601)'; +$labels['std11'] = 'ngày (theo chuẩn RFC 2822)'; +$labels['zone'] = 'vùng thời gian'; +$labels['weekday'] = 'ngày trog tuần (0-6)'; +$labels['advancedopts'] = 'Tùy chọn tính năng cao hơn'; +$labels['body'] = 'Nội dung'; +$labels['address'] = 'Địa chỉ'; +$labels['envelope'] = 'Phong bì'; +$labels['modifier'] = 'Bổ nghĩa'; +$labels['text'] = 'Văn bản'; +$labels['undecoded'] = 'Chưa được giải mã (nguyên bản)'; +$labels['contenttype'] = 'Kiểu mẫu nội dung'; +$labels['modtype'] = 'Kiểu:'; +$labels['allparts'] = 'Tất cả'; +$labels['domain'] = 'Phạm vi'; +$labels['localpart'] = 'Phần nội bộ'; +$labels['user'] = 'Người dùng'; +$labels['detail'] = 'Chi tiết'; +$labels['comparator'] = 'Vật so sánh'; +$labels['default'] = 'Mặc định'; +$labels['octet'] = 'Khắt khe'; +$labels['asciicasemap'] = 'Không phân biệt chữ hoa chữ thường'; +$labels['asciinumeric'] = 'Bảng mã ASCII'; +$labels['index'] = 'chỉ mục:'; +$labels['indexlast'] = 'ngược'; +$labels['vacation'] = 'Thiết lập tự động trả lời trong kỳ nghỉ'; +$labels['vacation.reply'] = 'Trả lời thư'; +$labels['vacation.advanced'] = 'Tùy chọn tính năng cao hơn'; +$labels['vacation.subject'] = 'Tiêu đề'; +$labels['vacation.body'] = 'Nội dung thư'; +$labels['vacation.status'] = 'Trạng thái'; +$labels['vacation.on'] = 'Bật'; +$labels['vacation.off'] = 'Tắt'; +$labels['vacation.addresses'] = 'Các địa chỉ bổ sung của tôi'; +$labels['vacation.interval'] = 'Khoảng thời gian trả lời'; +$labels['vacation.after'] = 'Đặt quy định kỳ nghỉ sau'; +$labels['vacation.saving'] = 'Lưu lại dữ liệu...'; +$messages['filterunknownerror'] = 'Không tìm được lỗi máy chủ'; +$messages['filterconnerror'] = 'Không kết nối được với máy chủ.'; +$messages['filterdeleteerror'] = 'Không thể xóa bộ lọc. Xuất hiện lỗi ở máy chủ'; +$messages['filterdeleted'] = 'Xóa bộ lọc thành công'; +$messages['filtersaved'] = 'Lưu bộ lọc thành công'; +$messages['filtersaveerror'] = 'Không thể lưu bộ lọc. Xuất hiện lỗi ở máy chủ'; +$messages['filterdeleteconfirm'] = 'Bạn có thực sự muốn xóa bộ lọc được chọn?'; +$messages['ruledeleteconfirm'] = 'Bạn có chắc chắn muốn xóa qui luật được chọn?'; +$messages['actiondeleteconfirm'] = 'Bạn có chắc chắn muốn xóa hành động được chọn?'; +$messages['forbiddenchars'] = 'Ký tự bị cấm trong ô'; +$messages['cannotbeempty'] = 'Ô không thể bị bỏ trống'; +$messages['ruleexist'] = 'Đã tồn tại bộ lọc với tên cụ thế'; +$messages['setactivateerror'] = 'Không thể kích hoạt bộ lọc được lựa chọn. Xuất hiện lỗi ở máy chủ'; +$messages['setdeactivateerror'] = 'Không thể tắt bộ lọc được lựa chọn. Xuất hiện lỗi ở máy chủ'; +$messages['setdeleteerror'] = 'Không thể xóa bộ lọc được lựa chọn. Xuất hiện lỗi ở máy chủ.'; +$messages['setactivated'] = 'Bộ lọc được khởi động thành công'; +$messages['setdeactivated'] = 'Ngừng kích hoạt bộ lọc thành công'; +$messages['setdeleted'] = 'Xóa bộ lọc thành công'; +$messages['setdeleteconfirm'] = 'Bạn có chắc bạn muốn xóa thiết lập bộ lọc được chọn?'; +$messages['setcreateerror'] = 'Không thể tạo thiết lập bộ lọc. Có lỗi xuất hiện ở máy chủ'; +$messages['setcreated'] = 'Thiết lập bộ lọc được tạo thành công'; +$messages['activateerror'] = 'Không thể khởi động (các) bộ lọc được chọn. Có lỗi xuất hiện ở máy chủ'; +$messages['deactivateerror'] = 'Không thể tắt (các) bộ lọc đã chọn. Có lỗi xuất hiện ở máy chủ'; +$messages['deactivated'] = 'Bộ lọc được khởi động thành công'; +$messages['activated'] = 'Bộ lọc được tắt thành công'; +$messages['moved'] = 'Bộ lọc được chuyển đi thành công'; +$messages['moveerror'] = 'Không thể chuyển bộ lọc đã chọn. Có lỗi xuất hiện ở máy chủ.'; +$messages['nametoolong'] = 'Tên quá dài'; +$messages['namereserved'] = 'Tên đã được bảo vệ'; +$messages['setexist'] = 'Thiết lập đã tồn tại'; +$messages['nodata'] = 'Ít nhất một vị trí phải được chọn'; +$messages['invaliddateformat'] = 'Lỗi không đúng cú pháp ngày hoặc nhập ngày sai'; +$messages['saveerror'] = 'Không thể lưu trữ dữ liệu. Xuất hiện lỗi ở máy chủ.'; +$messages['vacationsaved'] = 'Thiết lập kỳ nghỉ đã được lưu lại thành công.'; +?> diff --git a/plugins/managesieve/localization/zh_CN.inc b/plugins/managesieve/localization/zh_CN.inc new file mode 100644 index 000000000..a39b3126f --- /dev/null +++ b/plugins/managesieve/localization/zh_CN.inc @@ -0,0 +1,166 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = '过滤器'; +$labels['managefilters'] = '管理邮件过滤规则'; +$labels['filtername'] = '过滤规则名称'; +$labels['newfilter'] = '新建过滤规则'; +$labels['filteradd'] = '添加过滤规则'; +$labels['filterdel'] = '删除过滤规则'; +$labels['moveup'] = '上移'; +$labels['movedown'] = '下移'; +$labels['filterallof'] = '匹配所有规则'; +$labels['filteranyof'] = '匹配任意一条规则'; +$labels['filterany'] = '所有邮件'; +$labels['filtercontains'] = '包含'; +$labels['filternotcontains'] = '不包含'; +$labels['filteris'] = '等于'; +$labels['filterisnot'] = '不等于'; +$labels['filterexists'] = '存在'; +$labels['filternotexists'] = '不存在'; +$labels['filtermatches'] = '匹配表达式'; +$labels['filternotmatches'] = '不匹配表达式'; +$labels['filterregex'] = '匹配正则表达式'; +$labels['filternotregex'] = '不匹配正则表达式'; +$labels['filterunder'] = '小于'; +$labels['filterover'] = '大于'; +$labels['addrule'] = '新建规则'; +$labels['delrule'] = '删除规则'; +$labels['messagemoveto'] = '将邮件移至'; +$labels['messageredirect'] = '将邮件转发至'; +$labels['messagecopyto'] = '复制邮件至'; +$labels['messagesendcopy'] = '发送复制邮件至'; +$labels['messagereply'] = '回复以下内容'; +$labels['messagedelete'] = '删除邮件'; +$labels['messagediscard'] = '舍弃邮件并回复以下内容'; +$labels['messagesrules'] = '对新收取的邮件应用规则:'; +$labels['messagesactions'] = '执行以下操作:'; +$labels['add'] = '添加'; +$labels['del'] = '删除'; +$labels['sender'] = '发件人'; +$labels['recipient'] = '收件人'; +$labels['vacationdays'] = '发送邮件频率(单位:天):'; +$labels['vacationinterval'] = '发送邮件频率:'; +$labels['vacationreason'] = '邮件正文(假期原因)'; +$labels['vacationsubject'] = '邮件主题'; +$labels['days'] = '天'; +$labels['seconds'] = '秒'; +$labels['rulestop'] = '停止评价规则'; +$labels['enable'] = '启用/禁用'; +$labels['filterset'] = '过滤器设置'; +$labels['filtersets'] = '过滤器设置集'; +$labels['filtersetadd'] = '增加过滤器设置集'; +$labels['filtersetdel'] = '删除当前的过滤器设置集'; +$labels['filtersetact'] = '激活当前的过滤器设置集'; +$labels['filtersetdeact'] = '停用当前的过滤器设置集'; +$labels['filterdef'] = '过滤器定义'; +$labels['filtersetname'] = '过滤器集的名称'; +$labels['newfilterset'] = '新的过滤器集'; +$labels['active'] = '启用'; +$labels['none'] = '无'; +$labels['fromset'] = '从设置集'; +$labels['fromfile'] = '从文件'; +$labels['filterdisabled'] = '过滤器已禁用'; +$labels['countisgreaterthan'] = '计数大于'; +$labels['countisgreaterthanequal'] = '计数大于或等于'; +$labels['countislessthan'] = '计数小于'; +$labels['countislessthanequal'] = '计数小于或等于'; +$labels['countequals'] = '计数等于'; +$labels['valueisgreaterthan'] = '值大于'; +$labels['valueisgreaterthanequal'] = '值大于或等于'; +$labels['valueislessthan'] = '值小于'; +$labels['valueislessthanequal'] = '值小于或等于'; +$labels['valueequals'] = '值等于'; +$labels['setflags'] = '设定邮件的标识'; +$labels['addflags'] = '增加邮件的标识'; +$labels['removeflags'] = '删除邮件的标识'; +$labels['flagread'] = '读取'; +$labels['flagdeleted'] = '删除'; +$labels['flaganswered'] = '已答复'; +$labels['flagflagged'] = '已标记'; +$labels['flagdraft'] = '草稿'; +$labels['setvariable'] = '设置变量'; +$labels['setvarname'] = '变量名:'; +$labels['setvarvalue'] = '值:'; +$labels['setvarmodifiers'] = '修改:'; +$labels['varlower'] = '小写'; +$labels['varupper'] = '大写'; +$labels['varlowerfirst'] = '首字母小写'; +$labels['varupperfirst'] = '首字母大写'; +$labels['varquotewildcard'] = '引用特殊字符'; +$labels['varlength'] = '长度'; +$labels['notify'] = '发送通知'; +$labels['notifyimportance'] = '优先级:'; +$labels['notifyimportancelow'] = '低'; +$labels['notifyimportancenormal'] = '中'; +$labels['notifyimportancehigh'] = '高'; +$labels['filtercreate'] = '创建过滤规则'; +$labels['usedata'] = '在过滤器中使用下列数据'; +$labels['nextstep'] = '下一步'; +$labels['...'] = '...'; +$labels['currdate'] = '当前日期'; +$labels['datetest'] = '日期'; +$labels['year'] = '年'; +$labels['month'] = '月'; +$labels['day'] = '天'; +$labels['date'] = '日期 (年-月-日)'; +$labels['hour'] = '小时'; +$labels['minute'] = '分钟'; +$labels['second'] = '秒'; +$labels['zone'] = '时区'; +$labels['advancedopts'] = '高级选项'; +$labels['body'] = '正文'; +$labels['address'] = '地址'; +$labels['envelope'] = '信封'; +$labels['modifier'] = '修饰符:'; +$labels['text'] = '文本'; +$labels['undecoded'] = '未解码(RAW)'; +$labels['contenttype'] = '内容类型'; +$labels['modtype'] = '类型:'; +$labels['allparts'] = '全部'; +$labels['domain'] = '域'; +$labels['localpart'] = '本地部份'; +$labels['user'] = '用户'; +$labels['detail'] = '细节'; +$labels['comparator'] = '比较:'; +$labels['default'] = '默认'; +$labels['octet'] = '严格模式(字节)'; +$labels['asciicasemap'] = '不区分大小写(ascii 字符)'; +$labels['asciinumeric'] = '数字类型(ascii 数字)'; +$messages['filterunknownerror'] = '未知的服务器错误'; +$messages['filterconnerror'] = '无法连接至服务器'; +$messages['filterdeleted'] = '过滤器已成功删除'; +$messages['filtersaved'] = '过滤器已成功保存。'; +$messages['filterdeleteconfirm'] = '您确定要删除所选择的过滤器吗?'; +$messages['ruledeleteconfirm'] = '您确定要删除所选择的规则吗?'; +$messages['actiondeleteconfirm'] = '您确定要删除所选择的操作吗?'; +$messages['forbiddenchars'] = '内容包含禁用字符'; +$messages['cannotbeempty'] = '内容不能为空'; +$messages['ruleexist'] = '指定过滤器名称已存在。'; +$messages['setactivated'] = '启用过滤器集成功。'; +$messages['setdeactivated'] = '禁用过滤器集成功。'; +$messages['setdeleted'] = '删除过滤器成功。'; +$messages['setdeleteconfirm'] = '您确定要删除指定的过滤器吗?'; +$messages['setcreated'] = '过滤器成功创建。'; +$messages['deactivated'] = '启用过滤器成功。'; +$messages['activated'] = '禁用过滤器成功。'; +$messages['moved'] = '移动过滤器成功。'; +$messages['nametoolong'] = '无法创建过滤器集,名称太长。'; +$messages['namereserved'] = '保留名称。'; +$messages['setexist'] = '设置已存在。'; +$messages['nodata'] = '至少选择一个位置!'; +?> diff --git a/plugins/managesieve/localization/zh_TW.inc b/plugins/managesieve/localization/zh_TW.inc new file mode 100644 index 000000000..b21310cea --- /dev/null +++ b/plugins/managesieve/localization/zh_TW.inc @@ -0,0 +1,160 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/managesieve/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Managesieve 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-managesieve/ +*/ +$labels['filters'] = '篩選器'; +$labels['managefilters'] = '設定篩選器'; +$labels['filtername'] = '篩選器名稱'; +$labels['newfilter'] = '建立新篩選器'; +$labels['filteradd'] = '增加篩選器'; +$labels['filterdel'] = '刪除篩選器'; +$labels['moveup'] = '上移'; +$labels['movedown'] = '下移'; +$labels['filterallof'] = '符合所有規則'; +$labels['filteranyof'] = '符合任一條規則'; +$labels['filterany'] = '所有信件'; +$labels['filtercontains'] = '包含'; +$labels['filternotcontains'] = '不包含'; +$labels['filteris'] = '等於'; +$labels['filterisnot'] = '不等於'; +$labels['filterexists'] = '存在'; +$labels['filternotexists'] = '不存在'; +$labels['filtermatches'] = '符合表達式'; +$labels['filternotmatches'] = '不符合表達式'; +$labels['filterregex'] = '符合正規表達式'; +$labels['filternotregex'] = '不符合正規表達式'; +$labels['filterunder'] = '小於'; +$labels['filterover'] = '大於'; +$labels['addrule'] = '新增規則'; +$labels['delrule'] = '刪除規則'; +$labels['messagemoveto'] = '將信件移至'; +$labels['messageredirect'] = '將信件轉寄至'; +$labels['messagecopyto'] = '複製訊息至'; +$labels['messagesendcopy'] = '寄送訊息複本至'; +$labels['messagereply'] = '以下列內容回覆'; +$labels['messagedelete'] = '刪除信件'; +$labels['messagediscard'] = '刪除信件並以下列內容回覆'; +$labels['messagekeep'] = '在收件匣保留郵件'; +$labels['messagesrules'] = '對新收到的信件:'; +$labels['messagesactions'] = '執行下列動作:'; +$labels['add'] = '新增'; +$labels['del'] = '刪除'; +$labels['sender'] = '寄件者'; +$labels['recipient'] = '收件者'; +$labels['vacationdays'] = '多久回覆一次(單位:天):'; +$labels['vacationreason'] = '信件內容(休假原因):'; +$labels['vacationsubject'] = '訊息主旨:'; +$labels['rulestop'] = '停止評估規則'; +$labels['enable'] = '啟用/停用'; +$labels['filterset'] = '篩選器集合'; +$labels['filtersets'] = '篩選器集合'; +$labels['filtersetadd'] = '加入篩選器集合'; +$labels['filtersetdel'] = '刪除目前的篩選器集合'; +$labels['filtersetact'] = '啟用目前的篩選器集合'; +$labels['filtersetdeact'] = '停用目前的篩選器集合'; +$labels['filterdef'] = '篩選器定義'; +$labels['filtersetname'] = '篩選器集合名稱'; +$labels['newfilterset'] = '建立篩選器集合'; +$labels['active'] = '啟用'; +$labels['none'] = '無'; +$labels['fromset'] = '從集合'; +$labels['fromfile'] = '重檔案'; +$labels['filterdisabled'] = '篩選器已停用'; +$labels['countisgreaterthan'] = '計數大於'; +$labels['countisgreaterthanequal'] = '計數大於或等於'; +$labels['countislessthan'] = '計數小於'; +$labels['countislessthanequal'] = '數量小於或等於'; +$labels['countequals'] = '數量等於'; +$labels['valueisgreaterthan'] = '值大於'; +$labels['valueisgreaterthanequal'] = '值大於等於'; +$labels['valueislessthan'] = '值小於'; +$labels['valueislessthanequal'] = '值小於或等於'; +$labels['valueequals'] = '值等於'; +$labels['setflags'] = '設定標幟'; +$labels['addflags'] = '新增標記到訊息'; +$labels['removeflags'] = '移除訊息標記'; +$labels['flagread'] = '讀取'; +$labels['flagdeleted'] = '刪除'; +$labels['flaganswered'] = '已經回覆'; +$labels['flagflagged'] = '已加標記的郵件'; +$labels['flagdraft'] = '草稿'; +$labels['setvariable'] = '設定變數'; +$labels['setvarname'] = '變數名稱:'; +$labels['setvarvalue'] = '變數值:'; +$labels['setvarmodifiers'] = '修改:'; +$labels['varlower'] = '低於'; +$labels['varupper'] = '高於'; +$labels['varlowerfirst'] = '第一個字低於'; +$labels['varupperfirst'] = '第一個字高於'; +$labels['varquotewildcard'] = '跳脫字元'; +$labels['varlength'] = '長度'; +$labels['notify'] = '寄送通知'; +$labels['notifyimportance'] = '重要性:'; +$labels['notifyimportancelow'] = '低'; +$labels['notifyimportancenormal'] = '一般'; +$labels['notifyimportancehigh'] = '高'; +$labels['filtercreate'] = '建立郵件規則'; +$labels['usedata'] = '於規則中使用轉寄時間'; +$labels['nextstep'] = '下一步'; +$labels['...'] = '…'; +$labels['date'] = '日期 (yyyy-mm-dd)'; +$labels['julian'] = '日期 (Julian Day)'; +$labels['time'] = '時間 (hh:mm:ss)'; +$labels['iso8601'] = '日期 (ISO8601)'; +$labels['std11'] = '日期 (RFC2822)'; +$labels['zone'] = '時區'; +$labels['advancedopts'] = '進階選項'; +$labels['body'] = '內文'; +$labels['address'] = '郵件位址'; +$labels['envelope'] = '信封'; +$labels['modifier'] = '修改:'; +$labels['text'] = '文字'; +$labels['undecoded'] = '未解碼(raw)'; +$labels['contenttype'] = '內容類型'; +$labels['modtype'] = '型態:'; +$labels['allparts'] = '全部'; +$labels['domain'] = '網域'; +$labels['localpart'] = '本機連接埠'; +$labels['user'] = '使用者'; +$labels['detail'] = '細節'; +$labels['comparator'] = '比較:'; +$labels['default'] = '預設'; +$labels['octet'] = '嚴謹模式(八位元組)'; +$labels['asciicasemap'] = '不區分大小寫(採用ASCII-Casemap)'; +$labels['asciinumeric'] = '數字類型(ascii-numeric)'; +$messages['filterunknownerror'] = '未知的伺服器錯誤'; +$messages['filterconnerror'] = '無法與伺服器連線'; +$messages['filterdeleted'] = '成功刪除篩選器'; +$messages['filtersaved'] = '成功儲存篩選器。'; +$messages['filterdeleteconfirm'] = '您確定要刪除選擇的郵件規則嗎?'; +$messages['ruledeleteconfirm'] = '您確定要刪除選的規則嗎?'; +$messages['actiondeleteconfirm'] = '您確定要刪除選擇的動作嗎?'; +$messages['forbiddenchars'] = '內容包含禁用字元'; +$messages['cannotbeempty'] = '內容不能為空白'; +$messages['ruleexist'] = '規則名稱重複'; +$messages['setactivated'] = '篩選器集合成功啟用'; +$messages['setdeactivated'] = '篩選器集合成功停用'; +$messages['setdeleted'] = '篩選器集合成功刪除'; +$messages['setdeleteconfirm'] = '你確定要刪除選擇的篩選器集合嗎?'; +$messages['setcreated'] = '篩選器集合成功建立'; +$messages['deactivated'] = '篩選器已啟用'; +$messages['activated'] = '篩選器已停用'; +$messages['moved'] = '篩選器已移動'; +$messages['nametoolong'] = '名稱太長。'; +$messages['namereserved'] = '保留名稱.'; +$messages['setexist'] = '設定已存在'; +$messages['nodata'] = '至少要選擇一個位置'; +?> diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js new file mode 100644 index 000000000..1098b5b9e --- /dev/null +++ b/plugins/managesieve/managesieve.js @@ -0,0 +1,1061 @@ +/** + * (Manage)Sieve Filters plugin + * + * @licstart The following is the entire license notice for the + * JavaScript code in this file. + * + * Copyright (c) 2012-2014, The Roundcube Dev Team + * + * The JavaScript code in this page is free software: you can redistribute it + * and/or modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * @licend The above is the entire license notice + * for the JavaScript code in this file. + */ + +if (window.rcmail) { + rcmail.addEventListener('init', function(evt) { + // add managesieve-create command to message_commands array, + // so it's state will be updated on message selection/unselection + if (rcmail.env.task == 'mail') { + if (rcmail.env.action != 'show') + rcmail.env.message_commands.push('managesieve-create'); + else + rcmail.enable_command('managesieve-create', true); + } + + if (rcmail.env.task == 'mail' || rcmail.env.action.startsWith('plugin.managesieve')) { + // Create layer for form tips + if (!rcmail.env.framed) { + rcmail.env.ms_tip_layer = $('<div id="managesieve-tip" class="popupmenu"></div>'); + rcmail.env.ms_tip_layer.appendTo(document.body); + } + } + + // register commands + rcmail.register_command('plugin.managesieve-save', function() { rcmail.managesieve_save() }); + rcmail.register_command('plugin.managesieve-act', function() { rcmail.managesieve_act() }); + rcmail.register_command('plugin.managesieve-add', function() { rcmail.managesieve_add() }); + rcmail.register_command('plugin.managesieve-del', function() { rcmail.managesieve_del() }); + rcmail.register_command('plugin.managesieve-move', function() { rcmail.managesieve_move() }); + rcmail.register_command('plugin.managesieve-setadd', function() { rcmail.managesieve_setadd() }); + rcmail.register_command('plugin.managesieve-setdel', function() { rcmail.managesieve_setdel() }); + rcmail.register_command('plugin.managesieve-setact', function() { rcmail.managesieve_setact() }); + rcmail.register_command('plugin.managesieve-setget', function() { rcmail.managesieve_setget() }); + + if (rcmail.env.action.startsWith('plugin.managesieve')) { + if (rcmail.gui_objects.sieveform) { + rcmail.enable_command('plugin.managesieve-save', true); + sieve_form_init(); + } + else { + rcmail.enable_command('plugin.managesieve-add', 'plugin.managesieve-setadd', !rcmail.env.sieveconnerror); + } + + var setcnt, set = rcmail.env.currentset; + + if (rcmail.gui_objects.filterslist) { + rcmail.filters_list = new rcube_list_widget(rcmail.gui_objects.filterslist, + {multiselect:false, draggable:true, keyboard:true}); + + rcmail.filters_list + .addEventListener('select', function(e) { rcmail.managesieve_select(e); }) + .addEventListener('dragstart', function(e) { rcmail.managesieve_dragstart(e); }) + .addEventListener('dragend', function(e) { rcmail.managesieve_dragend(e); }) + .addEventListener('initrow', function(row) { + row.obj.onmouseover = function() { rcmail.managesieve_focus_filter(row); }; + row.obj.onmouseout = function() { rcmail.managesieve_unfocus_filter(row); }; + }) + .init(); + } + + if (rcmail.gui_objects.filtersetslist) { + rcmail.filtersets_list = new rcube_list_widget(rcmail.gui_objects.filtersetslist, + {multiselect:false, draggable:false, keyboard:true}); + + rcmail.filtersets_list.init().focus(); + + if (set != null) { + set = rcmail.managesieve_setid(set); + rcmail.filtersets_list.select(set); + } + + // attach select event after initial record was selected + rcmail.filtersets_list.addEventListener('select', function(e) { rcmail.managesieve_setselect(e); }); + + setcnt = rcmail.filtersets_list.rowcount; + rcmail.enable_command('plugin.managesieve-set', true); + rcmail.enable_command('plugin.managesieve-setact', 'plugin.managesieve-setget', setcnt); + rcmail.enable_command('plugin.managesieve-setdel', setcnt > 1); + + // Fix dragging filters over sets list + $('tr', rcmail.gui_objects.filtersetslist).each(function (i, e) { rcmail.managesieve_fixdragend(e); }); + } + } + + if (rcmail.gui_objects.sieveform && rcmail.env.rule_disabled) + $('#disabled').attr('checked', true); + }); +}; + +/*********************************************************/ +/********* Managesieve UI methods *********/ +/*********************************************************/ + +rcube_webmail.prototype.managesieve_add = function() +{ + this.load_managesieveframe(); + this.filters_list.clear_selection(); +}; + +rcube_webmail.prototype.managesieve_del = function() +{ + var id = this.filters_list.get_single_selection(); + if (confirm(this.get_label('managesieve.filterdeleteconfirm'))) { + var lock = this.set_busy(true, 'loading'); + this.http_post('plugin.managesieve-action', + '_act=delete&_fid='+this.filters_list.rows[id].uid, lock); + } +}; + +rcube_webmail.prototype.managesieve_act = function() +{ + var id = this.filters_list.get_single_selection(), + lock = this.set_busy(true, 'loading'); + + this.http_post('plugin.managesieve-action', + '_act=act&_fid='+this.filters_list.rows[id].uid, lock); +}; + +// Filter selection +rcube_webmail.prototype.managesieve_select = function(list) +{ + var id = list.get_single_selection(); + if (id != null) + this.load_managesieveframe(list.rows[id].uid); +}; + +// Set selection +rcube_webmail.prototype.managesieve_setselect = function(list) +{ + this.show_contentframe(false); + this.filters_list.clear(true); + this.enable_command('plugin.managesieve-setdel', list.rowcount > 1); + this.enable_command('plugin.managesieve-setact', 'plugin.managesieve-setget', true); + + var id = list.get_single_selection(); + if (id != null) + this.managesieve_list(this.env.filtersets[id]); +}; + +rcube_webmail.prototype.managesieve_rowid = function(id) +{ + var i, rows = this.filters_list.rows; + + for (i in rows) + if (rows[i] != null && rows[i].uid == id) + return i; +}; + +// Returns set's identifier +rcube_webmail.prototype.managesieve_setid = function(name) +{ + for (var i in this.env.filtersets) + if (this.env.filtersets[i] == name) + return i; +}; + +// Filters listing request +rcube_webmail.prototype.managesieve_list = function(script) +{ + var lock = this.set_busy(true, 'loading'); + + this.http_post('plugin.managesieve-action', '_act=list&_set='+urlencode(script), lock); +}; + +// Script download request +rcube_webmail.prototype.managesieve_setget = function() +{ + var id = this.filtersets_list.get_single_selection(), + script = this.env.filtersets[id]; + + location.href = this.env.comm_path+'&_action=plugin.managesieve-action&_act=setget&_set='+urlencode(script); +}; + +// Set activate/deactivate request +rcube_webmail.prototype.managesieve_setact = function() +{ + var id = this.filtersets_list.get_single_selection(), + lock = this.set_busy(true, 'loading'), + script = this.env.filtersets[id], + action = $('#rcmrow'+id).hasClass('disabled') ? 'setact' : 'deact'; + + this.http_post('plugin.managesieve-action', '_act='+action+'&_set='+urlencode(script), lock); +}; + +// Set delete request +rcube_webmail.prototype.managesieve_setdel = function() +{ + if (!confirm(this.get_label('managesieve.setdeleteconfirm'))) + return false; + + var id = this.filtersets_list.get_single_selection(), + lock = this.set_busy(true, 'loading'), + script = this.env.filtersets[id]; + + this.http_post('plugin.managesieve-action', '_act=setdel&_set='+urlencode(script), lock); +}; + +// Set add request +rcube_webmail.prototype.managesieve_setadd = function() +{ + this.filters_list.clear_selection(); + this.enable_command('plugin.managesieve-act', 'plugin.managesieve-del', false); + + if (this.env.contentframe && window.frames && window.frames[this.env.contentframe]) { + var lock = this.set_busy(true, 'loading'); + target = window.frames[this.env.contentframe]; + target.location.href = this.env.comm_path+'&_action=plugin.managesieve-action&_framed=1&_newset=1&_unlock='+lock; + } +}; + +rcube_webmail.prototype.managesieve_updatelist = function(action, o) +{ + this.set_busy(true); + + switch (action) { + // Delete filter row + case 'del': + var id = o.id, list = this.filters_list; + + list.remove_row(this.managesieve_rowid(o.id)); + list.clear_selection(); + this.show_contentframe(false); + this.enable_command('plugin.managesieve-del', 'plugin.managesieve-act', false); + + // filter identifiers changed, fix the list + $('tr', this.filters_list.list).each(function() { + // remove hidden (deleted) rows + if (this.style.display == 'none') { + $(this).detach(); + return; + } + + var rowid = this.id.substr(6); + + // remove all attached events + $(this).unbind(); + + // update row id + if (rowid > id) { + this.uid = rowid - 1; + $(this).attr('id', 'rcmrow' + this.uid); + } + }); + list.init(); + + break; + + // Update filter row + case 'update': + var i, row = $('#rcmrow'+this.managesieve_rowid(o.id)); + + if (o.name) + $('td', row).text(o.name); + if (o.disabled) + row.addClass('disabled'); + else + row.removeClass('disabled'); + + $('#disabled', $('iframe').contents()).prop('checked', o.disabled); + + break; + + // Add filter row to the list + case 'add': + var list = this.filters_list, + row = $('<tr><td class="name"></td></tr>'); + + $('td', row).text(o.name); + row.attr('id', 'rcmrow'+o.id); + if (o.disabled) + row.addClass('disabled'); + + list.insert_row(row.get(0)); + list.highlight_row(o.id); + + this.enable_command('plugin.managesieve-del', 'plugin.managesieve-act', true); + + break; + + // Filling rules list + case 'list': + var i, tr, td, el, list = this.filters_list; + + if (o.clear) + list.clear(); + + for (i in o.list) { + el = o.list[i]; + tr = document.createElement('TR'); + td = document.createElement('TD'); + + $(td).text(el.name); + td.className = 'name'; + tr.id = 'rcmrow' + el.id; + if (el['class']) + tr.className = el['class']; + tr.appendChild(td); + + list.insert_row(tr); + } + + if (o.set) + list.highlight_row(o.set); + else + this.enable_command('plugin.managesieve-del', 'plugin.managesieve-act', false); + + break; + + // Sactivate/deactivate set + case 'setact': + var id = this.managesieve_setid(o.name), row = $('#rcmrow' + id); + if (o.active) { + if (o.all) + $('tr', this.gui_objects.filtersetslist).addClass('disabled'); + row.removeClass('disabled'); + } + else + row.addClass('disabled'); + + break; + + // Delete set row + case 'setdel': + var id = this.managesieve_setid(o.name); + + this.filtersets_list.remove_row(id); + this.filters_list.clear(); + this.show_contentframe(false); + this.enable_command('plugin.managesieve-setdel', 'plugin.managesieve-setact', 'plugin.managesieve-setget', false); + + delete this.env.filtersets[id]; + + break; + + // Create set row + case 'setadd': + var id = 'S' + new Date().getTime(), + list = this.filtersets_list, + row = $('<tr class="disabled"><td class="name"></td></tr>'); + + $('td', row).text(o.name); + row.attr('id', 'rcmrow'+id); + + this.env.filtersets[id] = o.name; + list.insert_row(row.get(0)); + + // move row into its position on the list + if (o.index != list.rowcount-1) { + row.detach(); + var elem = $('tr:visible', list.list).get(o.index); + row.insertBefore(elem); + } + + list.select(id); + + // Fix dragging filters over sets list + this.managesieve_fixdragend(row); + + break; + } + + this.set_busy(false); +}; + +// load filter frame +rcube_webmail.prototype.load_managesieveframe = function(id) +{ + var has_id = typeof(id) != 'undefined' && id != null; + this.enable_command('plugin.managesieve-act', 'plugin.managesieve-del', has_id); + + if (this.env.contentframe && window.frames && window.frames[this.env.contentframe]) { + target = window.frames[this.env.contentframe]; + var msgid = this.set_busy(true, 'loading'); + target.location.href = this.env.comm_path+'&_action=plugin.managesieve-action&_framed=1' + +(has_id ? '&_fid='+id : '')+'&_unlock='+msgid; + } +}; + +// load filter frame +rcube_webmail.prototype.managesieve_dragstart = function(list) +{ + var id = this.filters_list.get_single_selection(); + + this.drag_active = true; + this.drag_filter = id; +}; + +rcube_webmail.prototype.managesieve_dragend = function(e) +{ + if (this.drag_active) { + if (this.drag_filter_target) { + var lock = this.set_busy(true, 'loading'); + + this.show_contentframe(false); + this.http_post('plugin.managesieve-action', '_act=move&_fid='+this.drag_filter + +'&_to='+this.drag_filter_target, lock); + } + this.drag_active = false; + } +}; + +// Fixes filters dragging over sets list +// @TODO: to be removed after implementing copying filters +rcube_webmail.prototype.managesieve_fixdragend = function(elem) +{ + var p = this; + $(elem).bind('mouseup' + ((bw.iphone || bw.ipad) ? ' touchend' : ''), function(e) { + if (p.drag_active) + p.filters_list.drag_mouse_up(e); + }); +}; + +rcube_webmail.prototype.managesieve_focus_filter = function(row) +{ + var id = row.id.replace(/^rcmrow/, ''); + if (this.drag_active && id != this.drag_filter) { + this.drag_filter_target = id; + $(row.obj).addClass(id < this.drag_filter ? 'filtermoveup' : 'filtermovedown'); + } +}; + +rcube_webmail.prototype.managesieve_unfocus_filter = function(row) +{ + if (this.drag_active) { + $(row.obj).removeClass('filtermoveup filtermovedown'); + this.drag_filter_target = null; + } +}; + +/*********************************************************/ +/********* Filter Form methods *********/ +/*********************************************************/ + +// Form submition +rcube_webmail.prototype.managesieve_save = function() +{ + if (this.env.action == 'plugin.managesieve-vacation') { + var data = $(this.gui_objects.sieveform).serialize(); + this.http_post('plugin.managesieve-vacation', data, this.display_message(this.get_label('managesieve.vacation.saving'), 'loading')); + return; + } + + if (parent.rcmail && parent.rcmail.filters_list && this.gui_objects.sieveform.name != 'filtersetform') { + var id = parent.rcmail.filters_list.get_single_selection(); + if (id != null) + this.gui_objects.sieveform.elements['_fid'].value = parent.rcmail.filters_list.rows[id].uid; + } + this.gui_objects.sieveform.submit(); +}; + +// Operations on filters form +rcube_webmail.prototype.managesieve_ruleadd = function(id) +{ + this.http_post('plugin.managesieve-action', '_act=ruleadd&_rid='+id); +}; + +rcube_webmail.prototype.managesieve_rulefill = function(content, id, after) +{ + if (content != '') { + // create new element + var div = document.getElementById('rules'), + row = document.createElement('div'); + + this.managesieve_insertrow(div, row, after); + // fill row after inserting (for IE) + row.setAttribute('id', 'rulerow'+id); + row.className = 'rulerow'; + row.innerHTML = content; + + // initialize smart list inputs + $('textarea[data-type="list"]', row).each(function() { + smart_field_init(this); + }); + + this.managesieve_formbuttons(div); + } +}; + +rcube_webmail.prototype.managesieve_ruledel = function(id) +{ + if ($('#ruledel'+id).hasClass('disabled')) + return; + + if (confirm(this.get_label('managesieve.ruledeleteconfirm'))) { + var row = document.getElementById('rulerow'+id); + row.parentNode.removeChild(row); + this.managesieve_formbuttons(document.getElementById('rules')); + } +}; + +rcube_webmail.prototype.managesieve_actionadd = function(id) +{ + this.http_post('plugin.managesieve-action', '_act=actionadd&_aid='+id); +}; + +rcube_webmail.prototype.managesieve_actionfill = function(content, id, after) +{ + if (content != '') { + var div = document.getElementById('actions'), + row = document.createElement('div'); + + this.managesieve_insertrow(div, row, after); + // fill row after inserting (for IE) + row.className = 'actionrow'; + row.setAttribute('id', 'actionrow'+id); + row.innerHTML = content; + + // initialize smart list inputs + $('textarea[data-type="list"]', row).each(function() { + smart_field_init(this); + }); + + this.managesieve_formbuttons(div); + } +}; + +rcube_webmail.prototype.managesieve_actiondel = function(id) +{ + if ($('#actiondel'+id).hasClass('disabled')) + return; + + if (confirm(this.get_label('managesieve.actiondeleteconfirm'))) { + var row = document.getElementById('actionrow'+id); + row.parentNode.removeChild(row); + this.managesieve_formbuttons(document.getElementById('actions')); + } +}; + +// insert rule/action row in specified place on the list +rcube_webmail.prototype.managesieve_insertrow = function(div, row, after) +{ + for (var i=0; i<div.childNodes.length; i++) { + if (div.childNodes[i].id == (div.id == 'rules' ? 'rulerow' : 'actionrow') + after) + break; + } + + if (div.childNodes[i+1]) + div.insertBefore(row, div.childNodes[i+1]); + else + div.appendChild(row); +}; + +// update Delete buttons status +rcube_webmail.prototype.managesieve_formbuttons = function(div) +{ + var i, button, buttons = []; + + // count and get buttons + for (i=0; i<div.childNodes.length; i++) { + if (div.id == 'rules' && div.childNodes[i].id) { + if (/rulerow/.test(div.childNodes[i].id)) + buttons.push('ruledel' + div.childNodes[i].id.replace(/rulerow/, '')); + } + else if (div.childNodes[i].id) { + if (/actionrow/.test(div.childNodes[i].id)) + buttons.push( 'actiondel' + div.childNodes[i].id.replace(/actionrow/, '')); + } + } + + for (i=0; i<buttons.length; i++) { + button = document.getElementById(buttons[i]); + if (i>0 || buttons.length>1) { + $(button).removeClass('disabled'); + } + else { + $(button).addClass('disabled'); + } + } +}; + +// update vacation addresses field with user identities +rcube_webmail.prototype.managesieve_vacation_addresses = function(id) +{ + var lock = this.set_busy(true, 'loading'); + this.http_post('plugin.managesieve-action', {_act: 'addresses', _aid: id}, lock); +}; + +// update vacation addresses field with user identities +rcube_webmail.prototype.managesieve_vacation_addresses_update = function(id, addresses) +{ + var field = $('#vacation_addresses,#action_addresses' + (id || '')); + smart_field_reset(field.get(0), addresses); +}; + +function rule_header_select(id) +{ + var obj = document.getElementById('header' + id), + size = document.getElementById('rule_size' + id), + op = document.getElementById('rule_op' + id), + header = document.getElementById('custom_header' + id + '_list'), + mod = document.getElementById('rule_mod' + id), + trans = document.getElementById('rule_trans' + id), + comp = document.getElementById('rule_comp' + id), + datepart = document.getElementById('rule_date_part' + id), + dateheader = document.getElementById('rule_date_header_div' + id), + h = obj.value; + + if (h == 'size') { + size.style.display = 'inline'; + $.each([op, header, mod, trans, comp], function() { this.style.display = 'none'; }); + } + else { + header.style.display = h != '...' ? 'none' : 'inline-block'; + size.style.display = 'none'; + op.style.display = 'inline'; + comp.style.display = ''; + mod.style.display = h == 'body' || h == 'currentdate' || h == 'date' ? 'none' : 'block'; + trans.style.display = h == 'body' ? 'block' : 'none'; + } + + if (datepart) + datepart.style.display = h == 'currentdate' || h == 'date' ? 'inline' : 'none'; + if (dateheader) + dateheader.style.display = h == 'date' ? '' : 'none'; + + rule_op_select(op, id, h); + rule_mod_select(id, h); + obj.style.width = h == '...' ? '40px' : ''; +}; + +function rule_op_select(obj, id, header) +{ + var target = document.getElementById('rule_target' + id + '_list'); + + if (!header) + header = document.getElementById('header' + id).value; + + target.style.display = obj.value == 'exists' || obj.value == 'notexists' || header == 'size' ? 'none' : 'inline-block'; +}; + +function rule_trans_select(id) +{ + var obj = document.getElementById('rule_trans_op' + id), + target = document.getElementById('rule_trans_type' + id); + + target.style.display = obj.value != 'content' ? 'none' : 'inline'; +}; + +function rule_mod_select(id, header) +{ + var obj = document.getElementById('rule_mod_op' + id), + target = document.getElementById('rule_mod_type' + id), + index = document.getElementById('rule_index_div' + id); + + if (!header) + header = document.getElementById('header' + id).value; + + target.style.display = obj.value != 'address' && obj.value != 'envelope' ? 'none' : 'inline'; + + if (index) + index.style.display = header != 'body' && header != 'currentdate' && header != 'size' && obj.value != 'envelope' ? '' : 'none'; +}; + +function rule_join_radio(value) +{ + $('#rules').css('display', value == 'any' ? 'none' : 'block'); +}; + +function rule_adv_switch(id, elem) +{ + var elem = $(elem), enabled = elem.hasClass('hide'), adv = $('#rule_advanced'+id); + + if (enabled) { + adv.hide(); + elem.removeClass('hide').addClass('show'); + } + else { + adv.show(); + elem.removeClass('show').addClass('hide'); + } +} + +function action_type_select(id) +{ + var obj = document.getElementById('action_type' + id), + v = obj.value, enabled = {}, + elems = { + mailbox: document.getElementById('action_mailbox' + id), + target: document.getElementById('redirect_target' + id), + target_area: document.getElementById('action_target_area' + id), + flags: document.getElementById('action_flags' + id), + vacation: document.getElementById('action_vacation' + id), + set: document.getElementById('action_set' + id), + notify: document.getElementById('action_notify' + id) + }; + + if (v == 'fileinto' || v == 'fileinto_copy') { + enabled.mailbox = 1; + } + else if (v == 'redirect' || v == 'redirect_copy') { + enabled.target = 1; + } + else if (v.match(/^reject|ereject$/)) { + enabled.target_area = 1; + } + else if (v.match(/^(add|set|remove)flag$/)) { + enabled.flags = 1; + } + else if (v == 'vacation') { + enabled.vacation = 1; + } + else if (v == 'set') { + enabled.set = 1; + } + else if (v == 'notify') { + enabled.notify = 1; + } + + for (var x in elems) { + elems[x].style.display = !enabled[x] ? 'none' : 'inline'; + } +}; + +function vacation_action_select() +{ + var selected = $('#vacation_action').val(); + + $('#action_target_span')[selected == 'discard' || selected == 'keep' ? 'hide' : 'show'](); +}; + +// Inititalizes smart list input +function smart_field_init(field) +{ + var id = field.id + '_list', + area = $('<span class="listarea"></span>'), + list = field.value ? field.value.split("\n") : ['']; + + if ($('#'+id).length) + return; + + // add input rows + $.each(list, function(i, v) { + area.append(smart_field_row(v, field.name, i, $(field).data('size'))); + }); + + area.attr('id', id); + field = $(field); + + if (field.attr('disabled')) + area.hide(); + // disable the original field anyway, we don't want it in POST + else + field.prop('disabled', true); + + field.after(area); + + if (field.hasClass('error')) { + area.addClass('error'); + rcmail.managesieve_tip_register([[id, field.data('tip')]]); + } +}; + +function smart_field_row(value, name, idx, size) +{ + // build row element content + var input, content = '<span class="listelement">' + + '<span class="reset"></span><input type="text"></span>', + elem = $(content), + attrs = {value: value, name: name + '[]'}; + + if (size) + attrs.size = size; + + input = $('input', elem).attr(attrs).keydown(function(e) { + var input = $(this); + + // element creation event (on Enter) + if (e.which == 13) { + var name = input.attr('name').replace(/\[\]$/, ''), + dt = (new Date()).getTime(), + elem = smart_field_row('', name, dt, size); + + input.parent().after(elem); + $('input', elem).focus(); + } + // backspace or delete: remove input, focus previous one + else if ((e.which == 8 || e.which == 46) && input.val() == '') { + + var parent = input.parent(), siblings = parent.parent().children(); + + if (siblings.length > 1) { + if (parent.prev().length) + parent.prev().children('input').focus(); + else + parent.next().children('input').focus(); + + parent.remove(); + return false; + } + } + }); + + // element deletion event + $('span[class="reset"]', elem).click(function() { + var span = $(this.parentNode); + + if (span.parent().children().length > 1) + span.remove(); + else + $('input', span).val('').focus(); + }); + + return elem; +} + +// Reset and fill the smart list input with new data +function smart_field_reset(field, data) +{ + var id = field.id + '_list', + list = data.length ? data : ['']; + area = $('#' + id); + + area.empty(); + + // add input rows + $.each(list, function(i, v) { + area.append(smart_field_row(v, field.name, i, $(field).data('size'))); + }); +} + +// Register onmouse(leave/enter) events for tips on specified form element +rcube_webmail.prototype.managesieve_tip_register = function(tips) +{ + var n, framed = parent.rcmail, + tip = framed ? parent.rcmail.env.ms_tip_layer : rcmail.env.ms_tip_layer; + + for (var n in tips) { + $('#'+tips[n][0]) + .data('tip', tips[n][1]) + .bind('mouseenter', function(e) { + var elem = $(this), + offset = elem.offset(), + left = offset.left, + top = offset.top - 12, + minwidth = elem.width(); + + if (framed) { + offset = $((rcmail.env.task == 'mail' ? '#sievefilterform > iframe' : '#filter-box'), parent.document).offset(); + top += offset.top; + left += offset.left; + } + + tip.html(elem.data('tip')); + top -= tip.height(); + + tip.css({left: left, top: top, minWidth: (minwidth-2) + 'px'}).show(); + }) + .bind('mouseleave', function(e) { tip.hide(); }); + } +}; + +// format time string +function sieve_formattime(hour, minutes) +{ + var i, c, h, time = '', format = rcmail.env.time_format || 'H:i'; + + for (i=0; i<format.length; i++) { + c = format.charAt(i); + switch (c) { + case 'a': time += hour > 12 ? 'am' : 'pm'; break; + case 'A': time += hour > 12 ? 'AM' : 'PM'; break; + case 'g': + case 'h': + h = hour == 0 ? 12 : hour > 12 ? hour - 12 : hour; + time += (c == 'h' && hour < 10 ? '0' : '') + hour; + break; + case 'G': time += hour; break; + case 'H': time += (hour < 10 ? '0' : '') + hour; break; + case 'i': time += (minutes < 10 ? '0' : '') + minutes; break; + case 's': time += '00'; + default: time += c; + } + } + + return time; +} + +function sieve_form_init() +{ + // small resize for header element + $('select[name="_header[]"]', rcmail.gui_objects.sieveform).each(function() { + if (this.value == '...') this.style.width = '40px'; + }); + + // resize dialog window + if (rcmail.env.action == 'plugin.managesieve' && rcmail.env.task == 'mail') { + parent.rcmail.managesieve_dialog_resize(rcmail.gui_objects.sieveform); + } + + $('input[type="text"]:first', rcmail.gui_objects.sieveform).focus(); + + // initialize smart list inputs + $('textarea[data-type="list"]', rcmail.gui_objects.sieveform).each(function() { + smart_field_init(this); + }); + + // enable date pickers on date fields + if ($.datepicker && rcmail.env.date_format) { + $.datepicker.setDefaults({ + dateFormat: rcmail.env.date_format, + changeMonth: true, + showOtherMonths: true, + selectOtherMonths: true, + onSelect: function(dateText) { $(this).focus().val(dateText); } + }); + $('input.datepicker').datepicker(); + } + + // configure drop-down menu on time input fields based on jquery UI autocomplete + $('#vacation_timefrom, #vacation_timeto') + .attr('autocomplete', "off") + .autocomplete({ + delay: 100, + minLength: 1, + source: function(p, callback) { + var h, result = []; + for (h = 0; h < 24; h++) + result.push(sieve_formattime(h, 0)); + result.push(sieve_formattime(23, 59)); + + return callback(result); + }, + open: function(event, ui) { + // scroll to current time + var $this = $(this), val = $this.val(), + widget = $this.autocomplete('widget').css('width', '10em'), + menu = $this.data('ui-autocomplete').menu; + + if (val && val.length) + widget.children().each(function() { + var li = $(this); + if (li.text().indexOf(val) == 0) + menu._scrollIntoView(li); + }); + }, + select: function(event, ui) { + $(this).val(ui.item.value); + return false; + } + }) + .click(function() { // show drop-down upon clicks + $(this).autocomplete('search', $(this).val() || ' '); + }) +} + + +/*********************************************************/ +/********* Mail UI methods *********/ +/*********************************************************/ + +rcube_webmail.prototype.managesieve_create = function(force) +{ + if (!force && this.env.action != 'show') { + var uid = this.message_list.get_single_selection(), + lock = this.set_busy(true, 'loading'); + + this.http_post('plugin.managesieve-action', {_uid: uid}, lock); + return; + } + + if (!this.env.sieve_headers || !this.env.sieve_headers.length) + return; + + var i, html, buttons = {}, dialog = $("#sievefilterform"); + + // create dialog window + if (!dialog.length) { + dialog = $('<div id="sievefilterform"></div>'); + $('body').append(dialog); + } + + // build dialog window content + html = '<fieldset><legend>'+this.gettext('managesieve.usedata')+'</legend><ul>'; + for (i in this.env.sieve_headers) + html += '<li><input type="checkbox" name="headers[]" id="sievehdr'+i+'" value="'+i+'" checked="checked" />' + +'<label for="sievehdr'+i+'">'+this.env.sieve_headers[i][0]+':</label> '+this.env.sieve_headers[i][1]+'</li>'; + html += '</ul></fieldset>'; + + dialog.html(html); + + // [Next Step] button action + buttons[this.gettext('managesieve.nextstep')] = function () { + // check if there's at least one checkbox checked + var hdrs = $('input[name="headers[]"]:checked', dialog); + if (!hdrs.length) { + alert(rcmail.gettext('managesieve.nodata')); + return; + } + + // build frame URL + var url = rcmail.get_task_url('mail'); + url = rcmail.add_url(url, '_action', 'plugin.managesieve'); + url = rcmail.add_url(url, '_framed', 1); + + hdrs.map(function() { + var val = rcmail.env.sieve_headers[this.value]; + url = rcmail.add_url(url, 'r['+this.value+']', val[0]+':'+val[1]); + }); + + // load form in the iframe + var frame = $('<iframe>').attr({src: url, frameborder: 0}) + dialog.empty().append(frame).dialog('widget').resize(); + + // Change [Next Step] button with [Save] button + buttons = {}; + buttons[rcmail.gettext('save')] = function() { + var win = $('iframe', dialog).get(0).contentWindow; + win.rcmail.managesieve_save(); + }; + dialog.dialog('option', 'buttons', buttons); + }; + + // show dialog window + dialog.dialog({ + modal: false, + resizable: true, + closeOnEscape: !bw.ie7, // disable for performance reasons + title: this.gettext('managesieve.newfilter'), + close: function() { rcmail.managesieve_dialog_close(); }, + buttons: buttons, + minWidth: 600, + minHeight: 300, + height: 250 + }).show(); + + this.env.managesieve_dialog = dialog; +} + +rcube_webmail.prototype.managesieve_dialog_close = function() +{ + var dialog = this.env.managesieve_dialog; + + // BUG(?): if we don't remove the iframe first, it will be reloaded + dialog.html(''); + dialog.dialog('destroy').hide(); +} + +rcube_webmail.prototype.managesieve_dialog_resize = function(o) +{ + var dialog = this.env.managesieve_dialog, + win = $(window), form = $(o); + width = $('fieldset:first', o).width(), // fieldset width is more appropriate here + height = form.height(), + w = win.width(), h = win.height(); + + dialog.dialog('option', { height: Math.min(h-20, height+120), width: Math.min(w-20, width+65) }) + .dialog('option', 'position', ['center', 'center']); // works in a separate call only (!?) +} diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php new file mode 100644 index 000000000..f41394e31 --- /dev/null +++ b/plugins/managesieve/managesieve.php @@ -0,0 +1,274 @@ +<?php + +/** + * Managesieve (Sieve Filters) + * + * Plugin that adds a possibility to manage Sieve filters in Thunderbird's style. + * It's clickable interface which operates on text scripts and communicates + * with server using managesieve protocol. Adds Filters tab in Settings. + * + * @version @package_version@ + * @author Aleksander Machniak <alec@alec.pl> + * + * Configuration (see config.inc.php.dist) + * + * Copyright (C) 2008-2013, The Roundcube Dev Team + * Copyright (C) 2011-2013, Kolab Systems AG + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class managesieve extends rcube_plugin +{ + public $task = 'mail|settings'; + private $rc; + private $engine; + + function init() + { + $this->rc = rcube::get_instance(); + + // register actions + $this->register_action('plugin.managesieve', array($this, 'managesieve_actions')); + $this->register_action('plugin.managesieve-action', array($this, 'managesieve_actions')); + $this->register_action('plugin.managesieve-vacation', array($this, 'managesieve_actions')); + $this->register_action('plugin.managesieve-save', array($this, 'managesieve_save')); + + if ($this->rc->task == 'settings') { + $this->add_hook('settings_actions', array($this, 'settings_actions')); + $this->init_ui(); + } + else if ($this->rc->task == 'mail') { + // register message hook + if ($this->rc->action == 'show') { + $this->add_hook('message_headers_output', array($this, 'mail_headers')); + } + + // inject Create Filter popup stuff + if (empty($this->rc->action) || $this->rc->action == 'show' + || strpos($this->rc->action, 'plugin.managesieve') === 0 + ) { + $this->mail_task_handler(); + } + } + } + + /** + * Initializes plugin's UI (localization, js script) + */ + function init_ui() + { + if ($this->ui_initialized) { + return; + } + + // load localization + $this->add_texts('localization/'); + + $sieve_action = strpos($this->rc->action, 'plugin.managesieve') === 0; + + if ($this->rc->task == 'mail' || $sieve_action) { + $this->include_script('managesieve.js'); + } + + // include styles + $skin_path = $this->local_skin_path(); + if ($this->rc->task == 'settings' || $sieve_action) { + $this->include_stylesheet("$skin_path/managesieve.css"); + } + else { + $this->include_stylesheet("$skin_path/managesieve_mail.css"); + } + + $this->ui_initialized = true; + } + + /** + * Adds Filters section in Settings + */ + function settings_actions($args) + { + $this->load_config(); + + $vacation_mode = (int) $this->rc->config->get('managesieve_vacation'); + + // register Filters action + if ($vacation_mode != 2) { + $args['actions'][] = array( + 'action' => 'plugin.managesieve', + 'class' => 'filter', + 'label' => 'filters', + 'domain' => 'managesieve', + 'title' => 'filterstitle', + ); + } + + // register Vacation action + if ($vacation_mode > 0) { + $args['actions'][] = array( + 'action' => 'plugin.managesieve-vacation', + 'class' => 'vacation', + 'label' => 'vacation', + 'domain' => 'managesieve', + 'title' => 'vacationtitle', + ); + } + + return $args; + } + + /** + * Add UI elements to the 'mailbox view' and 'show message' UI. + */ + function mail_task_handler() + { + // make sure we're not in ajax request + if ($this->rc->output->type != 'html') { + return; + } + + // use jQuery for popup window + $this->require_plugin('jqueryui'); + + // include js script and localization + $this->init_ui(); + + // add 'Create filter' item to message menu + $this->api->add_content(html::tag('li', null, + $this->api->output->button(array( + 'command' => 'managesieve-create', + 'label' => 'managesieve.filtercreate', + 'type' => 'link', + 'classact' => 'icon filterlink active', + 'class' => 'icon filterlink', + 'innerclass' => 'icon filterlink', + ))), 'messagemenu'); + + // register some labels/messages + $this->rc->output->add_label('managesieve.newfilter', 'managesieve.usedata', + 'managesieve.nodata', 'managesieve.nextstep', 'save'); + + $this->rc->session->remove('managesieve_current'); + } + + /** + * Get message headers for popup window + */ + function mail_headers($args) + { + // this hook can be executed many times + if ($this->mail_headers_done) { + return $args; + } + + $this->mail_headers_done = true; + + $headers = $this->parse_headers($args['headers']); + + if ($this->rc->action == 'preview') + $this->rc->output->command('parent.set_env', array('sieve_headers' => $headers)); + else + $this->rc->output->set_env('sieve_headers', $headers); + + return $args; + } + + /** + * Plugin action handler + */ + function managesieve_actions() + { + // handle fetching email headers for the new filter form + if ($uid = rcube_utils::get_input_value('_uid', rcube_utils::INPUT_POST)) { + $uids = rcmail::get_uids(); + $mailbox = key($uids); + $message = new rcube_message($uids[$mailbox][0], $mailbox); + $headers = $this->parse_headers($message->headers); + + $this->rc->output->set_env('sieve_headers', $headers); + $this->rc->output->command('managesieve_create', true); + $this->rc->output->send(); + } + + // handle other actions + $engine_type = $this->rc->action == 'plugin.managesieve-vacation' ? 'vacation' : ''; + $engine = $this->get_engine($engine_type); + + $this->init_ui(); + $engine->actions(); + } + + /** + * Forms save action handler + */ + function managesieve_save() + { + // load localization + $this->add_texts('localization/', array('filters','managefilters')); + + // include main js script + if ($this->api->output->type == 'html') { + $this->include_script('managesieve.js'); + } + + $engine = $this->get_engine(); + $engine->save(); + } + + /** + * Initializes engine object + */ + public function get_engine($type = null) + { + if (!$this->engine) { + $this->load_config(); + + // Add include path for internal classes + $include_path = $this->home . '/lib' . PATH_SEPARATOR; + $include_path .= ini_get('include_path'); + set_include_path($include_path); + + $class_name = 'rcube_sieve_' . ($type ? $type : 'engine'); + $this->engine = new $class_name($this); + } + + return $this->engine; + } + + /** + * Extract mail headers for new filter form + */ + private function parse_headers($headers) + { + $result = array(); + + if ($headers->subject) + $result[] = array('Subject', rcube_mime::decode_header($headers->subject)); + + // @TODO: List-Id, others? + foreach (array('From', 'To') as $h) { + $hl = strtolower($h); + if ($headers->$hl) { + $list = rcube_mime::decode_address_list($headers->$hl); + foreach ($list as $item) { + if ($item['mailto']) { + $result[] = array($h, $item['mailto']); + } + } + } + } + + return $result; + } +} diff --git a/plugins/managesieve/skins/classic/images/add.png b/plugins/managesieve/skins/classic/images/add.png Binary files differnew file mode 100644 index 000000000..97a6422fb --- /dev/null +++ b/plugins/managesieve/skins/classic/images/add.png diff --git a/plugins/managesieve/skins/classic/images/del.png b/plugins/managesieve/skins/classic/images/del.png Binary files differnew file mode 100644 index 000000000..518905bc4 --- /dev/null +++ b/plugins/managesieve/skins/classic/images/del.png diff --git a/plugins/managesieve/skins/classic/images/down_small.gif b/plugins/managesieve/skins/classic/images/down_small.gif Binary files differnew file mode 100644 index 000000000..f865893f4 --- /dev/null +++ b/plugins/managesieve/skins/classic/images/down_small.gif diff --git a/plugins/managesieve/skins/classic/images/erase.png b/plugins/managesieve/skins/classic/images/erase.png Binary files differnew file mode 100644 index 000000000..ddd3a9782 --- /dev/null +++ b/plugins/managesieve/skins/classic/images/erase.png diff --git a/plugins/managesieve/skins/classic/images/filter.png b/plugins/managesieve/skins/classic/images/filter.png Binary files differnew file mode 100644 index 000000000..a79ba1083 --- /dev/null +++ b/plugins/managesieve/skins/classic/images/filter.png diff --git a/plugins/managesieve/skins/classic/images/up_small.gif b/plugins/managesieve/skins/classic/images/up_small.gif Binary files differnew file mode 100644 index 000000000..40deb891f --- /dev/null +++ b/plugins/managesieve/skins/classic/images/up_small.gif diff --git a/plugins/managesieve/skins/classic/managesieve.css b/plugins/managesieve/skins/classic/managesieve.css new file mode 100644 index 000000000..5e7ea1a1c --- /dev/null +++ b/plugins/managesieve/skins/classic/managesieve.css @@ -0,0 +1,440 @@ +#filtersetslistbox +{ + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 195px; + border: 1px solid #999999; + background-color: #F9F9F9; + overflow: hidden; + /* css hack for IE */ + height: expression(parseInt(this.parentNode.offsetHeight)+'px'); +} + +#filtersscreen +{ + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 205px; + /* css hack for IE */ + height: expression(parseInt(this.parentNode.offsetHeight)+'px'); +} + +#filterslistbox +{ + position: absolute; + left: 0; + top: 0; + bottom: 0; + border: 1px solid #999999; + overflow: auto; + /* css hack for IE */ + height: expression(parseInt(this.parentNode.offsetHeight)+'px'); +} + +#filterslist, +#filtersetslist +{ + width: 100%; + table-layout: fixed; +} + +#filterslist tbody td, +#filtersetslist tbody td +{ + cursor: default; + text-overflow: ellipsis; + -o-text-overflow: ellipsis; +} + +#filterslist tbody tr.disabled td, +#filtersetslist tbody tr.disabled td +{ + color: #999999; +} + +#filtersetslist tbody td +{ + font-weight: bold; +} +/* +#filtersetslist tr.selected +{ + background-color: #929292; + border-bottom: 1px solid #898989; + color: #FFF; + font-weight: bold; +} +*/ + +#filterslist tbody tr.filtermoveup td +{ + border-top: 2px dotted #555; + padding-top: 0px; +} + +#filterslist tbody tr.filtermovedown td +{ + border-bottom: 2px dotted #555; + padding-bottom: 1px; +} + +#filter-box +{ + position: absolute; + top: 0; + right: 0; + bottom: 0; + border: 1px solid #999999; + overflow: hidden; + /* css hack for IE */ + width: expression((parseInt(this.parentNode.offsetWidth)-20-parseInt(document.getElementById('filterslistbox').offsetWidth))+'px'); + height: expression(parseInt(this.parentNode.offsetHeight)+'px'); +} + +#filter-frame +{ + border: none; +} + +body.iframe +{ + min-width: 620px; + width: expression(Math.max(620, document.documentElement.clientWidth)+'px'); + background-color: #F2F2F2; +} + +#filter-form +{ + min-width: 550px; + width: expression(Math.max(550, document.documentElement.clientWidth)+'px'); + white-space: nowrap; + padding: 20px 10px 10px 10px; +} + +#filter-form legend, #filter-form label +{ + color: #666666; +} + +#rules, #actions +{ + margin-top: 5px; + padding: 0; + border-collapse: collapse; +} + +div.rulerow, div.actionrow +{ + width: auto; + padding: 2px; + white-space: nowrap; + border: 1px solid #F2F2F2; +} + +div.rulerow:hover, div.actionrow:hover +{ + padding: 2px; + white-space: nowrap; + background: #F9F9F9; + border: 1px solid silver; +} + +div.rulerow table, div.actionrow table +{ + padding: 0px; + min-width: 600px; + width: expression(Math.max(600, document.documentElement.clientWidth)+'px'); +} + +td +{ + vertical-align: top; +} + +td.advbutton +{ + width: 1%; +} + +td.advbutton a +{ + display: block; + padding-top: 14px; + height: 6px; + width: 12px; + text-decoration: none; +} + +td.advbutton a.show +{ + background: url(images/down_small.gif) center no-repeat; +} + +td.advbutton a.hide +{ + background: url(images/up_small.gif) center no-repeat; +} + +td.rowbuttons +{ + text-align: right; + white-space: nowrap; + width: 1%; +} + +td.rowactions +{ + white-space: nowrap; + width: 1%; + padding-top: 2px; +} + +td.rowtargets +{ + white-space: nowrap; + width: 98%; + padding-left: 3px; + padding-top: 2px; +} + +td.rowtargets > div +{ + vertical-align: top; + margin-top: 2px; +} + +td.rowtargets div.adv +{ + padding-top: 3px; +} + +td.rowtargets div.adv span.label +{ + display: inline-block; + padding-right: 10px; + min-width: 65px; +} + +td.rowtargets div a +{ + margin-left: 10px; +} + +html.mozilla #filter-form select +{ + padding-top: 3px; + padding-bottom: 3px; +} + +input.disabled, input.disabled:hover +{ + color: #999999; +} + +input.error, textarea.error +{ + background-color: #FFFF88; +} + +input.box, +input.radio +{ + border: 0; + margin-top: 0; +} + +select.operator_selector +{ + width: 200px; + vertical-align: top; +} + +td.rowtargets span, +span.label +{ + color: #666666; + font-size: 10px; + white-space: nowrap; +} + +td.rowtargets label +{ + color: black; +} + +#footer +{ + padding-top: 5px; + width: 100%; +} + +#footer .footerleft +{ + padding-left: 2px; + white-space: nowrap; + float: left; +} + +#footer .footerright +{ + padding-right: 2px; + white-space: nowrap; + text-align: right; + float: right; +} + +.itemlist +{ + line-height: 25px; +} + +.itemlist input +{ + vertical-align: middle; +} + +span.sieve.error +{ + color: red; +} + +a.button.add +{ + background: url(images/add.png) no-repeat; + width: 30px; + height: 20px; + margin-right: 4px; + display: inline-block; +} + +a.button.del +{ + background: url(images/del.png) no-repeat; + width: 30px; + height: 20px; + display: inline-block; +} + +a.button.disabled +{ + opacity: 0.35; + filter: alpha(opacity=35); + cursor: default; +} + +#filter-form select, +#filter-form input, +#filter-form textarea +{ + font-size: 11px; + vertical-align: middle; +} + +/* smart multi-row input field */ +.listarea +{ + border: 1px solid #666; + margin: 0; + padding: 1px; + display: inline-block; + max-height: 67px; + overflow-y: auto; + vertical-align: middle; +} + +td.rowtargets > span.listarea +{ + vertical-align: top; + margin-top: 2px; +} + +.listelement +{ + display: block; + white-space: nowrap; + background-color: #fff; + border-top: 1px solid #e2e2e2; + height: 16px; + padding: 0; + margin: 0; + overflow: hidden; + line-height: 16px; +} + +.listarea.error .listelement +{ + background-color: #FFFFC4; +} + +.listelement:first-child +{ + border-top: none; +} + +#filter-form .listelement input +{ + border: none; + border-radius: 0; + box-shadow: none; + outline: none; + vertical-align: top; + height: 16px; + padding-top: 0; + padding-bottom: 0; + line-height: 16px; + background-color: transparent; +} + +.listelement input:focus +{ + box-shadow: none; +} + +.listelement .reset +{ + display: inline-block; + width: 16px; + height: 16px; + background: url(images/erase.png) -1px 0 no-repeat #eee; + cursor: pointer; +} + + +/* fixes for popup window */ + +body.iframe.mail +{ + margin: 0; + padding: 0; +} + +body.iframe.mail #filter-form +{ + padding: 10px 5px 5px 5px; +} + +#vacationform .listarea { + max-height: 75px; +} + +#vacationform .listelement, +#vacationform .listelement .reset { + height: 18px; +} + +#vacationform .listelement .reset { + background-position: -1px 1px; +} + +#vacationform .listelement input { + vertical-align: top; + border: 0; +} + +#vacationform input.button { + margin-left: 10px; +} diff --git a/plugins/managesieve/skins/classic/managesieve_mail.css b/plugins/managesieve/skins/classic/managesieve_mail.css new file mode 100644 index 000000000..1ade4f790 --- /dev/null +++ b/plugins/managesieve/skins/classic/managesieve_mail.css @@ -0,0 +1,62 @@ +#messagemenu li a.filterlink { + background-image: url(images/filter.png); + background-position: 7px 1px; +} + +#sievefilterform { + top: 0; + bottom: 0; + left: 0; + right: 0; + background-color: #F2F2F2; + border: 1px solid #999999; + padding: 0; + margin: 5px; +} + +#sievefilterform iframe { + top: 0; + bottom: 0; + left: 0; + right: 0; + width: 100%; + min-height: 100%; /* Chrome 14 bug */ + background-color: #F2F2F2; + border: 0; + padding: 0; + margin: 0; +} + +#sievefilterform ul { + list-style: none; + padding: 0; + margin: 0; + margin-top: 5px; +} + +#sievefilterform fieldset { + margin: 5px; +} + +#sievefilterform ul li { + margin-bottom: 5px; + white-space: nowrap; +} + +#sievefilterform ul li input { + margin-right: 5px; +} + +#sievefilterform label { + font-weight: bold; +} + +#managesieve-tip +{ + z-index: 100000; +} + +span.sieve.error +{ + color: red; +} diff --git a/plugins/managesieve/skins/classic/templates/filteredit.html b/plugins/managesieve/skins/classic/templates/filteredit.html new file mode 100644 index 000000000..8cef81682 --- /dev/null +++ b/plugins/managesieve/skins/classic/templates/filteredit.html @@ -0,0 +1,32 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +</head> +<body class="iframe<roundcube:exp expression="env:task != 'mail' ? '' : ' mail'" />"> + +<roundcube:if condition="env:task != 'mail'" /> +<div id="filter-title" class="boxtitle"><roundcube:label name="managesieve.filterdef" /></div> +<roundcube:endif /> + +<div id="filter-form" class="boxcontent"> +<roundcube:object name="filterform" /> + +<roundcube:if condition="env:task != 'mail'" /> +<div id="footer"> +<div class="footerleft"> +<roundcube:button command="plugin.managesieve-save" type="input" class="button mainaction" label="save" /> +</div> +<div class="footerright"> +<label for="disabled"><roundcube:label name="managesieve.filterdisabled" /></label> +<input type="checkbox" id="disabled" name="_disabled" value="1" /> +</div> +</div> +<roundcube:endif /> + +</form> +</div> + +</body> +</html> diff --git a/plugins/managesieve/skins/classic/templates/managesieve.html b/plugins/managesieve/skins/classic/templates/managesieve.html new file mode 100644 index 000000000..6489d23b4 --- /dev/null +++ b/plugins/managesieve/skins/classic/templates/managesieve.html @@ -0,0 +1,85 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<script type="text/javascript" src="/functions.js"></script> +<script type="text/javascript" src="/splitter.js"></script> + +<style type="text/css"> +#filterslistbox { width: <roundcube:exp expression="!empty(cookie:sieveviewsplitter) ? cookie:sieveviewsplitter-5 : 210" />px; } +#filter-box { left: <roundcube:exp expression="!empty(cookie:sieveviewsplitter) ? cookie:sieveviewsplitter+5 : 220" />px; } +#filtersetslistbox { width: <roundcube:exp expression="!empty(cookie:sieveviewsplitter2) ? cookie:sieveviewsplitter2-5 : 175" />px; } +#filtersscreen { left: <roundcube:exp expression="!empty(cookie:sieveviewsplitter2) ? cookie:sieveviewsplitter2+5 : 185" />px; } +</style> + +</head> +<body> + +<roundcube:include file="/includes/taskbar.html" /> +<roundcube:include file="/includes/header.html" /> +<roundcube:include file="/includes/settingstabs.html" /> + +<div id="mainscreen"> + +<div id="filtersetslistbox"> +<div id="filtersetslist-title" class="boxtitle"><roundcube:label name="managesieve.filtersets" /></div> +<div class="boxlistcontent"> + <roundcube:object name="filtersetslist" id="filtersetslist" class="records-table" cellspacing="0" summary="Filters list" type="list" noheader="true" /> +</div> +<div class="boxfooter"> + <roundcube:button command="plugin.managesieve-setadd" type="link" title="managesieve.filtersetadd" class="buttonPas addfilterset" classAct="button addfilterset" content=" " /> + <roundcube:button name="filtersetmenulink" id="filtersetmenulink" type="link" title="moreactions" class="button groupactions" onclick="rcmail_ui.show_popup('filtersetmenu', undefined, {above:1});return false" content=" " /> +</div> +</div> + +<div id="filtersscreen"> +<div id="filterslistbox"> +<div class="boxtitle"><roundcube:label name="managesieve.filters" /></div> +<div class="boxlistcontent"> + <roundcube:object name="filterslist" id="filterslist" class="records-table" cellspacing="0" summary="Filters list" noheader="true" /> +</div> +<div class="boxfooter"> + <roundcube:button command="plugin.managesieve-add" type="link" title="managesieve.filteradd" class="buttonPas addfilter" classAct="button addfilter" content=" " /> + <roundcube:button name="filtermenulink" id="filtermenulink" type="link" title="moreactions" class="button groupactions" onclick="rcmail_ui.show_popup('filtermenu', undefined, {above:1});return false" content=" " /> +</div> +</div> + +<script type="text/javascript"> + var sieveviewsplit2 = new rcube_splitter({id:'sieveviewsplitter2', p1: 'filtersetslistbox', p2: 'filtersscreen', orientation: 'v', relative: true, start: 200}); + rcmail.add_onload('sieveviewsplit2.init()'); + + var sieveviewsplit = new rcube_splitter({id:'sieveviewsplitter', p1: 'filterslistbox', p2: 'filter-box', orientation: 'v', relative: true, start: 215}); + rcmail.add_onload('sieveviewsplit.init()'); +</script> + +<div id="filter-box"> + <roundcube:object name="filterframe" id="filter-frame" width="100%" height="100%" frameborder="0" src="/watermark.html" /> +</div> + +</div> +</div> + +<div id="filtersetmenu" class="popupmenu"> + <ul> + <li><roundcube:button command="plugin.managesieve-setact" label="managesieve.enable" classAct="active" /></li> + <li><roundcube:button command="plugin.managesieve-setdel" label="delete" classAct="active" /></li> + <li class="separator_above"><roundcube:button command="plugin.managesieve-setget" label="download" classAct="active" /></li> + <roundcube:container name="filtersetoptions" id="filtersetmenu" /> + </ul> +</div> + +<div id="filtermenu" class="popupmenu"> + <ul> + <li><roundcube:button command="plugin.managesieve-act" label="managesieve.enable" classAct="active" /></li> + <li><roundcube:button command="plugin.managesieve-del" label="delete" classAct="active" /></li> + <roundcube:container name="filteroptions" id="filtermenu" /> + </ul> +</div> + +<script type="text/javascript"> +rcube_init_mail_ui(); +</script> + +</body> +</html> diff --git a/plugins/managesieve/skins/classic/templates/setedit.html b/plugins/managesieve/skins/classic/templates/setedit.html new file mode 100644 index 000000000..c1010cae6 --- /dev/null +++ b/plugins/managesieve/skins/classic/templates/setedit.html @@ -0,0 +1,23 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +</head> +<body class="iframe"> + +<div id="filter-title" class="boxtitle"><roundcube:label name="managesieve.newfilterset" /></div> + +<div id="filter-form" class="boxcontent"> +<roundcube:object name="filtersetform" /> + +<p> +<roundcube:button command="plugin.managesieve-save" type="input" class="button mainaction" label="save" /> +</p> + +</form> +</div> + + +</body> +</html> diff --git a/plugins/managesieve/skins/classic/templates/vacation.html b/plugins/managesieve/skins/classic/templates/vacation.html new file mode 100644 index 000000000..26e408eef --- /dev/null +++ b/plugins/managesieve/skins/classic/templates/vacation.html @@ -0,0 +1,31 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +<script type="text/javascript" src="/functions.js"></script> +</head> +<body> + +<roundcube:include file="/includes/taskbar.html" /> +<roundcube:include file="/includes/header.html" /> +<roundcube:include file="/includes/settingstabs.html" /> + +<div id="mainscreen"> + <div class="box" style="height: 100%; overflow: auto"> + <div id="prefs-title" class="boxtitle"><roundcube:label name="managesieve.vacation" /></div> + <roundcube:object name="vacationform" id="vacationform" style="margin: 10px 10px 0 10px" /> + <div id="formfooter" style="padding: 0 10px"> + <div class="footerleft"> + <roundcube:button command="plugin.managesieve-save" type="input" class="button mainaction" label="save" /> + </div> + </div> + </div> +</div> + +<script type="text/javascript"> +rcube_init_mail_ui(); +</script> + +</body> +</html> diff --git a/plugins/managesieve/skins/larry/images/add.png b/plugins/managesieve/skins/larry/images/add.png Binary files differnew file mode 100644 index 000000000..97a6422fb --- /dev/null +++ b/plugins/managesieve/skins/larry/images/add.png diff --git a/plugins/managesieve/skins/larry/images/del.png b/plugins/managesieve/skins/larry/images/del.png Binary files differnew file mode 100644 index 000000000..518905bc4 --- /dev/null +++ b/plugins/managesieve/skins/larry/images/del.png diff --git a/plugins/managesieve/skins/larry/images/down_small.gif b/plugins/managesieve/skins/larry/images/down_small.gif Binary files differnew file mode 100644 index 000000000..f865893f4 --- /dev/null +++ b/plugins/managesieve/skins/larry/images/down_small.gif diff --git a/plugins/managesieve/skins/larry/images/erase.png b/plugins/managesieve/skins/larry/images/erase.png Binary files differnew file mode 100644 index 000000000..ddd3a9782 --- /dev/null +++ b/plugins/managesieve/skins/larry/images/erase.png diff --git a/plugins/managesieve/skins/larry/images/up_small.gif b/plugins/managesieve/skins/larry/images/up_small.gif Binary files differnew file mode 100644 index 000000000..40deb891f --- /dev/null +++ b/plugins/managesieve/skins/larry/images/up_small.gif diff --git a/plugins/managesieve/skins/larry/images/vacation_icons.png b/plugins/managesieve/skins/larry/images/vacation_icons.png Binary files differnew file mode 100644 index 000000000..f8933d487 --- /dev/null +++ b/plugins/managesieve/skins/larry/images/vacation_icons.png diff --git a/plugins/managesieve/skins/larry/managesieve.css b/plugins/managesieve/skins/larry/managesieve.css new file mode 100644 index 000000000..d5098e0ce --- /dev/null +++ b/plugins/managesieve/skins/larry/managesieve.css @@ -0,0 +1,459 @@ +#filtersetslistbox +{ + position: absolute; + top: 0; + bottom: 0; + left: 0; + width: 150px; +} + +#filtersscreen +{ + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 162px; +} + +#filterslistbox +{ + position: absolute; + left: 0; + top: 0; + bottom: 0; + width: 180px; +} + +#filter-box +{ + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 192px; +} + +#filter-frame +{ + border-radius: 4px; +} + +#filterslist, +#filtersetslist +{ + width: 100%; + table-layout: fixed; +} + +#filterslist tbody td, +#filtersetslist tbody td +{ + width: 100%; + overflow: hidden; + text-overflow: ellipsis; +} + +#filterslist tbody tr.disabled td, +#filtersetslist tbody tr.disabled td +{ + color: #87A3AA; +} + +#filtersetslist tbody td +{ + font-weight: bold; +} + +#filterslist tbody tr.filtermoveup td +{ + border-top: 2px dotted #555 !important; + padding-top: 5px; +} + +#filterslist tbody tr.filtermovedown td +{ + border-bottom: 2px dotted #555 !important; + padding-bottom: 4px; +} + +body.iframe +{ + min-width: 620px; +} + +#filter-form +{ + min-width: 550px; + white-space: nowrap; + padding: 20px 10px 10px 10px; +} + +#filter-form legend, #filter-form label +{ + color: #666666; +} + +#rules, #actions +{ + margin-top: 5px; + padding: 0; + border-collapse: collapse; +} + +div.rulerow, div.actionrow +{ + width: auto; + padding: 2px; + white-space: nowrap; + border: 1px solid white; +} + +div.rulerow:hover, div.actionrow:hover +{ + padding: 2px; + white-space: nowrap; + background-color: #D9ECF4; + border: 1px solid #BBD3DA; + border-radius: 4px; +} + +div.rulerow table, div.actionrow table +{ + padding: 0px; + min-width: 600px; +} + +#filter-form td +{ + vertical-align: top; +} + +td.advbutton +{ + width: 1%; +} + +td.advbutton a +{ + display: block; + padding-top: 14px; + height: 6px; + width: 12px; + text-decoration: none; +} + +td.advbutton a.show +{ + background: url(images/down_small.gif) center no-repeat; +} + +td.advbutton a.hide +{ + background: url(images/up_small.gif) center no-repeat; +} + +td.rowbuttons +{ + text-align: right; + white-space: nowrap; + width: 1%; +} + +td.rowactions +{ + white-space: nowrap; + width: 1%; + padding-top: 2px; +} + +td.rowtargets +{ + white-space: nowrap; + width: 98%; + padding-left: 3px; + padding-top: 2px; +} + +td.rowtargets > div +{ + vertical-align: top; + margin-top: 2px; +} + +td.rowtargets div.adv +{ + padding-top: 3px; + font-size: 10px; +} + +td.rowtargets div.adv span.label +{ + display: inline-block; + padding-right: 5px; + min-width: 70px; +} + +td.rowtargets div a { + margin-left: 10px; +} + +input.disabled, input.disabled:hover +{ + color: #999999; +} + +input.error, textarea.error +{ + background-color: #FFFFC4; +} + +input.box, +input.radio +{ + border: 0; + margin-top: 0; +} + +input.radio +{ + vertical-align: middle; +} + +select.operator_selector +{ + width: 200px; + vertical-align: top; +} + +td.rowtargets span, +span.label +{ + color: #666666; + font-size: 10px; + white-space: nowrap; +} + +td.rowtargets label +{ + color: black; +} + +#footer +{ + padding-top: 5px; + width: 100%; +} + +#footer .footerleft label +{ + margin-left: 40px; + white-space: nowrap; +} + +.itemlist +{ + line-height: 25px; +} + +.itemlist input +{ + vertical-align: middle; +} + +span.sieve.error +{ + color: red; + white-space: nowrap; +} + +#managesieve-tip +{ + padding: 3px; + background-color: #eee; +} + +a.button +{ + margin: 0; + padding: 0; +} + +a.button.add +{ + background: url(images/add.png) no-repeat; + width: 30px; + height: 20px; + margin-right: 4px; + display: inline-block; +} + +a.button.del +{ + background: url(images/del.png) no-repeat; + width: 30px; + height: 20px; + display: inline-block; +} + +a.button.disabled +{ + opacity: 0.35; + filter: alpha(opacity=35); + cursor: default; +} + +#filter-form select, +#filter-form input, +#filter-form textarea +{ + font-size: 11px; + padding: 1px; + vertical-align: middle; + max-width: 280px; +} + +/* revert larry style button */ +#filter-form input.button +{ + padding: 4px 12px; +} + +fieldset +{ + border-radius: 4px; +} + +/* smart multi-row input field */ +.listarea +{ + border: 1px solid #B2B2B2; + border-radius: 4px; + box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1); + -webkit-box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1); + margin: 0; + padding: 2px; + display: inline-block; + max-height: 59px; + overflow-y: auto; + vertical-align: middle; +} + +td.rowtargets > span.listarea +{ + vertical-align: top; + margin-top: 2px; +} + +.listelement +{ + display: block; + white-space: nowrap; + background-color: #fff; + border-top: 1px solid #e2e2e2; + height: 14px; + padding: 0; + margin: 0; + overflow: hidden; + line-height: 14px; +} + +.listarea.error .listelement +{ + background-color: #FFFFC4; +} + +.listelement:first-child +{ + border-top: none; +} + +#filter-form .listelement input +{ + border: none; + border-radius: 0; + box-shadow: none; + outline: none; + vertical-align: top; + height: 14px; + padding-top: 0; + padding-bottom: 0; + line-height: 14px; + background-color: transparent; +} + +.listelement input:focus +{ + box-shadow: none; +} + +.listelement .reset +{ + display: inline-block; + width: 16px; + height: 16px; + background: url(images/erase.png) -1px -1px no-repeat #eee; + cursor: pointer; +} + + +/* fixes for popup window */ + +body.iframe.mail +{ + margin: 0; + padding: 0; +} + +body.iframe.mail #filter-form +{ + padding: 10px 5px 5px 5px; +} + + +/* vacation form */ +#settings-sections .vacation a { + background-image: url(images/vacation_icons.png); + background-repeat: no-repeat; + background-position: 7px 1px; +} + +#settings-sections .vacation.selected a { + background-position: 7px -23px; +} + +#managesieve-vacation { + position: absolute; + top: 0; + left: 212px; + right: 0; + bottom: 0; + overflow: auto; +} + +#vacationform .listarea { + max-height: 91px; +} + +#vacationform .listelement, +#vacationform .listelement .reset { + height: 22px; +} + +#vacationform .listelement .reset { + background-position: -1px 3px; +} + +#vacationform .listelement input { + vertical-align: top; + border: 0; + box-shadow: none; +} + +#vacationform td.vacation { + white-space: nowrap; +} + +#vacationform input.button { + margin-left: 10px; +} diff --git a/plugins/managesieve/skins/larry/managesieve_mail.css b/plugins/managesieve/skins/larry/managesieve_mail.css new file mode 100644 index 000000000..855aa8e7d --- /dev/null +++ b/plugins/managesieve/skins/larry/managesieve_mail.css @@ -0,0 +1,62 @@ +ul.toolbarmenu li span.filterlink { + background-position: 0 -2174px; +} + +#sievefilterform { + top: 0; + bottom: 0; + left: 0; + right: 0; + padding: 0; + overflow: hidden; +} + +#sievefilterform iframe { + top: 0; + bottom: 0; + left: 0; + right: 0; + width: 100%; + min-height: 100%; /* Chrome 14 bug */ + border: 0; + padding: 0; + margin: 0; +} + +#sievefilterform ul { + list-style: none; + padding: 0; + margin: 0; + margin-top: 5px; +} + +#sievefilterform fieldset { + margin: 5px; + border-radius: 4px; +} + +#sievefilterform ul li { + margin-bottom: 5px; + white-space: nowrap; +} + +#sievefilterform ul li input { + margin-right: 5px; +} + +#sievefilterform label { + font-weight: bold; +} + +#managesieve-tip +{ + z-index: 100000; + padding: 3px; + background-color: #eee; +} + +span.sieve.error +{ + color: red; + white-space: nowrap; +} diff --git a/plugins/managesieve/skins/larry/templates/filteredit.html b/plugins/managesieve/skins/larry/templates/filteredit.html new file mode 100644 index 000000000..1933b58ae --- /dev/null +++ b/plugins/managesieve/skins/larry/templates/filteredit.html @@ -0,0 +1,32 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +</head> +<body class="iframe<roundcube:exp expression="env:task != 'mail' ? ' floatingbuttons' : ' mail'" />"> + +<roundcube:if condition="env:task != 'mail'" /> +<div id="filter-title" class="boxtitle"><roundcube:label name="managesieve.filterdef" /></div> +<roundcube:endif /> + +<div id="filter-form" class="boxcontent"> +<roundcube:object name="filterform" /> + +<roundcube:if condition="env:task != 'mail'" /> +<div id="footer"> +<div class="footerleft formbuttons floating"> +<roundcube:button command="plugin.managesieve-save" type="input" class="button mainaction" label="save" /> +<label for="disabled"> +<input type="checkbox" id="disabled" name="_disabled" value="1" /> +<roundcube:label name="managesieve.filterdisabled" /> +</label> +</div> +</div> +<roundcube:endif /> + +</form> +</div> + +</body> +</html> diff --git a/plugins/managesieve/skins/larry/templates/managesieve.html b/plugins/managesieve/skins/larry/templates/managesieve.html new file mode 100644 index 000000000..494af6ae2 --- /dev/null +++ b/plugins/managesieve/skins/larry/templates/managesieve.html @@ -0,0 +1,79 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +</head> +<roundcube:if condition="env:extwin" /><body class="noscroll extwin"><roundcube:else /><body class="noscroll"><roundcube:endif /> + +<roundcube:include file="/includes/header.html" /> + +<h1 class="voice"><roundcube:label name="settings" /> : <roundcube:label name="managesieve.filters" /></h1> + +<div id="mainscreen" class="offset"> + +<roundcube:include file="/includes/settingstabs.html" /> + +<div id="settings-right" role="main"> +<div id="filtersetslistbox" class="uibox listbox" aria-labelledby="aria-label-filtersets"> +<h2 class="boxtitle" id="aria-label-filtersets"><roundcube:label name="managesieve.filtersets" /></h2> +<div class="scroller withfooter"> + <roundcube:object name="filtersetslist" id="filtersetslist" class="listing" summary="managesieve.ariasummaryfiltersetslist" type="list" noheader="true" role="listbox" /> +</div> +<div class="boxfooter"> + <roundcube:button command="plugin.managesieve-setadd" type="link" title="managesieve.filtersetadd" class="listbutton add disabled" classAct="listbutton add" innerClass="inner" content="+" /><roundcube:button name="filtersetmenulink" id="filtersetmenulink" type="link" title="moreactions" class="listbutton groupactions" onclick="return UI.toggle_popup('filtersetmenu', event)" innerClass="inner" content="⚙" aria-haspopup="true" aria-expanded="false" aria-owns="filtersetmenu-menu" /> +</div> +</div> + +<div id="filtersscreen"> +<div id="filterslistbox" class="uibox listbox" aria-labelledby="aria-label-filters"> +<h2 class="boxtitle" id="aria-label-filters"><roundcube:label name="managesieve.filters" /></h2> +<div class="scroller withfooter"> + <roundcube:object name="filterslist" id="filterslist" class="listing" summary="managesieve.ariasummaryfilterslist" noheader="true" role="listbox" /> +</div> +<div class="boxfooter"> + <roundcube:button command="plugin.managesieve-add" type="link" title="managesieve.filteradd" class="listbutton add disabled" classAct="listbutton add" innerClass="inner" content="+" /><roundcube:button name="filtermenulink" id="filtermenulink" type="link" title="moreactions" class="listbutton groupactions" onclick="return UI.toggle_popup('filtermenu', event)" innerClass="inner" content="⚙" aria-haspopup="true" aria-expanded="false" aria-owns="filtermenu-menu" /> +</div> +</div> + +<div id="filter-box" class="uibox contentbox"> + <div class="iframebox" role="complementary" aria-labelledby="aria-label-filterform"> + <h2 id="aria-label-filterframe" class="voice"><roundcube:label name="managesieve.arialabelfilterform" /></h2> + <roundcube:object name="filterframe" id="filter-frame" style="width:100%; height:100%" frameborder="0" src="/watermark.html" title="managesieve.arialabelfilterform" /> + </div> +</div> + +</div> +</div> +</div> + +<div id="filtersetmenu" class="popupmenu" aria-hidden="true"> + <h3 id="aria-label-setactions" class="voice"><roundcube:label name="managesieve.arialabelfiltersetactions" /></h3> + <ul class="toolbarmenu" id="filtersetmenu-menu" role="menu" aria-labelledby="aria-label-setactions"> + <li role="menuitem"><roundcube:button command="plugin.managesieve-setact" label="managesieve.enable" classAct="active" /></li> + <li role="menuitem"><roundcube:button command="plugin.managesieve-setdel" label="delete" classAct="active" /></li> + <li role="menuitem" class="separator_above"><roundcube:button command="plugin.managesieve-setget" label="download" classAct="active" /></li> + <roundcube:container name="filtersetoptions" id="filtersetmenu" /> + </ul> +</div> + +<div id="filtermenu" class="popupmenu" aria-hidden="true"> + <h3 id="aria-label-filteractions" class="voice"><roundcube:label name="managesieve.arialabelfilteractions" /></h3> + <ul class="toolbarmenu" id="filtermenu-menu" role="menu" aria-labelledby="aria-label-filteractions"> + <li role="menuitem"><roundcube:button command="plugin.managesieve-act" label="managesieve.enable" classAct="active" /></li> + <li role="menuitem"><roundcube:button command="plugin.managesieve-del" label="delete" classAct="active" /></li> + <roundcube:container name="filteroptions" id="filtermenu" /> + </ul> +</div> + +<roundcube:include file="/includes/footer.html" /> + +<script type="text/javascript"> + new rcube_splitter({ id:'managesievesplitter1', p1:'#filtersetslistbox', p2:'#filtersscreen', + orientation:'v', relative:true, start:156, min:120, size:12 }).init(); + new rcube_splitter({ id:'managesievesplitter2', p1:'#filterslistbox', p2:'#filter-box', + orientation:'v', relative:true, start:186, min:120, size:12 }).init(); +</script> + +</body> +</html> diff --git a/plugins/managesieve/skins/larry/templates/setedit.html b/plugins/managesieve/skins/larry/templates/setedit.html new file mode 100644 index 000000000..3b8f98b36 --- /dev/null +++ b/plugins/managesieve/skins/larry/templates/setedit.html @@ -0,0 +1,24 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +</head> +<body class="iframe floatingbuttons"> + +<div id="filter-title" class="boxtitle"><roundcube:label name="managesieve.newfilterset" /></div> + +<div id="filter-form" class="boxcontent"> +<roundcube:object name="filtersetform" /> + +<div id="footer"> +<div class="footerleft formbuttons floating"> +<roundcube:button command="plugin.managesieve-save" type="input" class="button mainaction" label="save" /> +</div> +</div> + +</form> +</div> + +</body> +</html> diff --git a/plugins/managesieve/skins/larry/templates/vacation.html b/plugins/managesieve/skins/larry/templates/vacation.html new file mode 100644 index 000000000..26dd2027b --- /dev/null +++ b/plugins/managesieve/skins/larry/templates/vacation.html @@ -0,0 +1,32 @@ +<roundcube:object name="doctype" value="html5" /> +<html> +<head> +<title><roundcube:object name="pagetitle" /></title> +<roundcube:include file="/includes/links.html" /> +</head> +<body class="noscroll"> + +<roundcube:include file="/includes/header.html" /> + +<div id="mainscreen" class="offset"> + +<h1 class="voice"><roundcube:label name="settings" /> : <roundcube:label name="managesieve.vacation" /></h1> + +<roundcube:include file="/includes/settingstabs.html" /> + +<div id="managesieve-vacation" class="uibox contentbox" role="main" aria-labelledby="aria-label-vacationform"> + <div> + <h2 class="boxtitle" id="aria-label-vacationform"><roundcube:label name="managesieve.vacation" /></h2> + <roundcube:object name="vacationform" id="vacationform" class="propform boxcontent tabbed" /> + </div> + <div class="footerleft formbuttons"> + <roundcube:button command="plugin.managesieve-save" type="input" class="button mainaction" label="save" /> + </div> +</div> + +</div> + +<roundcube:include file="/includes/footer.html" /> + +</body> +</html> diff --git a/plugins/managesieve/tests/Managesieve.php b/plugins/managesieve/tests/Managesieve.php new file mode 100644 index 000000000..6e930b81d --- /dev/null +++ b/plugins/managesieve/tests/Managesieve.php @@ -0,0 +1,23 @@ +<?php + +class Managesieve_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../managesieve.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new managesieve($rcube->api); + + $this->assertInstanceOf('managesieve', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/managesieve/tests/Parser.php b/plugins/managesieve/tests/Parser.php new file mode 100644 index 000000000..33edce0f0 --- /dev/null +++ b/plugins/managesieve/tests/Parser.php @@ -0,0 +1,62 @@ +<?php + +class Parser extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../lib/Roundcube/rcube_sieve_script.php'; + } + + /** + * Sieve script parsing + * + * @dataProvider data_parser + */ + function test_parser($input, $output, $message) + { + // get capabilities list from the script + $caps = array(); + if (preg_match('/require \[([a-z0-9", ]+)\]/', $input, $m)) { + foreach (explode(',', $m[1]) as $cap) { + $caps[] = trim($cap, '" '); + } + } + + $script = new rcube_sieve_script($input, $caps); + $result = $script->as_text(); + + $this->assertEquals(trim($result), trim($output), $message); + } + + /** + * Data provider for test_parser() + */ + function data_parser() + { + $dir_path = realpath(__DIR__ . '/src'); + $dir = opendir($dir_path); + $result = array(); + + while ($file = readdir($dir)) { + if (preg_match('/^[a-z0-9_]+$/', $file)) { + $input = file_get_contents($dir_path . '/' . $file); + + if (file_exists($dir_path . '/' . $file . '.out')) { + $output = file_get_contents($dir_path . '/' . $file . '.out'); + } + else { + $output = $input; + } + + $result[] = array( + 'input' => $input, + 'output' => $output, + 'message' => "Error in parsing '$file' file", + ); + } + } + + return $result; + } +} diff --git a/plugins/managesieve/tests/Tokenizer.php b/plugins/managesieve/tests/Tokenizer.php new file mode 100644 index 000000000..f50ed75b7 --- /dev/null +++ b/plugins/managesieve/tests/Tokenizer.php @@ -0,0 +1,33 @@ +<?php + +class Tokenizer extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../lib/Roundcube/rcube_sieve_script.php'; + } + + function data_tokenizer() + { + return array( + array(1, "text: #test\nThis is test ; message;\nMulti line\n.\n;\n", '"This is test ; message;\nMulti line"'), + array(0, '["test1","test2"]', '[["test1","test2"]]'), + array(1, '["test"]', '["test"]'), + array(1, '"te\\"st"', '"te\\"st"'), + array(0, 'test #comment', '["test"]'), + array(0, "text:\ntest\n.\ntext:\ntest\n.\n", '["test","test"]'), + array(1, '"\\a\\\\\\"a"', '"a\\\\\\"a"'), + ); + } + + /** + * @dataProvider data_tokenizer + */ + function test_tokenizer($num, $input, $output) + { + $res = json_encode(rcube_sieve_script::tokenize($input, $num)); + + $this->assertEquals(trim($res), trim($output)); + } +} diff --git a/plugins/managesieve/tests/Vacation.php b/plugins/managesieve/tests/Vacation.php new file mode 100644 index 000000000..942525c2f --- /dev/null +++ b/plugins/managesieve/tests/Vacation.php @@ -0,0 +1,66 @@ +<?php + +class Managesieve_Vacation extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../lib/Roundcube/rcube_sieve_engine.php'; + include_once __DIR__ . '/../lib/Roundcube/rcube_sieve_vacation.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $vacation = new rcube_sieve_vacation(true); + + $this->assertInstanceOf('rcube_sieve_vacation', $vacation); + } + + function test_build_regexp_tests() + { + $tests = rcube_sieve_vacation::build_regexp_tests('2014-02-20', '2014-03-05', $error); + + $this->assertCount(2, $tests); + $this->assertSame('header', $tests[0]['test']); + $this->assertSame('regex', $tests[0]['type']); + $this->assertSame('received', $tests[0]['arg1']); + $this->assertSame('(20|21|22|23|24|25|26|27|28) Feb 2014', $tests[0]['arg2']); + $this->assertSame('header', $tests[1]['test']); + $this->assertSame('regex', $tests[1]['type']); + $this->assertSame('received', $tests[1]['arg1']); + $this->assertSame('([ 0]1|[ 0]2|[ 0]3|[ 0]4|[ 0]5) Mar 2014', $tests[1]['arg2']); + + $tests = rcube_sieve_vacation::build_regexp_tests('2014-02-20', '2014-01-05', $error); + + $this->assertSame(null, $tests); + $this->assertSame('managesieve.invaliddateformat', $error); + } + + function test_parse_regexp_tests() + { + $tests = array( + array( + 'test' => 'header', + 'type' => 'regex', + 'arg1' => 'received', + 'arg2' => '(20|21|22|23|24|25|26|27|28) Feb 2014', + ), + array( + 'test' => 'header', + 'type' => 'regex', + 'arg1' => 'received', + 'arg2' => '([ 0]1|[ 0]2|[ 0]3|[ 0]4|[ 0]5) Mar 2014', + ) + ); + + $result = rcube_sieve_vacation::parse_regexp_tests($tests); + + $this->assertCount(2, $result); + $this->assertSame('20 Feb 2014', $result['from']); + $this->assertSame('05 Mar 2014', $result['to']); + } +} + diff --git a/plugins/managesieve/tests/src/parser b/plugins/managesieve/tests/src/parser new file mode 100644 index 000000000..c99b49814 --- /dev/null +++ b/plugins/managesieve/tests/src/parser @@ -0,0 +1,52 @@ +require ["fileinto","reject","envelope"]; +# rule:[spam] +if anyof (header :contains "X-DSPAM-Result" "Spam") +{ + fileinto "Spam"; + stop; +} +# rule:[test1] +if anyof (header :contains :comparator "i;ascii-casemap" ["From","To"] "test@domain.tld") +{ + discard; + stop; +} +# rule:[test2] +if anyof (not header :contains :comparator "i;octet" ["Subject"] "[test]", header :contains "Subject" "[test2]") +{ + fileinto "test"; + stop; +} +# rule:[comments] +if anyof (true) /* comment + * "comment" #comment */ { + /* comment */ stop; +# comment +} +# rule:[reject] +if size :over 5000K { + reject "Message over 5MB size limit. Please contact me before sending this."; +} +# rule:[false] +if false # size :over 5000K +{ + stop; /* rule disabled */ +} +# rule:[true] +if true +{ + stop; +} +fileinto "Test"; +# rule:[address test] +if address :all :is "From" "nagios@domain.tld" +{ + fileinto "domain.tld"; + stop; +} +# rule:[envelope test] +if envelope :domain :is "From" "domain.tld" +{ + fileinto "domain.tld"; + stop; +} diff --git a/plugins/managesieve/tests/src/parser.out b/plugins/managesieve/tests/src/parser.out new file mode 100644 index 000000000..796343d4a --- /dev/null +++ b/plugins/managesieve/tests/src/parser.out @@ -0,0 +1,52 @@ +require ["envelope","fileinto","reject"]; +# rule:[spam] +if header :contains "X-DSPAM-Result" "Spam" +{ + fileinto "Spam"; + stop; +} +# rule:[test1] +if header :contains ["From","To"] "test@domain.tld" +{ + discard; + stop; +} +# rule:[test2] +if anyof (not header :contains :comparator "i;octet" "Subject" "[test]", header :contains "Subject" "[test2]") +{ + fileinto "test"; + stop; +} +# rule:[comments] +if true +{ + stop; +} +# rule:[reject] +if size :over 5000K +{ + reject "Message over 5MB size limit. Please contact me before sending this."; +} +# rule:[false] +if false # size :over 5000K +{ + stop; +} +# rule:[true] +if true +{ + stop; +} +fileinto "Test"; +# rule:[address test] +if address :is "From" "nagios@domain.tld" +{ + fileinto "domain.tld"; + stop; +} +# rule:[envelope test] +if envelope :domain :is "From" "domain.tld" +{ + fileinto "domain.tld"; + stop; +} diff --git a/plugins/managesieve/tests/src/parser_body b/plugins/managesieve/tests/src/parser_body new file mode 100644 index 000000000..bd142ed8c --- /dev/null +++ b/plugins/managesieve/tests/src/parser_body @@ -0,0 +1,17 @@ +require ["body","fileinto"]; +if body :raw :contains "MAKE MONEY FAST" +{ + stop; +} +if body :content "text" :contains ["missile","coordinates"] +{ + fileinto "secrets"; +} +if body :content "audio/mp3" :contains "" +{ + fileinto "jukebox"; +} +if body :text :contains "project schedule" +{ + fileinto "project/schedule"; +} diff --git a/plugins/managesieve/tests/src/parser_date b/plugins/managesieve/tests/src/parser_date new file mode 100644 index 000000000..06b00333f --- /dev/null +++ b/plugins/managesieve/tests/src/parser_date @@ -0,0 +1,21 @@ +require ["comparator-i;ascii-numeric","date","fileinto","relational"]; +# rule:[date] +if allof (date :originalzone :value "ge" :comparator "i;ascii-numeric" "date" "hour" "09") +{ + fileinto "urgent"; +} +# rule:[date-weekday] +if date :is "received" "weekday" "0" +{ + fileinto "weekend"; +} +# rule:[date-zone] +if date :zone "-0500" :value "gt" :comparator "i;ascii-numeric" "received" "iso8601" "2007-02-26T09:00:00-05:00" +{ + stop; +} +# rule:[currentdate] +if anyof (currentdate :is "weekday" "0", currentdate :value "lt" :comparator "i;ascii-numeric" "hour" "09", currentdate :value "ge" :comparator "i;ascii-numeric" "date" "2007-06-30") +{ + stop; +} diff --git a/plugins/managesieve/tests/src/parser_enotify_a b/plugins/managesieve/tests/src/parser_enotify_a new file mode 100644 index 000000000..68a9ef5cc --- /dev/null +++ b/plugins/managesieve/tests/src/parser_enotify_a @@ -0,0 +1,19 @@ +require ["enotify","variables"]; +# rule:[notify1] +if header :contains "from" "boss@example.org" +{ + notify :importance "1" :message "This is probably very important" "mailto:alm@example.com"; + stop; +} +# rule:[subject] +if header :matches "Subject" "*" +{ + set "subject" "${1}"; +} +# rule:[from notify2] +if header :matches "From" "*" +{ + set "from" "${1}"; + notify :importance "3" :message "${from}: ${subject}" "mailto:alm@example.com"; +} + diff --git a/plugins/managesieve/tests/src/parser_enotify_b b/plugins/managesieve/tests/src/parser_enotify_b new file mode 100644 index 000000000..a3011bac2 --- /dev/null +++ b/plugins/managesieve/tests/src/parser_enotify_b @@ -0,0 +1,18 @@ +require ["enotify","envelope","variables"]; +# rule:[from] +if envelope :matches "from" "*" +{ + set "env_from" " [really: ${1}]"; +} +# rule:[subject] +if header :matches "Subject" "*" +{ + set "subject" "${1}"; +} +# rule:[from notify] +if address :matches "from" "*" +{ + set "from_addr" "${1}"; + notify :message "${from_addr}${env_from}: ${subject}" "mailto:alm@example.com"; +} + diff --git a/plugins/managesieve/tests/src/parser_imapflags b/plugins/managesieve/tests/src/parser_imapflags new file mode 100644 index 000000000..e67bf7cfc --- /dev/null +++ b/plugins/managesieve/tests/src/parser_imapflags @@ -0,0 +1,7 @@ +require ["imap4flags"]; +# rule:[imapflags] +if header :matches "Subject" "^Test$" +{ + setflag "\\Seen"; + addflag ["\\Answered","\\Deleted"]; +} diff --git a/plugins/managesieve/tests/src/parser_include b/plugins/managesieve/tests/src/parser_include new file mode 100644 index 000000000..b5585a4ba --- /dev/null +++ b/plugins/managesieve/tests/src/parser_include @@ -0,0 +1,7 @@ +require ["include"]; +include "script.sieve"; +# rule:[two] +if true +{ + include :optional "second.sieve"; +} diff --git a/plugins/managesieve/tests/src/parser_index b/plugins/managesieve/tests/src/parser_index new file mode 100644 index 000000000..ca9f86d56 --- /dev/null +++ b/plugins/managesieve/tests/src/parser_index @@ -0,0 +1,24 @@ +require ["comparator-i;ascii-numeric","date","fileinto","index","relational"]; +# rule:[index-header1] +if header :index 1 :last :contains "X-DSPAM-Result" "Spam" +{ + fileinto "Spam"; + stop; +} +# rule:[index-header2] +if header :index 2 :contains ["From","To"] "test@domain.tld" +{ + discard; + stop; +} +# rule:[index-address] +if address :index 1 :is "From" "nagios@domain.tld" +{ + fileinto "domain.tld"; + stop; +} +# rule:[index-date] +if date :index 1 :last :zone "-0500" :value "gt" :comparator "i;ascii-numeric" "received" "iso8601" "2007-02-26T09:00:00-05:00" +{ + stop; +} diff --git a/plugins/managesieve/tests/src/parser_kep14 b/plugins/managesieve/tests/src/parser_kep14 new file mode 100644 index 000000000..1ded8d8d4 --- /dev/null +++ b/plugins/managesieve/tests/src/parser_kep14 @@ -0,0 +1,2 @@ +# EDITOR Roundcube +# EDITOR_VERSION 123 diff --git a/plugins/managesieve/tests/src/parser_kep14.out b/plugins/managesieve/tests/src/parser_kep14.out new file mode 100644 index 000000000..cb7faa7f8 --- /dev/null +++ b/plugins/managesieve/tests/src/parser_kep14.out @@ -0,0 +1,3 @@ +require ["variables"]; +set "EDITOR" "Roundcube"; +set "EDITOR_VERSION" "123"; diff --git a/plugins/managesieve/tests/src/parser_notify_a b/plugins/managesieve/tests/src/parser_notify_a new file mode 100644 index 000000000..e51e2aa8d --- /dev/null +++ b/plugins/managesieve/tests/src/parser_notify_a @@ -0,0 +1,18 @@ +require ["notify","variables"]; +# rule:[notify1] +if header :contains "from" "boss@example.org" +{ + notify :low :message "This is probably very important"; + stop; +} +# rule:[subject] +if header :matches "Subject" "*" +{ + set "subject" "${1}"; +} +# rule:[from notify2] +if header :matches "From" "*" +{ + set "from" "${1}"; + notify :high :method "mailto" :options "test@example.org" :message "${from}: ${subject}"; +} diff --git a/plugins/managesieve/tests/src/parser_notify_b b/plugins/managesieve/tests/src/parser_notify_b new file mode 100644 index 000000000..f942e155f --- /dev/null +++ b/plugins/managesieve/tests/src/parser_notify_b @@ -0,0 +1,17 @@ +require ["envelope","notify","variables"]; +# rule:[from] +if envelope :matches "from" "*" +{ + set "env_from" " [really: ${1}]"; +} +# rule:[subject] +if header :matches "Subject" "*" +{ + set "subject" "${1}"; +} +# rule:[from notify] +if address :matches "from" "*" +{ + set "from_addr" "${1}"; + notify :method "sms" :options "1234567890" :message "${from_addr}${env_from}: ${subject}"; +} diff --git a/plugins/managesieve/tests/src/parser_prefix b/plugins/managesieve/tests/src/parser_prefix new file mode 100644 index 000000000..9f6a33a1c --- /dev/null +++ b/plugins/managesieve/tests/src/parser_prefix @@ -0,0 +1,5 @@ +# this is a comment +# and the second line + +require ["variables"]; +set "b" "c"; diff --git a/plugins/managesieve/tests/src/parser_relational b/plugins/managesieve/tests/src/parser_relational new file mode 100644 index 000000000..92c5e1a8e --- /dev/null +++ b/plugins/managesieve/tests/src/parser_relational @@ -0,0 +1,6 @@ +require ["comparator-i;ascii-numeric","relational"]; +# rule:[redirect] +if header :value "ge" :comparator "i;ascii-numeric" "X-Spam-score" "14" +{ + redirect "test@test.tld"; +} diff --git a/plugins/managesieve/tests/src/parser_subaddress b/plugins/managesieve/tests/src/parser_subaddress new file mode 100644 index 000000000..e44555096 --- /dev/null +++ b/plugins/managesieve/tests/src/parser_subaddress @@ -0,0 +1,11 @@ +require ["envelope","fileinto","subaddress"]; +if envelope :user "To" "postmaster" +{ + fileinto "postmaster"; + stop; +} +if envelope :detail :is "To" "mta-filters" +{ + fileinto "mta-filters"; + stop; +} diff --git a/plugins/managesieve/tests/src/parser_vacation b/plugins/managesieve/tests/src/parser_vacation new file mode 100644 index 000000000..93026db45 --- /dev/null +++ b/plugins/managesieve/tests/src/parser_vacation @@ -0,0 +1,12 @@ +require ["vacation"]; +# rule:[test-vacation] +if header :contains "Subject" "vacation" +{ + vacation :days 1 text: +# test +test test /* test */ +test +. +; + stop; +} diff --git a/plugins/managesieve/tests/src/parser_vacation_seconds b/plugins/managesieve/tests/src/parser_vacation_seconds new file mode 100644 index 000000000..75cbcae46 --- /dev/null +++ b/plugins/managesieve/tests/src/parser_vacation_seconds @@ -0,0 +1,12 @@ +require ["vacation-seconds"]; +# rule:[test-vacation] +if header :contains "Subject" "vacation" +{ + vacation :seconds 0 text: +# test +test test /* test */ +test +. +; + stop; +} diff --git a/plugins/managesieve/tests/src/parser_variables b/plugins/managesieve/tests/src/parser_variables new file mode 100644 index 000000000..bd5941c02 --- /dev/null +++ b/plugins/managesieve/tests/src/parser_variables @@ -0,0 +1,12 @@ +require ["variables"]; +set "honorific" "Mr"; +set "vacation" text: +Dear ${HONORIFIC} ${last_name}, +I am out, please leave a message after the meep. +. +; +set :length "b" "${a}"; +set :lower "b" "${a}"; +set :upperfirst "b" "${a}"; +set :upperfirst :lower "b" "${a}"; +set :quotewildcard "b" "Rock*"; diff --git a/plugins/markasjunk/composer.json b/plugins/markasjunk/composer.json new file mode 100644 index 000000000..8ec5f3de8 --- /dev/null +++ b/plugins/markasjunk/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/markasjunk", + "type": "roundcube-plugin", + "description": "Adds a new button to the mailbox toolbar to mark the selected messages as Junk and move them to the configured Junk folder.", + "license": "GPLv3+", + "version": "1.2", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/markasjunk/localization/ar.inc b/plugins/markasjunk/localization/ar.inc new file mode 100644 index 000000000..1915e97fb --- /dev/null +++ b/plugins/markasjunk/localization/ar.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'غير المرغوب'; +$labels['buttontitle'] = 'حدد كغير مرغوب'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/ar_SA.inc b/plugins/markasjunk/localization/ar_SA.inc new file mode 100644 index 000000000..f6c405ea2 --- /dev/null +++ b/plugins/markasjunk/localization/ar_SA.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'غير المرغوب'; +$labels['buttontitle'] = 'وضع علامة كـ غير المرغوب فيه'; +$labels['reportedasjunk'] = 'تمت الافادة كـ غير مرغوب فية بنجاح'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/ast.inc b/plugins/markasjunk/localization/ast.inc new file mode 100644 index 000000000..b55fa363a --- /dev/null +++ b/plugins/markasjunk/localization/ast.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Puxarra'; +$labels['buttontitle'] = 'Conseñar como puxarra'; +$labels['reportedasjunk'] = 'Reportáu con ésitu como Puxarra'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/az_AZ.inc b/plugins/markasjunk/localization/az_AZ.inc new file mode 100644 index 000000000..407db71c2 --- /dev/null +++ b/plugins/markasjunk/localization/az_AZ.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'Spam qovluğuna köçür'; +$labels['reportedasjunk'] = 'Spam qovluğuna köçürüldü'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/be_BE.inc b/plugins/markasjunk/localization/be_BE.inc new file mode 100644 index 000000000..3f4a5f9a6 --- /dev/null +++ b/plugins/markasjunk/localization/be_BE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Спам'; +$labels['buttontitle'] = 'Пазначыць як спам'; +$labels['reportedasjunk'] = 'Пазначаны як спам'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/bg_BG.inc b/plugins/markasjunk/localization/bg_BG.inc new file mode 100644 index 000000000..c49bafaab --- /dev/null +++ b/plugins/markasjunk/localization/bg_BG.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Спам'; +$labels['buttontitle'] = 'Маркирай като спам'; +$labels['reportedasjunk'] = 'Писмото е маркирано като спам успешно'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/br.inc b/plugins/markasjunk/localization/br.inc new file mode 100644 index 000000000..3980bc2e3 --- /dev/null +++ b/plugins/markasjunk/localization/br.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Lastez'; +$labels['buttontitle'] = 'Merkañ evel lastez'; +$labels['reportedasjunk'] = 'Danevellet evel lastez gant berzh'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/bs_BA.inc b/plugins/markasjunk/localization/bs_BA.inc new file mode 100644 index 000000000..6a32ee099 --- /dev/null +++ b/plugins/markasjunk/localization/bs_BA.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'Označi kao spam'; +$labels['reportedasjunk'] = 'Uspješno označeno kao spam'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/ca_ES.inc b/plugins/markasjunk/localization/ca_ES.inc new file mode 100644 index 000000000..1a77aaff2 --- /dev/null +++ b/plugins/markasjunk/localization/ca_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Correu brossa'; +$labels['buttontitle'] = 'Marca com a correu brossa'; +$labels['reportedasjunk'] = 'S\'ha reportat correctament com a correu brossa'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/cs_CZ.inc b/plugins/markasjunk/localization/cs_CZ.inc new file mode 100644 index 000000000..d0dbc6cd0 --- /dev/null +++ b/plugins/markasjunk/localization/cs_CZ.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'Označit jako Spam'; +$labels['reportedasjunk'] = 'Úspěšně nahlášeno jako Spam'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/cy_GB.inc b/plugins/markasjunk/localization/cy_GB.inc new file mode 100644 index 000000000..9ea2c9d21 --- /dev/null +++ b/plugins/markasjunk/localization/cy_GB.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Sothach'; +$labels['buttontitle'] = 'Nodi fel Sbwriel'; +$labels['reportedasjunk'] = 'Adroddwyd yn llwyddiannus fel Sbwriel'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/da_DK.inc b/plugins/markasjunk/localization/da_DK.inc new file mode 100644 index 000000000..ac2a4c85c --- /dev/null +++ b/plugins/markasjunk/localization/da_DK.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'Marker som spam mail'; +$labels['reportedasjunk'] = 'Successfuldt rapporteret som spam mail'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/de_CH.inc b/plugins/markasjunk/localization/de_CH.inc new file mode 100644 index 000000000..c61028510 --- /dev/null +++ b/plugins/markasjunk/localization/de_CH.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'Als SPAM markieren'; +$labels['reportedasjunk'] = 'Erfolgreich als SPAM gemeldet'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/de_DE.inc b/plugins/markasjunk/localization/de_DE.inc new file mode 100644 index 000000000..28abacf63 --- /dev/null +++ b/plugins/markasjunk/localization/de_DE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'als SPAM markieren'; +$labels['reportedasjunk'] = 'Erfolgreich als SPAM gemeldet'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/el_GR.inc b/plugins/markasjunk/localization/el_GR.inc new file mode 100644 index 000000000..d63ecd57d --- /dev/null +++ b/plugins/markasjunk/localization/el_GR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Ανεπιθύμητα'; +$labels['buttontitle'] = 'Σήμανση ως Ανεπιθύμητου'; +$labels['reportedasjunk'] = 'Αναφέρθηκε ως Ανεπιθήμητο'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/en_CA.inc b/plugins/markasjunk/localization/en_CA.inc new file mode 100644 index 000000000..92c041948 --- /dev/null +++ b/plugins/markasjunk/localization/en_CA.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Junk'; +$labels['buttontitle'] = 'Mark as Junk'; +$labels['reportedasjunk'] = 'Successfully reported as Junk'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/en_GB.inc b/plugins/markasjunk/localization/en_GB.inc new file mode 100644 index 000000000..92c041948 --- /dev/null +++ b/plugins/markasjunk/localization/en_GB.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Junk'; +$labels['buttontitle'] = 'Mark as Junk'; +$labels['reportedasjunk'] = 'Successfully reported as Junk'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/en_US.inc b/plugins/markasjunk/localization/en_US.inc new file mode 100644 index 000000000..aaa3c91ac --- /dev/null +++ b/plugins/markasjunk/localization/en_US.inc @@ -0,0 +1,24 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ + +$labels = array(); +$labels['buttontext'] = 'Junk'; +$labels['buttontitle'] = 'Mark as Junk'; +$labels['reportedasjunk'] = 'Successfully reported as Junk'; + +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/eo.inc b/plugins/markasjunk/localization/eo.inc new file mode 100644 index 000000000..d92e48952 --- /dev/null +++ b/plugins/markasjunk/localization/eo.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Rubaĵo'; +$labels['buttontitle'] = 'Marki kiel rubaĵo'; +$labels['reportedasjunk'] = 'Sukcese raportita kiel rubaĵo'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/es_419.inc b/plugins/markasjunk/localization/es_419.inc new file mode 100644 index 000000000..e9bc14bc4 --- /dev/null +++ b/plugins/markasjunk/localization/es_419.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Basura'; +$labels['buttontitle'] = 'Marcar como basura'; +$labels['reportedasjunk'] = 'Reportado como basura exitosamente'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/es_AR.inc b/plugins/markasjunk/localization/es_AR.inc new file mode 100644 index 000000000..b9c452bf1 --- /dev/null +++ b/plugins/markasjunk/localization/es_AR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Correo no deseado'; +$labels['buttontitle'] = 'Marcar como SPAM'; +$labels['reportedasjunk'] = 'Mensaje reportado como SPAM'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/es_ES.inc b/plugins/markasjunk/localization/es_ES.inc new file mode 100644 index 000000000..eb7b2740e --- /dev/null +++ b/plugins/markasjunk/localization/es_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'SPAM'; +$labels['buttontitle'] = 'Marcar como SPAM'; +$labels['reportedasjunk'] = 'Reportado como SPAM, correctamente'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/et_EE.inc b/plugins/markasjunk/localization/et_EE.inc new file mode 100644 index 000000000..2b1d1f8e7 --- /dev/null +++ b/plugins/markasjunk/localization/et_EE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Rämps'; +$labels['buttontitle'] = 'Märgista Rämpsuks'; +$labels['reportedasjunk'] = 'Edukalt Rämpsuks märgitud'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/eu_ES.inc b/plugins/markasjunk/localization/eu_ES.inc new file mode 100644 index 000000000..ade169b70 --- /dev/null +++ b/plugins/markasjunk/localization/eu_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Zabor-mezua'; +$labels['buttontitle'] = 'Markatu zabor-mezu bezala'; +$labels['reportedasjunk'] = 'Zabor bezala markatu da'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/fa_AF.inc b/plugins/markasjunk/localization/fa_AF.inc new file mode 100644 index 000000000..04eaec61c --- /dev/null +++ b/plugins/markasjunk/localization/fa_AF.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'هرزنامه'; +$labels['buttontitle'] = 'نشانه گذاری به عنوان هرزنامه'; +$labels['reportedasjunk'] = 'با موفقبت به عنوان هرزنامه گزارش شد'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/fa_IR.inc b/plugins/markasjunk/localization/fa_IR.inc new file mode 100644 index 000000000..589f17dde --- /dev/null +++ b/plugins/markasjunk/localization/fa_IR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'بنجل'; +$labels['buttontitle'] = 'علامت گذاری به عنوان بنجل'; +$labels['reportedasjunk'] = 'با کامیابی به عنوان بنجل گزارش شد'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/fi_FI.inc b/plugins/markasjunk/localization/fi_FI.inc new file mode 100644 index 000000000..adf71ea92 --- /dev/null +++ b/plugins/markasjunk/localization/fi_FI.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Roskaposti'; +$labels['buttontitle'] = 'Merkitse roskapostiksi'; +$labels['reportedasjunk'] = 'Roskapostista on ilmoitettu onnistuneesti'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/fo_FO.inc b/plugins/markasjunk/localization/fo_FO.inc new file mode 100644 index 000000000..0ef6a761c --- /dev/null +++ b/plugins/markasjunk/localization/fo_FO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Møsn'; +$labels['buttontitle'] = 'Merk sum møsn'; +$labels['reportedasjunk'] = 'Melda sum møsn.'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/fr_FR.inc b/plugins/markasjunk/localization/fr_FR.inc new file mode 100644 index 000000000..68e2e8b41 --- /dev/null +++ b/plugins/markasjunk/localization/fr_FR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Pourriel'; +$labels['buttontitle'] = 'Marqué comme pourriel'; +$labels['reportedasjunk'] = 'Signaler comme pourriel avec succès'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/fy_NL.inc b/plugins/markasjunk/localization/fy_NL.inc new file mode 100644 index 000000000..3291a962c --- /dev/null +++ b/plugins/markasjunk/localization/fy_NL.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/gl_ES.inc b/plugins/markasjunk/localization/gl_ES.inc new file mode 100644 index 000000000..336c0108f --- /dev/null +++ b/plugins/markasjunk/localization/gl_ES.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Correo lixo'; +$labels['buttontitle'] = 'Marcar como correo lixo'; +$labels['reportedasjunk'] = 'Mensaxe marcada como correo lixo'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/he_IL.inc b/plugins/markasjunk/localization/he_IL.inc new file mode 100644 index 000000000..d672e4bb7 --- /dev/null +++ b/plugins/markasjunk/localization/he_IL.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'זבל'; +$labels['buttontitle'] = 'סמן כדואר זבל'; +$labels['reportedasjunk'] = 'דואר הזבל דווח בהצלחה'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/hr_HR.inc b/plugins/markasjunk/localization/hr_HR.inc new file mode 100644 index 000000000..6e69889bf --- /dev/null +++ b/plugins/markasjunk/localization/hr_HR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Smeće (spam)'; +$labels['buttontitle'] = 'Označi kao smeće (spam)'; +$labels['reportedasjunk'] = 'Uspješno prijavljeno kao smeće (spam)'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/hu_HU.inc b/plugins/markasjunk/localization/hu_HU.inc new file mode 100644 index 000000000..aaccbd461 --- /dev/null +++ b/plugins/markasjunk/localization/hu_HU.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Levélszemét'; +$labels['buttontitle'] = 'Szemétnek jelölés'; +$labels['reportedasjunk'] = 'Sikeresen szemétnek jelentve'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/hy_AM.inc b/plugins/markasjunk/localization/hy_AM.inc new file mode 100644 index 000000000..f08421241 --- /dev/null +++ b/plugins/markasjunk/localization/hy_AM.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Թափոն'; +$labels['buttontitle'] = 'Նշել որպես Թափոն'; +$labels['reportedasjunk'] = 'Բարեհաջող հաղորդվեց որպես Թափոն'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/ia.inc b/plugins/markasjunk/localization/ia.inc new file mode 100644 index 000000000..d6f1c021d --- /dev/null +++ b/plugins/markasjunk/localization/ia.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Messages indesirate'; +$labels['buttontitle'] = 'Marcar como indesirate'; +$labels['reportedasjunk'] = 'Reportate como indesirate con successo'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/id_ID.inc b/plugins/markasjunk/localization/id_ID.inc new file mode 100644 index 000000000..e2988fb96 --- /dev/null +++ b/plugins/markasjunk/localization/id_ID.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Sampah'; +$labels['buttontitle'] = 'Tandai sebagai sampah'; +$labels['reportedasjunk'] = 'Berhasil dilaporkan sebagai sampah'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/it_IT.inc b/plugins/markasjunk/localization/it_IT.inc new file mode 100644 index 000000000..86db382a1 --- /dev/null +++ b/plugins/markasjunk/localization/it_IT.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'Marca come Spam'; +$labels['reportedasjunk'] = 'Messaggio marcato come Spam'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/ja_JP.inc b/plugins/markasjunk/localization/ja_JP.inc new file mode 100644 index 000000000..a90e6be99 --- /dev/null +++ b/plugins/markasjunk/localization/ja_JP.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = '迷惑メール'; +$labels['buttontitle'] = '迷惑メールとして設定'; +$labels['reportedasjunk'] = '迷惑メールとして報告しました。'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/km_KH.inc b/plugins/markasjunk/localization/km_KH.inc new file mode 100644 index 000000000..92ba883c6 --- /dev/null +++ b/plugins/markasjunk/localization/km_KH.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'សារឥតបានការ'; +$labels['buttontitle'] = 'សម្គាល់ជាសារឥតបានការ'; +$labels['reportedasjunk'] = 'បានរាយការណ៍ជាសារឥតបានការដោយជោគជ័យ'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/ko_KR.inc b/plugins/markasjunk/localization/ko_KR.inc new file mode 100644 index 000000000..485af3187 --- /dev/null +++ b/plugins/markasjunk/localization/ko_KR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = '스팸'; +$labels['buttontitle'] = '스팸으로 표시'; +$labels['reportedasjunk'] = '스팸으로 성공적으로 보고함'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/lb_LU.inc b/plugins/markasjunk/localization/lb_LU.inc new file mode 100644 index 000000000..c6f1081e2 --- /dev/null +++ b/plugins/markasjunk/localization/lb_LU.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'Als Spam markéieren'; +$labels['reportedasjunk'] = 'Erfollegräich als Spam gemellt'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/lt_LT.inc b/plugins/markasjunk/localization/lt_LT.inc new file mode 100644 index 000000000..b93e85d0f --- /dev/null +++ b/plugins/markasjunk/localization/lt_LT.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Brukalas'; +$labels['buttontitle'] = 'Žymėti kaip brukalą'; +$labels['reportedasjunk'] = 'Sėkmingai pranešta, jog laiškas yra brukalas'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/lv_LV.inc b/plugins/markasjunk/localization/lv_LV.inc new file mode 100644 index 000000000..6c56c54ed --- /dev/null +++ b/plugins/markasjunk/localization/lv_LV.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Mēstules'; +$labels['buttontitle'] = 'Atzīmēt kā mēstuli'; +$labels['reportedasjunk'] = 'Sekmīgi iatzīmēta kā mēstule'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/ml_IN.inc b/plugins/markasjunk/localization/ml_IN.inc new file mode 100644 index 000000000..d08a04363 --- /dev/null +++ b/plugins/markasjunk/localization/ml_IN.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'ചവർ'; +$labels['buttontitle'] = 'ചവർ ആയി അടയാളപ്പെടുത്തുക'; +$labels['reportedasjunk'] = 'ചവർ ആയി അടയാളപ്പെടുത്തി'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/mr_IN.inc b/plugins/markasjunk/localization/mr_IN.inc new file mode 100644 index 000000000..232b4b33e --- /dev/null +++ b/plugins/markasjunk/localization/mr_IN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontitle'] = 'नको असलेला अशी खूण करा'; +$labels['reportedasjunk'] = 'नको आहे असे यशस्वीरीत्या नक्की केले'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/nb_NO.inc b/plugins/markasjunk/localization/nb_NO.inc new file mode 100644 index 000000000..af1b2cbf9 --- /dev/null +++ b/plugins/markasjunk/localization/nb_NO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Useriøs e-post'; +$labels['buttontitle'] = 'Marker som useriøs e-post'; +$labels['reportedasjunk'] = 'Rapportering av useriøs e-post var vellykket'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/nl_NL.inc b/plugins/markasjunk/localization/nl_NL.inc new file mode 100644 index 000000000..e1ed11568 --- /dev/null +++ b/plugins/markasjunk/localization/nl_NL.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'Markeer als spam'; +$labels['reportedasjunk'] = 'Succesvol gemarkeerd als spam'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/nn_NO.inc b/plugins/markasjunk/localization/nn_NO.inc new file mode 100644 index 000000000..f198c5633 --- /dev/null +++ b/plugins/markasjunk/localization/nn_NO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Useriøs e-post'; +$labels['buttontitle'] = 'Marker som useriøs e-post'; +$labels['reportedasjunk'] = 'Rapportering av useriøs e-post var vellykka'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/pl_PL.inc b/plugins/markasjunk/localization/pl_PL.inc new file mode 100644 index 000000000..a23a8de2f --- /dev/null +++ b/plugins/markasjunk/localization/pl_PL.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'Oznacz jako SPAM'; +$labels['reportedasjunk'] = 'Pomyślnie oznaczono jako SPAM'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/pt_BR.inc b/plugins/markasjunk/localization/pt_BR.inc new file mode 100644 index 000000000..001d4639c --- /dev/null +++ b/plugins/markasjunk/localization/pt_BR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'Marcar como Spam'; +$labels['reportedasjunk'] = 'Marcado como Spam com sucesso'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/pt_PT.inc b/plugins/markasjunk/localization/pt_PT.inc new file mode 100644 index 000000000..fd26a38da --- /dev/null +++ b/plugins/markasjunk/localization/pt_PT.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Lixo'; +$labels['buttontitle'] = 'Marcar como Lixo'; +$labels['reportedasjunk'] = 'Reportado como Lixo com sucesso'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/ro_RO.inc b/plugins/markasjunk/localization/ro_RO.inc new file mode 100644 index 000000000..b843fa590 --- /dev/null +++ b/plugins/markasjunk/localization/ro_RO.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Spam'; +$labels['buttontitle'] = 'Marchează ca Spam'; +$labels['reportedasjunk'] = 'Raportat cu succes ca Spam'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/ru_RU.inc b/plugins/markasjunk/localization/ru_RU.inc new file mode 100644 index 000000000..78e269543 --- /dev/null +++ b/plugins/markasjunk/localization/ru_RU.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'СПАМ'; +$labels['buttontitle'] = 'Переместить в СПАМ'; +$labels['reportedasjunk'] = 'Перемещено в СПАМ'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/si_LK.inc b/plugins/markasjunk/localization/si_LK.inc new file mode 100644 index 000000000..06283ef87 --- /dev/null +++ b/plugins/markasjunk/localization/si_LK.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontitle'] = 'සුන්බුන් ලෙස සලකුණු කරන්න'; +$labels['reportedasjunk'] = 'සුන්බුන් ලෙස වාර්තා කිරීම සාර්ථකයි'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/sk_SK.inc b/plugins/markasjunk/localization/sk_SK.inc new file mode 100644 index 000000000..25afe6cf2 --- /dev/null +++ b/plugins/markasjunk/localization/sk_SK.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Nevyžiadaná pošta'; +$labels['buttontitle'] = 'Označiť ako nevyžiadané'; +$labels['reportedasjunk'] = 'Úspešne nahlásené ako nevyžiadaná pošta'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/sl_SI.inc b/plugins/markasjunk/localization/sl_SI.inc new file mode 100644 index 000000000..538bb7f23 --- /dev/null +++ b/plugins/markasjunk/localization/sl_SI.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Nezaželena sporočila'; +$labels['buttontitle'] = 'Označi kot spam'; +$labels['reportedasjunk'] = 'Uspešno označeno kot spam'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/sr_CS.inc b/plugins/markasjunk/localization/sr_CS.inc new file mode 100644 index 000000000..6977bdcbd --- /dev/null +++ b/plugins/markasjunk/localization/sr_CS.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Смеће'; +$labels['buttontitle'] = 'Означи као cмеће'; +$labels['reportedasjunk'] = 'Успешно пријављени као cмеће'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/sv_SE.inc b/plugins/markasjunk/localization/sv_SE.inc new file mode 100644 index 000000000..369821e1d --- /dev/null +++ b/plugins/markasjunk/localization/sv_SE.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Skräp'; +$labels['buttontitle'] = 'Märk som skräp'; +$labels['reportedasjunk'] = 'Framgångsrikt rapporterat som skräp'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/tr_TR.inc b/plugins/markasjunk/localization/tr_TR.inc new file mode 100644 index 000000000..4d46c0b37 --- /dev/null +++ b/plugins/markasjunk/localization/tr_TR.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'İstenmeyen'; +$labels['buttontitle'] = 'İstenmeyen olarak işaretle'; +$labels['reportedasjunk'] = 'Spam olarak rapor edildi'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/uk_UA.inc b/plugins/markasjunk/localization/uk_UA.inc new file mode 100644 index 000000000..945a5e2b0 --- /dev/null +++ b/plugins/markasjunk/localization/uk_UA.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Спам'; +$labels['buttontitle'] = 'Перемістити в "Спам'; +$labels['reportedasjunk'] = 'Переміщено до "Спаму'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/vi_VN.inc b/plugins/markasjunk/localization/vi_VN.inc new file mode 100644 index 000000000..cd0909820 --- /dev/null +++ b/plugins/markasjunk/localization/vi_VN.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = 'Thư rác'; +$labels['buttontitle'] = 'Đánh dấu để được xem là thư rác'; +$labels['reportedasjunk'] = 'Đánh dấu để được xem là thư rác thành công'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/zh_CN.inc b/plugins/markasjunk/localization/zh_CN.inc new file mode 100644 index 000000000..1f2250e2b --- /dev/null +++ b/plugins/markasjunk/localization/zh_CN.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = '垃圾邮件'; +$labels['buttontitle'] = '标记为垃圾邮件'; +$labels['reportedasjunk'] = '成功报告该邮件为垃圾邮件'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/localization/zh_TW.inc b/plugins/markasjunk/localization/zh_TW.inc new file mode 100644 index 000000000..a42fd119d --- /dev/null +++ b/plugins/markasjunk/localization/zh_TW.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/markasjunk/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Mark-As-Junk 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-markasjunk/ +*/ +$labels['buttontext'] = '垃圾郵件'; +$labels['buttontitle'] = '標示為垃圾信'; +$labels['reportedasjunk'] = '成功回報垃圾信'; +?>
\ No newline at end of file diff --git a/plugins/markasjunk/markasjunk.js b/plugins/markasjunk/markasjunk.js new file mode 100644 index 000000000..7540c893d --- /dev/null +++ b/plugins/markasjunk/markasjunk.js @@ -0,0 +1,43 @@ +/** + * Mark-as-Junk plugin script + * + * @licstart The following is the entire license notice for the + * JavaScript code in this file. + * + * Copyright (c) 2013, The Roundcube Dev Team + * + * The JavaScript code in this page is free software: you can redistribute it + * and/or modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * @licend The above is the entire license notice + * for the JavaScript code in this file. + */ + +function rcmail_markasjunk(prop) +{ + if (!rcmail.env.uid && (!rcmail.message_list || !rcmail.message_list.get_selection().length)) + return; + + var uids = rcmail.env.uid ? rcmail.env.uid : rcmail.message_list.get_selection().join(','), + lock = rcmail.set_busy(true, 'loading'); + + rcmail.http_post('plugin.markasjunk', '_uid='+uids+'&_mbox='+urlencode(rcmail.env.mailbox), lock); +} + +// callback for app-onload event +if (window.rcmail) { + rcmail.addEventListener('init', function(evt) { + + // register command (directly enable in message view mode) + rcmail.register_command('plugin.markasjunk', rcmail_markasjunk, rcmail.env.uid); + + // add event-listener to message list + if (rcmail.message_list) + rcmail.message_list.addEventListener('select', function(list){ + rcmail.enable_command('plugin.markasjunk', list.get_selection().length > 0); + }); + }) +} + diff --git a/plugins/markasjunk/markasjunk.php b/plugins/markasjunk/markasjunk.php new file mode 100644 index 000000000..d07b494f8 --- /dev/null +++ b/plugins/markasjunk/markasjunk.php @@ -0,0 +1,75 @@ +<?php + +/** + * Mark as Junk + * + * Sample plugin that adds a new button to the mailbox toolbar + * to mark the selected messages as Junk and move them to the Junk folder + * + * @version @package_version@ + * @license GNU GPLv3+ + * @author Thomas Bruederli + */ +class markasjunk extends rcube_plugin +{ + public $task = 'mail'; + + function init() + { + $rcmail = rcmail::get_instance(); + + $this->register_action('plugin.markasjunk', array($this, 'request_action')); + $this->add_hook('storage_init', array($this, 'storage_init')); + + if ($rcmail->action == '' || $rcmail->action == 'show') { + $skin_path = $this->local_skin_path(); + $this->include_script('markasjunk.js'); + if (is_file($this->home . "/$skin_path/markasjunk.css")) + $this->include_stylesheet("$skin_path/markasjunk.css"); + $this->add_texts('localization', true); + + $this->add_button(array( + 'type' => 'link', + 'label' => 'buttontext', + 'command' => 'plugin.markasjunk', + 'class' => 'button buttonPas junk disabled', + 'classact' => 'button junk', + 'title' => 'buttontitle', + 'domain' => 'markasjunk'), 'toolbar'); + } + } + + function storage_init($args) + { + $flags = array( + 'JUNK' => 'Junk', + 'NONJUNK' => 'NonJunk', + ); + + // register message flags + $args['message_flags'] = array_merge((array)$args['message_flags'], $flags); + + return $args; + } + + function request_action() + { + $this->add_texts('localization'); + + $rcmail = rcmail::get_instance(); + $storage = $rcmail->get_storage(); + + foreach (rcmail::get_uids() as $mbox => $uids) { + $storage->unset_flag($uids, 'NONJUNK', $mbox); + $storage->set_flag($uids, 'JUNK', $mbox); + } + + if (($junk_mbox = $rcmail->config->get('junk_mbox'))) { + $rcmail->output->command('move_messages', $junk_mbox); + } + + $rcmail->output->command('display_message', $this->gettext('reportedasjunk'), 'confirmation'); + $rcmail->output->send(); + } + +} diff --git a/plugins/markasjunk/skins/classic/junk_act.png b/plugins/markasjunk/skins/classic/junk_act.png Binary files differnew file mode 100644 index 000000000..b5a84f604 --- /dev/null +++ b/plugins/markasjunk/skins/classic/junk_act.png diff --git a/plugins/markasjunk/skins/classic/junk_pas.png b/plugins/markasjunk/skins/classic/junk_pas.png Binary files differnew file mode 100644 index 000000000..b88a561a4 --- /dev/null +++ b/plugins/markasjunk/skins/classic/junk_pas.png diff --git a/plugins/markasjunk/skins/classic/markasjunk.css b/plugins/markasjunk/skins/classic/markasjunk.css new file mode 100644 index 000000000..5b1d47b46 --- /dev/null +++ b/plugins/markasjunk/skins/classic/markasjunk.css @@ -0,0 +1,6 @@ + +#messagetoolbar a.button.junk { + text-indent: -5000px; + background: url(junk_act.png) 0 0 no-repeat; +} + diff --git a/plugins/markasjunk/skins/larry/.gitignore b/plugins/markasjunk/skins/larry/.gitignore new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/plugins/markasjunk/skins/larry/.gitignore diff --git a/plugins/markasjunk/tests/Markasjunk.php b/plugins/markasjunk/tests/Markasjunk.php new file mode 100644 index 000000000..73494b0ec --- /dev/null +++ b/plugins/markasjunk/tests/Markasjunk.php @@ -0,0 +1,23 @@ +<?php + +class Markasjunk_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../markasjunk.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new markasjunk($rcube->api); + + $this->assertInstanceOf('markasjunk', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/new_user_dialog/composer.json b/plugins/new_user_dialog/composer.json new file mode 100644 index 000000000..78ea0645c --- /dev/null +++ b/plugins/new_user_dialog/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/new_user_dialog", + "type": "roundcube-plugin", + "description": "When a new user is created, this plugin checks the default identity and sets a session flag in case it is incomplete. An overlay box will appear on the screen until the user has reviewed/completed his identity.", + "license": "GPLv3+", + "version": "2.1", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/new_user_dialog/localization/ar.inc b/plugins/new_user_dialog/localization/ar.inc new file mode 100644 index 000000000..110b6c429 --- /dev/null +++ b/plugins/new_user_dialog/localization/ar.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'يرجى إكمال هوية المرسل'; +$labels['identitydialoghint'] = 'يظهر هذا المربع مرة واحدة فقط عند تسجيل الدخول أول مرة .'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/ar_SA.inc b/plugins/new_user_dialog/localization/ar_SA.inc new file mode 100644 index 000000000..bdaf22693 --- /dev/null +++ b/plugins/new_user_dialog/localization/ar_SA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'يرجى اكمال هوية المُرسل.'; +$labels['identitydialoghint'] = 'يظهر هذا المربع مرة واحدة فقط عند أول الدخول'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/ast.inc b/plugins/new_user_dialog/localization/ast.inc new file mode 100644 index 000000000..11868bcbb --- /dev/null +++ b/plugins/new_user_dialog/localization/ast.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor, completa la to identidá de remitente'; +$labels['identitydialoghint'] = 'Esta caxa namái apaecerá una vegada nel primer aniciu de sesión.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/az_AZ.inc b/plugins/new_user_dialog/localization/az_AZ.inc new file mode 100644 index 000000000..c5196dd99 --- /dev/null +++ b/plugins/new_user_dialog/localization/az_AZ.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Lütfən, adınızı yazın.'; +$labels['identitydialoghint'] = 'Bu məlumat yalnız ilk girişdə göstərilir.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/be_BE.inc b/plugins/new_user_dialog/localization/be_BE.inc new file mode 100644 index 000000000..9986d4320 --- /dev/null +++ b/plugins/new_user_dialog/localization/be_BE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Калі ласка, запоўніце тоеснасць адпраўніка'; +$labels['identitydialoghint'] = 'Гэтае акно з\'яўляецца толькі аднойчы, у час першага ўваходу.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/bg_BG.inc b/plugins/new_user_dialog/localization/bg_BG.inc new file mode 100644 index 000000000..38b2c3a10 --- /dev/null +++ b/plugins/new_user_dialog/localization/bg_BG.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Моля попълнете Вашите данни за идентичност на подател'; +$labels['identitydialoghint'] = 'Този диалог се появява само при първоначално регистриране.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/br.inc b/plugins/new_user_dialog/localization/br.inc new file mode 100644 index 000000000..9654452e7 --- /dev/null +++ b/plugins/new_user_dialog/localization/br.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Bizskrivit hoc\'h anv kaser mar plij'; +$labels['identitydialoghint'] = 'Diskouezet eo ar boest e-pad ar c\'hentañ kennask.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/bs_BA.inc b/plugins/new_user_dialog/localization/bs_BA.inc new file mode 100644 index 000000000..ade75f28f --- /dev/null +++ b/plugins/new_user_dialog/localization/bs_BA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Molimo vas da kompletirate vaš identitet pošiljaoca'; +$labels['identitydialoghint'] = 'Ovaj okvir se pojavljuje samo jednom prilikom prve prijave.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/ca_ES.inc b/plugins/new_user_dialog/localization/ca_ES.inc new file mode 100644 index 000000000..148bd440c --- /dev/null +++ b/plugins/new_user_dialog/localization/ca_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Si us plau, completeu la identitat del vostre remitent'; +$labels['identitydialoghint'] = 'Aquest quadre només apareix un cop a la primera entrada.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/cs_CZ.inc b/plugins/new_user_dialog/localization/cs_CZ.inc new file mode 100644 index 000000000..ccc9b1023 --- /dev/null +++ b/plugins/new_user_dialog/localization/cs_CZ.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Prosím doplňte své jméno a e-mail'; +$labels['identitydialoghint'] = 'Tento dialog se objeví pouze při prvním přihlášení.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/cy_GB.inc b/plugins/new_user_dialog/localization/cy_GB.inc new file mode 100644 index 000000000..33eb284e2 --- /dev/null +++ b/plugins/new_user_dialog/localization/cy_GB.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Cwblhewch eich enw danfonwr'; +$labels['identitydialoghint'] = 'Mae\'r bocs hwn yn ymddangos unwaith ar eich mewngofnodiad cyntaf.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/da_DK.inc b/plugins/new_user_dialog/localization/da_DK.inc new file mode 100644 index 000000000..a34282a3a --- /dev/null +++ b/plugins/new_user_dialog/localization/da_DK.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Udfyld din afsender identitet'; +$labels['identitydialoghint'] = 'Denne boks vises kun én gang ved første login'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/de_CH.inc b/plugins/new_user_dialog/localization/de_CH.inc new file mode 100644 index 000000000..b5aed0519 --- /dev/null +++ b/plugins/new_user_dialog/localization/de_CH.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Bitte vervollständigen Sie Ihre Absender-Informationen'; +$labels['identitydialoghint'] = 'Dieser Dialog erscheint nur einmal beim ersten Login.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/de_DE.inc b/plugins/new_user_dialog/localization/de_DE.inc new file mode 100644 index 000000000..b5aed0519 --- /dev/null +++ b/plugins/new_user_dialog/localization/de_DE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Bitte vervollständigen Sie Ihre Absender-Informationen'; +$labels['identitydialoghint'] = 'Dieser Dialog erscheint nur einmal beim ersten Login.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/el_GR.inc b/plugins/new_user_dialog/localization/el_GR.inc new file mode 100644 index 000000000..761ec363e --- /dev/null +++ b/plugins/new_user_dialog/localization/el_GR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Παρακαλώ συμπληρώστε την ταυτότητα του αποστολέα'; +$labels['identitydialoghint'] = 'Αυτό το πλαίσιο εμφανίζεται μια φορά κατά την πρώτη σύνδεση'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/en_CA.inc b/plugins/new_user_dialog/localization/en_CA.inc new file mode 100644 index 000000000..4b4e48b30 --- /dev/null +++ b/plugins/new_user_dialog/localization/en_CA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Please complete your sender identity'; +$labels['identitydialoghint'] = 'This box only appears once at the first login.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/en_GB.inc b/plugins/new_user_dialog/localization/en_GB.inc new file mode 100644 index 000000000..37043cb52 --- /dev/null +++ b/plugins/new_user_dialog/localization/en_GB.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Please complete your sender identity.'; +$labels['identitydialoghint'] = 'This box only appears once at the first login.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/en_US.inc b/plugins/new_user_dialog/localization/en_US.inc new file mode 100644 index 000000000..d508cfc9c --- /dev/null +++ b/plugins/new_user_dialog/localization/en_US.inc @@ -0,0 +1,23 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ + +$labels = array(); +$labels['identitydialogtitle'] = 'Please complete your sender identity'; +$labels['identitydialoghint'] = 'This box only appears once at the first login.'; + +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/eo.inc b/plugins/new_user_dialog/localization/eo.inc new file mode 100644 index 000000000..5eff25356 --- /dev/null +++ b/plugins/new_user_dialog/localization/eo.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Bonvole plenumu vian identon pri sendanto'; +$labels['identitydialoghint'] = 'Ĉi tiu kesto aperas nur unufoje je la unua ensaluto.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/es_419.inc b/plugins/new_user_dialog/localization/es_419.inc new file mode 100644 index 000000000..145c5d5ca --- /dev/null +++ b/plugins/new_user_dialog/localization/es_419.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor completa tu información de remitente'; +$labels['identitydialoghint'] = 'Esta sección solo aparece un vez en el primer login.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/es_AR.inc b/plugins/new_user_dialog/localization/es_AR.inc new file mode 100644 index 000000000..bda1c7477 --- /dev/null +++ b/plugins/new_user_dialog/localization/es_AR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor, seleccione una identidad para los mensajes salientes'; +$labels['identitydialoghint'] = 'Este diálogo aparecerá sólo una vez durante el primer ingreso'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/es_ES.inc b/plugins/new_user_dialog/localization/es_ES.inc new file mode 100644 index 000000000..b4275b541 --- /dev/null +++ b/plugins/new_user_dialog/localization/es_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor, complete su identidad de remitente'; +$labels['identitydialoghint'] = 'Este diálogo sólo aparece la primera vez que inicia su sesión.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/et_EE.inc b/plugins/new_user_dialog/localization/et_EE.inc new file mode 100644 index 000000000..2f2d5e70c --- /dev/null +++ b/plugins/new_user_dialog/localization/et_EE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Palun täida oma saatja identiteet'; +$labels['identitydialoghint'] = 'See kast ilmub ainult esimesel sisselogimisel.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/eu_ES.inc b/plugins/new_user_dialog/localization/eu_ES.inc new file mode 100644 index 000000000..1276ea70c --- /dev/null +++ b/plugins/new_user_dialog/localization/eu_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Osatu zure bidaltzaile-identitatea'; +$labels['identitydialoghint'] = 'Kutxa hau behin bakarri agertzen da lehenengoz sartzean.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/fa_AF.inc b/plugins/new_user_dialog/localization/fa_AF.inc new file mode 100644 index 000000000..d66d4cbcf --- /dev/null +++ b/plugins/new_user_dialog/localization/fa_AF.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'لطفا مشخصات فرستنده را کامل کنید'; +$labels['identitydialoghint'] = 'این متن تنها هنگام اولین ورود نمایش داده خواهد شد'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/fa_IR.inc b/plugins/new_user_dialog/localization/fa_IR.inc new file mode 100644 index 000000000..d9008d5ae --- /dev/null +++ b/plugins/new_user_dialog/localization/fa_IR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'لطفا شناسه ارسالیتان را کامل کنید'; +$labels['identitydialoghint'] = 'این جعبه فقط یک بار در اولین ورود ظاهر میشود.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/fi_FI.inc b/plugins/new_user_dialog/localization/fi_FI.inc new file mode 100644 index 000000000..882df9653 --- /dev/null +++ b/plugins/new_user_dialog/localization/fi_FI.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Täydennä lähettäjätietosi'; +$labels['identitydialoghint'] = 'Tämä kohta näkyy vain ensimmäisellä kirjautumiskerralla.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/fo_FO.inc b/plugins/new_user_dialog/localization/fo_FO.inc new file mode 100644 index 000000000..5a7a8d444 --- /dev/null +++ b/plugins/new_user_dialog/localization/fo_FO.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Vinarliga fill út tín sendara samleika'; +$labels['identitydialoghint'] = 'Hesin kassin sæðst einans á fyrstu innriting.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/fr_FR.inc b/plugins/new_user_dialog/localization/fr_FR.inc new file mode 100644 index 000000000..d9ceb7324 --- /dev/null +++ b/plugins/new_user_dialog/localization/fr_FR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Veuillez saisir votre identité d\'expéditeur'; +$labels['identitydialoghint'] = 'Ce champs n\'apparaît que lors de la première connexion.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/gl_ES.inc b/plugins/new_user_dialog/localization/gl_ES.inc new file mode 100644 index 000000000..859855ea2 --- /dev/null +++ b/plugins/new_user_dialog/localization/gl_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor, completa os teus datos persoais'; +$labels['identitydialoghint'] = 'Este diálogo só aparecerá a primera vez que te conectes ao correo.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/he_IL.inc b/plugins/new_user_dialog/localization/he_IL.inc new file mode 100644 index 000000000..e4a7472f2 --- /dev/null +++ b/plugins/new_user_dialog/localization/he_IL.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'נא להשלים את פרטי זהותך'; +$labels['identitydialoghint'] = 'תיבה זו מופיעה פעם אחת בזמן הכניסה הראשונה למערכת'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/hr_HR.inc b/plugins/new_user_dialog/localization/hr_HR.inc new file mode 100644 index 000000000..136d9c5ad --- /dev/null +++ b/plugins/new_user_dialog/localization/hr_HR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Molim dovršite vaš identitet za slanje poruka'; +$labels['identitydialoghint'] = 'Ova poruka će se pojaviti samo kod prve prijave.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/hu_HU.inc b/plugins/new_user_dialog/localization/hu_HU.inc new file mode 100644 index 000000000..b793b4b3e --- /dev/null +++ b/plugins/new_user_dialog/localization/hu_HU.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Kérem töltse ki a küldő azonosítóját'; +$labels['identitydialoghint'] = 'Ez az ablak csak az első belépéskor jelenik meg.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/hy_AM.inc b/plugins/new_user_dialog/localization/hy_AM.inc new file mode 100644 index 000000000..be3a1d9a4 --- /dev/null +++ b/plugins/new_user_dialog/localization/hy_AM.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Լրացրեք Ձեր ինքնությունը'; +$labels['identitydialoghint'] = 'Այս նշումը երևում է միայն առաջին մուտքի ժամանակ մեկ անգամ'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/ia.inc b/plugins/new_user_dialog/localization/ia.inc new file mode 100644 index 000000000..bf5b749f5 --- /dev/null +++ b/plugins/new_user_dialog/localization/ia.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Per favor, completa vostre identitate de expeditor'; +$labels['identitydialoghint'] = 'Iste quadro solmente appare un vice al prime apertura de session.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/id_ID.inc b/plugins/new_user_dialog/localization/id_ID.inc new file mode 100644 index 000000000..e0b2e7b23 --- /dev/null +++ b/plugins/new_user_dialog/localization/id_ID.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Tolong lengkapi identitas pengirim Anda'; +$labels['identitydialoghint'] = 'Kotak ini hanya muncul sekali saat masuk pertama kali.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/it_IT.inc b/plugins/new_user_dialog/localization/it_IT.inc new file mode 100644 index 000000000..b8f8df57e --- /dev/null +++ b/plugins/new_user_dialog/localization/it_IT.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Per favore completa le informazioni riguardo la tua identità'; +$labels['identitydialoghint'] = 'Questa finestra comparirà una volta sola al primo accesso'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/ja_JP.inc b/plugins/new_user_dialog/localization/ja_JP.inc new file mode 100644 index 000000000..5f2430190 --- /dev/null +++ b/plugins/new_user_dialog/localization/ja_JP.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = '送信者情報の入力を完了してください。'; +$labels['identitydialoghint'] = 'このボックスは最初のログイン時に一度だけ表示されます。'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/km_KH.inc b/plugins/new_user_dialog/localization/km_KH.inc new file mode 100644 index 000000000..f7e7ffb27 --- /dev/null +++ b/plugins/new_user_dialog/localization/km_KH.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'សូមបំពេញអត្តសញ្ញាណរបស់អ្នកផ្ញើរបស់អ្នក'; +$labels['identitydialoghint'] = 'ប្រអប់នេះបង្ហាញតែម្ដងនៅពេលចូលដំបូងប៉ុណ្ណោះ។'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/ko_KR.inc b/plugins/new_user_dialog/localization/ko_KR.inc new file mode 100644 index 000000000..6e27e7c62 --- /dev/null +++ b/plugins/new_user_dialog/localization/ko_KR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = '발송자의 신원을 완성해주세요.'; +$labels['identitydialoghint'] = '이 상자는 최초로 로그인할 때만 나타납니다.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/ku.inc b/plugins/new_user_dialog/localization/ku.inc new file mode 100644 index 000000000..2ca2654df --- /dev/null +++ b/plugins/new_user_dialog/localization/ku.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'tkaya nawnişani nenar ba tawawi bnwsa'; +$labels['identitydialoghint'] = 'am qtwia wadiara yak jar la sarata krawatawa'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/lb_LU.inc b/plugins/new_user_dialog/localization/lb_LU.inc new file mode 100644 index 000000000..4fe55546a --- /dev/null +++ b/plugins/new_user_dialog/localization/lb_LU.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Vervollstänneg w.e.gl deng Sender-Identitéit'; +$labels['identitydialoghint'] = 'Dës Këscht erschéngt just beim éischte Login.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/lt_LT.inc b/plugins/new_user_dialog/localization/lt_LT.inc new file mode 100644 index 000000000..dc982ba97 --- /dev/null +++ b/plugins/new_user_dialog/localization/lt_LT.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Prašom užpildyti trūkstamą informaciją apie save'; +$labels['identitydialoghint'] = 'Šis langas rodomas tik prisijungus pirmąjį kartą.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/lv_LV.inc b/plugins/new_user_dialog/localization/lv_LV.inc new file mode 100644 index 000000000..037f7cb1e --- /dev/null +++ b/plugins/new_user_dialog/localization/lv_LV.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Lūdzu aizpildiet Jūsu, kā sūtītāja, identitātes informāciju'; +$labels['identitydialoghint'] = 'Šis logs parādīsies tikai pirmajā autorizācijas reizē.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/ml_IN.inc b/plugins/new_user_dialog/localization/ml_IN.inc new file mode 100644 index 000000000..d97ad9989 --- /dev/null +++ b/plugins/new_user_dialog/localization/ml_IN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'സ്വീകര്ത്താവിന്റെ വ്യക്തിത്വം പൂര്ത്തീകരിക്കുക'; +$labels['identitydialoghint'] = 'ആദ്യത്തെ പ്രവേശനത്തില് മാത്രമേ ഈ പെട്ടി വരികയുള്ളു'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/mr_IN.inc b/plugins/new_user_dialog/localization/mr_IN.inc new file mode 100644 index 000000000..d78f2b010 --- /dev/null +++ b/plugins/new_user_dialog/localization/mr_IN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'कृपया पाठवणा-याची ओळख पूर्ण करा'; +$labels['identitydialoghint'] = 'हा चौकोन पहिल्यांदा लॉगिन करताना एकदाच दिसेल.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/nb_NO.inc b/plugins/new_user_dialog/localization/nb_NO.inc new file mode 100644 index 000000000..320bd9a8d --- /dev/null +++ b/plugins/new_user_dialog/localization/nb_NO.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Vennligst fullfør din avvsender identitet.'; +$labels['identitydialoghint'] = 'Denne boksen kommer kun ved første pålogging.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/nl_NL.inc b/plugins/new_user_dialog/localization/nl_NL.inc new file mode 100644 index 000000000..450b4f6a7 --- /dev/null +++ b/plugins/new_user_dialog/localization/nl_NL.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Vul alstublieft uw afzendergegevens in.'; +$labels['identitydialoghint'] = 'Dit scherm verschijnt eenmalig bij uw eerste aanmelding.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/nn_NO.inc b/plugins/new_user_dialog/localization/nn_NO.inc new file mode 100644 index 000000000..a1122bc03 --- /dev/null +++ b/plugins/new_user_dialog/localization/nn_NO.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Fullfør avsendaridentiteten din.'; +$labels['identitydialoghint'] = 'Denne boksen kjem berre fram ved første pålogging.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/pl_PL.inc b/plugins/new_user_dialog/localization/pl_PL.inc new file mode 100644 index 000000000..be7ed19e5 --- /dev/null +++ b/plugins/new_user_dialog/localization/pl_PL.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Uzupełnij tożsamość nadawcy'; +$labels['identitydialoghint'] = 'To okno pojawia się tylko przy pierwszym logowaniu.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/pt_BR.inc b/plugins/new_user_dialog/localization/pt_BR.inc new file mode 100644 index 000000000..32640f44e --- /dev/null +++ b/plugins/new_user_dialog/localization/pt_BR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor complete a sua identidade'; +$labels['identitydialoghint'] = 'Esta tela aparece somente no primeiro acesso.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/pt_PT.inc b/plugins/new_user_dialog/localization/pt_PT.inc new file mode 100644 index 000000000..5eeff7e10 --- /dev/null +++ b/plugins/new_user_dialog/localization/pt_PT.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Por favor, complete a sua identidade'; +$labels['identitydialoghint'] = 'Esta caixa aparece apenas uma vez no primeiro acesso.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/ro_RO.inc b/plugins/new_user_dialog/localization/ro_RO.inc new file mode 100644 index 000000000..e765212e5 --- /dev/null +++ b/plugins/new_user_dialog/localization/ro_RO.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Te rog completează identitatea expeditorului.'; +$labels['identitydialoghint'] = 'Această căsuţă apare doar la prima autentificare.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/ru_RU.inc b/plugins/new_user_dialog/localization/ru_RU.inc new file mode 100644 index 000000000..0b408858f --- /dev/null +++ b/plugins/new_user_dialog/localization/ru_RU.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Пожалуйста, укажите Ваше имя.'; +$labels['identitydialoghint'] = 'Данное сообщение отображается только при первом входе.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/sk_SK.inc b/plugins/new_user_dialog/localization/sk_SK.inc new file mode 100644 index 000000000..32feebc00 --- /dev/null +++ b/plugins/new_user_dialog/localization/sk_SK.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Doplňte prosím svoju identifikáciu odosielateľa'; +$labels['identitydialoghint'] = 'Toto okno sa zobrazí len raz, pri prvom prihlásení.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/sl_SI.inc b/plugins/new_user_dialog/localization/sl_SI.inc new file mode 100644 index 000000000..12d115ad4 --- /dev/null +++ b/plugins/new_user_dialog/localization/sl_SI.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Izberite identiteto za pošiljanje'; +$labels['identitydialoghint'] = 'To okno se prikaže le ob prvi prijavi v spletno pošto.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/sr_CS.inc b/plugins/new_user_dialog/localization/sr_CS.inc new file mode 100644 index 000000000..25298a175 --- /dev/null +++ b/plugins/new_user_dialog/localization/sr_CS.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Молимо вас да попуните свој идентитет пошиљаоца'; +$labels['identitydialoghint'] = 'Ово поље се појављује само једном у првом логовању'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/sv_SE.inc b/plugins/new_user_dialog/localization/sv_SE.inc new file mode 100644 index 000000000..2fb018005 --- /dev/null +++ b/plugins/new_user_dialog/localization/sv_SE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Fyll i namn och avsändaradress under personliga inställningar'; +$labels['identitydialoghint'] = 'Informationen visas endast vid första inloggningen.'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/tr_TR.inc b/plugins/new_user_dialog/localization/tr_TR.inc new file mode 100644 index 000000000..982a5b6de --- /dev/null +++ b/plugins/new_user_dialog/localization/tr_TR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Lütfen gönderici kimliğinizi tamamlayın'; +$labels['identitydialoghint'] = 'Bu ekran ilk girişte bir kereliğine gözükür'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/uk_UA.inc b/plugins/new_user_dialog/localization/uk_UA.inc new file mode 100644 index 000000000..b6caef051 --- /dev/null +++ b/plugins/new_user_dialog/localization/uk_UA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Будь ласка, вкажіть Ваше ім’я'; +$labels['identitydialoghint'] = 'Це повідомлення відображається тільки під час першого заходу'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/vi_VN.inc b/plugins/new_user_dialog/localization/vi_VN.inc new file mode 100644 index 000000000..a6947810b --- /dev/null +++ b/plugins/new_user_dialog/localization/vi_VN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = 'Xin điền nhận diện người gửi của bạn'; +$labels['identitydialoghint'] = 'Hộp này chỉ xuất hiện 1 lần khi đăng nhập lần đầu tiên'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/zh_CN.inc b/plugins/new_user_dialog/localization/zh_CN.inc new file mode 100644 index 000000000..16fc0d4a2 --- /dev/null +++ b/plugins/new_user_dialog/localization/zh_CN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = '请填写发送人身份'; +$labels['identitydialoghint'] = '本提示仅在第一次登录时显示。'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/localization/zh_TW.inc b/plugins/new_user_dialog/localization/zh_TW.inc new file mode 100644 index 000000000..25f5883f7 --- /dev/null +++ b/plugins/new_user_dialog/localization/zh_TW.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/new_user_dialog/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail New User Dialog 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-new_user_dialog/ +*/ +$labels['identitydialogtitle'] = '請完成您的身份資訊'; +$labels['identitydialoghint'] = '此視窗只會於第一次登入時出現。'; +?>
\ No newline at end of file diff --git a/plugins/new_user_dialog/new_user_dialog.php b/plugins/new_user_dialog/new_user_dialog.php new file mode 100644 index 000000000..1cef68010 --- /dev/null +++ b/plugins/new_user_dialog/new_user_dialog.php @@ -0,0 +1,174 @@ +<?php + +/** + * Present identities settings dialog to new users + * + * When a new user is created, this plugin checks the default identity + * and sets a session flag in case it is incomplete. An overlay box will appear + * on the screen until the user has reviewed/completed his identity. + * + * @version @package_version@ + * @license GNU GPLv3+ + * @author Thomas Bruederli + * @author Aleksander Machniak + */ +class new_user_dialog extends rcube_plugin +{ + public $task = 'login|mail'; + public $noframe = true; + + function init() + { + $this->add_hook('identity_create', array($this, 'create_identity')); + $this->register_action('plugin.newusersave', array($this, 'save_data')); + + // register additional hooks if session flag is set + if ($_SESSION['plugin.newuserdialog']) { + $this->add_hook('render_page', array($this, 'render_page')); + } + } + + /** + * Check newly created identity at first login + */ + function create_identity($p) + { + // set session flag when a new user was created and the default identity seems to be incomplete + if ($p['login'] && !$p['complete']) { + $_SESSION['plugin.newuserdialog'] = true; + } + } + + /** + * Callback function when HTML page is rendered + * We'll add an overlay box here. + */ + function render_page($p) + { + if ($_SESSION['plugin.newuserdialog'] && $p['template'] == 'mail') { + $this->add_texts('localization'); + + $rcmail = rcmail::get_instance(); + $identity = $rcmail->user->get_identity(); + $identities_level = intval($rcmail->config->get('identities_level', 0)); + + // compose user-identity dialog + $table = new html_table(array('cols' => 2)); + + $table->add('title', $this->gettext('name')); + $table->add(null, html::tag('input', array( + 'type' => 'text', + 'name' => '_name', + 'value' => $identity['name'], + 'disabled' => $identities_level == 4 + ))); + + $table->add('title', $this->gettext('email')); + $table->add(null, html::tag('input', array( + 'type' => 'text', + 'name' => '_email', + 'value' => rcube_utils::idn_to_utf8($identity['email']), + 'disabled' => in_array($identities_level, array(1, 3, 4)) + ))); + + $table->add('title', $this->gettext('organization')); + $table->add(null, html::tag('input', array( + 'type' => 'text', + 'name' => '_organization', + 'value' => $identity['organization'], + 'disabled' => $identities_level == 4 + ))); + + $table->add('title', $this->gettext('signature')); + $table->add(null, html::tag('textarea', array( + 'name' => '_signature', + 'rows' => '3', + ), + $identity['signature'] + )); + + // add overlay input box to html page + $rcmail->output->add_footer(html::tag('form', array( + 'id' => 'newuserdialog', + 'action' => $rcmail->url('plugin.newusersave'), + 'method' => 'post' + ), + html::p('hint', rcube::Q($this->gettext('identitydialoghint'))) . + $table->show() . + html::p(array('class' => 'formbuttons'), + html::tag('input', array('type' => 'submit', + 'class' => 'button mainaction', 'value' => $this->gettext('save')))) + )); + + $title = rcube::JQ($this->gettext('identitydialogtitle')); + $script = " +$('#newuserdialog').show() + .dialog({modal:true, resizable:false, closeOnEscape:false, width:450, title:'$title'}) + .submit(function() { + var i, request = {}, form = $(this).serializeArray(); + for (i in form) + request[form[i].name] = form[i].value; + + rcmail.http_post('plugin.newusersave', request, true); + return false; + }); + +$('input[name=_name]').focus(); +rcube_webmail.prototype.new_user_dialog_close = function() { $('#newuserdialog').dialog('close'); } +"; + // disable keyboard events for messages list (#1486726) + $rcmail->output->add_script($script, 'docready'); + + $this->include_stylesheet('newuserdialog.css'); + } + } + + /** + * Handler for submitted form (ajax request) + * + * Check fields and save to default identity if valid. + * Afterwards the session flag is removed and we're done. + */ + function save_data() + { + $rcmail = rcmail::get_instance(); + $identity = $rcmail->user->get_identity(); + $ident_level = intval($rcmail->config->get('identities_level', 0)); + $disabled = array(); + + $save_data = array( + 'name' => rcube_utils::get_input_value('_name', rcube_utils::INPUT_POST), + 'email' => rcube_utils::get_input_value('_email', rcube_utils::INPUT_POST), + 'organization' => rcube_utils::get_input_value('_organization', rcube_utils::INPUT_POST), + 'signature' => rcube_utils::get_input_value('_signature', rcube_utils::INPUT_POST), + ); + + if ($ident_level == 4) { + $disabled = array('name', 'email', 'organization'); + } + else if (in_array($ident_level, array(1, 3))) { + $disabled = array('email'); + } + + foreach ($disabled as $key) { + $save_data[$key] = $identity[$key]; + } + + if (empty($save_data['name']) || empty($save_data['email'])) { + $rcmail->output->show_message('formincomplete', 'error'); + } + else if (!rcube_utils::check_email($save_data['email'] = rcube_utils::idn_to_ascii($save_data['email']))) { + $rcmail->output->show_message('emailformaterror', 'error', array('email' => $save_data['email'])); + } + else { + // save data + $rcmail->user->update_identity($identity['identity_id'], $save_data); + $rcmail->session->remove('plugin.newuserdialog'); + // hide dialog + $rcmail->output->command('new_user_dialog_close'); + $rcmail->output->show_message('successfullysaved', 'confirmation'); + } + + $rcmail->output->send(); + } +} diff --git a/plugins/new_user_dialog/newuserdialog.css b/plugins/new_user_dialog/newuserdialog.css new file mode 100644 index 000000000..207604dd1 --- /dev/null +++ b/plugins/new_user_dialog/newuserdialog.css @@ -0,0 +1,39 @@ +/** Styles for the new-user-dialog box */ + +#newuserdialog { + display: none; +} + +#newuserdialog h3 { + color: #333; + font-size: normal; + margin-top: 0; + margin-bottom: 0; +} + +#newuserdialog p.hint { + margin-top: 0.5em; + margin-bottom: 1em; + font-style: italic; +} + +#newuserdialog table td.title { + color: #666; + text-align: right; + padding-right: 1em; + white-space: nowrap; +} + +#newuserdialog table td input, +#newuserdialog table td textarea { + width: 20em; +} + +#newuserdialog .formbuttons { + margin-top: 1.5em; + text-align: center; +} + +.ui-dialog-titlebar-close { + display: none; +}
\ No newline at end of file diff --git a/plugins/new_user_dialog/tests/NewUserDialog.php b/plugins/new_user_dialog/tests/NewUserDialog.php new file mode 100644 index 000000000..e58489a09 --- /dev/null +++ b/plugins/new_user_dialog/tests/NewUserDialog.php @@ -0,0 +1,23 @@ +<?php + +class NewUserDialog_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../new_user_dialog.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new new_user_dialog($rcube->api); + + $this->assertInstanceOf('new_user_dialog', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/new_user_identity/composer.json b/plugins/new_user_identity/composer.json new file mode 100644 index 000000000..8378ae50c --- /dev/null +++ b/plugins/new_user_identity/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/new_user_identity", + "type": "roundcube-plugin", + "description": "Populates a new user's default identity from LDAP on their first visit.", + "license": "GPLv3+", + "version": "1.1", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/new_user_identity/config.inc.php.dist b/plugins/new_user_identity/config.inc.php.dist new file mode 100644 index 000000000..87f28166b --- /dev/null +++ b/plugins/new_user_identity/config.inc.php.dist @@ -0,0 +1,15 @@ +<?php + +// The id of the address book to use to automatically set a +// user's full name in their new identity. (This should be an +// string, which refers to the $config['ldap_public'] array.) +$config['new_user_identity_addressbook'] = 'People'; + +// When automatically setting a user's full name in their +// new identity, match the user's login name against this field. +$config['new_user_identity_match'] = 'uid'; + +// Determine whether to import user's identities on each login. +// New user identity will be created for each e-mail address +// present in address book, but not assigned to any identity. +$config['new_user_identity_onlogin'] = false; diff --git a/plugins/new_user_identity/new_user_identity.php b/plugins/new_user_identity/new_user_identity.php new file mode 100644 index 000000000..b9054880e --- /dev/null +++ b/plugins/new_user_identity/new_user_identity.php @@ -0,0 +1,133 @@ +<?php +/** + * New user identity + * + * Populates a new user's default identity from LDAP on their first visit. + * + * This plugin requires that a working public_ldap directory be configured. + * + * @version @package_version@ + * @author Kris Steinhoff + * @license GNU GPLv3+ + */ +class new_user_identity extends rcube_plugin +{ + public $task = 'login'; + + private $rc; + private $ldap; + + function init() + { + $this->rc = rcmail::get_instance(); + + $this->add_hook('user_create', array($this, 'lookup_user_name')); + $this->add_hook('login_after', array($this, 'login_after')); + } + + function lookup_user_name($args) + { + if ($this->init_ldap($args['host'])) { + $results = $this->ldap->search('*', $args['user'], true); + + if (count($results->records) == 1) { + $user_name = is_array($results->records[0]['name']) ? $results->records[0]['name'][0] : $results->records[0]['name']; + $user_email = is_array($results->records[0]['email']) ? $results->records[0]['email'][0] : $results->records[0]['email']; + + $args['user_name'] = $user_name; + $args['email_list'] = array(); + + if (!$args['user_email'] && strpos($user_email, '@')) { + $args['user_email'] = rcube_utils::idn_to_ascii($user_email); + } + + foreach (array_keys($results[0]) as $key) { + if (!preg_match('/^email($|:)/', $key)) { + continue; + } + + foreach ((array) $results->records[0][$key] as $alias) { + if (strpos($alias, '@')) { + $args['email_list'][] = rcube_utils::idn_to_ascii($alias); + } + } + } + + } + } + + return $args; + } + + function login_after($args) + { + $this->load_config(); + + if ($this->ldap || !$this->rc->config->get('new_user_identity_onlogin')) { + return $args; + } + + $identities = $this->rc->user->list_emails(); + $ldap_entry = $this->lookup_user_name(array( + 'user' => $this->rc->user->data['username'], + 'host' => $this->rc->user->data['mail_host'], + )); + + foreach ((array) $ldap_entry['email_list'] as $email) { + foreach ($identities as $identity) { + if ($identity['email'] == $email) { + continue 2; + } + } + + $plugin = $this->rc->plugins->exec_hook('identity_create', array( + 'login' => true, + 'record' => array( + 'user_id' => $this->rc->user->ID, + 'standard' => 0, + 'email' => $email, + 'name' => $ldap_entry['user_name'] + ), + )); + + if (!$plugin['abort'] && $plugin['record']['email']) { + $this->rc->user->insert_identity($plugin['record']); + } + } + return $args; + } + + private function init_ldap($host) + { + if ($this->ldap) { + return $this->ldap->ready; + } + + $this->load_config(); + + $addressbook = $this->rc->config->get('new_user_identity_addressbook'); + $ldap_config = (array)$this->rc->config->get('ldap_public'); + $match = $this->rc->config->get('new_user_identity_match'); + + if (empty($addressbook) || empty($match) || empty($ldap_config[$addressbook])) { + return false; + } + + $this->ldap = new new_user_identity_ldap_backend( + $ldap_config[$addressbook], + $this->rc->config->get('ldap_debug'), + $this->rc->config->mail_domain($host), + $match); + + return $this->ldap->ready; + } +} + +class new_user_identity_ldap_backend extends rcube_ldap +{ + function __construct($p, $debug, $mail_domain, $search) + { + parent::__construct($p, $debug, $mail_domain); + $this->prop['search_fields'] = (array)$search; + } +} diff --git a/plugins/new_user_identity/tests/NewUserIdentity.php b/plugins/new_user_identity/tests/NewUserIdentity.php new file mode 100644 index 000000000..21197362e --- /dev/null +++ b/plugins/new_user_identity/tests/NewUserIdentity.php @@ -0,0 +1,23 @@ +<?php + +class NewUserIdentity_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../new_user_identity.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new new_user_identity($rcube->api); + + $this->assertInstanceOf('new_user_identity', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/newmail_notifier/composer.json b/plugins/newmail_notifier/composer.json new file mode 100644 index 000000000..1bca39c1f --- /dev/null +++ b/plugins/newmail_notifier/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/newmail_notifier", + "type": "roundcube-plugin", + "description": "Supports three methods of notification: 1. Basic - focus browser window and change favicon 2. Sound - play wav file 3. Desktop - display desktop notification (using webkitNotifications feature, supported by Chrome and Firefox with 'HTML5 Notifications' plugin).", + "license": "GPLv3+", + "version": "0.7", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/newmail_notifier/config.inc.php.dist b/plugins/newmail_notifier/config.inc.php.dist new file mode 100644 index 000000000..1a7c0d74f --- /dev/null +++ b/plugins/newmail_notifier/config.inc.php.dist @@ -0,0 +1,15 @@ +<?php + +// Enables basic notification +$config['newmail_notifier_basic'] = false; + +// Enables sound notification +$config['newmail_notifier_sound'] = false; + +// Enables desktop notification +$config['newmail_notifier_desktop'] = false; + +// Desktop notification close timeout in seconds +$config['newmail_notifier_desktop_timeout'] = 10; + +?> diff --git a/plugins/newmail_notifier/favicon.ico b/plugins/newmail_notifier/favicon.ico Binary files differnew file mode 100644 index 000000000..86e10c1c7 --- /dev/null +++ b/plugins/newmail_notifier/favicon.ico diff --git a/plugins/newmail_notifier/localization/ar_SA.inc b/plugins/newmail_notifier/localization/ar_SA.inc new file mode 100644 index 000000000..175a4e464 --- /dev/null +++ b/plugins/newmail_notifier/localization/ar_SA.inc @@ -0,0 +1,28 @@ +<?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'] = 'إظهار رسالة تنبيه فى المتصفح عند وصول رسالة جديدة'; +$labels['desktop'] = 'إظهار رسالة تنبيه على سطح المكتب عند وصول رسالة جديدة'; +$labels['sound'] = 'التنبيه الصوتى عند وصول رسالة جديدة'; +$labels['test'] = 'إختبار'; +$labels['title'] = 'رسالة جديدة'; +$labels['body'] = 'لديك رسالة جديدة'; +$labels['testbody'] = 'هذه رسالة تجربية'; +$labels['desktopdisabled'] = 'رسائل التنبيه على سطح المكتب غير مفعلة فى متصفح الانترنت الخاص بك'; +$labels['desktopunsupported'] = 'المتصفح الخاص بك لا يدعم رسائل سطح المكتب'; +$labels['desktoptimeout'] = 'اغلاق تنبيهات سطح المكتب'; +?> diff --git a/plugins/newmail_notifier/localization/ast.inc b/plugins/newmail_notifier/localization/ast.inc new file mode 100644 index 000000000..5121d2821 --- /dev/null +++ b/plugins/newmail_notifier/localization/ast.inc @@ -0,0 +1,28 @@ +<?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'] = 'Amosar notificaciones del restolador nun mensaxe nuevu'; +$labels['desktop'] = 'Amosar notificaciones d\'escritoriu nun mensaxe nuevu'; +$labels['sound'] = 'Reproducir el soníu nun mensaxe nuevu'; +$labels['test'] = 'Prueba'; +$labels['title'] = '¡Mensaxe nuevu!'; +$labels['body'] = 'Recibisti un mensaxe nuevu'; +$labels['testbody'] = 'Esta ye una notificación de prueba'; +$labels['desktopdisabled'] = 'Les notificaciones d\'escritoriu tán deshabilitaes nel to restolador.'; +$labels['desktopunsupported'] = 'El to restolador nun sofita notificaciones d\'escritoriu.'; +$labels['desktoptimeout'] = 'Zarrar notificación d\'escritoriu'; +?> diff --git a/plugins/newmail_notifier/localization/az_AZ.inc b/plugins/newmail_notifier/localization/az_AZ.inc new file mode 100644 index 000000000..355c30f0a --- /dev/null +++ b/plugins/newmail_notifier/localization/az_AZ.inc @@ -0,0 +1,28 @@ +<?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'] = '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'; +$labels['test'] = 'Sınaq'; +$labels['title'] = 'Yeni məktub!'; +$labels['body'] = 'Sizə məktub gəldi'; +$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'; +$labels['desktoptimeout'] = 'Masaüstü bildirişi bağla'; +?> diff --git a/plugins/newmail_notifier/localization/be_BE.inc b/plugins/newmail_notifier/localization/be_BE.inc new file mode 100644 index 000000000..e0b8e0bb9 --- /dev/null +++ b/plugins/newmail_notifier/localization/be_BE.inc @@ -0,0 +1,28 @@ +<?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'] = 'Паказваць апавяшчэнні аб атрыманні новых паведамленняў у браўзеры'; +$labels['desktop'] = 'Паказваць апавяшчэнні аб атрыманні новых паведамленняў на працоўным стале'; +$labels['sound'] = 'Агучваць атрыманне новых паведамленняў'; +$labels['test'] = 'Праверыць'; +$labels['title'] = 'Новы ліст!'; +$labels['body'] = 'Вы атрымалі новае паведамленне.'; +$labels['testbody'] = 'Гэта тэставае апавяшчэнне.'; +$labels['desktopdisabled'] = 'Апавяшчэнні на працоўным стале адключаныя ў браўзеры.'; +$labels['desktopunsupported'] = 'Ваш браўзер не падтрымлівае апавяшчэнні на працоўным стале.'; +$labels['desktoptimeout'] = 'Зачыніць апавяшчэнне на працоўным стале'; +?> diff --git a/plugins/newmail_notifier/localization/bg_BG.inc b/plugins/newmail_notifier/localization/bg_BG.inc new file mode 100644 index 000000000..15791dd93 --- /dev/null +++ b/plugins/newmail_notifier/localization/bg_BG.inc @@ -0,0 +1,28 @@ +<?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'] = 'Показва известия в браузъра при ново писмо'; +$labels['desktop'] = 'Показва известия на работния плот при ново писмо'; +$labels['sound'] = 'Възпроизведи звук при ново писмо'; +$labels['test'] = 'Тест'; +$labels['title'] = 'Ново писмо!'; +$labels['body'] = 'Получихте ново писмо.'; +$labels['testbody'] = 'Това е тестово известие.'; +$labels['desktopdisabled'] = 'Известията на работния плот са изключени за Вашия браузър.'; +$labels['desktopunsupported'] = 'Вашият браузър не поддържа известия на работния плот.'; +$labels['desktoptimeout'] = 'Затваряне на известие на работния плот'; +?> diff --git a/plugins/newmail_notifier/localization/br.inc b/plugins/newmail_notifier/localization/br.inc new file mode 100644 index 000000000..319a67729 --- /dev/null +++ b/plugins/newmail_notifier/localization/br.inc @@ -0,0 +1,28 @@ +<?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'] = 'Diskouez kemennoù ar merdeer evit kemennadennoù nevez'; +$labels['desktop'] = 'Diskouez kemennoù ar burev evit kemennadennoù nevez'; +$labels['sound'] = 'Seniñ ar son pa kemennadenn nevez'; +$labels['test'] = 'Taol-arnod'; +$labels['title'] = 'Kemennadenn nevez !'; +$labels['body'] = 'Resevet ho p\'eus ur postel nevez'; +$labels['testbody'] = 'An dra se a zo un taol arnod kemenn'; +$labels['desktopdisabled'] = 'Diweredekaet eo kemennoù ar burev en ho merdeer.'; +$labels['desktopunsupported'] = 'N\'eo ket skoret kemennoù ar burev gant ho merdeer.'; +$labels['desktoptimeout'] = 'Serr burev kemen'; +?> diff --git a/plugins/newmail_notifier/localization/bs_BA.inc b/plugins/newmail_notifier/localization/bs_BA.inc new file mode 100644 index 000000000..a849c64c8 --- /dev/null +++ b/plugins/newmail_notifier/localization/bs_BA.inc @@ -0,0 +1,28 @@ +<?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'] = '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'; +$labels['test'] = 'Testiraj'; +$labels['title'] = 'Novi email!'; +$labels['body'] = 'Dobili ste novu poruku.'; +$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.'; +$labels['desktoptimeout'] = 'Zatvori desktop obavijesti'; +?> diff --git a/plugins/newmail_notifier/localization/ca_ES.inc b/plugins/newmail_notifier/localization/ca_ES.inc new file mode 100644 index 000000000..37359de61 --- /dev/null +++ b/plugins/newmail_notifier/localization/ca_ES.inc @@ -0,0 +1,28 @@ +<?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'] = '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'; +$labels['test'] = 'Prova'; +$labels['title'] = 'Missatge nou!'; +$labels['body'] = 'Heu rebut un missatge nou.'; +$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.'; +$labels['desktoptimeout'] = 'Tanca la notificació de l\'escriptori'; +?> diff --git a/plugins/newmail_notifier/localization/cs_CZ.inc b/plugins/newmail_notifier/localization/cs_CZ.inc new file mode 100644 index 000000000..c7f2a8d09 --- /dev/null +++ b/plugins/newmail_notifier/localization/cs_CZ.inc @@ -0,0 +1,28 @@ +<?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'] = '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ě'; +$labels['test'] = 'Vyzkoušet'; +$labels['title'] = 'Nová zpráva!'; +$labels['body'] = 'Dostali jste novou zprávu.'; +$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.'; +$labels['desktoptimeout'] = 'Zavřít upozornění na ploše'; +?> diff --git a/plugins/newmail_notifier/localization/cy_GB.inc b/plugins/newmail_notifier/localization/cy_GB.inc new file mode 100644 index 000000000..126ddfdf9 --- /dev/null +++ b/plugins/newmail_notifier/localization/cy_GB.inc @@ -0,0 +1,28 @@ +<?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'] = 'Dangos hysbysiadau porwr ar neges newydd'; +$labels['desktop'] = 'Dangos hysbysiadau penbwrdd ar neges newydd'; +$labels['sound'] = 'Chwarae sŵn ar neges newydd'; +$labels['test'] = 'Prawf'; +$labels['title'] = 'Ebost Newydd!'; +$labels['body'] = 'Rydych wedi derbyn neges newydd.'; +$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.'; +$labels['desktoptimeout'] = 'Cau hysbysiad penbwrdd'; +?> diff --git a/plugins/newmail_notifier/localization/da_DK.inc b/plugins/newmail_notifier/localization/da_DK.inc new file mode 100644 index 000000000..356076f71 --- /dev/null +++ b/plugins/newmail_notifier/localization/da_DK.inc @@ -0,0 +1,28 @@ +<?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 browserbesked ved ny besked'; +$labels['desktop'] = 'Vis skrivebordsbesked ved ny besked'; +$labels['sound'] = 'Afspil en lyd ved ny besked'; +$labels['test'] = 'Test'; +$labels['title'] = 'Ny besked!'; +$labels['body'] = 'Du har modtaget en ny besked.'; +$labels['testbody'] = 'Dette er en test meddelelse.'; +$labels['desktopdisabled'] = 'Skrivebordsbeskeder er deaktiveret i din browser.'; +$labels['desktopunsupported'] = 'Din browser understøtter ikke skrivebordsbeskeder.'; +$labels['desktoptimeout'] = 'Luk skrivebordsbesked'; +?> diff --git a/plugins/newmail_notifier/localization/de_CH.inc b/plugins/newmail_notifier/localization/de_CH.inc new file mode 100644 index 000000000..1119e6a03 --- /dev/null +++ b/plugins/newmail_notifier/localization/de_CH.inc @@ -0,0 +1,28 @@ +<?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'] = 'Anzeige im Browser bei neuer Nachricht'; +$labels['desktop'] = 'Desktop-Benachrichtigung bei neuer Nachricht'; +$labels['sound'] = 'Akustische Meldung bei neuer Nachricht'; +$labels['test'] = 'Test'; +$labels['title'] = 'Neue E-Mail!'; +$labels['body'] = 'Sie haben eine neue Nachricht'; +$labels['testbody'] = 'Dies ist eine Testbenachrichtigung'; +$labels['desktopdisabled'] = 'Desktop-Benachrichtigungen sind deaktiviert.'; +$labels['desktopunsupported'] = 'Ihr Browser unterstützt keine Desktop-Benachrichtigungen.'; +$labels['desktoptimeout'] = 'Anzeige im Browser schliessen'; +?> diff --git a/plugins/newmail_notifier/localization/de_DE.inc b/plugins/newmail_notifier/localization/de_DE.inc new file mode 100644 index 000000000..4ecb8a3c8 --- /dev/null +++ b/plugins/newmail_notifier/localization/de_DE.inc @@ -0,0 +1,28 @@ +<?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'] = 'Benachrichtigung im Browser bei neuer Nachricht'; +$labels['desktop'] = 'Desktop-Benachrichtigung bei neuer Nachricht'; +$labels['sound'] = 'Akustische Meldung bei neuer Nachricht'; +$labels['test'] = 'Test'; +$labels['title'] = 'Neue E-Mail!'; +$labels['body'] = 'Sie haben eine neue Nachricht'; +$labels['testbody'] = 'Dies ist eine Testbenachrichtigung'; +$labels['desktopdisabled'] = 'Desktop-Benachrichtigungen sind deaktiviert.'; +$labels['desktopunsupported'] = 'Ihr Browser unterstützt keine Desktop-Benachrichtigungen.'; +$labels['desktoptimeout'] = 'Desktop-Benachrichtigung geschlossen.'; +?> diff --git a/plugins/newmail_notifier/localization/el_GR.inc b/plugins/newmail_notifier/localization/el_GR.inc new file mode 100644 index 000000000..04f005465 --- /dev/null +++ b/plugins/newmail_notifier/localization/el_GR.inc @@ -0,0 +1,28 @@ +<?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'] = 'Εμφανίση ειδοποιήσεων πρόγραμματος περιήγησης στο νέο μήνυμα'; +$labels['desktop'] = 'Εμφάνιση ειδοποιήσεων στην επιφάνεια εργασίας για νέο μήνυμα '; +$labels['sound'] = 'Ηχητική ειδοποίηση κατά την λήψη νέων μηνυμάτων'; +$labels['test'] = 'Δοκιμή'; +$labels['title'] = 'Nεο Email!'; +$labels['body'] = 'Έχετε λάβει ένα νέο μήνυμα.'; +$labels['testbody'] = 'Αυτή είναι μια δοκιμή ειδοποίησης.'; +$labels['desktopdisabled'] = 'Οι ειδοποιήσεις στην επιφάνεια εργασίας ειναι απενεργοποιημένες στον περιηγητή σας.'; +$labels['desktopunsupported'] = 'Ο περιηγητής σας δεν υποστηρίζει ειδοποιήσεις στην επιφάνεια εργασίας.'; +$labels['desktoptimeout'] = 'Κλείσιμο ειδοποίησης επιφάνειας εργασίας'; +?> diff --git a/plugins/newmail_notifier/localization/en_CA.inc b/plugins/newmail_notifier/localization/en_CA.inc new file mode 100644 index 000000000..ce3b5b0b3 --- /dev/null +++ b/plugins/newmail_notifier/localization/en_CA.inc @@ -0,0 +1,28 @@ +<?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'; +$labels['test'] = '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.'; +$labels['desktoptimeout'] = 'Close desktop notification'; +?> diff --git a/plugins/newmail_notifier/localization/en_GB.inc b/plugins/newmail_notifier/localization/en_GB.inc new file mode 100644 index 000000000..20160c71c --- /dev/null +++ b/plugins/newmail_notifier/localization/en_GB.inc @@ -0,0 +1,28 @@ +<?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 sound on new message'; +$labels['test'] = '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.'; +$labels['desktoptimeout'] = 'Close desktop notification'; +?> diff --git a/plugins/newmail_notifier/localization/en_US.inc b/plugins/newmail_notifier/localization/en_US.inc new file mode 100644 index 000000000..1c4054615 --- /dev/null +++ b/plugins/newmail_notifier/localization/en_US.inc @@ -0,0 +1,30 @@ +<?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'; +$labels['test'] = '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.'; +$labels['desktoptimeout'] = 'Close desktop notification'; + +?> diff --git a/plugins/newmail_notifier/localization/eo.inc b/plugins/newmail_notifier/localization/eo.inc new file mode 100644 index 000000000..8a4657677 --- /dev/null +++ b/plugins/newmail_notifier/localization/eo.inc @@ -0,0 +1,27 @@ +<?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'] = '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'; +$labels['test'] = 'Testi'; +$labels['title'] = 'Nova retmesaĝo!'; +$labels['body'] = 'Vi ricevis novan mesaĝon.'; +$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_419.inc b/plugins/newmail_notifier/localization/es_419.inc new file mode 100644 index 000000000..b08387a0d --- /dev/null +++ b/plugins/newmail_notifier/localization/es_419.inc @@ -0,0 +1,28 @@ +<?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'] = 'Mostrar notificaciones del navegador en nuevos mensajes'; +$labels['desktop'] = 'Mostrar notificaciones de escritorio en nuevos mensajes'; +$labels['sound'] = 'Ejecutar sonido en nuevos mensajes'; +$labels['test'] = 'Probar'; +$labels['title'] = '¡Nuevo correo electrónico!'; +$labels['body'] = 'Has recibido un nuevo correo electrónico.'; +$labels['testbody'] = 'Esta es una notificación de prueba.'; +$labels['desktopdisabled'] = 'Notificaciones de escritorio está deshabilitado en tu navegador.'; +$labels['desktopunsupported'] = 'Tu navegador no soporta notificaciones de escritorio.'; +$labels['desktoptimeout'] = 'Cerrar notificaciones de escritorio'; +?> diff --git a/plugins/newmail_notifier/localization/es_AR.inc b/plugins/newmail_notifier/localization/es_AR.inc new file mode 100644 index 000000000..a095c01d8 --- /dev/null +++ b/plugins/newmail_notifier/localization/es_AR.inc @@ -0,0 +1,28 @@ +<?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'] = 'Mostrar notificación cuando haya nuevos mensajes'; +$labels['desktop'] = 'Mostrar notificación en escritorio cuando haya nuevos mensajes'; +$labels['sound'] = 'Reproducir sonido cuando haya nuevos mensajes'; +$labels['test'] = 'Prueba'; +$labels['title'] = 'Correo nuevo!'; +$labels['body'] = 'Has recibido correo nuevo'; +$labels['testbody'] = 'Esta es una notificación de prueba'; +$labels['desktopdisabled'] = 'Las notificaciones en escritorio están deshabilitadas en tu navegador'; +$labels['desktopunsupported'] = 'Tu navegador no soporta notificaciones en escritorio'; +$labels['desktoptimeout'] = 'Cerrar notificación de escritorio'; +?> diff --git a/plugins/newmail_notifier/localization/es_ES.inc b/plugins/newmail_notifier/localization/es_ES.inc new file mode 100644 index 000000000..ef1be741f --- /dev/null +++ b/plugins/newmail_notifier/localization/es_ES.inc @@ -0,0 +1,28 @@ +<?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'] = 'Mostrar notificaciones del navegador al recibir un nuevo mensaje'; +$labels['desktop'] = 'Mostrar notificaciones de escritorio al recibir un nuevo mensaje'; +$labels['sound'] = 'Reproducir sonido al recibir un nuevo mensaje'; +$labels['test'] = 'Prueba'; +$labels['title'] = '¡Mensaje nuevo!'; +$labels['body'] = 'Ha recibido un mensaje nuevo.'; +$labels['testbody'] = 'Esta es una notificación de prueba.'; +$labels['desktopdisabled'] = 'Las notificaciones de escritorio están deshabilitadas en su navegador.'; +$labels['desktopunsupported'] = 'Su navegador no soporta notificaciones de escritorio.'; +$labels['desktoptimeout'] = 'Cerrar notificación de escritorio'; +?> diff --git a/plugins/newmail_notifier/localization/et_EE.inc b/plugins/newmail_notifier/localization/et_EE.inc new file mode 100644 index 000000000..6f6f1b0c7 --- /dev/null +++ b/plugins/newmail_notifier/localization/et_EE.inc @@ -0,0 +1,28 @@ +<?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'] = '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'; +$labels['test'] = 'Proovi'; +$labels['title'] = 'Uus kiri!'; +$labels['body'] = 'Saabus uus kiri.'; +$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.'; +$labels['desktoptimeout'] = 'Sulge töölaua teavitus'; +?> diff --git a/plugins/newmail_notifier/localization/eu_ES.inc b/plugins/newmail_notifier/localization/eu_ES.inc new file mode 100644 index 000000000..3aa465712 --- /dev/null +++ b/plugins/newmail_notifier/localization/eu_ES.inc @@ -0,0 +1,28 @@ +<?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'] = 'Bistaratu nabigatzailearen jakinarazpenak mezu berrian'; +$labels['desktop'] = 'Bistaratu sistemaren jakinarazpenak mezu berrian'; +$labels['sound'] = 'Jo soinu bat mezu berriarekin'; +$labels['test'] = 'Testa'; +$labels['title'] = 'ePosta berria'; +$labels['body'] = 'Mezu berria jaso duzu'; +$labels['testbody'] = 'Hau jakinarazpen proba bat da'; +$labels['desktopdisabled'] = 'Sistemaren jakinarazpenak ezgaituak daude zure nabigatzailean'; +$labels['desktopunsupported'] = 'Zure nabigatzaileak ez ditu sistemaren jakinarazpenak onartzen.'; +$labels['desktoptimeout'] = 'Itxi mahaigaineko jakinarazpena'; +?> diff --git a/plugins/newmail_notifier/localization/fa_IR.inc b/plugins/newmail_notifier/localization/fa_IR.inc new file mode 100644 index 000000000..31e8cd040 --- /dev/null +++ b/plugins/newmail_notifier/localization/fa_IR.inc @@ -0,0 +1,28 @@ +<?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'] = 'نمایش تذکرهای مرورگر برای پیغام جدید'; +$labels['desktop'] = 'نمایش تذکرهای رومیزی برای پیغام جدید'; +$labels['sound'] = 'پخش صدا برای پیغام جدید'; +$labels['test'] = 'آزمایش'; +$labels['title'] = 'رایانامهی جدید!'; +$labels['body'] = 'شما یک پیغام جدید دریافت کردهاید.'; +$labels['testbody'] = 'این یک تذکر آزمایشی است.'; +$labels['desktopdisabled'] = 'تذکرهای رومیزی در مرورگر شما غیرفعال شدهاند.'; +$labels['desktopunsupported'] = 'مرورگر شما تذکرهای رومیزی را پشتیبانی نمیکند.'; +$labels['desktoptimeout'] = 'بستن تذکر دسکتاپ'; +?> diff --git a/plugins/newmail_notifier/localization/fi_FI.inc b/plugins/newmail_notifier/localization/fi_FI.inc new file mode 100644 index 000000000..8d5c01243 --- /dev/null +++ b/plugins/newmail_notifier/localization/fi_FI.inc @@ -0,0 +1,28 @@ +<?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'] = 'Näytä selainilmoitus uuden viestin saapuessa'; +$labels['desktop'] = 'Näytä työpöytäilmoitus uuden viestin saapuessa'; +$labels['sound'] = 'Toista ääni uuden viestin saapuessa'; +$labels['test'] = 'Testaa'; +$labels['title'] = 'Uutta sähköpostia!'; +$labels['body'] = 'Sait uuden viestin.'; +$labels['testbody'] = 'Tämä on testi-ilmoitus.'; +$labels['desktopdisabled'] = 'Työpöytäilmoitukset on estetty selaimessa.'; +$labels['desktopunsupported'] = 'Selaimesi ei tue työpöytäilmoituksia.'; +$labels['desktoptimeout'] = 'Sulje työpöytäilmoitus'; +?> diff --git a/plugins/newmail_notifier/localization/fo_FO.inc b/plugins/newmail_notifier/localization/fo_FO.inc new file mode 100644 index 000000000..a4197e929 --- /dev/null +++ b/plugins/newmail_notifier/localization/fo_FO.inc @@ -0,0 +1,28 @@ +<?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'] = 'Vís kaga kunngerðir tá ið nýtt boð verður stovna'; +$labels['desktop'] = 'Vís skrivaraborð kunngerðir tá ið nýtt boð er stovna'; +$labels['sound'] = 'Spæl ljóð tá ið nýtt boð verður móttikið'; +$labels['test'] = 'Roynd'; +$labels['title'] = 'Nýggjur teldupostur!'; +$labels['body'] = 'Tú hevur móttikið eini boð.'; +$labels['testbody'] = 'Hettar eru eini royndar boð.'; +$labels['desktopdisabled'] = 'Skrivaraborð kunngerðir eru sløktar í tínum kaga.'; +$labels['desktopunsupported'] = 'Tín kagi studlar ikki skriviborða kunngerðir.'; +$labels['desktoptimeout'] = 'Sløkk skriviborða kunngerðir'; +?> diff --git a/plugins/newmail_notifier/localization/fr_FR.inc b/plugins/newmail_notifier/localization/fr_FR.inc new file mode 100644 index 000000000..f493420d9 --- /dev/null +++ b/plugins/newmail_notifier/localization/fr_FR.inc @@ -0,0 +1,28 @@ +<?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'] = 'Afficher les notifications du navigateur pour les nouveaux courriels'; +$labels['desktop'] = 'Afficher les notifications du navigateur pour les nouveaux courriels'; +$labels['sound'] = 'Jouer le son pour les nouveaux courriels'; +$labels['test'] = 'Test'; +$labels['title'] = 'Nouveau courriel'; +$labels['body'] = 'Vous avez reçu un nouveau courriel.'; +$labels['testbody'] = 'Ceci est une notification de test.'; +$labels['desktopdisabled'] = 'Les notifications du bureau sont désactivées dans votre navigateur.'; +$labels['desktopunsupported'] = 'Votre navigateur ne prend pas en charge les notifications du bureau.'; +$labels['desktoptimeout'] = 'Fermer la notification du bureau'; +?> diff --git a/plugins/newmail_notifier/localization/fy_NL.inc b/plugins/newmail_notifier/localization/fy_NL.inc new file mode 100644 index 000000000..53347df15 --- /dev/null +++ b/plugins/newmail_notifier/localization/fy_NL.inc @@ -0,0 +1,20 @@ +<?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['test'] = 'Test'; +$labels['title'] = 'Nije e-mail!'; +?> diff --git a/plugins/newmail_notifier/localization/gl_ES.inc b/plugins/newmail_notifier/localization/gl_ES.inc new file mode 100644 index 000000000..154a8cbb9 --- /dev/null +++ b/plugins/newmail_notifier/localization/gl_ES.inc @@ -0,0 +1,28 @@ +<?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'] = 'Amosar notificacións no navegador cando entre unha mensaxe nova'; +$labels['desktop'] = 'Amosar notificacións no escritorio cando chegue unha mensaxe nova'; +$labels['sound'] = 'Reproducir un son cando chegue unha nova mensaxe'; +$labels['test'] = 'Proba'; +$labels['title'] = 'Novo Correo!'; +$labels['body'] = 'Recibiches unha nova mensaxe'; +$labels['testbody'] = 'Esta é unha notificación de proba'; +$labels['desktopdisabled'] = 'As notificacións de escritorio están desactivadas no teu navegador'; +$labels['desktopunsupported'] = 'O teu navegador non soporta notificacións de escritorio.'; +$labels['desktoptimeout'] = 'Pechar notificación de escritorio'; +?> diff --git a/plugins/newmail_notifier/localization/he_IL.inc b/plugins/newmail_notifier/localization/he_IL.inc new file mode 100644 index 000000000..33afdb954 --- /dev/null +++ b/plugins/newmail_notifier/localization/he_IL.inc @@ -0,0 +1,28 @@ +<?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'] = 'איתות מהדפדפן על הגעת הודעות חדשות'; +$labels['desktop'] = 'איתות משולחן העבודה על הגעת הודעות חדשות'; +$labels['sound'] = 'השמעת איתות קולי בעת הגעה של הודעה חדשה'; +$labels['test'] = 'בדיקה'; +$labels['title'] = 'הודעה חדשה !'; +$labels['body'] = 'התקבלה הודעה חדשה'; +$labels['testbody'] = 'זה איתות לנסיון'; +$labels['desktopdisabled'] = 'איתותים משולחן העבודה אינם פעילים בדפדפן שלך'; +$labels['desktopunsupported'] = 'הדפדפן שלך אינו תומך באיתותים משולחן העבודה'; +$labels['desktoptimeout'] = 'ביטול איתות משולחן העבודה על הגעת הודעות חדשות'; +?> diff --git a/plugins/newmail_notifier/localization/hr_HR.inc b/plugins/newmail_notifier/localization/hr_HR.inc new file mode 100644 index 000000000..919ed0dd7 --- /dev/null +++ b/plugins/newmail_notifier/localization/hr_HR.inc @@ -0,0 +1,28 @@ +<?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'] = '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'; +$labels['test'] = 'Test'; +$labels['title'] = 'Novi Email!'; +$labels['body'] = 'Primili ste novu poruku'; +$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.'; +$labels['desktoptimeout'] = 'Zatvori dojavu na desktopu'; +?> diff --git a/plugins/newmail_notifier/localization/hu_HU.inc b/plugins/newmail_notifier/localization/hu_HU.inc new file mode 100644 index 000000000..6477de9b9 --- /dev/null +++ b/plugins/newmail_notifier/localization/hu_HU.inc @@ -0,0 +1,28 @@ +<?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'] = 'Értesítés megjelenítése böngészőben amikor új üzenet érkezik'; +$labels['desktop'] = 'Értesítés megjelenítése az asztalon amikor új üzenet érkezik'; +$labels['sound'] = 'Hang lejátszása új üzenet érkezésekor'; +$labels['test'] = 'Próba'; +$labels['title'] = 'Új üzenet!'; +$labels['body'] = 'Új üzenet érkezett.'; +$labels['testbody'] = 'Ez egy értesítési próba.'; +$labels['desktopdisabled'] = 'A böngészőben tiltva van az asztali értesítések megjelenítése.'; +$labels['desktopunsupported'] = 'A böngésző nem támogatja az asztali értesítések megjelenítését.'; +$labels['desktoptimeout'] = 'Az értesítés bezárása'; +?> diff --git a/plugins/newmail_notifier/localization/hy_AM.inc b/plugins/newmail_notifier/localization/hy_AM.inc new file mode 100644 index 000000000..db63f4f6e --- /dev/null +++ b/plugins/newmail_notifier/localization/hy_AM.inc @@ -0,0 +1,28 @@ +<?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'] = 'Ցուցադրել զննարկչի ծանուցում նոր հաղորդագրություն ստանալիս'; +$labels['desktop'] = 'Ցուցադրել սեղանադրի ծանուցում նոր հաղորդագրություն ստանալիս'; +$labels['sound'] = 'Ձայն հանել նոր հաղորդագրություն ստանալիս'; +$labels['test'] = 'փորձարկում'; +$labels['title'] = 'Նոր էլփոստ'; +$labels['body'] = 'Դուք ստացաք նոր հաղորդագրություն'; +$labels['testbody'] = 'Սա փորձնական ծանուցում է'; +$labels['desktopdisabled'] = 'Սեղանադրի ծանուցումները Ձեր զննարկչում անջատված են'; +$labels['desktopunsupported'] = 'Ձեր զննարկիչը չունի սեղանադրի ծանուցումների հնարավորություն։'; +$labels['desktoptimeout'] = 'Փակել սեղանադրի ծանուցումը'; +?> diff --git a/plugins/newmail_notifier/localization/ia.inc b/plugins/newmail_notifier/localization/ia.inc new file mode 100644 index 000000000..d10c6b07d --- /dev/null +++ b/plugins/newmail_notifier/localization/ia.inc @@ -0,0 +1,28 @@ +<?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'] = 'Presentar notificationes de navigator quando un nove message arriva'; +$labels['desktop'] = 'Presentar notificationes de scriptorio quando un nove message arriva'; +$labels['sound'] = 'Facer sonar un sono quando un nove message arriva'; +$labels['test'] = 'Test'; +$labels['title'] = 'Nove e-mail!'; +$labels['body'] = 'Vos ha recipite un nove message.'; +$labels['testbody'] = 'Iste es un notification de test.'; +$labels['desktopdisabled'] = 'Le notificationes de scriptorio ha essite disactivate in vostre navigator.'; +$labels['desktopunsupported'] = 'Vostre navigator non supporta le notificationes de scriptorio.'; +$labels['desktoptimeout'] = 'Clauder notification de scriptorio'; +?> diff --git a/plugins/newmail_notifier/localization/id_ID.inc b/plugins/newmail_notifier/localization/id_ID.inc new file mode 100644 index 000000000..34c71e3e6 --- /dev/null +++ b/plugins/newmail_notifier/localization/id_ID.inc @@ -0,0 +1,28 @@ +<?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'] = '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'] = 'Ini adalah percobaan pemberitahuan.'; +$labels['desktopdisabled'] = 'Pemberitahuan di desktop dimatikan pada peramban Anda.'; +$labels['desktopunsupported'] = 'Peramban Anda tidak mendukung pemberitahuan pada desktop'; +$labels['desktoptimeout'] = 'Tutup pemberitahuan pada desktop'; +?> diff --git a/plugins/newmail_notifier/localization/it_IT.inc b/plugins/newmail_notifier/localization/it_IT.inc new file mode 100644 index 000000000..8e3843b81 --- /dev/null +++ b/plugins/newmail_notifier/localization/it_IT.inc @@ -0,0 +1,28 @@ +<?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'] = 'visualizza notifica nel browser per nuovi messaggi'; +$labels['desktop'] = 'visualizza notifiche sul desktop per nuovi messaggi'; +$labels['sound'] = 'riproduci il suono per nuovi messaggi'; +$labels['test'] = 'Prova'; +$labels['title'] = 'nuovo messaggio'; +$labels['body'] = 'hai ricevuto un nuovo messaggio'; +$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'; +$labels['desktoptimeout'] = 'Chiudi la notifica visualizzata sul desktop'; +?> diff --git a/plugins/newmail_notifier/localization/ja_JP.inc b/plugins/newmail_notifier/localization/ja_JP.inc new file mode 100644 index 000000000..6efcb6985 --- /dev/null +++ b/plugins/newmail_notifier/localization/ja_JP.inc @@ -0,0 +1,28 @@ +<?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'] = '新しいメッセージの通知をブラウザーに表示'; +$labels['desktop'] = '新しいメッセージの通知をデスクトップに表示'; +$labels['sound'] = '新しいメッセージが届くと音を再生'; +$labels['test'] = 'テスト'; +$labels['title'] = '新しい電子メールです!'; +$labels['body'] = '新しいメッセージを受信しました。'; +$labels['testbody'] = 'これはテストの通知です。'; +$labels['desktopdisabled'] = 'ブラウザーでデスクトップ通知が無効になっています。'; +$labels['desktopunsupported'] = 'ブラウザーがデスクトップ通知をサポートしていません。'; +$labels['desktoptimeout'] = 'デスクトップ通知を閉じる'; +?> diff --git a/plugins/newmail_notifier/localization/km_KH.inc b/plugins/newmail_notifier/localization/km_KH.inc new file mode 100644 index 000000000..5fd24403f --- /dev/null +++ b/plugins/newmail_notifier/localization/km_KH.inc @@ -0,0 +1,28 @@ +<?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'] = 'បង្ហាញការជូនដំណឹងកម្មវិធីអ៊ីនធឺណិតពេលមានសារថ្មី'; +$labels['desktop'] = 'បង្ហាញការជូនដំណឹងផ្ទៃតុពេលមានសារថ្មី'; +$labels['sound'] = 'បន្លឺសំឡេងពេលមានសារថ្មី'; +$labels['test'] = 'សាកល្បង'; +$labels['title'] = 'មានសារថ្មី!'; +$labels['body'] = 'អ្នកបានទទួលសារថ្មី'; +$labels['testbody'] = 'នេះជាការជូនដំណឹងសាកល្បង។'; +$labels['desktopdisabled'] = 'ការជូនដំណឹងផ្ទៃតុត្រូវបានបិទនៅក្នុងកម្មវិធីអ៊ីនធឺណិតរបស់អ្នក។'; +$labels['desktopunsupported'] = 'កម្មវិធីអ៊ីនធឺណិតរបស់អ្នកមិនគាំទ្រការជូនដំណឹងផ្ទៃតុ។'; +$labels['desktoptimeout'] = 'បិទការជូនដំណឹងផ្ទៃតុ'; +?> diff --git a/plugins/newmail_notifier/localization/ko_KR.inc b/plugins/newmail_notifier/localization/ko_KR.inc new file mode 100644 index 000000000..ce9e5a46a --- /dev/null +++ b/plugins/newmail_notifier/localization/ko_KR.inc @@ -0,0 +1,28 @@ +<?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'] = '새로운 메시지가 도착하면 브라우저 알림 표시'; +$labels['desktop'] = '새로운 메시지가 도착하면 바탕화면 알림 표시'; +$labels['sound'] = '새로운 메시지가 도착하면 소리 재생'; +$labels['test'] = '테스트'; +$labels['title'] = '새로운 이메일 도착!'; +$labels['body'] = '새로운 메시지를 받았습니다.'; +$labels['testbody'] = '이것은 테스트 알림입니다.'; +$labels['desktopdisabled'] = ' 브라우저에서 바탕화면 알림이 비활성화되었습니다.'; +$labels['desktopunsupported'] = '브라우저가 바탕화면 알림을 지원하지 않습니다.'; +$labels['desktoptimeout'] = '바탕화면 알림 닫기'; +?> diff --git a/plugins/newmail_notifier/localization/ku.inc b/plugins/newmail_notifier/localization/ku.inc new file mode 100644 index 000000000..cf8d69261 --- /dev/null +++ b/plugins/newmail_notifier/localization/ku.inc @@ -0,0 +1,28 @@ +<?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'] = 'Agahdariyên gerokê li ser peyama nû bide nîşan'; +$labels['desktop'] = 'Agahdariyên sermasê li ser peyama nû bide nîşan'; +$labels['sound'] = 'Deng li ser peyameke nû veke'; +$labels['test'] = 'Test'; +$labels['title'] = 'Emaila Nû!'; +$labels['body'] = 'Peyameke te ya nû heye.'; +$labels['testbody'] = 'Ev agahdariyeke testê ye.'; +$labels['desktopdisabled'] = 'Agahdariyên sermasê di geroka te de girtî ne. '; +$labels['desktopunsupported'] = 'Geroka te bi agahdariyên sermasê re ne ahengdar e.'; +$labels['desktoptimeout'] = 'Ahahadariya sermasê bigire'; +?> diff --git a/plugins/newmail_notifier/localization/ku_IQ.inc b/plugins/newmail_notifier/localization/ku_IQ.inc new file mode 100644 index 000000000..93235de03 --- /dev/null +++ b/plugins/newmail_notifier/localization/ku_IQ.inc @@ -0,0 +1,19 @@ +<?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['test'] = 'تاقیکردنەوە'; +?> diff --git a/plugins/newmail_notifier/localization/lb_LU.inc b/plugins/newmail_notifier/localization/lb_LU.inc new file mode 100644 index 000000000..8e6f5f603 --- /dev/null +++ b/plugins/newmail_notifier/localization/lb_LU.inc @@ -0,0 +1,28 @@ +<?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'] = 'Browser-Notifikatioun bei neiem Message uweisen'; +$labels['desktop'] = 'Desktop-Notifikatioun bei neiem Message uweisen'; +$labels['sound'] = 'Dësen Toun bei neiem Message spillen'; +$labels['test'] = 'Test'; +$labels['title'] = 'Nei E-Mail!'; +$labels['body'] = 'Du hues en neie Message kritt.'; +$labels['testbody'] = 'Dëst ass eng Test-Benoorichtegung.'; +$labels['desktopdisabled'] = 'Desktop-Notifikatioune sinn an dengem Browser ausgeschalt.'; +$labels['desktopunsupported'] = 'Däi Browser ënnerstëtzt keng Desktop-Notifikatiounen.'; +$labels['desktoptimeout'] = 'Browser-Notifikatioun zoumaachen'; +?> diff --git a/plugins/newmail_notifier/localization/lt_LT.inc b/plugins/newmail_notifier/localization/lt_LT.inc new file mode 100644 index 000000000..e97a6cfea --- /dev/null +++ b/plugins/newmail_notifier/localization/lt_LT.inc @@ -0,0 +1,28 @@ +<?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'] = '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'; +$labels['test'] = 'Bandymas'; +$labels['title'] = 'Naujas laiškas!'; +$labels['body'] = 'Jūs gavote naują laišką.'; +$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.'; +$labels['desktoptimeout'] = 'Užverti sistemos pranešimą'; +?> diff --git a/plugins/newmail_notifier/localization/lv_LV.inc b/plugins/newmail_notifier/localization/lv_LV.inc new file mode 100644 index 000000000..4ca083598 --- /dev/null +++ b/plugins/newmail_notifier/localization/lv_LV.inc @@ -0,0 +1,28 @@ +<?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'] = 'Saņemot jaunu vēstuli, parādīt paziņojumu'; +$labels['desktop'] = 'Saņemot jaunu vēstuli, parādīt darbavirsmas paziņojumu'; +$labels['sound'] = 'Saņemot jaunu vēstuli, atskaņot skaņas signālu'; +$labels['test'] = 'Pārbaudīt'; +$labels['title'] = 'Jauns e-pasts!'; +$labels['body'] = 'Jūs esat saņēmis jaunu vēstuli.'; +$labels['testbody'] = 'Šis ir testa paziņojums.'; +$labels['desktopdisabled'] = 'Darbavirsmas paziņojumi Jūsu pārlūkprogrammā ir atslēgti.'; +$labels['desktopunsupported'] = 'Jūsu pārlūkprogramma neatbalsta darbavirsmas paziņojumus.'; +$labels['desktoptimeout'] = 'Aizvērt darbavirsmas paziņojumu'; +?> diff --git a/plugins/newmail_notifier/localization/ml_IN.inc b/plugins/newmail_notifier/localization/ml_IN.inc new file mode 100644 index 000000000..c4986d3ad --- /dev/null +++ b/plugins/newmail_notifier/localization/ml_IN.inc @@ -0,0 +1,28 @@ +<?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'] = 'ബ്രൌസര് അറിയിപ്പുകള് പുതിയ സന്ദേശത്തില് കാണിക്കുക'; +$labels['desktop'] = 'ഡെസ്ക്ക്ടോപ്പ് അറിയിപ്പുകള് പുതിയ സന്ദേശത്തില് കാണിക്കുക'; +$labels['sound'] = 'പുതിയ സന്ദേശത്തില് സബ്ദം കേള്പ്പിക്കുക'; +$labels['test'] = 'പരീക്ഷിക്കുക'; +$labels['title'] = 'പുതിയ സന്ദേശം !'; +$labels['body'] = 'താങ്കള്ക്ക് ഒരു പുതിയ സന്ദേശം ലഭിച്ചു'; +$labels['testbody'] = 'ഇത് ഒരു പരീക്ഷണ അറിയിപ്പാണ്.'; +$labels['desktopdisabled'] = 'താങ്കളുടെ ബ്രൌസറില് ഡെസ്ക്ക്ടോപ്പ് നോട്ടിഫിക്കേഷന് പ്രവര്ത്തനരഹിതമാണ്.'; +$labels['desktopunsupported'] = 'താങ്കളുടെ ബ്രൌസ്സര് ഡെസ്ക്ടോപ്പ് അറിയിപ്പുകള് പിന്തുണയ്ക്കുന്നില്ല.'; +$labels['desktoptimeout'] = 'ഡെസ്ക്ടോപ്പ് അറിയിപ്പുകൾ അടയ്ക്കുക'; +?> diff --git a/plugins/newmail_notifier/localization/mr_IN.inc b/plugins/newmail_notifier/localization/mr_IN.inc new file mode 100644 index 000000000..14b453a1d --- /dev/null +++ b/plugins/newmail_notifier/localization/mr_IN.inc @@ -0,0 +1,23 @@ +<?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['sound'] = 'नवीन संदेश आल्यास नाद करा'; +$labels['test'] = 'चाचणी'; +$labels['title'] = 'नवीन ईमेल'; +$labels['body'] = 'तुमच्यासाठी नवीन संदेश आला आहे'; +$labels['testbody'] = 'हा एक चाचणी निर्देश आहे'; +?> diff --git a/plugins/newmail_notifier/localization/nb_NO.inc b/plugins/newmail_notifier/localization/nb_NO.inc new file mode 100644 index 000000000..7ec41db0a --- /dev/null +++ b/plugins/newmail_notifier/localization/nb_NO.inc @@ -0,0 +1,28 @@ +<?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.'; +$labels['desktoptimeout'] = 'Lukk skrivebordsvarsling'; +?> diff --git a/plugins/newmail_notifier/localization/nl_NL.inc b/plugins/newmail_notifier/localization/nl_NL.inc new file mode 100644 index 000000000..83901597f --- /dev/null +++ b/plugins/newmail_notifier/localization/nl_NL.inc @@ -0,0 +1,28 @@ +<?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'] = 'Toon melding in browser bij nieuw bericht'; +$labels['desktop'] = 'Toon melding op bureaublad bij nieuw bericht'; +$labels['sound'] = 'Geluid afspelen bij nieuw bericht'; +$labels['test'] = 'Test'; +$labels['title'] = 'Nieuwe e-mail!'; +$labels['body'] = 'U heeft een nieuw bericht ontvangen.'; +$labels['testbody'] = 'Dit is een testmelding.'; +$labels['desktopdisabled'] = 'Bureaubladmeldingen zijn uitgeschakeld in uw browser.'; +$labels['desktopunsupported'] = 'Uw browser ondersteunt geen bureaubladmeldingen.'; +$labels['desktoptimeout'] = 'Sluit bureaubladmelding'; +?> diff --git a/plugins/newmail_notifier/localization/nn_NO.inc b/plugins/newmail_notifier/localization/nn_NO.inc new file mode 100644 index 000000000..4d42182b5 --- /dev/null +++ b/plugins/newmail_notifier/localization/nn_NO.inc @@ -0,0 +1,27 @@ +<?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 new file mode 100644 index 000000000..5aa9f055c --- /dev/null +++ b/plugins/newmail_notifier/localization/pl_PL.inc @@ -0,0 +1,28 @@ +<?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'] = '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'; +$labels['test'] = 'Testuj powiadomienie'; +$labels['title'] = 'Nowa wiadomość!'; +$labels['body'] = 'Nadeszła nowa wiadomość.'; +$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.'; +$labels['desktoptimeout'] = 'Zamknij powiadomienie pulpitu'; +?> diff --git a/plugins/newmail_notifier/localization/pt_BR.inc b/plugins/newmail_notifier/localization/pt_BR.inc new file mode 100644 index 000000000..6982e2193 --- /dev/null +++ b/plugins/newmail_notifier/localization/pt_BR.inc @@ -0,0 +1,28 @@ +<?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'] = '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'; +$labels['test'] = 'Testar'; +$labels['title'] = 'Novo Email!'; +$labels['body'] = 'Você recebeu uma nova mensagem.'; +$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'; +$labels['desktoptimeout'] = 'Fechar notificação'; +?> diff --git a/plugins/newmail_notifier/localization/pt_PT.inc b/plugins/newmail_notifier/localization/pt_PT.inc new file mode 100644 index 000000000..622fc1c92 --- /dev/null +++ b/plugins/newmail_notifier/localization/pt_PT.inc @@ -0,0 +1,28 @@ +<?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'] = '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'; +$labels['test'] = 'Testar'; +$labels['title'] = 'Novo Email!'; +$labels['body'] = 'Você recebeu uma nova mensagem.'; +$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'; +$labels['desktoptimeout'] = 'Fechar notificação no ambiente de trabalho'; +?> diff --git a/plugins/newmail_notifier/localization/ro_RO.inc b/plugins/newmail_notifier/localization/ro_RO.inc new file mode 100644 index 000000000..b039dd2f4 --- /dev/null +++ b/plugins/newmail_notifier/localization/ro_RO.inc @@ -0,0 +1,28 @@ +<?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'] = '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.'; +$labels['test'] = 'Testează'; +$labels['title'] = 'E-mail nou!'; +$labels['body'] = 'Ai primit un mesaj nou.'; +$labels['testbody'] = 'Aceasta este o notificare de test.'; +$labels['desktopdisabled'] = 'Notificările desktop sunt dezactivate în browser.'; +$labels['desktopunsupported'] = 'Browser-ul dumneavoastră nu suportă notificări desktop.'; +$labels['desktoptimeout'] = 'Închide notificarea de birou'; +?> diff --git a/plugins/newmail_notifier/localization/ru_RU.inc b/plugins/newmail_notifier/localization/ru_RU.inc new file mode 100644 index 000000000..d7ae6a7ed --- /dev/null +++ b/plugins/newmail_notifier/localization/ru_RU.inc @@ -0,0 +1,28 @@ +<?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'] = 'Показывать в браузере уведомление о приходе нового сообщения'; +$labels['desktop'] = 'Показывать на рабочем столе уведомление о приходе нового сообщения'; +$labels['sound'] = 'Подавать звуковой сигнал о приходе нового сообщения'; +$labels['test'] = 'Проверить'; +$labels['title'] = 'Свежая почта!'; +$labels['body'] = 'Вы получили новое сообщение.'; +$labels['testbody'] = 'Это тестовое уведомление.'; +$labels['desktopdisabled'] = 'В Вашем браузере отключены уведомления на рабочем столе.'; +$labels['desktopunsupported'] = 'Ваш браузер не поддерживает уведомления на рабочем столе.'; +$labels['desktoptimeout'] = 'Закрыть уведомление на рабочем столе'; +?> diff --git a/plugins/newmail_notifier/localization/si_LK.inc b/plugins/newmail_notifier/localization/si_LK.inc new file mode 100644 index 000000000..cc139aa48 --- /dev/null +++ b/plugins/newmail_notifier/localization/si_LK.inc @@ -0,0 +1,19 @@ +<?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['test'] = 'පිරික්සන්න'; +?> diff --git a/plugins/newmail_notifier/localization/sk_SK.inc b/plugins/newmail_notifier/localization/sk_SK.inc new file mode 100644 index 000000000..fa206ba7d --- /dev/null +++ b/plugins/newmail_notifier/localization/sk_SK.inc @@ -0,0 +1,28 @@ +<?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'] = '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'; +$labels['test'] = 'Otestovať'; +$labels['title'] = 'Nová správa!'; +$labels['body'] = 'Máte novú správu.'; +$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.'; +$labels['desktoptimeout'] = 'Zatvoriť notifikáciu na ploche'; +?> diff --git a/plugins/newmail_notifier/localization/sl_SI.inc b/plugins/newmail_notifier/localization/sl_SI.inc new file mode 100644 index 000000000..a95fde055 --- /dev/null +++ b/plugins/newmail_notifier/localization/sl_SI.inc @@ -0,0 +1,28 @@ +<?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'] = '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'; +$labels['test'] = 'Test'; +$labels['title'] = 'Novo sporočilo'; +$labels['body'] = 'Prejeli ste novo sporočilo.'; +$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.'; +$labels['desktoptimeout'] = 'Zapri obvestila na namizju'; +?> diff --git a/plugins/newmail_notifier/localization/sq_AL.inc b/plugins/newmail_notifier/localization/sq_AL.inc new file mode 100644 index 000000000..643ee4192 --- /dev/null +++ b/plugins/newmail_notifier/localization/sq_AL.inc @@ -0,0 +1,20 @@ +<?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['test'] = 'Test'; +$labels['body'] = 'Ju keni marr një mesazh të ri.'; +?> diff --git a/plugins/newmail_notifier/localization/sr_CS.inc b/plugins/newmail_notifier/localization/sr_CS.inc new file mode 100644 index 000000000..bc587bf66 --- /dev/null +++ b/plugins/newmail_notifier/localization/sr_CS.inc @@ -0,0 +1,27 @@ +<?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'] = 'Прикажи обавештења о новим порукама у прегледачу'; +$labels['desktop'] = 'Прикажи обавештења о новим порукама у систему'; +$labels['sound'] = 'Пусти звук по пријему поруке'; +$labels['test'] = 'Испробај'; +$labels['title'] = 'Нова порука!'; +$labels['body'] = 'Примили сте нову поруку.'; +$labels['testbody'] = 'Ово је пробно обавештење.'; +$labels['desktopdisabled'] = 'Обавештења у систему су искључена у вашем прегледачу'; +$labels['desktopunsupported'] = 'Ваш прегледач не подржава обавештења у систему.'; +?> diff --git a/plugins/newmail_notifier/localization/sv_SE.inc b/plugins/newmail_notifier/localization/sv_SE.inc new file mode 100644 index 000000000..5e0c9fc29 --- /dev/null +++ b/plugins/newmail_notifier/localization/sv_SE.inc @@ -0,0 +1,28 @@ +<?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'] = 'Avisera nytt meddelande i webbläsaren'; +$labels['desktop'] = 'Avisera nytt meddelande på skrivbordet'; +$labels['sound'] = 'Avisera nytt meddelande med ljudsignal'; +$labels['test'] = 'Prova'; +$labels['title'] = 'Nytt meddelande!'; +$labels['body'] = 'Du har mottagit ett nytt meddelande.'; +$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.'; +$labels['desktoptimeout'] = 'Stäng avisering på skrivbordet'; +?> diff --git a/plugins/newmail_notifier/localization/ti.inc b/plugins/newmail_notifier/localization/ti.inc new file mode 100644 index 000000000..17b8e7361 --- /dev/null +++ b/plugins/newmail_notifier/localization/ti.inc @@ -0,0 +1,27 @@ +<?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'] = 'ሓዱሽ መል እኽቲ ጠቆምቲ አብ ጎስጓሲ ይርአ'; +$labels['desktop'] = 'ሓዱሽ መል እኽቲ ጠቆምቲ ኣብ ደስክቶፕ ይርአ'; +$labels['sound'] = 'ሓዱሽ መል እኽቲ ምስዝመጽእ ድምጺ ይሰማዕ'; +$labels['test'] = 'ፈተነ'; +$labels['title'] = 'ሓድሽ ኢደብዳበ!'; +$labels['body'] = 'ሓድሽ ኢደብዳበ በጺሑ አሎ::'; +$labels['testbody'] = 'እዚ ጥቆማ ንፈተን ዝተገብረ እዩ::'; +$labels['desktopdisabled'] = 'ናይ ደስክቶፕ ጠቆምቲ ተኸልኪሎማ አለዉ::'; +$labels['desktopunsupported'] = 'እዚ ጎስጓሲ ናይ ደስክቶፕ ጠቆምቲ ኣይተገጠመሉን::'; +?> diff --git a/plugins/newmail_notifier/localization/tr_TR.inc b/plugins/newmail_notifier/localization/tr_TR.inc new file mode 100644 index 000000000..4e4d4ce77 --- /dev/null +++ b/plugins/newmail_notifier/localization/tr_TR.inc @@ -0,0 +1,28 @@ +<?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'] = 'Web tarayıcıda yeni mesajları bildir.'; +$labels['desktop'] = 'Masaüstünde yeni mesajları bildir.'; +$labels['sound'] = 'Yeni mesajlarda ses çal.'; +$labels['test'] = 'Deneme'; +$labels['title'] = 'Yeni E-posta!'; +$labels['body'] = 'Yeni bir mesajınız var.'; +$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ü bildirimleri desteklemiyor'; +$labels['desktoptimeout'] = 'Masaüstü bildirimini kapat'; +?> diff --git a/plugins/newmail_notifier/localization/uk_UA.inc b/plugins/newmail_notifier/localization/uk_UA.inc new file mode 100644 index 000000000..7d3ffc014 --- /dev/null +++ b/plugins/newmail_notifier/localization/uk_UA.inc @@ -0,0 +1,28 @@ +<?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'] = 'Показувати у браузері сповіщення про нові повідомлення'; +$labels['desktop'] = 'Показувати на робочому столі сповіщення про нові повідомлення'; +$labels['sound'] = 'Програвати звук при появленні нового повідомлення'; +$labels['test'] = 'Тест'; +$labels['title'] = 'Нова пошта!'; +$labels['body'] = 'Ви отримали нове повідомлення.'; +$labels['testbody'] = 'Це тестове сповіщення'; +$labels['desktopdisabled'] = 'Повідомлення на робочому столі відключені у вашому браузері.'; +$labels['desktopunsupported'] = 'Ваш браузер не підтримує повідомлення на робочому столі.'; +$labels['desktoptimeout'] = 'Закрити сповіщення робочого столу'; +?> diff --git a/plugins/newmail_notifier/localization/vi_VN.inc b/plugins/newmail_notifier/localization/vi_VN.inc new file mode 100644 index 000000000..73df64d30 --- /dev/null +++ b/plugins/newmail_notifier/localization/vi_VN.inc @@ -0,0 +1,28 @@ +<?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'] = 'Hiển thị thông báo trên trình duyệt khi có thư mới'; +$labels['desktop'] = 'Hiển thị thông báo trên màn hình khi có thư mới'; +$labels['sound'] = 'Thông báo bằng âm thanh khi có thư mới'; +$labels['test'] = 'Kiểm tra'; +$labels['title'] = 'Có thư mới!'; +$labels['body'] = 'Bạn vừa nhận một thư mới'; +$labels['testbody'] = 'Đây là thông báo kiểm tra'; +$labels['desktopdisabled'] = 'Thông báo trên màn hình bị tắt ở 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àn hình.'; +$labels['desktoptimeout'] = 'Đóng hiển thị màn hình'; +?> diff --git a/plugins/newmail_notifier/localization/zh_CN.inc b/plugins/newmail_notifier/localization/zh_CN.inc new file mode 100644 index 000000000..cc405773b --- /dev/null +++ b/plugins/newmail_notifier/localization/zh_CN.inc @@ -0,0 +1,27 @@ +<?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'] = '在浏览器中显示新邮件提醒'; +$labels['desktop'] = '在桌面显示新邮件提醒'; +$labels['sound'] = '收到新邮件时播放声音'; +$labels['test'] = '测试'; +$labels['title'] = '您收到一封新邮件!'; +$labels['body'] = '您收到一封新邮件。'; +$labels['testbody'] = '这是一个提醒测试。'; +$labels['desktopdisabled'] = '您的浏览器已禁止桌面提醒功能。'; +$labels['desktopunsupported'] = '您的浏览器不支持桌面提醒功能。'; +?> diff --git a/plugins/newmail_notifier/localization/zh_TW.inc b/plugins/newmail_notifier/localization/zh_TW.inc new file mode 100644 index 000000000..c6d6c8a8f --- /dev/null +++ b/plugins/newmail_notifier/localization/zh_TW.inc @@ -0,0 +1,28 @@ +<?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'] = '當有新郵件顯示瀏覽器通知'; +$labels['desktop'] = '當有新郵件顯示桌面通知'; +$labels['sound'] = '當有新郵件播放音效'; +$labels['test'] = '測試'; +$labels['title'] = '新郵件!'; +$labels['body'] = '您有一封新郵件'; +$labels['testbody'] = '這是測試通知'; +$labels['desktopdisabled'] = '您的瀏覽器已停用桌面通知'; +$labels['desktopunsupported'] = '您的瀏覽器不支援桌面通知功能'; +$labels['desktoptimeout'] = '自動關閉桌面通知'; +?> diff --git a/plugins/newmail_notifier/mail.png b/plugins/newmail_notifier/mail.png Binary files differnew file mode 100644 index 000000000..79f3a5311 --- /dev/null +++ b/plugins/newmail_notifier/mail.png diff --git a/plugins/newmail_notifier/newmail_notifier.js b/plugins/newmail_notifier/newmail_notifier.js new file mode 100644 index 000000000..79911f26e --- /dev/null +++ b/plugins/newmail_notifier/newmail_notifier.js @@ -0,0 +1,200 @@ +/** + * New Mail Notifier plugin script + * + * @author Aleksander Machniak <alec@alec.pl> + * + * @licstart The following is the entire license notice for the + * JavaScript code in this file. + * + * Copyright (c) 2013, The Roundcube Dev Team + * + * The JavaScript code in this page is free software: you can redistribute it + * and/or modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * @licend The above is the entire license notice + * for the JavaScript code in this file. + */ + +if (window.rcmail && rcmail.env.task == 'mail') { + rcmail.addEventListener('plugin.newmail_notifier', newmail_notifier_run); + rcmail.addEventListener('actionbefore', newmail_notifier_stop); + rcmail.addEventListener('init', function() { + // bind to messages list select event, so favicon will be reverted on message preview too + if (rcmail.message_list) + rcmail.message_list.addEventListener('select', newmail_notifier_stop); + }); +} + +// Executes notification methods +function newmail_notifier_run(prop) +{ + if (prop.basic) + newmail_notifier_basic(); + if (prop.sound) + newmail_notifier_sound(); + if (prop.desktop) + newmail_notifier_desktop(rcmail.gettext('body', 'newmail_notifier')); +} + +// Stops notification +function newmail_notifier_stop(prop) +{ + // revert original favicon + if (rcmail.env.favicon_href && rcmail.env.favicon_changed && (!prop || prop.action != 'check-recent')) { + $('<link rel="shortcut icon" href="'+rcmail.env.favicon_href+'"/>').replaceAll('link[rel="shortcut icon"]'); + rcmail.env.favicon_changed = 0; + } + + // Remove IE icon overlay if we're pinned to Taskbar + try { + if(window.external.msIsSiteMode()) { + window.external.msSiteModeClearIconOverlay(); + } + } catch(e) {} +} + +// Basic notification: window.focus and favicon change +function newmail_notifier_basic() +{ + var w = rcmail.is_framed() ? window.parent : window, + path = rcmail.assets_path('plugins/newmail_notifier'); + + w.focus(); + + // we cannot simply change a href attribute, we must to replace the link element (at least in FF) + var link = $('<link rel="shortcut icon">').attr('href', path + '/favicon.ico'), + oldlink = $('link[rel="shortcut icon"]', w.document); + + if (!rcmail.env.favicon_href) + rcmail.env.favicon_href = oldlink.attr('href'); + + rcmail.env.favicon_changed = 1; + link.replaceAll(oldlink); + + // Add IE icon overlay if we're pinned to Taskbar + try { + if (window.external.msIsSiteMode()) { + window.external.msSiteModeSetIconOverlay(path + '/overlay.ico', rcmail.gettext('title', 'newmail_notifier')); + } + } catch(e) {} +} + +// Sound notification +function newmail_notifier_sound() +{ + var elem, src = rcmail.assets_path('plugins/newmail_notifier/sound'), + plugin = navigator.mimeTypes ? navigator.mimeTypes['audio/mp3'] : {}; + + // Internet Explorer does not support wav files, + // support in other browsers depends on enabled plugins, + // so we use wav as a fallback + src += bw.ie || (plugin && plugin.enabledPlugin) ? '.mp3' : '.wav'; + + // HTML5 + try { + elem = $('<audio>').attr('src', src); + elem.get(0).play(); + } + // old method + catch (e) { + elem = $('<embed id="sound" src="' + src + '" hidden=true autostart=true loop=false />'); + elem.appendTo($('body')); + window.setTimeout("$('#sound').remove()", 5000); + } +} + +// Desktop notification +// - Require Chrome or Firefox latest version (22+) / 21.0 or older with a plugin +function newmail_notifier_desktop(body) +{ + var timeout = rcmail.env.newmail_notifier_timeout || 10, + icon = rcmail.assets_path('plugins/newmail_notifier/mail.png'); + + + // As of 17 June 2013, Chrome/Chromium does not implement Notification.permission correctly that + // it gives 'undefined' until an object has been created: + // https://code.google.com/p/chromium/issues/detail?id=163226 + try { + if (Notification.permission == 'granted' || Notification.permission == undefined) { + var popup = new Notification(rcmail.gettext('title', 'newmail_notifier'), { + dir: "auto", + lang: "", + body: body, + tag: "newmail_notifier", + icon: icon + }); + popup.onclick = function() { + this.close(); + } + setTimeout(function() { popup.close(); }, timeout * 1000); + if (popup.permission == 'granted') return true; + } + } + catch (e) { + var dn = window.webkitNotifications; + + if (dn && !dn.checkPermission()) { + if (rcmail.newmail_popup) + rcmail.newmail_popup.cancel(); + var popup = window.webkitNotifications.createNotification(icon, + rcmail.gettext('title', 'newmail_notifier'), body); + popup.onclick = function() { + this.cancel(); + } + popup.show(); + setTimeout(function() { popup.cancel(); }, timeout * 1000); + rcmail.newmail_popup = popup; + return true; + } + } + return false; +} + +function newmail_notifier_test_desktop() +{ + var txt = rcmail.gettext('testbody', 'newmail_notifier'); + + // W3C draft implementation (with fix for Chrome/Chromium) + try { + var testNotification = new window.Notification(txt, {tag: "newmail_notifier"}); // Try to show a test message + if (Notification.permission !== 'granted' || (testNotification.permission && testNotification.permission !== 'granted')) + newmail_notifier_desktop_authorize(); + } + // webkit implementation + catch (e) { + var dn = window.webkitNotifications; + if (dn) { + if (!dn.checkPermission()) + newmail_notifier_desktop(txt); + else + dn.requestPermission(function() { + if (!newmail_notifier_desktop(txt)) + rcmail.display_message(rcmail.gettext('desktopdisabled', 'newmail_notifier'), 'error'); + }); + } + else + // Everything fails, means the browser has no support + rcmail.display_message(rcmail.gettext('desktopunsupported', 'newmail_notifier'), 'error'); + } +} + +function newmail_notifier_test_basic() +{ + newmail_notifier_basic(); +} + +function newmail_notifier_test_sound() +{ + newmail_notifier_sound(); +} + +function newmail_notifier_desktop_authorize() { + Notification.requestPermission(function(perm) { + if (perm == 'denied') + rcmail.display_message(rcmail.gettext('desktopdisabled', 'newmail_notifier'), 'error'); + if (perm == 'granted') + newmail_notifier_test_desktop(); // Test again, which should show test message + }); +} diff --git a/plugins/newmail_notifier/newmail_notifier.php b/plugins/newmail_notifier/newmail_notifier.php new file mode 100644 index 000000000..efac69116 --- /dev/null +++ b/plugins/newmail_notifier/newmail_notifier.php @@ -0,0 +1,218 @@ +<?php + +/** + * New Mail Notifier plugin + * + * Supports three methods of notification: + * 1. Basic - focus browser window and change favicon + * 2. Sound - play wav file + * 3. Desktop - display desktop notification (using webkitNotifications feature, + * supported by Chrome and Firefox with 'HTML5 Notifications' plugin) + * + * @version @package_version@ + * @author Aleksander Machniak <alec@alec.pl> + * + * + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class newmail_notifier extends rcube_plugin +{ + public $task = 'mail|settings'; + + private $rc; + private $notified; + private $opt = array(); + private $exceptions = array(); + + + /** + * Plugin initialization + */ + function init() + { + $this->rc = rcmail::get_instance(); + + // Preferences hooks + if ($this->rc->task == 'settings') { + $this->add_hook('preferences_list', array($this, 'prefs_list')); + $this->add_hook('preferences_save', array($this, 'prefs_save')); + } + else { // if ($this->rc->task == 'mail') { + // add script when not in ajax and not in frame and only in main window + if ($this->rc->output->type == 'html' && empty($_REQUEST['_framed']) && $this->rc->action == '') { + $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')); + } + } + } + } + + /** + * Handler for user preferences form (preferences_list hook) + */ + function prefs_list($args) + { + if ($args['section'] != 'mailbox') { + return $args; + } + + // Load configuration + $this->load_config(); + + // Load localization and configuration + $this->add_texts('localization/'); + + if (!empty($_REQUEST['_framed'])) { + $this->rc->output->add_label('newmail_notifier.title', 'newmail_notifier.testbody', + 'newmail_notifier.desktopunsupported', 'newmail_notifier.desktopenabled', 'newmail_notifier.desktopdisabled'); + $this->include_script('newmail_notifier.js'); + } + + // Check that configuration is not disabled + $dont_override = (array) $this->rc->config->get('dont_override', array()); + + foreach (array('basic', 'desktop', 'sound') as $type) { + $key = 'newmail_notifier_' . $type; + if (!in_array($key, $dont_override)) { + $field_id = '_' . $key; + $input = new html_checkbox(array('name' => $field_id, 'id' => $field_id, 'value' => 1)); + $content = $input->show($this->rc->config->get($key)) + . ' ' . html::a(array('href' => '#', 'onclick' => 'newmail_notifier_test_'.$type.'()'), + $this->gettext('test')); + + $args['blocks']['new_message']['options'][$key] = array( + 'title' => html::label($field_id, rcube::Q($this->gettext($type))), + 'content' => $content + ); + } + } + + $type = 'desktop_timeout'; + $key = 'newmail_notifier_' . $type; + if (!in_array($key, $dont_override)) { + $field_id = '_' . $key; + $select = new html_select(array('name' => $field_id, 'id' => $field_id)); + + foreach (array(5, 10, 15, 30, 45, 60) as $sec) { + $label = $this->rc->gettext(array('name' => 'afternseconds', 'vars' => array('n' => $sec))); + $select->add($label, $sec); + } + + $args['blocks']['new_message']['options'][$key] = array( + 'title' => html::label($field_id, rcube::Q($this->gettext('desktoptimeout'))), + 'content' => $select->show((int) $this->rc->config->get($key)) + ); + } + + return $args; + } + + /** + * Handler for user preferences save (preferences_save hook) + */ + function prefs_save($args) + { + if ($args['section'] != 'mailbox') { + return $args; + } + + // Load configuration + $this->load_config(); + + // Check that configuration is not disabled + $dont_override = (array) $this->rc->config->get('dont_override', array()); + + foreach (array('basic', 'desktop', 'sound') as $type) { + $key = 'newmail_notifier_' . $type; + if (!in_array($key, $dont_override)) { + $args['prefs'][$key] = rcube_utils::get_input_value('_'.$key, rcube_utils::INPUT_POST) ? true : false; + } + } + + $option = 'newmail_notifier_desktop_timeout'; + if (!in_array($option, $dont_override)) { + if ($value = (int) rcube_utils::get_input_value('_' . $option, rcube_utils::INPUT_POST)) { + $args['prefs'][$option] = $value; + } + } + + return $args; + } + + /** + * Handler for new message action (new_messages hook) + */ + function notify($args) + { + // Already notified or unexpected input + if ($this->notified || empty($args['diff']['new'])) { + return $args; + } + + $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.$delimiter, $folder.$delimiter) === 0) { + return $args; + } + } + + // 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); + + if ($unseen->count()) { + $this->notified = true; + + $this->rc->output->set_env('newmail_notifier_timeout', $this->rc->config->get('newmail_notifier_desktop_timeout')); + $this->rc->output->command('plugin.newmail_notifier', + array( + 'basic' => $this->opt['basic'], + 'sound' => $this->opt['sound'], + 'desktop' => $this->opt['desktop'], + )); + } + + return $args; + } +} diff --git a/plugins/newmail_notifier/overlay.ico b/plugins/newmail_notifier/overlay.ico Binary files differnew file mode 100644 index 000000000..17eb61a05 --- /dev/null +++ b/plugins/newmail_notifier/overlay.ico diff --git a/plugins/newmail_notifier/sound.mp3 b/plugins/newmail_notifier/sound.mp3 Binary files differnew file mode 100644 index 000000000..3b494a94d --- /dev/null +++ b/plugins/newmail_notifier/sound.mp3 diff --git a/plugins/newmail_notifier/sound.wav b/plugins/newmail_notifier/sound.wav Binary files differnew file mode 100644 index 000000000..72d3dd857 --- /dev/null +++ b/plugins/newmail_notifier/sound.wav diff --git a/plugins/newmail_notifier/tests/NewmailNotifier.php b/plugins/newmail_notifier/tests/NewmailNotifier.php new file mode 100644 index 000000000..ccddccd39 --- /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 __DIR__ . '/../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); + } +} + diff --git a/plugins/password/README b/plugins/password/README new file mode 100644 index 000000000..b883211bb --- /dev/null +++ b/plugins/password/README @@ -0,0 +1,350 @@ + ----------------------------------------------------------------------- + Password Plugin for Roundcube + ----------------------------------------------------------------------- + Plugin that adds a possibility to change user password using many + methods (drivers) via Settings/Password tab. + ----------------------------------------------------------------------- + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see http://www.gnu.org/licenses/. + + @version @package_version@ + @author Aleksander Machniak <alec@alec.pl> + @author <see driver files for driver authors> + ----------------------------------------------------------------------- + + 1. Configuration + 2. Drivers + 2.1. Database (sql) + 2.2. Cyrus/SASL (sasl) + 2.3. Poppassd/Courierpassd (poppassd) + 2.4. LDAP (ldap) + 2.5. DirectAdmin Control Panel (directadmin) + 2.6. cPanel (cpanel) + 2.7. XIMSS/Communigate (ximms) + 2.8. Virtualmin (virtualmin) + 2.9. hMailServer (hmail) + 2.10. PAM (pam) + 2.11. Chpasswd (chpasswd) + 2.12. LDAP - no PEAR (ldap_simple) + 2.13. XMail (xmail) + 2.14. Pw (pw_usermod) + 2.15. domainFACTORY (domainfactory) + 2.16. DBMail (dbmail) + 2.17. Expect (expect) + 2.18. Samba (smb) + 2.19. Vpopmail daemon (vpopmaild) + 2.20. Plesk (Plesk RPC-API) + 2.21. Kpasswd + 3. Driver API + + + 1. Configuration + ---------------- + + Copy config.inc.php.dist to config.inc.php and set the options as described + within the file. + + + 2. Drivers + ---------- + + Password plugin supports many password change mechanisms which are + handled by included drivers. Just pass driver name in 'password_driver' option. + + + 2.1. Database (sql) + ------------------- + + You can specify which database to connect by 'password_db_dsn' option and + what SQL query to execute by 'password_query'. See config.inc.php.dist file for + more info. + + Example implementations of an update_passwd function: + + - This is for use with LMS (http://lms.org.pl) database and postgres: + + CREATE OR REPLACE FUNCTION update_passwd(hash text, account text) RETURNS integer AS $$ + DECLARE + res integer; + BEGIN + UPDATE passwd SET password = hash + WHERE login = split_part(account, '@', 1) + AND domainid = (SELECT id FROM domains WHERE name = split_part(account, '@', 2)) + RETURNING id INTO res; + RETURN res; + END; + $$ LANGUAGE plpgsql SECURITY DEFINER; + + - This is for use with a SELECT update_passwd(%o,%c,%u) query + Updates the password only when the old password matches the MD5 password + in the database + + CREATE FUNCTION update_password (oldpass text, cryptpass text, user text) RETURNS text + MODIFIES SQL DATA + BEGIN + DECLARE currentsalt varchar(20); + DECLARE error text; + SET error = 'incorrect current password'; + SELECT substring_index(substr(user.password,4),_latin1'$',1) INTO currentsalt FROM users WHERE username=user; + SELECT '' INTO error FROM users WHERE username=user AND password=ENCRYPT(oldpass,currentsalt); + UPDATE users SET password=cryptpass WHERE username=user AND password=ENCRYPT(oldpass,currentsalt); + RETURN error; + END + + Example SQL UPDATEs: + + - Plain text passwords: + UPDATE users SET password=%p WHERE username=%u AND password=%o AND domain=%h LIMIT 1 + + - Crypt text passwords: + UPDATE users SET password=%c WHERE username=%u LIMIT 1 + + - Use a MYSQL crypt function (*nix only) with random 8 character salt + UPDATE users SET password=ENCRYPT(%p,concat(_utf8'$1$',right(md5(rand()),8),_utf8'$')) WHERE username=%u LIMIT 1 + + - MD5 stored passwords: + UPDATE users SET password=MD5(%p) WHERE username=%u AND password=MD5(%o) LIMIT 1 + + + 2.2. Cyrus/SASL (sasl) + ---------------------- + + Cyrus SASL database authentication allows your Cyrus+Roundcube + installation to host mail users without requiring a Unix Shell account! + + This driver only covers the "sasldb" case when using Cyrus SASL. Kerberos + and PAM authentication mechanisms will require other techniques to enable + user password manipulations. + + Cyrus SASL includes a shell utility called "saslpasswd" for manipulating + user passwords in the "sasldb" database. This plugin attempts to use + this utility to perform password manipulations required by your webmail + users without any administrative interaction. Unfortunately, this + scheme requires that the "saslpasswd" utility be run as the "cyrus" + user - kind of a security problem since we have chosen to SUID a small + script which will allow this to happen. + + This driver is based on the Squirrelmail Change SASL Password Plugin. + See http://www.squirrelmail.org/plugin_view.php?id=107 for details. + + Installation: + + Change into the helpers directory. Edit the chgsaslpasswd.c file as is + documented within it. + + Compile the wrapper program: + gcc -o chgsaslpasswd chgsaslpasswd.c + + Chown the compiled chgsaslpasswd binary to the cyrus user and group + that your browser runs as, then chmod them to 4550. + + For example, if your cyrus user is 'cyrus' and the apache server group is + 'nobody' (I've been told Redhat runs Apache as user 'apache'): + + chown cyrus:nobody chgsaslpasswd + chmod 4550 chgsaslpasswd + + Stephen Carr has suggested users should try to run the scripts on a test + account as the cyrus user eg; + + su cyrus -c "./chgsaslpasswd -p test_account" + + This will allow you to make sure that the script will work for your setup. + Should the script not work, make sure that: + 1) the user the script runs as has access to the saslpasswd|saslpasswd2 + file and proper permissions + 2) make sure the user in the chgsaslpasswd.c file is set correctly. + This could save you some headaches if you are the paranoid type. + + + 2.3. Poppassd/Courierpassd (poppassd) + ------------------------------------- + + You can specify which host to connect to via 'password_pop_host' and + what port via 'password_pop_port'. See config.inc.php.dist file for more info. + + + 2.4. LDAP (ldap) + ---------------- + + See config.inc.php.dist file. Requires PEAR::Net_LDAP2 package. + + + 2.5. DirectAdmin Control Panel (directadmin) + -------------------------------------------- + + You can specify which host to connect to via 'password_directadmin_host' (don't + forget to use tcp:// or ssl://) and what port via 'password_direactadmin_port'. + The password enforcement with plenty customization can be done directly by + DirectAdmin, please see http://www.directadmin.com/features.php?id=910 + See config.inc.php.dist file for more info. + + + 2.6. cPanel (cpanel) + -------------------- + + Install cPanel XMLAPI Client Class into Roundcube program/lib directory + or any other place in PHP include path. You can get the class from + https://raw.github.com/CpanelInc/xmlapi-php/master/xmlapi.php + + You can configure parameters for connection to cPanel's API interface. + See config.inc.php.dist file for more info. + + + 2.7. XIMSS/Communigate (ximms) + ------------------------------ + + You can specify which host and port to connect to via 'password_ximss_host' + and 'password_ximss_port'. See config.inc.php.dist file for more info. + + + 2.8. Virtualmin (virtualmin) + ---------------------------- + + As in sasl driver this one allows to change password using shell + utility called "virtualmin". See helpers/chgvirtualminpasswd.c for + installation instructions. See also config.inc.php.dist file. + + + 2.9. hMailServer (hmail) + ------------------------ + + Requires PHP COM (Windows only). For access to hMail server on remote host + you'll need to define 'hmailserver_remote_dcom' and 'hmailserver_server'. + See config.inc.php.dist file for more info. + + + 2.10. PAM (pam) + --------------- + + This driver is for changing passwords of shell users authenticated with PAM. + Requires PECL's PAM exitension to be installed (http://pecl.php.net/package/PAM). + + + 2.11. Chpasswd (chpasswd) + ------------------------- + + Driver that adds functionality to change the systems user password via + the 'chpasswd' command. See config.inc.php.dist file. + + Attached wrapper script (helpers/chpass-wrapper.py) restricts password changes + to uids >= 1000 and can deny requests based on a blacklist. + + + 2.12. LDAP - no PEAR (ldap_simple) + ----------------------------------- + + It's rewritten ldap driver that doesn't require the Net_LDAP2 PEAR extension. + It uses directly PHP's ldap module functions instead (as Roundcube does). + + This driver is fully compatible with the ldap driver, but + does not require (or uses) the + $config['password_ldap_force_replace'] variable. + Other advantages: + * Connects only once with the LDAP server when using the search user. + * Does not read the DN, but only replaces the password within (that is + why the 'force replace' is always used). + + + 2.13. XMail (xmail) + ----------------------------------- + + Driver for XMail (www.xmailserver.org). See config.inc.php.dist file + for configuration description. + + + 2.14. Pw (pw_usermod) + ----------------------------------- + + Driver to change the systems user password via the 'pw usermod' command. + See config.inc.php.dist file for configuration description. + + + 2.15. domainFACTORY (domainfactory) + ----------------------------------- + + Driver for the hosting provider domainFACTORY (www.df.eu). + No configuration options. + + + 2.16. DBMail (dbmail) + ----------------------------------- + + Driver that adds functionality to change the users DBMail password. + It only works with dbmail-users on the same host where Roundcube runs + and requires shell access and gcc in order to compile the binary + (see instructions in chgdbmailusers.c file). + See config.inc.php.dist file for configuration description. + + Note: DBMail users can also use sql driver. + + + 2.17. Expect (expect) + ----------------------------------- + + Driver to change user password via the 'expect' command. + See config.inc.php.dist file for configuration description. + + + 2.18. Samba (smb) + ----------------------------------- + + Driver to change Samba user password via the 'smbpasswd' command. + See config.inc.php.dist file for configuration description. + + + 2.19. Vpopmail daemon (vpopmaild) + ----------------------------------- + + Driver for the daemon of vpopmail. Vpopmail is used with qmail to + enable virtual users that are saved in a database and not in /etc/passwd. + + Set $config['password_vpopmaild_host'] to the host where vpopmaild runs. + + Set $config['password_vpopmaild_port'] to the port of vpopmaild. + + Set $config['password_vpopmaild_timeout'] to the timeout used for the TCP + connection to vpopmaild (You may want to set it higher on busy servers). + + + 2.20. Plesk (Plesk RPC-API) + --------------------------- + + Driver for changing Passwords via Plesk RPC-API. This Driver also works with + Parallels Plesk Automation (PPA). + + You need to allow the IP of the Roundcube-Server for RPC-Calls in the Panel. + + Set $config['password_plesk_host'] to the Hostname / IP where Plesk runs + Set your Admin or RPC User: $config['password_plesk_user'] + Set the Password of the User: $config['password_plesk_pass'] + Set $config['password_plesk_rpc_port'] for the RPC-Port. Usually its 8443 + Set the RPC-Path in $config['password_plesk_rpc_path']. Normally this is: enterprise/control/agent.php. + + + 2.21. Kpasswd + ----------------------------------- + + Driver to change the password in Kerberos environments via the 'kpasswd' command. + See config.inc.php.dist file for configuration description. + + + 3. Driver API + ------------- + + Driver file (<driver_name>.php) must define rcube_<driver_name>_password class + with public save() method that has two arguments. First - current password, second - new password. + This method should return PASSWORD_SUCCESS on success or any of PASSWORD_CONNECT_ERROR, + PASSWORD_CRYPT_ERROR, PASSWORD_ERROR when driver was unable to change password. + Extended result (as a hash-array with 'message' and 'code' items) can be returned + too. See existing drivers in drivers/ directory for examples. diff --git a/plugins/password/composer.json b/plugins/password/composer.json new file mode 100644 index 000000000..3aba2a2ba --- /dev/null +++ b/plugins/password/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/password", + "type": "roundcube-plugin", + "description": "Password Change for Roundcube. Plugin adds a possibility to change user password using many methods (drivers) via Settings/Password tab.", + "license": "GPLv3+", + "version": "3.5", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/password/config.inc.php.dist b/plugins/password/config.inc.php.dist new file mode 100644 index 000000000..18144996f --- /dev/null +++ b/plugins/password/config.inc.php.dist @@ -0,0 +1,407 @@ +<?php + +// Password Plugin options +// ----------------------- +// A driver to use for password change. Default: "sql". +// See README file for list of supported driver names. +$config['password_driver'] = 'sql'; + +// Determine whether current password is required to change password. +// Default: false. +$config['password_confirm_current'] = true; + +// Require the new password to be a certain length. +// set to blank to allow passwords of any length +$config['password_minimum_length'] = 0; + +// Require the new password to contain a letter and punctuation character +// Change to false to remove this check. +$config['password_require_nonalpha'] = false; + +// Enables logging of password changes into logs/password +$config['password_log'] = false; + +// Comma-separated list of login exceptions for which password change +// will be not available (no Password tab in Settings) +$config['password_login_exceptions'] = null; + +// Array of hosts that support password changing. Default is NULL. +// Listed hosts will feature a Password option in Settings; others will not. +// Example: +//$config['password_hosts'] = array('mail.example.com', 'mail2.example.org'); +$config['password_hosts'] = null; + +// Enables saving the new password even if it matches the old password. Useful +// for upgrading the stored passwords after the encryption scheme has changed. +$config['password_force_save'] = false; + +// Enables forcing new users to change their password at their first login. +$config['password_force_new_user'] = false; + + +// SQL Driver options +// ------------------ +// PEAR database DSN for performing the query. By default +// Roundcube DB settings are used. +$config['password_db_dsn'] = ''; + +// The SQL query used to change the password. +// The query can contain the following macros that will be expanded as follows: +// %p is replaced with the plaintext new password +// %c is replaced with the crypt version of the new password, MD5 if available +// otherwise DES. More hash function can be enabled using the password_crypt_hash +// configuration parameter. +// %D is replaced with the dovecotpw-crypted version of the new password +// %o is replaced with the password before the change +// %n is replaced with the hashed version of the new password +// %q is replaced with the hashed password before the change +// %h is replaced with the imap host (from the session info) +// %u is replaced with the username (from the session info) +// %l is replaced with the local part of the username +// (in case the username is an email address) +// %d is replaced with the domain part of the username +// (in case the username is an email address) +// Escaping of macros is handled by this module. +// Default: "SELECT update_passwd(%c, %u)" +$config['password_query'] = 'SELECT update_passwd(%c, %u)'; + +// By default the crypt() function which is used to create the '%c' +// parameter uses the md5 algorithm. To use different algorithms +// you can choose between: des, md5, blowfish, sha256, sha512. +// Before using other hash functions than des or md5 please make sure +// your operating system supports the other hash functions. +$config['password_crypt_hash'] = 'md5'; + +// By default domains in variables are using unicode. +// Enable this option to use punycoded names +$config['password_idn_ascii'] = false; + +// Path for dovecotpw (if not in $PATH) +// $config['password_dovecotpw'] = '/usr/local/sbin/dovecotpw'; + +// Dovecot method (dovecotpw -s 'method') +$config['password_dovecotpw_method'] = 'CRAM-MD5'; + +// Enables use of password with crypt method prefix in %D, e.g. {MD5}$1$LUiMYWqx$fEkg/ggr/L6Mb2X7be4i1/ +$config['password_dovecotpw_with_method'] = false; + +// Using a password hash for %n and %q variables. +// Determine which hashing algorithm should be used to generate +// the hashed new and current password for using them within the +// SQL query. Requires PHP's 'hash' extension. +$config['password_hash_algorithm'] = 'sha1'; + +// You can also decide whether the hash should be provided +// as hex string or in base64 encoded format. +$config['password_hash_base64'] = false; + +// Iteration count parameter for Blowfish-based hashing algo. +// It must be between 4 and 31. Default: 12. +// Be aware, the higher the value, the longer it takes to generate the password hashes. +$config['password_blowfish_cost'] = 12; + + +// Poppassd Driver options +// ----------------------- +// The host which changes the password +$config['password_pop_host'] = 'localhost'; + +// TCP port used for poppassd connections +$config['password_pop_port'] = 106; + + +// SASL Driver options +// ------------------- +// Additional arguments for the saslpasswd2 call +$config['password_saslpasswd_args'] = ''; + + +// LDAP and LDAP_SIMPLE Driver options +// ----------------------------------- +// LDAP server name to connect to. +// You can provide one or several hosts in an array in which case the hosts are tried from left to right. +// Exemple: array('ldap1.exemple.com', 'ldap2.exemple.com'); +// Default: 'localhost' +$config['password_ldap_host'] = 'localhost'; + +// LDAP server port to connect to +// Default: '389' +$config['password_ldap_port'] = '389'; + +// TLS is started after connecting +// Using TLS for password modification is recommanded. +// Default: false +$config['password_ldap_starttls'] = false; + +// LDAP version +// Default: '3' +$config['password_ldap_version'] = '3'; + +// LDAP base name (root directory) +// Exemple: 'dc=exemple,dc=com' +$config['password_ldap_basedn'] = 'dc=exemple,dc=com'; + +// LDAP connection method +// There is two connection method for changing a user's LDAP password. +// 'user': use user credential (recommanded, require password_confirm_current=true) +// 'admin': use admin credential (this mode require password_ldap_adminDN and password_ldap_adminPW) +// Default: 'user' +$config['password_ldap_method'] = 'user'; + +// LDAP Admin DN +// Used only in admin connection mode +// Default: null +$config['password_ldap_adminDN'] = null; + +// LDAP Admin Password +// Used only in admin connection mode +// Default: null +$config['password_ldap_adminPW'] = null; + +// LDAP user DN mask +// The user's DN is mandatory and as we only have his login, +// we need to re-create his DN using a mask +// '%login' will be replaced by the current roundcube user's login +// '%name' will be replaced by the current roundcube user's name part +// '%domain' will be replaced by the current roundcube user's domain part +// '%dc' will be replaced by domain name hierarchal string e.g. "dc=test,dc=domain,dc=com" +// Exemple: 'uid=%login,ou=people,dc=exemple,dc=com' +$config['password_ldap_userDN_mask'] = 'uid=%login,ou=people,dc=exemple,dc=com'; + +// LDAP search DN +// The DN roundcube should bind with to find out user's DN +// based on his login. Note that you should comment out the default +// password_ldap_userDN_mask setting for this to take effect. +// Use this if you cannot specify a general template for user DN with +// password_ldap_userDN_mask. You need to perform a search based on +// users login to find his DN instead. A common reason might be that +// your users are placed under different ou's like engineering or +// sales which cannot be derived from their login only. +$config['password_ldap_searchDN'] = 'cn=roundcube,ou=services,dc=example,dc=com'; + +// LDAP search password +// If password_ldap_searchDN is set, the password to use for +// binding to search for user's DN. Note that you should comment out the default +// password_ldap_userDN_mask setting for this to take effect. +// Warning: Be sure to set approperiate permissions on this file so this password +// is only accesible to roundcube and don't forget to restrict roundcube's access to +// your directory as much as possible using ACLs. Should this password be compromised +// you want to minimize the damage. +$config['password_ldap_searchPW'] = 'secret'; + +// LDAP search base +// If password_ldap_searchDN is set, the base to search in using the filter below. +// Note that you should comment out the default password_ldap_userDN_mask setting +// for this to take effect. +$config['password_ldap_search_base'] = 'ou=people,dc=example,dc=com'; + +// LDAP search filter +// If password_ldap_searchDN is set, the filter to use when +// searching for user's DN. Note that you should comment out the default +// password_ldap_userDN_mask setting for this to take effect. +// '%login' will be replaced by the current roundcube user's login +// '%name' will be replaced by the current roundcube user's name part +// '%domain' will be replaced by the current roundcube user's domain part +// '%dc' will be replaced by domain name hierarchal string e.g. "dc=test,dc=domain,dc=com" +// Example: '(uid=%login)' +// Example: '(&(objectClass=posixAccount)(uid=%login))' +$config['password_ldap_search_filter'] = '(uid=%login)'; + +// LDAP password hash type +// Standard LDAP encryption type which must be one of: crypt, +// ext_des, md5crypt, blowfish, md5, sha, smd5, ssha, ad, cram-md5 (dovecot style) or clear. +// Please note that most encodage types require external libraries +// to be included in your PHP installation, see function hashPassword in drivers/ldap.php for more info. +// Multiple password Values can be generated by concatenating encodings with a +. E.g. 'cram-md5+crypt' +// Default: 'crypt'. +$config['password_ldap_encodage'] = 'crypt'; + +// LDAP password attribute +// Name of the ldap's attribute used for storing user password +// Default: 'userPassword' +$config['password_ldap_pwattr'] = 'userPassword'; + +// LDAP password force replace +// Force LDAP replace in cases where ACL allows only replace not read +// See http://pear.php.net/package/Net_LDAP2/docs/latest/Net_LDAP2/Net_LDAP2_Entry.html#methodreplace +// Default: true +$config['password_ldap_force_replace'] = true; + +// LDAP Password Last Change Date +// Some places use an attribute to store the date of the last password change +// The date is meassured in "days since epoch" (an integer value) +// Whenever the password is changed, the attribute will be updated if set (e.g. shadowLastChange) +$config['password_ldap_lchattr'] = ''; + +// LDAP Samba password attribute, e.g. sambaNTPassword +// Name of the LDAP's Samba attribute used for storing user password +$config['password_ldap_samba_pwattr'] = ''; + +// LDAP Samba Password Last Change Date attribute, e.g. sambaPwdLastSet +// Some places use an attribute to store the date of the last password change +// The date is meassured in "seconds since epoch" (an integer value) +// Whenever the password is changed, the attribute will be updated if set +$config['password_ldap_samba_lchattr'] = ''; + + +// DirectAdmin Driver options +// -------------------------- +// The host which changes the password +// Use 'ssl://host' instead of 'tcp://host' when running DirectAdmin over SSL. +// The host can contain the following macros that will be expanded as follows: +// %h is replaced with the imap host (from the session info) +// %d is replaced with the domain part of the username (if the username is an email) +$config['password_directadmin_host'] = 'tcp://localhost'; + +// TCP port used for DirectAdmin connections +$config['password_directadmin_port'] = 2222; + + +// vpopmaild Driver options +// ----------------------- +// The host which changes the password +$config['password_vpopmaild_host'] = 'localhost'; + +// TCP port used for vpopmaild connections +$config['password_vpopmaild_port'] = 89; + +// Timout used for the connection to vpopmaild (in seconds) +$config['password_vpopmaild_timeout'] = 10; + + +// cPanel Driver options +// -------------------------- +// The cPanel Host name +$config['password_cpanel_host'] = 'host.domain.com'; + +// The cPanel admin username +$config['password_cpanel_username'] = 'username'; + +// The cPanel admin password +$config['password_cpanel_password'] = 'password'; + +// The cPanel port to use +$config['password_cpanel_port'] = 2087; + + +// XIMSS (Communigate server) Driver options +// ----------------------------------------- +// Host name of the Communigate server +$config['password_ximss_host'] = 'mail.example.com'; + +// XIMSS port on Communigate server +$config['password_ximss_port'] = 11024; + + +// chpasswd Driver options +// --------------------- +// Command to use +$config['password_chpasswd_cmd'] = 'sudo /usr/sbin/chpasswd 2> /dev/null'; + + +// XMail Driver options +// --------------------- +$config['xmail_host'] = 'localhost'; +$config['xmail_user'] = 'YourXmailControlUser'; +$config['xmail_pass'] = 'YourXmailControlPass'; +$config['xmail_port'] = 6017; + + +// hMail Driver options +// ----------------------- +// Remote hMailServer configuration +// true: HMailserver is on a remote box (php.ini: com.allow_dcom = true) +// false: Hmailserver is on same box as PHP +$config['hmailserver_remote_dcom'] = false; +// Windows credentials +$config['hmailserver_server'] = array( + 'Server' => 'localhost', // hostname or ip address + 'Username' => 'administrator', // windows username + 'Password' => 'password' // windows user password +); + + +// Virtualmin Driver options +// ------------------------- +// Username format: +// 0: username@domain +// 1: username%domain +// 2: username.domain +// 3: domain.username +// 4: username-domain +// 5: domain-username +// 6: username_domain +// 7: domain_username +$config['password_virtualmin_format'] = 0; + + +// pw_usermod Driver options +// -------------------------- +// Use comma delimited exlist to disable password change for users +// Add the following line to visudo to tighten security: +// www ALL=NOPASSWORD: /usr/sbin/pw +$config['password_pw_usermod_cmd'] = 'sudo /usr/sbin/pw usermod -h 0 -n'; + + +// DBMail Driver options +// ------------------- +// Additional arguments for the dbmail-users call +$config['password_dbmail_args'] = '-p sha512'; + + +// Expect Driver options +// --------------------- +// Location of expect binary +$config['password_expect_bin'] = '/usr/bin/expect'; + +// Location of expect script (see helpers/passwd-expect) +$config['password_expect_script'] = ''; + +// Arguments for the expect script. See the helpers/passwd-expect file for details. +// This is probably a good starting default: +// -telent -host localhost -output /tmp/passwd.log -log /tmp/passwd.log +$config['password_expect_params'] = ''; + + +// smb Driver options +// --------------------- +// Samba host (default: localhost) +// Supported replacement variables: +// %n - hostname ($_SERVER['SERVER_NAME']) +// %t - hostname without the first part +// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part) +$config['password_smb_host'] = 'localhost'; +// Location of smbpasswd binary +$config['password_smb_cmd'] = '/usr/bin/smbpasswd'; + +// gearman driver options +// --------------------- +// Gearman host (default: localhost) +$config['password_gearman_host'] = 'localhost'; + + + +// Plesk/PPA Driver options +// -------------------- +// You need to allow RCP for IP of roundcube-server in Plesk/PPA Panel + +// Plesk RCP Host +$config['password_plesk_host'] = '10.0.0.5'; + +// Plesk RPC Username +$config['password_plesk_user'] = 'admin'; + +// Plesk RPC Password +$config['password_plesk_pass'] = 'password'; + +// Plesk RPC Port +$config['password_plesk_rpc_port'] = '8443'; + +// Plesk RPC Path +$config['password_plesk_rpc_path'] = 'enterprise/control/agent.php'; + + +// kasswd Driver options +// --------------------- +// Command to use +$config['password_kpasswd_cmd'] = '/usr/bin/kpasswd'; diff --git a/plugins/password/drivers/chpasswd.php b/plugins/password/drivers/chpasswd.php new file mode 100644 index 000000000..45c56dba3 --- /dev/null +++ b/plugins/password/drivers/chpasswd.php @@ -0,0 +1,54 @@ +<?php + +/** + * chpasswd driver + * + * Driver that adds functionality to change the systems user password via + * the 'chpasswd' command. + * + * For installation instructions please read the README file. + * + * @version 2.0 + * @author Alex Cartwright <acartwright@mutinydesign.co.uk> + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_chpasswd_password +{ + public function save($currpass, $newpass) + { + $cmd = rcmail::get_instance()->config->get('password_chpasswd_cmd'); + $username = $_SESSION['username']; + + $handle = popen($cmd, "w"); + fwrite($handle, "$username:$newpass\n"); + + if (pclose($handle) == 0) { + return PASSWORD_SUCCESS; + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Unable to execute $cmd" + ), true, false); + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/cpanel.php b/plugins/password/drivers/cpanel.php new file mode 100644 index 000000000..663c125ce --- /dev/null +++ b/plugins/password/drivers/cpanel.php @@ -0,0 +1,87 @@ +<?php + +/** + * cPanel Password Driver + * + * Driver that adds functionality to change the users cPanel password. + * Originally written by Fulvio Venturelli <fulvio@venturelli.org> + * + * Completely rewritten using the cPanel API2 call Email::passwdpop + * as opposed to the original coding against the UI, which is a fragile method that + * makes the driver to always return a failure message for any language other than English + * see http://trac.roundcube.net/ticket/1487015 + * + * This driver has been tested with o2switch hosting and seems to work fine. + * + * @version 3.0 + * @author Christian Chech <christian@chech.fr> + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_cpanel_password +{ + public function save($curpas, $newpass) + { + require_once 'xmlapi.php'; + + $rcmail = rcmail::get_instance(); + + $this->cuser = $rcmail->config->get('password_cpanel_username'); + + // Setup the xmlapi connection + $this->xmlapi = new xmlapi($rcmail->config->get('password_cpanel_host')); + $this->xmlapi->set_port($rcmail->config->get('password_cpanel_port')); + $this->xmlapi->password_auth($this->cuser, $rcmail->config->get('password_cpanel_password')); + $this->xmlapi->set_output('json'); + $this->xmlapi->set_debug(0); + + if ($this->setPassword($_SESSION['username'], $newpass)) { + return PASSWORD_SUCCESS; + } + else { + return PASSWORD_ERROR; + } + } + + /** + * Change email account password + * + * Returns true on success or false on failure. + * @param string $password email account password + * @return bool + */ + function setPassword($address, $password) + { + if (strpos($address, '@')) { + list($data['email'], $data['domain']) = explode('@', $address); + } + else { + list($data['email'], $data['domain']) = array($address, ''); + } + + $data['password'] = $password; + + $query = $this->xmlapi->api2_query($this->cuser, 'Email', 'passwdpop', $data); + $query = json_decode($query, true); + + if ($query['cpanelresult']['data'][0]['result'] == 1) { + return true; + } + + return false; + } +} diff --git a/plugins/password/drivers/dbmail.php b/plugins/password/drivers/dbmail.php new file mode 100644 index 000000000..120728395 --- /dev/null +++ b/plugins/password/drivers/dbmail.php @@ -0,0 +1,70 @@ +<?php + +/** + * DBMail Password Driver + * + * Driver that adds functionality to change the users DBMail password. + * The code is derrived from the Squirrelmail "Change SASL Password" Plugin + * by Galen Johnson. + * + * It only works with dbmail-users on the same host where Roundcube runs + * and requires shell access and gcc in order to compile the binary. + * + * For installation instructions please read the README file. + * + * @version 1.0 + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_dbmail_password +{ + function save($currpass, $newpass) + { + $curdir = RCUBE_PLUGINS_DIR . 'password/helpers'; + $username = escapeshellarg($_SESSION['username']); + $password = escapeshellarg($newpass); + $args = rcmail::get_instance()->config->get('password_dbmail_args', ''); + $command = "$curdir/chgdbmailusers -c $username -w $password $args"; + + if (strlen($command) > 1024) { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: The command is too long." + ), true, false); + + return PASSWORD_ERROR; + } + + exec($command, $output, $returnvalue); + + if ($returnvalue == 0) { + return PASSWORD_SUCCESS; + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Unable to execute $curdir/chgdbmailusers" + ), true, false); + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/directadmin.php b/plugins/password/drivers/directadmin.php new file mode 100644 index 000000000..08ade5130 --- /dev/null +++ b/plugins/password/drivers/directadmin.php @@ -0,0 +1,502 @@ +<?php + +/** + * DirectAdmin Password Driver + * + * Driver to change passwords via DirectAdmin Control Panel + * + * @version 2.1 + * @author Victor Benincasa <vbenincasa@gmail.com> + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_directadmin_password +{ + public function save($curpass, $passwd) + { + $rcmail = rcmail::get_instance(); + $Socket = new HTTPSocket; + + $da_user = $_SESSION['username']; + $da_curpass = $curpass; + $da_newpass = $passwd; + $da_host = $rcmail->config->get('password_directadmin_host'); + $da_port = $rcmail->config->get('password_directadmin_port'); + + if (strpos($da_user, '@') === false) { + return array('code' => PASSWORD_ERROR, 'message' => 'Change the SYSTEM user password through control panel!'); + } + + $da_host = str_replace('%h', $_SESSION['imap_host'], $da_host); + $da_host = str_replace('%d', $rcmail->user->get_username('domain'), $da_host); + + $Socket->connect($da_host,$da_port); + $Socket->set_method('POST'); + $Socket->query('/CMD_CHANGE_EMAIL_PASSWORD', + array( + 'email' => $da_user, + 'oldpassword' => $da_curpass, + 'password1' => $da_newpass, + 'password2' => $da_newpass, + 'api' => '1' + )); + $response = $Socket->fetch_parsed_body(); + + //DEBUG + //rcube::console("Password Plugin: [USER: $da_user] [HOST: $da_host] - Response: [SOCKET: ".$Socket->result_status_code."] [DA ERROR: ".strip_tags($response['error'])."] [TEXT: ".$response[text]."]"); + + if($Socket->result_status_code != 200) + return array('code' => PASSWORD_CONNECT_ERROR, 'message' => $Socket->error[0]); + elseif($response['error'] == 1) + return array('code' => PASSWORD_ERROR, 'message' => strip_tags($response['text'])); + else + return PASSWORD_SUCCESS; + } +} + + +/** + * Socket communication class. + * + * Originally designed for use with DirectAdmin's API, this class will fill any HTTP socket need. + * + * Very, very basic usage: + * $Socket = new HTTPSocket; + * echo $Socket->get('http://user:pass@somehost.com:2222/CMD_API_SOMEAPI?query=string&this=that'); + * + * @author Phi1 'l0rdphi1' Stier <l0rdphi1@liquenox.net> + * @updates 2.7 and 2.8 by Victor Benincasa <vbenincasa @ gmail.com> + * @package HTTPSocket + * @version 2.8 + */ +class HTTPSocket { + + var $version = '2.8'; + + /* all vars are private except $error, $query_cache, and $doFollowLocationHeader */ + + var $method = 'GET'; + + var $remote_host; + var $remote_port; + var $remote_uname; + var $remote_passwd; + + var $result; + var $result_header; + var $result_body; + var $result_status_code; + + var $lastTransferSpeed; + + var $bind_host; + + var $error = array(); + var $warn = array(); + var $query_cache = array(); + + var $doFollowLocationHeader = TRUE; + var $redirectURL; + + var $extra_headers = array(); + + /** + * Create server "connection". + * + */ + function connect($host, $port = '' ) + { + if (!is_numeric($port)) + { + $port = 2222; + } + + $this->remote_host = $host; + $this->remote_port = $port; + } + + function bind( $ip = '' ) + { + if ( $ip == '' ) + { + $ip = $_SERVER['SERVER_ADDR']; + } + + $this->bind_host = $ip; + } + + /** + * Change the method being used to communicate. + * + * @param string|null request method. supports GET, POST, and HEAD. default is GET + */ + function set_method( $method = 'GET' ) + { + $this->method = strtoupper($method); + } + + /** + * Specify a username and password. + * + * @param string|null username. defualt is null + * @param string|null password. defualt is null + */ + function set_login( $uname = '', $passwd = '' ) + { + if ( strlen($uname) > 0 ) + { + $this->remote_uname = $uname; + } + + if ( strlen($passwd) > 0 ) + { + $this->remote_passwd = $passwd; + } + + } + + /** + * Query the server + * + * @param string containing properly formatted server API. See DA API docs and examples. Http:// URLs O.K. too. + * @param string|array query to pass to url + * @param int if connection KB/s drops below value here, will drop connection + */ + function query( $request, $content = '', $doSpeedCheck = 0 ) + { + $this->error = $this->warn = array(); + $this->result_status_code = NULL; + + // is our request a http(s):// ... ? + if (preg_match('/^(http|https):\/\//i',$request)) + { + $location = parse_url($request); + $this->connect($location['host'],$location['port']); + $this->set_login($location['user'],$location['pass']); + + $request = $location['path']; + $content = $location['query']; + + if ( strlen($request) < 1 ) + { + $request = '/'; + } + + } + + $array_headers = array( + 'User-Agent' => "HTTPSocket/$this->version", + 'Host' => ( $this->remote_port == 80 ? parse_url($this->remote_host,PHP_URL_HOST) : parse_url($this->remote_host,PHP_URL_HOST).":".$this->remote_port ), + 'Accept' => '*/*', + 'Connection' => 'Close' ); + + foreach ( $this->extra_headers as $key => $value ) + { + $array_headers[$key] = $value; + } + + $this->result = $this->result_header = $this->result_body = ''; + + // was content sent as an array? if so, turn it into a string + if (is_array($content)) + { + $pairs = array(); + + foreach ( $content as $key => $value ) + { + $pairs[] = "$key=".urlencode($value); + } + + $content = join('&',$pairs); + unset($pairs); + } + + $OK = TRUE; + + // instance connection + if ($this->bind_host) + { + $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); + socket_bind($socket,$this->bind_host); + + if (!@socket_connect($socket,$this->remote_host,$this->remote_port)) + { + $OK = FALSE; + } + + } + else + { + $socket = @fsockopen( $this->remote_host, $this->remote_port, $sock_errno, $sock_errstr, 10 ); + } + + if ( !$socket || !$OK ) + { + $this->error[] = "Can't create socket connection to $this->remote_host:$this->remote_port."; + return 0; + } + + // if we have a username and password, add the header + if ( isset($this->remote_uname) && isset($this->remote_passwd) ) + { + $array_headers['Authorization'] = 'Basic '.base64_encode("$this->remote_uname:$this->remote_passwd"); + } + + // for DA skins: if $this->remote_passwd is NULL, try to use the login key system + if ( isset($this->remote_uname) && $this->remote_passwd == NULL ) + { + $array_headers['Cookie'] = "session={$_SERVER['SESSION_ID']}; key={$_SERVER['SESSION_KEY']}"; + } + + // if method is POST, add content length & type headers + if ( $this->method == 'POST' ) + { + $array_headers['Content-type'] = 'application/x-www-form-urlencoded'; + $array_headers['Content-length'] = strlen($content); + } + // else method is GET or HEAD. we don't support anything else right now. + else + { + if ($content) + { + $request .= "?$content"; + } + } + + // prepare query + $query = "$this->method $request HTTP/1.0\r\n"; + foreach ( $array_headers as $key => $value ) + { + $query .= "$key: $value\r\n"; + } + $query .= "\r\n"; + + // if POST we need to append our content + if ( $this->method == 'POST' && $content ) + { + $query .= "$content\r\n\r\n"; + } + + // query connection + if ($this->bind_host) + { + socket_write($socket,$query); + + // now load results + while ( $out = socket_read($socket,2048) ) + { + $this->result .= $out; + } + } + else + { + fwrite( $socket, $query, strlen($query) ); + + // now load results + $this->lastTransferSpeed = 0; + $status = socket_get_status($socket); + $startTime = time(); + $length = 0; + while ( !feof($socket) && !$status['timed_out'] ) + { + $chunk = fgets($socket,1024); + $length += strlen($chunk); + $this->result .= $chunk; + + $elapsedTime = time() - $startTime; + + if ( $elapsedTime > 0 ) + { + $this->lastTransferSpeed = ($length/1024)/$elapsedTime; + } + + if ( $doSpeedCheck > 0 && $elapsedTime > 5 && $this->lastTransferSpeed < $doSpeedCheck ) + { + $this->warn[] = "kB/s for last 5 seconds is below 50 kB/s (~".( ($length/1024)/$elapsedTime )."), dropping connection..."; + $this->result_status_code = 503; + break; + } + + } + + if ( $this->lastTransferSpeed == 0 ) + { + $this->lastTransferSpeed = $length/1024; + } + + } + + list($this->result_header,$this->result_body) = preg_split("/\r\n\r\n/",$this->result,2); + + if ($this->bind_host) + { + socket_close($socket); + } + else + { + fclose($socket); + } + + $this->query_cache[] = $query; + + + $headers = $this->fetch_header(); + + // what return status did we get? + if (!$this->result_status_code) + { + preg_match("#HTTP/1\.. (\d+)#",$headers[0],$matches); + $this->result_status_code = $matches[1]; + } + + // did we get the full file? + if ( !empty($headers['content-length']) && $headers['content-length'] != strlen($this->result_body) ) + { + $this->result_status_code = 206; + } + + // now, if we're being passed a location header, should we follow it? + if ($this->doFollowLocationHeader) + { + if ($headers['location']) + { + $this->redirectURL = $headers['location']; + $this->query($headers['location']); + } + } + } + + function getTransferSpeed() + { + return $this->lastTransferSpeed; + } + + /** + * The quick way to get a URL's content :) + * + * @param string URL + * @param boolean return as array? (like PHP's file() command) + * @return string result body + */ + function get($location, $asArray = FALSE ) + { + $this->query($location); + + if ( $this->get_status_code() == 200 ) + { + if ($asArray) + { + return preg_split("/\n/",$this->fetch_body()); + } + + return $this->fetch_body(); + } + + return FALSE; + } + + /** + * Returns the last status code. + * 200 = OK; + * 403 = FORBIDDEN; + * etc. + * + * @return int status code + */ + function get_status_code() + { + return $this->result_status_code; + } + + /** + * Adds a header, sent with the next query. + * + * @param string header name + * @param string header value + */ + function add_header($key,$value) + { + $this->extra_headers[$key] = $value; + } + + /** + * Clears any extra headers. + * + */ + function clear_headers() + { + $this->extra_headers = array(); + } + + /** + * Return the result of a query. + * + * @return string result + */ + function fetch_result() + { + return $this->result; + } + + /** + * Return the header of result (stuff before body). + * + * @param string (optional) header to return + * @return array result header + */ + function fetch_header( $header = '' ) + { + $array_headers = preg_split("/\r\n/",$this->result_header); + $array_return = array( 0 => $array_headers[0] ); + unset($array_headers[0]); + + foreach ( $array_headers as $pair ) + { + list($key,$value) = preg_split("/: /",$pair,2); + $array_return[strtolower($key)] = $value; + } + + if ( $header != '' ) + { + return $array_return[strtolower($header)]; + } + + return $array_return; + } + + /** + * Return the body of result (stuff after header). + * + * @return string result body + */ + function fetch_body() + { + return $this->result_body; + } + + /** + * Return parsed body in array format. + * + * @return array result parsed + */ + function fetch_parsed_body() + { + parse_str($this->result_body,$x); + return $x; + } + +} diff --git a/plugins/password/drivers/domainfactory.php b/plugins/password/drivers/domainfactory.php new file mode 100644 index 000000000..95088e9dd --- /dev/null +++ b/plugins/password/drivers/domainfactory.php @@ -0,0 +1,100 @@ +<?php + +/** + * domainFACTORY Password Driver + * + * Driver to change passwords with the hosting provider domainFACTORY. + * http://www.df.eu/ + * + * @version 2.1 + * @author Till Krüss <me@tillkruess.com> + * @link http://tillkruess.com/projects/roundcube/ + * + * Copyright (C) 2005-2014, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_domainfactory_password +{ + function save($curpass, $passwd) + { + $rcmail = rcmail::get_instance(); + + if (is_null($curpass)) { + $curpass = $rcmail->decrypt($_SESSION['password']); + } + + if ($ch = curl_init()) { + // initial login + curl_setopt_array($ch, array( + CURLOPT_RETURNTRANSFER => true, + CURLOPT_URL => 'https://ssl.df.eu/chmail.php', + CURLOPT_POST => true, + CURLOPT_POSTFIELDS => http_build_query(array( + 'login' => $rcmail->user->get_username(), + 'pwd' => $curpass, + 'action' => 'change' + )) + )); + + if ($result = curl_exec($ch)) { + // login successful, get token! + $postfields = array( + 'pwd1' => $passwd, + 'pwd2' => $passwd, + 'action[update]' => 'Speichern' + ); + + preg_match_all('~<input name="(.+?)" type="hidden" value="(.+?)">~i', $result, $fields); + foreach ($fields[1] as $field_key => $field_name) { + $postfields[$field_name] = $fields[2][$field_key]; + } + + // change password + $ch = curl_copy_handle($ch); + curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($postfields)); + if ($result = curl_exec($ch)) { + // has the password been changed? + if (strpos($result, 'Einstellungen erfolgreich') !== false) { + return PASSWORD_SUCCESS; + } + + // show error message(s) if possible + if (strpos($result, '<div class="d-msg-text">') !== false) { + preg_match_all('#<div class="d-msg-text">(.*?)</div>#s', $result, $errors); + if (isset($errors[1])) { + $error_message = ''; + foreach ($errors[1] as $error) { + $error_message .= trim(mb_convert_encoding( $error, 'UTF-8', 'ISO-8859-15' )).' '; + } + return array('code' => PASSWORD_ERROR, 'message' => $error_message); + } + } + } + else { + return PASSWORD_CONNECT_ERROR; + } + } + else { + return PASSWORD_CONNECT_ERROR; + } + } + else { + return PASSWORD_CONNECT_ERROR; + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/expect.php b/plugins/password/drivers/expect.php new file mode 100644 index 000000000..57fe905ee --- /dev/null +++ b/plugins/password/drivers/expect.php @@ -0,0 +1,73 @@ +<?php + +/** + * expect driver + * + * Driver that adds functionality to change the systems user password via + * the 'expect' command. + * + * For installation instructions please read the README file. + * + * @version 2.0 + * @author Andy Theuninck <gohanman@gmail.com) + * + * Based on chpasswd roundcubemail password driver by + * @author Alex Cartwright <acartwright@mutinydesign.co.uk) + * and expect horde passwd driver by + * @author Gaudenz Steinlin <gaudenz@soziologie.ch> + * + * Configuration settings: + * password_expect_bin => location of expect (e.g. /usr/bin/expect) + * password_expect_script => path to "password-expect" file + * password_expect_params => arguments for the expect script + * see the password-expect file for details. This is probably + * a good starting default: + * -telent -host localhost -output /tmp/passwd.log -log /tmp/passwd.log + * + * Copyright (C) 2005-2014, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_expect_password +{ + public function save($currpass, $newpass) + { + $rcmail = rcmail::get_instance(); + $bin = $rcmail->config->get('password_expect_bin'); + $script = $rcmail->config->get('password_expect_script'); + $params = $rcmail->config->get('password_expect_params'); + $username = $_SESSION['username']; + + $cmd = $bin . ' -f ' . $script . ' -- ' . $params; + $handle = popen($cmd, "w"); + fwrite($handle, "$username\n"); + fwrite($handle, "$currpass\n"); + fwrite($handle, "$newpass\n"); + + if (pclose($handle) == 0) { + return PASSWORD_SUCCESS; + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Unable to execute $cmd" + ), true, false); + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/gearman.php b/plugins/password/drivers/gearman.php new file mode 100644 index 000000000..983aee046 --- /dev/null +++ b/plugins/password/drivers/gearman.php @@ -0,0 +1,70 @@ +<?php + +/** + * Gearman Password Driver + * + * Payload is json string containing username, oldPassword and newPassword + * Return value is a json string saying result: true if success. + * + * @version 1.0 + * @author Mohammad Anwari <mdamt@mdamt.net> + * + * Copyright (C) 2005-2014, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_gearman_password +{ + function save($currpass, $newpass) + { + if (extension_loaded('gearman')) { + $rcmail = rcmail::get_instance(); + $user = $_SESSION['username']; + $payload = array( + 'username' => $user, + 'oldPassword' => $currpass, + 'newPassword' => $newpass, + ); + + $gmc = new GearmanClient(); + $gmc->addServer($rcmail->config->get('password_gearman_host')); + + $result = $gmc->doNormal('setPassword', json_encode($payload)); + $success = json_decode($result); + + if ($success && $success->result == 1) { + return PASSWORD_SUCCESS; + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Gearman authentication failed for user $user: $error" + ), true, false); + } + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: PECL Gearman module not loaded" + ), true, false); + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/hmail.php b/plugins/password/drivers/hmail.php new file mode 100644 index 000000000..49f7f6cf4 --- /dev/null +++ b/plugins/password/drivers/hmail.php @@ -0,0 +1,76 @@ +<?php + +/** + * hMailserver password driver + * + * @version 2.0 + * @author Roland 'rosali' Liebl <myroundcube@mail4us.net> + * + * Copyright (C) 2005-2014, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_hmail_password +{ + public function save($curpass, $passwd) + { + $rcmail = rcmail::get_instance(); + + if ($curpass == '' || $passwd == '') { + return PASSWORD_ERROR; + } + + try { + $remote = $rcmail->config->get('hmailserver_remote_dcom', false); + if ($remote) + $obApp = new COM("hMailServer.Application", $rcmail->config->get('hmailserver_server')); + else + $obApp = new COM("hMailServer.Application"); + } + catch (Exception $e) { + rcube::write_log('errors', "Plugin password (hmail driver): " . trim(strip_tags($e->getMessage()))); + rcube::write_log('errors', "Plugin password (hmail driver): This problem is often caused by DCOM permissions not being set."); + return PASSWORD_ERROR; + } + + $username = $rcmail->user->data['username']; + if (strstr($username,'@')){ + $temparr = explode('@', $username); + $domain = $temparr[1]; + } + else { + $domain = $rcmail->config->get('username_domain',false); + if (!$domain) { + rcube::write_log('errors','Plugin password (hmail driver): $config[\'username_domain\'] is not defined.'); + return PASSWORD_ERROR; + } + $username = $username . "@" . $domain; + } + + $obApp->Authenticate($username, $curpass); + try { + $obDomain = $obApp->Domains->ItemByName($domain); + $obAccount = $obDomain->Accounts->ItemByAddress($username); + $obAccount->Password = $passwd; + $obAccount->Save(); + return PASSWORD_SUCCESS; + } + catch (Exception $e) { + rcube::write_log('errors', "Plugin password (hmail driver): " . trim(strip_tags($e->getMessage()))); + rcube::write_log('errors', "Plugin password (hmail driver): This problem is often caused by DCOM permissions not being set."); + return PASSWORD_ERROR; + } + } +} diff --git a/plugins/password/drivers/kpasswd.php b/plugins/password/drivers/kpasswd.php new file mode 100644 index 000000000..ce245b315 --- /dev/null +++ b/plugins/password/drivers/kpasswd.php @@ -0,0 +1,45 @@ +<?php + +/** + * kpasswd Driver + * + * Driver that adds functionality to change the systems user password via + * the 'kpasswd' command. + * + * For installation instructions please read the README file. + * + * @version 1.0 + * @author Peter Allgeyer <peter.allgeyer@salzburgresearch.at> + * + * Based on chpasswd roundcubemail password driver by + * @author Alex Cartwright <acartwright@mutinydesign.co.uk> + */ + +class rcube_kpasswd_password +{ + public function save($currpass, $newpass) + { + $bin = rcmail::get_instance()->config->get('password_kpasswd_cmd', '/usr/bin/kpasswd'); + $username = $_SESSION['username']; + $cmd = $bin . ' "' . $username . '" 2>&1'; + + $handle = popen($cmd, "w"); + fwrite($handle, $currpass."\n"); + fwrite($handle, $newpass."\n"); + fwrite($handle, $newpass."\n"); + + if (pclose($handle) == 0) { + return PASSWORD_SUCCESS; + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Unable to execute $cmd" + ), true, false); + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/ldap.php b/plugins/password/drivers/ldap.php new file mode 100644 index 000000000..6ed5ada04 --- /dev/null +++ b/plugins/password/drivers/ldap.php @@ -0,0 +1,381 @@ +<?php + +/** + * LDAP Password Driver + * + * Driver for passwords stored in LDAP + * This driver use the PEAR Net_LDAP2 class (http://pear.php.net/package/Net_LDAP2). + * + * @version 2.0 + * @author Edouard MOREAU <edouard.moreau@ensma.fr> + * + * method hashPassword based on code from the phpLDAPadmin development team (http://phpldapadmin.sourceforge.net/). + * method randomSalt based on code from the phpLDAPadmin development team (http://phpldapadmin.sourceforge.net/). + * + * Copyright (C) 2005-2014, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_ldap_password +{ + public function save($curpass, $passwd) + { + $rcmail = rcmail::get_instance(); + require_once 'Net/LDAP2.php'; + + // Building user DN + if ($userDN = $rcmail->config->get('password_ldap_userDN_mask')) { + $userDN = self::substitute_vars($userDN); + } + else { + $userDN = $this->search_userdn($rcmail); + } + + if (empty($userDN)) { + return PASSWORD_CONNECT_ERROR; + } + + // Connection Method + switch($rcmail->config->get('password_ldap_method')) { + case 'admin': + $binddn = $rcmail->config->get('password_ldap_adminDN'); + $bindpw = $rcmail->config->get('password_ldap_adminPW'); + break; + case 'user': + default: + $binddn = $userDN; + $bindpw = $curpass; + break; + } + + // Configuration array + $ldapConfig = array ( + 'binddn' => $binddn, + 'bindpw' => $bindpw, + 'basedn' => $rcmail->config->get('password_ldap_basedn'), + 'host' => $rcmail->config->get('password_ldap_host'), + 'port' => $rcmail->config->get('password_ldap_port'), + 'starttls' => $rcmail->config->get('password_ldap_starttls'), + 'version' => $rcmail->config->get('password_ldap_version'), + ); + + // Connecting using the configuration array + $ldap = Net_LDAP2::connect($ldapConfig); + + // Checking for connection error + if (is_a($ldap, 'PEAR_Error')) { + return PASSWORD_CONNECT_ERROR; + } + + $force = $rcmail->config->get('password_ldap_force_replace'); + $pwattr = $rcmail->config->get('password_ldap_pwattr'); + $lchattr = $rcmail->config->get('password_ldap_lchattr'); + $smbpwattr = $rcmail->config->get('password_ldap_samba_pwattr'); + $smblchattr = $rcmail->config->get('password_ldap_samba_lchattr'); + $samba = $rcmail->config->get('password_ldap_samba'); + $encodage = $rcmail->config->get('password_ldap_encodage'); + + // Support multiple userPassword values where desired. + // multiple encodings can be specified separated by '+' (e.g. "cram-md5+ssha") + $encodages = explode('+', $encodage); + $crypted_pass = array(); + + foreach ($encodages as $enc) { + $cpw = self::hash_password($passwd, $enc); + if (!empty($cpw)) { + $crypted_pass[] = $cpw; + } + } + + // Support password_ldap_samba option for backward compat. + if ($samba && !$smbpwattr) { + $smbpwattr = 'sambaNTPassword'; + $smblchattr = 'sambaPwdLastSet'; + } + + // Crypt new password + if (empty($crypted_pass)) { + return PASSWORD_CRYPT_ERROR; + } + + // Crypt new samba password + if ($smbpwattr && !($samba_pass = self::hash_password($passwd, 'samba'))) { + return PASSWORD_CRYPT_ERROR; + } + + // Writing new crypted password to LDAP + $userEntry = $ldap->getEntry($userDN); + if (Net_LDAP2::isError($userEntry)) { + return PASSWORD_CONNECT_ERROR; + } + + if (!$userEntry->replace(array($pwattr => $crypted_pass), $force)) { + return PASSWORD_CONNECT_ERROR; + } + + // Updating PasswordLastChange Attribute if desired + if ($lchattr) { + $current_day = (int)(time() / 86400); + if (!$userEntry->replace(array($lchattr => $current_day), $force)) { + return PASSWORD_CONNECT_ERROR; + } + } + + // Update Samba password and last change fields + if ($smbpwattr) { + $userEntry->replace(array($smbpwattr => $samba_pass), $force); + } + // Update Samba password last change field + if ($smblchattr) { + $userEntry->replace(array($smblchattr => time()), $force); + } + + if (Net_LDAP2::isError($userEntry->update())) { + return PASSWORD_CONNECT_ERROR; + } + + // All done, no error + return PASSWORD_SUCCESS; + } + + /** + * Bind with searchDN and searchPW and search for the user's DN. + * Use search_base and search_filter defined in config file. + * Return the found DN. + */ + function search_userdn($rcmail) + { + $binddn = $rcmail->config->get('password_ldap_searchDN'); + $bindpw = $rcmail->config->get('password_ldap_searchPW'); + + $ldapConfig = array ( + 'basedn' => $rcmail->config->get('password_ldap_basedn'), + 'host' => $rcmail->config->get('password_ldap_host'), + 'port' => $rcmail->config->get('password_ldap_port'), + 'starttls' => $rcmail->config->get('password_ldap_starttls'), + 'version' => $rcmail->config->get('password_ldap_version'), + ); + + // allow anonymous searches + if (!empty($binddn)) { + $ldapConfig['binddn'] = $binddn; + $ldapConfig['bindpw'] = $bindpw; + } + + $ldap = Net_LDAP2::connect($ldapConfig); + + if (is_a($ldap, 'PEAR_Error')) { + return ''; + } + + $base = self::substitute_vars($rcmail->config->get('password_ldap_search_base')); + $filter = self::substitute_vars($rcmail->config->get('password_ldap_search_filter')); + $options = array ( + 'scope' => 'sub', + 'attributes' => array(), + ); + + $result = $ldap->search($base, $filter, $options); + $ldap->done(); + if (is_a($result, 'PEAR_Error') || ($result->count() != 1)) { + return ''; + } + + return $result->current()->dn(); + } + + /** + * Substitute %login, %name, %domain, %dc in $str + * See plugin config for details + */ + static function substitute_vars($str) + { + $str = str_replace('%login', $_SESSION['username'], $str); + $str = str_replace('%l', $_SESSION['username'], $str); + + $parts = explode('@', $_SESSION['username']); + + if (count($parts) == 2) { + $dc = 'dc='.strtr($parts[1], array('.' => ',dc=')); // hierarchal domain string + + $str = str_replace('%name', $parts[0], $str); + $str = str_replace('%n', $parts[0], $str); + $str = str_replace('%dc', $dc, $str); + $str = str_replace('%domain', $parts[1], $str); + $str = str_replace('%d', $parts[1], $str); + } + + return $str; + } + + /** + * Code originaly from the phpLDAPadmin development team + * http://phpldapadmin.sourceforge.net/ + * + * Hashes a password and returns the hash based on the specified enc_type + */ + static function hash_password($password_clear, $encodage_type) + { + $encodage_type = strtolower($encodage_type); + switch ($encodage_type) { + case 'crypt': + $crypted_password = '{CRYPT}' . crypt($password_clear, self::random_salt(2)); + break; + + case 'ext_des': + /* Extended DES crypt. see OpenBSD crypt man page */ + if (!defined('CRYPT_EXT_DES') || CRYPT_EXT_DES == 0) { + /* Your system crypt library does not support extended DES encryption */ + return false; + } + + $crypted_password = '{CRYPT}' . crypt($password_clear, '_' . self::random_salt(8)); + break; + + case 'md5crypt': + if (!defined('CRYPT_MD5') || CRYPT_MD5 == 0) { + /* Your system crypt library does not support md5crypt encryption */ + return false; + } + + $crypted_password = '{CRYPT}' . crypt($password_clear, '$1$' . self::random_salt(9)); + break; + + case 'blowfish': + if (!defined('CRYPT_BLOWFISH') || CRYPT_BLOWFISH == 0) { + /* Your system crypt library does not support blowfish encryption */ + return false; + } + + $rcmail = rcmail::get_instance(); + $cost = (int) $rcmail->config->get('password_blowfish_cost'); + $cost = $cost < 4 || $cost > 31 ? 12 : $cost; + $prefix = sprintf('$2a$%02d$', $cost); + + $crypted_password = '{CRYPT}' . crypt($password_clear, $prefix . self::random_salt(22)); + break; + + case 'md5': + $crypted_password = '{MD5}' . base64_encode(pack('H*', md5($password_clear))); + break; + + case 'sha': + if (function_exists('sha1')) { + /* Use PHP 4.3.0+ sha1 function, if it is available */ + $crypted_password = '{SHA}' . base64_encode(pack('H*', sha1($password_clear))); + } + else if (function_exists('hash')) { + $crypted_password = '{SHA}' . base64_encode(hash('sha1', $password_clear, true)); + } + else if (function_exists('mhash')) { + $crypted_password = '{SHA}' . base64_encode(mhash(MHASH_SHA1, $password_clear)); + } + else { + /* Your PHP install does not have the mhash()/hash() nor sha1() function */ + return false; + } + break; + + case 'ssha': + $salt = substr(pack('h*', md5(mt_rand())), 0, 8); + + if (function_exists('mhash') && function_exists('mhash_keygen_s2k')) { + $salt = mhash_keygen_s2k(MHASH_SHA1, $password_clear, $salt, 4); + $password = mhash(MHASH_SHA1, $password_clear . $salt); + } + else if (function_exists('sha1')) { + $salt = substr(pack("H*", sha1($salt . $password_clear)), 0, 4); + $password = sha1($password_clear . $salt, true); + } + else if (function_exists('hash')) { + $salt = substr(pack("H*", hash('sha1', $salt . $password_clear)), 0, 4); + $password = hash('sha1', $password_clear . $salt, true); + } + + if ($password) { + $crypted_password = '{SSHA}' . base64_encode($password . $salt); + } + else { + /* Your PHP install does not have the mhash()/hash() nor sha1() function */ + return false; + } + break; + + + case 'smd5': + $salt = substr(pack('h*', md5(mt_rand())), 0, 8); + + if (function_exists('mhash') && function_exists('mhash_keygen_s2k')) { + $salt = mhash_keygen_s2k(MHASH_MD5, $password_clear, $salt, 4); + $password = mhash(MHASH_MD5, $password_clear . $salt); + } + else if (function_exists('hash')) { + $salt = substr(pack("H*", hash('md5', $salt . $password_clear)), 0, 4); + $password = hash('md5', $password_clear . $salt, true); + } + else { + $salt = substr(pack("H*", md5($salt . $password_clear)), 0, 4); + $password = md5($password_clear . $salt, true); + } + + $crypted_password = '{SMD5}' . base64_encode($password . $salt); + break; + + case 'samba': + if (function_exists('hash')) { + $crypted_password = hash('md4', rcube_charset::convert($password_clear, RCUBE_CHARSET, 'UTF-16LE')); + $crypted_password = strtoupper($crypted_password); + } + else { + /* Your PHP install does not have the hash() function */ + return false; + } + break; + + case 'ad': + $crypted_password = rcube_charset::convert('"' . $password_clear . '"', RCUBE_CHARSET, 'UTF-16LE'); + break; + + case 'cram-md5': + require_once __DIR__ . '/../helpers/dovecot_hmacmd5.php'; + return dovecot_hmacmd5($password_clear); + break; + + case 'clear': + default: + $crypted_password = $password_clear; + } + + return $crypted_password; + } + + /** + * Code originaly from the phpLDAPadmin development team + * http://phpldapadmin.sourceforge.net/ + * + * Used to generate a random salt for crypt-style passwords + */ + static function random_salt($length) + { + $possible = '0123456789' . 'abcdefghijklmnopqrstuvwxyz' . 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' . './'; + $str = ''; + + while (strlen($str) < $length) { + $str .= substr($possible, (rand() % strlen($possible)), 1); + } + + return $str; + } +} diff --git a/plugins/password/drivers/ldap_simple.php b/plugins/password/drivers/ldap_simple.php new file mode 100644 index 000000000..9123ea81f --- /dev/null +++ b/plugins/password/drivers/ldap_simple.php @@ -0,0 +1,238 @@ +<?php + +/** + * Simple LDAP Password Driver + * + * Driver for passwords stored in LDAP + * This driver is based on Edouard's LDAP Password Driver, but does not + * require PEAR's Net_LDAP2 to be installed + * + * @version 2.0 + * @author Wout Decre <wout@canodus.be> + * @author Aleksander Machniak <machniak@kolabsys.com> + * + * Copyright (C) 2005-2014, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_ldap_simple_password +{ + private $debug = false; + + function save($curpass, $passwd) + { + $rcmail = rcmail::get_instance(); + + $this->debug = $rcmail->config->get('ldap_debug'); + + $ldap_host = $rcmail->config->get('password_ldap_host'); + $ldap_port = $rcmail->config->get('password_ldap_port'); + + $this->_debug("C: Connect to $ldap_host:$ldap_port"); + + // Connect + if (!$ds = ldap_connect($ldap_host, $ldap_port)) { + $this->_debug("S: NOT OK"); + + rcube::raise_error(array( + 'code' => 100, 'type' => 'ldap', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Could not connect to LDAP server" + ), + true); + + return PASSWORD_CONNECT_ERROR; + } + + $this->_debug("S: OK"); + + // Set protocol version + ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, $rcmail->config->get('password_ldap_version')); + + // Start TLS + if ($rcmail->config->get('password_ldap_starttls')) { + if (!ldap_start_tls($ds)) { + ldap_unbind($ds); + return PASSWORD_CONNECT_ERROR; + } + } + + // include 'ldap' driver, we share some static methods with it + require_once INSTALL_PATH . 'plugins/password/drivers/ldap.php'; + + // other plugins might want to modify user DN + $plugin = $rcmail->plugins->exec_hook('password_ldap_bind', array( + 'user_dn' => '', 'conn' => $ds)); + + // Build user DN + if (!empty($plugin['user_dn'])) { + $user_dn = $plugin['user_dn']; + } + else if ($user_dn = $rcmail->config->get('password_ldap_userDN_mask')) { + $user_dn = rcube_ldap_password::substitute_vars($user_dn); + } + else { + $user_dn = $this->search_userdn($rcmail, $ds); + } + + if (empty($user_dn)) { + ldap_unbind($ds); + return PASSWORD_CONNECT_ERROR; + } + + // Connection method + switch ($rcmail->config->get('password_ldap_method')) { + case 'admin': + $binddn = $rcmail->config->get('password_ldap_adminDN'); + $bindpw = $rcmail->config->get('password_ldap_adminPW'); + break; + case 'user': + default: + $binddn = $user_dn; + $bindpw = $curpass; + break; + } + + $lchattr = $rcmail->config->get('password_ldap_lchattr'); + $pwattr = $rcmail->config->get('password_ldap_pwattr'); + $smbpwattr = $rcmail->config->get('password_ldap_samba_pwattr'); + $smblchattr = $rcmail->config->get('password_ldap_samba_lchattr'); + $samba = $rcmail->config->get('password_ldap_samba'); + $pass_mode = $rcmail->config->get('password_ldap_encodage'); + $crypted_pass = rcube_ldap_password::hash_password($passwd, $pass_mode); + + // Support password_ldap_samba option for backward compat. + if ($samba && !$smbpwattr) { + $smbpwattr = 'sambaNTPassword'; + $smblchattr = 'sambaPwdLastSet'; + } + + // Crypt new password + if (!$crypted_pass) { + return PASSWORD_CRYPT_ERROR; + } + + // Crypt new Samba password + if ($smbpwattr && !($samba_pass = rcube_ldap_password::hash_password($passwd, 'samba'))) { + return PASSWORD_CRYPT_ERROR; + } + + $this->_debug("C: Bind $binddn, pass: **** [" . strlen($bindpw) . "]"); + + // Bind + if (!ldap_bind($ds, $binddn, $bindpw)) { + $this->_debug("S: ".ldap_error($ds)); + + ldap_unbind($ds); + + return PASSWORD_CONNECT_ERROR; + } + + $this->_debug("S: OK"); + + $entry[$pwattr] = $crypted_pass; + + // Update PasswordLastChange Attribute if desired + if ($lchattr) { + $entry[$lchattr] = (int)(time() / 86400); + } + + // Update Samba password + if ($smbpwattr) { + $entry[$smbpwattr] = $samba_pass; + } + + // Update Samba password last change + if ($smblchattr) { + $entry[$smblchattr] = time(); + } + + $this->_debug("C: Modify $user_dn: " . print_r($entry, true)); + + if (!ldap_modify($ds, $user_dn, $entry)) { + $this->_debug("S: ".ldap_error($ds)); + + ldap_unbind($ds); + + return PASSWORD_CONNECT_ERROR; + } + + $this->_debug("S: OK"); + + // All done, no error + ldap_unbind($ds); + + return PASSWORD_SUCCESS; + } + + /** + * Bind with searchDN and searchPW and search for the user's DN + * Use search_base and search_filter defined in config file + * Return the found DN + */ + function search_userdn($rcmail, $ds) + { + $search_user = $rcmail->config->get('password_ldap_searchDN'); + $search_pass = $rcmail->config->get('password_ldap_searchPW'); + $search_base = $rcmail->config->get('password_ldap_search_base'); + $search_filter = $rcmail->config->get('password_ldap_search_filter'); + + if (empty($search_filter)) { + return false; + } + + $this->_debug("C: Bind " . ($search_user ? $search_user : '[anonymous]')); + + // Bind + if (!ldap_bind($ds, $search_user, $search_pass)) { + $this->_debug("S: ".ldap_error($ds)); + return false; + } + + $this->_debug("S: OK"); + + $search_base = rcube_ldap_password::substitute_vars($search_base); + $search_filter = rcube_ldap_password::substitute_vars($search_filter); + + $this->_debug("C: Search $search_base for $search_filter"); + + // Search for the DN + if (!$sr = ldap_search($ds, $search_base, $search_filter)) { + $this->_debug("S: ".ldap_error($ds)); + return false; + } + + $found = ldap_count_entries($ds, $sr); + + $this->_debug("S: OK [found $found records]"); + + // If no or more entries were found, return false + if ($found != 1) { + return false; + } + + return ldap_get_dn($ds, ldap_first_entry($ds, $sr)); + } + + /** + * Prints debug info to the log + */ + private function _debug($str) + { + if ($this->debug) { + rcube::write_log('ldap', $str); + } + } +} diff --git a/plugins/password/drivers/pam.php b/plugins/password/drivers/pam.php new file mode 100644 index 000000000..cd5a92f49 --- /dev/null +++ b/plugins/password/drivers/pam.php @@ -0,0 +1,58 @@ +<?php + +/** + * PAM Password Driver + * + * @version 2.0 + * @author Aleksander Machniak + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_pam_password +{ + function save($currpass, $newpass) + { + $user = $_SESSION['username']; + $error = ''; + + if (extension_loaded('pam') || extension_loaded('pam_auth')) { + if (pam_auth($user, $currpass, $error, false)) { + if (pam_chpass($user, $currpass, $newpass)) { + return PASSWORD_SUCCESS; + } + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: PAM authentication failed for user $user: $error" + ), true, false); + } + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: PECL-PAM module not loaded" + ), true, false); + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/plesk.php b/plugins/password/drivers/plesk.php new file mode 100644 index 000000000..db9ad9efd --- /dev/null +++ b/plugins/password/drivers/plesk.php @@ -0,0 +1,241 @@ +<?php + +/** + * Roundcube Password Driver for Plesk-RPC. + * + * This driver changes a E-Mail-Password via Plesk-RPC + * Deps: PHP-Curl, SimpleXML + * + * @author Cyrill von Wattenwyl <cyrill.vonwattenwyl@adfinis-sygroup.ch> + * @copyright Adfinis SyGroup AG, 2014 + * + * Config needed: + * $config['password_plesk_host'] = '10.0.0.5'; + * $config['password_plesk_user'] = 'admin'; + * $config['password_plesk_pass'] = 'pass'; + * $config['password_plesk_rpc_port'] = 8443; + * $config['password_plesk_rpc_path'] = enterprise/control/agent.php; + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +/** + * Roundcube Password Driver Class + * + * See {ROUNDCUBE_ROOT}/plugins/password/README for API description + * + * @author Cyrill von Wattenwyl <cyrill.vonwattenwyl@adfinis-sygroup.ch> + */ +class rcube_plesk_password +{ + /** + * this method is called from roundcube to change the password + * + * roundcube allready validated the old password so we just need to change it at this point + * + * @author Cyrill von Wattenwyl <cyrill.vonwattenwyl@adfinis-sygroup.ch> + * @param string $curpass Current password + * @param string $newpass New password + * @returns int PASSWORD_SUCCESS|PASSWORD_ERROR + */ + function save($currpass, $newpass) + { + // get config + $rcmail = rcmail::get_instance(); + $host = $rcmail->config->get('password_plesk_host'); + $user = $rcmail->config->get('password_plesk_user'); + $pass = $rcmail->config->get('password_plesk_pass'); + $port = $rcmail->config->get('password_plesk_rpc_port'); + $path = $rcmail->config->get('password_plesk_rpc_path'); + + // create plesk-object + $plesk = new plesk_rpc; + $plesk->init($host, $port, $path, $user, $pass); + + // try to change password and return the status + $result = $plesk->change_mailbox_password($_SESSION['username'], $newpass); + //$plesk->destroy(); + + if ($result) { + return PASSWORD_SUCCESS; + } + + return PASSWORD_ERROR; + } +} + + +/** + * Plesk RPC-Class + * + * Striped down version of Plesk-RPC-Class + * Just functions for changing mail-passwords included + * + * Documentation of Plesk RPC-API: http://download1.parallels.com/Plesk/PP11/11.0/Doc/en-US/online/plesk-api-rpc/ + * + * @author Cyrill von Wattenwyl <cyrill.vonwattenwyl@adfinis-sygroup.ch> + */ +class plesk_rpc +{ + /** + * init plesk-rpc via curl + * + * @param string $host plesk host + * @param string $port plesk rpc port + * @param string $path plesk rpc path + * @param string $user plesk user + * @param string $user plesk password + * @returns void + */ + function init($host, $port, $path, $user, $pass) + { + $headers = array( + sprintf("HTTP_AUTH_LOGIN: %s", $user), + sprintf("HTTP_AUTH_PASSWD: %s", $pass), + "Content-Type: text/xml" + ); + + $url = sprintf("https://%s:%s/%s", $host, $port, $path); + $this->curl = curl_init(); + + curl_setopt($this->curl, CURLOPT_CONNECTTIMEOUT , 5); + curl_setopt($this->curl, CURLOPT_SSL_VERIFYHOST , 0); + curl_setopt($this->curl, CURLOPT_SSL_VERIFYPEER , false); + curl_setopt($this->curl, CURLOPT_HTTPHEADER , $headers); + curl_setopt($this->curl, CURLOPT_URL , $url); + } + + /** + * send a request to the plesk + * + * @param string $packet XML-Packet to send to Plesk + * @returns bool request was successfull or not + */ + function send_request($packet) + { + curl_setopt($this->curl, CURLOPT_RETURNTRANSFER, true); + curl_setopt($this->curl, CURLOPT_POSTFIELDS, $packet); + $retval = curl_exec($this->curl); + + return $retval; + } + + /** + * close curl + */ + function destroy(){ + curl_close($this->curl); + } + + /** + * Creates an Initial SimpleXML-Object for Plesk-RPC + * + * @returns object SimpleXML object + */ + function get_request_obj() + { + $request = new SimpleXMLElement("<packet></packet>"); + $request->addAttribute("version", "1.6.3.0"); + + return $request; + } + + /** + * Get all hosting-informations of a domain + * + * @param string $domain domain-name + * @returns object SimpleXML object + */ + function domain_info($domain) + { + // build xml + $request = $this->get_request_obj(); + $site = $request->addChild("site"); + $get = $site->addChild("get"); + $filter = $get->addChild("filter"); + + $filter->addChild("name", utf8_encode($domain)); + $dataset = $get->addChild("dataset"); + + $dataset->addChild("hosting"); + $packet = $request->asXML(); + + // send the request + $res = $this->send_request($packet); + + // make it to simple-xml-object + $xml = new SimpleXMLElement($res); + + return $xml; + } + + /** + * Get psa-id of a domain + * + * @param string $domain domain-name + * + * @returns bool|int false if failed and integer if successed + */ + function get_domain_id($domain) + { + $xml = $this->domain_info($domain); + $id = intval($xml->site->get->result->id); + $id = (is_int($id)) ? $id : false; + + return $id; + } + + /** + * Change Password of a mailbox + * + * @param string $mailbox full email-adress (user@domain.tld) + * @param string $newpass new password of mailbox + * + * @returns bool + */ + function change_mailbox_password($mailbox, $newpass) + { + list($user, $domain) = explode("@", $mailbox); + $domain_id = $this->get_domain_id($domain); + + // if domain cannot be resolved to an id, do not continue + if (!$domain_id) { + return false; + } + + // build xml-packet + $request = $this -> get_request_obj(); + $mail = $request -> addChild("mail"); + $update = $mail -> addChild("update"); + $add = $update -> addChild("set"); + $filter = $add -> addChild("filter"); + $filter->addChild("site-id", $domain_id); + + $mailname = $filter->addChild("mailname"); + $mailname->addChild("name", $user); + + $password = $mailname->addChild("password"); + $password->addChild("value", $newpass); + $password->addChild("type", "plain"); + + $packet = $request->asXML(); + + // send the request to plesk + $res = $this->send_request($packet); + $xml = new SimpleXMLElement($res); + $res = strval($xml->mail->update->set->result->status); + + return $res == "ok"; + } +} diff --git a/plugins/password/drivers/poppassd.php b/plugins/password/drivers/poppassd.php new file mode 100644 index 000000000..7a2821083 --- /dev/null +++ b/plugins/password/drivers/poppassd.php @@ -0,0 +1,82 @@ +<?php + +/** + * Poppassd Password Driver + * + * Driver to change passwords via Poppassd/Courierpassd + * + * @version 2.0 + * @author Philip Weir + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_poppassd_password +{ + function format_error_result($code, $line) + { + if (preg_match('/^\d\d\d\s+(\S.*)\s*$/', $line, $matches)) { + return array('code' => $code, 'message' => $matches[1]); + } + + return $code; + } + + function save($curpass, $passwd) + { + $rcmail = rcmail::get_instance(); +// include('Net/Socket.php'); + $poppassd = new Net_Socket(); + + $result = $poppassd->connect($rcmail->config->get('password_pop_host'), $rcmail->config->get('password_pop_port'), null); + if (is_a($result, 'PEAR_Error')) { + return $this->format_error_result(PASSWORD_CONNECT_ERROR, $result->getMessage()); + } + else { + $result = $poppassd->readLine(); + if(!preg_match('/^2\d\d/', $result)) { + $poppassd->disconnect(); + return $this->format_error_result(PASSWORD_ERROR, $result); + } + else { + $poppassd->writeLine("user ". $_SESSION['username']); + $result = $poppassd->readLine(); + if (!preg_match('/^[23]\d\d/', $result) ) { + $poppassd->disconnect(); + return $this->format_error_result(PASSWORD_CONNECT_ERROR, $result); + } + else { + $poppassd->writeLine("pass ". $curpass); + $result = $poppassd->readLine(); + if (!preg_match('/^[23]\d\d/', $result) ) { + $poppassd->disconnect(); + return $this->format_error_result(PASSWORD_ERROR, $result); + } + else { + $poppassd->writeLine("newpass ". $passwd); + $result = $poppassd->readLine(); + $poppassd->disconnect(); + if (!preg_match('/^2\d\d/', $result)) { + return $this->format_error_result(PASSWORD_ERROR, $result); + } + + return PASSWORD_SUCCESS; + } + } + } + } + } +} diff --git a/plugins/password/drivers/pw_usermod.php b/plugins/password/drivers/pw_usermod.php new file mode 100644 index 000000000..c519bf4a4 --- /dev/null +++ b/plugins/password/drivers/pw_usermod.php @@ -0,0 +1,56 @@ +<?php + +/** + * pw_usermod Driver + * + * Driver that adds functionality to change the systems user password via + * the 'pw usermod' command. + * + * For installation instructions please read the README file. + * + * @version 2.0 + * @author Alex Cartwright <acartwright@mutinydesign.co.uk> + * @author Adamson Huang <adomputer@gmail.com> + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_pw_usermod_password +{ + public function save($currpass, $newpass) + { + $username = $_SESSION['username']; + $cmd = rcmail::get_instance()->config->get('password_pw_usermod_cmd'); + $cmd .= " $username > /dev/null"; + + $handle = popen($cmd, "w"); + fwrite($handle, "$newpass\n"); + + if (pclose($handle) == 0) { + return PASSWORD_SUCCESS; + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Unable to execute $cmd" + ), true, false); + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/sasl.php b/plugins/password/drivers/sasl.php new file mode 100644 index 000000000..f3baef557 --- /dev/null +++ b/plugins/password/drivers/sasl.php @@ -0,0 +1,60 @@ +<?php + +/** + * SASL Password Driver + * + * Driver that adds functionality to change the users Cyrus/SASL password. + * The code is derrived from the Squirrelmail "Change SASL Password" Plugin + * by Galen Johnson. + * + * It only works with saslpasswd2 on the same host where Roundcube runs + * and requires shell access and gcc in order to compile the binary. + * + * For installation instructions please read the README file. + * + * @version 2.0 + * @author Thomas Bruederli + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_sasl_password +{ + function save($currpass, $newpass) + { + $curdir = RCUBE_PLUGINS_DIR . 'password/helpers'; + $username = escapeshellcmd($_SESSION['username']); + $args = rcmail::get_instance()->config->get('password_saslpasswd_args', ''); + + if ($fh = popen("$curdir/chgsaslpasswd -p $args $username", 'w')) { + fwrite($fh, $newpass."\n"); + $code = pclose($fh); + + if ($code == 0) + return PASSWORD_SUCCESS; + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Unable to execute $curdir/chgsaslpasswd" + ), true, false); + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/smb.php b/plugins/password/drivers/smb.php new file mode 100644 index 000000000..3e34c79a1 --- /dev/null +++ b/plugins/password/drivers/smb.php @@ -0,0 +1,74 @@ +<?php + +/** + * smb Driver + * + * Driver that adds functionality to change the systems user password via + * the 'smbpasswd' command. + * + * For installation instructions please read the README file. + * + * @version 2.0 + * @author Andy Theuninck <gohanman@gmail.com) + * + * Based on chpasswd roundcubemail password driver by + * @author Alex Cartwright <acartwright@mutinydesign.co.uk) + * and smbpasswd horde passwd driver by + * @author Rene Lund Jensen <Rene@lundjensen.net> + * + * Configuration settings: + * password_smb_host => samba host (default: localhost) + * password_smb_cmd => smbpasswd binary (default: /usr/bin/smbpasswd) + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_smb_password +{ + + public function save($currpass, $newpass) + { + $host = rcmail::get_instance()->config->get('password_smb_host','localhost'); + $bin = rcmail::get_instance()->config->get('password_smb_cmd','/usr/bin/smbpasswd'); + $username = $_SESSION['username']; + + $host = rcube_utils::parse_host($host); + $tmpfile = tempnam(sys_get_temp_dir(),'smb'); + $cmd = $bin . ' -r ' . $host . ' -s -U "' . $username . '" > ' . $tmpfile . ' 2>&1'; + $handle = @popen($cmd, 'w'); + + fputs($handle, $currpass."\n"); + fputs($handle, $newpass."\n"); + fputs($handle, $newpass."\n"); + @pclose($handle); + $res = file($tmpfile); + unlink($tmpfile); + + if (strstr($res[count($res) - 1], 'Password changed for user') !== false) { + return PASSWORD_SUCCESS; + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Unable to execute $cmd" + ), true, false); + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/sql.php b/plugins/password/drivers/sql.php new file mode 100644 index 000000000..37e162e22 --- /dev/null +++ b/plugins/password/drivers/sql.php @@ -0,0 +1,212 @@ +<?php + +/** + * SQL Password Driver + * + * Driver for passwords stored in SQL database + * + * @version 2.0 + * @author Aleksander 'A.L.E.C' Machniak <alec@alec.pl> + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_sql_password +{ + function save($curpass, $passwd) + { + $rcmail = rcmail::get_instance(); + + if (!($sql = $rcmail->config->get('password_query'))) { + $sql = 'SELECT update_passwd(%c, %u)'; + } + + if ($dsn = $rcmail->config->get('password_db_dsn')) { + $db = rcube_db::factory($dsn, '', false); + $db->set_debug((bool)$rcmail->config->get('sql_debug')); + } + else { + $db = $rcmail->get_dbh(); + } + + if ($db->is_error()) { + return PASSWORD_ERROR; + } + + // crypted password + if (strpos($sql, '%c') !== FALSE) { + $salt = ''; + + if (!($crypt_hash = $rcmail->config->get('password_crypt_hash'))) { + if (CRYPT_MD5) + $crypt_hash = 'md5'; + else if (CRYPT_STD_DES) + $crypt_hash = 'des'; + } + + switch ($crypt_hash) { + case 'md5': + $len = 8; + $salt_hashindicator = '$1$'; + break; + case 'des': + $len = 2; + break; + case 'blowfish': + $cost = (int) $rcmail->config->get('password_blowfish_cost'); + $cost = $cost < 4 || $cost > 31 ? 12 : $cost; + $len = 22; + $salt_hashindicator = sprintf('$2a$%02d$', $cost); + break; + case 'sha256': + $len = 16; + $salt_hashindicator = '$5$'; + break; + case 'sha512': + $len = 16; + $salt_hashindicator = '$6$'; + break; + default: + return PASSWORD_CRYPT_ERROR; + } + + //Restrict the character set used as salt (#1488136) + $seedchars = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; + for ($i = 0; $i < $len ; $i++) { + $salt .= $seedchars[rand(0, 63)]; + } + + $sql = str_replace('%c', $db->quote(crypt($passwd, $salt_hashindicator ? $salt_hashindicator .$salt.'$' : $salt)), $sql); + } + + // dovecotpw + if (strpos($sql, '%D') !== FALSE) { + if (!($dovecotpw = $rcmail->config->get('password_dovecotpw'))) + $dovecotpw = 'dovecotpw'; + if (!($method = $rcmail->config->get('password_dovecotpw_method'))) + $method = 'CRAM-MD5'; + + // use common temp dir + $tmp_dir = $rcmail->config->get('temp_dir'); + $tmpfile = tempnam($tmp_dir, 'roundcube-'); + + $pipe = popen("$dovecotpw -s '$method' > '$tmpfile'", "w"); + if (!$pipe) { + unlink($tmpfile); + return PASSWORD_CRYPT_ERROR; + } + else { + fwrite($pipe, $passwd . "\n", 1+strlen($passwd)); usleep(1000); + fwrite($pipe, $passwd . "\n", 1+strlen($passwd)); + pclose($pipe); + $newpass = trim(file_get_contents($tmpfile), "\n"); + if (!preg_match('/^\{' . $method . '\}/', $newpass)) { + return PASSWORD_CRYPT_ERROR; + } + if (!$rcmail->config->get('password_dovecotpw_with_method')) + $newpass = trim(str_replace('{' . $method . '}', '', $newpass)); + unlink($tmpfile); + } + $sql = str_replace('%D', $db->quote($newpass), $sql); + } + + // hashed passwords + if (preg_match('/%[n|q]/', $sql)) { + if (!extension_loaded('hash')) { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: 'hash' extension not loaded!" + ), true, false); + + return PASSWORD_ERROR; + } + + if (!($hash_algo = strtolower($rcmail->config->get('password_hash_algorithm')))) { + $hash_algo = 'sha1'; + } + + $hash_passwd = hash($hash_algo, $passwd); + $hash_curpass = hash($hash_algo, $curpass); + + if ($rcmail->config->get('password_hash_base64')) { + $hash_passwd = base64_encode(pack('H*', $hash_passwd)); + $hash_curpass = base64_encode(pack('H*', $hash_curpass)); + } + + $sql = str_replace('%n', $db->quote($hash_passwd, 'text'), $sql); + $sql = str_replace('%q', $db->quote($hash_curpass, 'text'), $sql); + } + + // Handle clear text passwords securely (#1487034) + $sql_vars = array(); + if (preg_match_all('/%[p|o]/', $sql, $m)) { + foreach ($m[0] as $var) { + if ($var == '%p') { + $sql = preg_replace('/%p/', '?', $sql, 1); + $sql_vars[] = (string) $passwd; + } + else { // %o + $sql = preg_replace('/%o/', '?', $sql, 1); + $sql_vars[] = (string) $curpass; + } + } + } + + $local_part = $rcmail->user->get_username('local'); + $domain_part = $rcmail->user->get_username('domain'); + $username = $_SESSION['username']; + $host = $_SESSION['imap_host']; + + // convert domains to/from punnycode + if ($rcmail->config->get('password_idn_ascii')) { + $domain_part = rcube_utils::idn_to_ascii($domain_part); + $username = rcube_utils::idn_to_ascii($username); + $host = rcube_utils::idn_to_ascii($host); + } + else { + $domain_part = rcube_utils::idn_to_utf8($domain_part); + $username = rcube_utils::idn_to_utf8($username); + $host = rcube_utils::idn_to_utf8($host); + } + + // at least we should always have the local part + $sql = str_replace('%l', $db->quote($local_part, 'text'), $sql); + $sql = str_replace('%d', $db->quote($domain_part, 'text'), $sql); + $sql = str_replace('%u', $db->quote($username, 'text'), $sql); + $sql = str_replace('%h', $db->quote($host, 'text'), $sql); + + $res = $db->query($sql, $sql_vars); + + if (!$db->is_error()) { + if (strtolower(substr(trim($sql),0,6)) == 'select') { + if ($db->fetch_array($res)) { + return PASSWORD_SUCCESS; + } + } + else { + // This is the good case: 1 row updated + if ($db->affected_rows($res) == 1) + return PASSWORD_SUCCESS; + // @TODO: Some queries don't affect any rows + // Should we assume a success if there was no error? + } + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/virtualmin.php b/plugins/password/drivers/virtualmin.php new file mode 100644 index 000000000..3001ad9d0 --- /dev/null +++ b/plugins/password/drivers/virtualmin.php @@ -0,0 +1,94 @@ +<?php + +/** + * Virtualmin Password Driver + * + * Driver that adds functionality to change the users Virtualmin password. + * The code is derrived from the Squirrelmail "Change Cyrus/SASL Password" Plugin + * by Thomas Bruederli. + * + * It only works with virtualmin on the same host where Roundcube runs + * and requires shell access and gcc in order to compile the binary. + * + * @version 3.0 + * @author Martijn de Munnik + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_virtualmin_password +{ + function save($currpass, $newpass) + { + $rcmail = rcmail::get_instance(); + $format = $rcmail->config->get('password_virtualmin_format', 0); + $username = $_SESSION['username']; + + switch ($format) { + case 1: // username%domain + $domain = substr(strrchr($username, "%"), 1); + break; + case 2: // username.domain (could be bogus) + $pieces = explode(".", $username); + $domain = $pieces[count($pieces)-2]. "." . end($pieces); + break; + case 3: // domain.username (could be bogus) + $pieces = explode(".", $username); + $domain = $pieces[0]. "." . $pieces[1]; + break; + case 4: // username-domain + $domain = substr(strrchr($username, "-"), 1); + break; + case 5: // domain-username + $domain = str_replace(strrchr($username, "-"), "", $username); + break; + case 6: // username_domain + $domain = substr(strrchr($username, "_"), 1); + break; + case 7: // domain_username + $pieces = explode("_", $username); + $domain = $pieces[0]; + break; + default: // username@domain + $domain = substr(strrchr($username, "@"), 1); + } + + if (!$domain) { + $domain = $rcmail->user->get_username('domain'); + } + + $username = escapeshellcmd($username); + $domain = escapeshellcmd($domain); + $newpass = escapeshellcmd($newpass); + $curdir = RCUBE_PLUGINS_DIR . 'password/helpers'; + + exec("$curdir/chgvirtualminpasswd modify-user --domain $domain --user $username --pass $newpass", $output, $returnvalue); + + if ($returnvalue == 0) { + return PASSWORD_SUCCESS; + } + else { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Unable to execute $curdir/chgvirtualminpasswd" + ), true, false); + } + + return PASSWORD_ERROR; + } +} diff --git a/plugins/password/drivers/vpopmaild.php b/plugins/password/drivers/vpopmaild.php new file mode 100644 index 000000000..bc0c8f9da --- /dev/null +++ b/plugins/password/drivers/vpopmaild.php @@ -0,0 +1,71 @@ +<?php + +/** + * vpopmail Password Driver + * + * Driver to change passwords via vpopmaild + * + * @version 2.0 + * @author Johannes Hessellund + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_vpopmaild_password +{ + function save($curpass, $passwd) + { + $rcmail = rcmail::get_instance(); + $vpopmaild = new Net_Socket(); + $host = $rcmail->config->get('password_vpopmaild_host'); + $port = $rcmail->config->get('password_vpopmaild_port'); + + $result = $vpopmaild->connect($host, $port, null); + if (is_a($result, 'PEAR_Error')) { + return PASSWORD_CONNECT_ERROR; + } + + $vpopmaild->setTimeout($rcmail->config->get('password_vpopmaild_timeout'),0); + + $result = $vpopmaild->readLine(); + if(!preg_match('/^\+OK/', $result)) { + $vpopmaild->disconnect(); + return PASSWORD_CONNECT_ERROR; + } + + $vpopmaild->writeLine("slogin ". $_SESSION['username'] . " " . $curpass); + $result = $vpopmaild->readLine(); + + if(!preg_match('/^\+OK/', $result) ) { + $vpopmaild->writeLine("quit"); + $vpopmaild->disconnect(); + return PASSWORD_ERROR; + } + + $vpopmaild->writeLine("mod_user ". $_SESSION['username']); + $vpopmaild->writeLine("clear_text_password ". $passwd); + $vpopmaild->writeLine("."); + $result = $vpopmaild->readLine(); + $vpopmaild->writeLine("quit"); + $vpopmaild->disconnect(); + + if (!preg_match('/^\+OK/', $result)) { + return PASSWORD_ERROR; + } + + return PASSWORD_SUCCESS; + } +} diff --git a/plugins/password/drivers/ximss.php b/plugins/password/drivers/ximss.php new file mode 100644 index 000000000..54477f730 --- /dev/null +++ b/plugins/password/drivers/ximss.php @@ -0,0 +1,89 @@ +<?php +/** + * Communigate driver for the Password Plugin for Roundcube + * + * Tested with Communigate Pro 5.1.2 + * + * Configuration options: + * password_ximss_host - Host name of Communigate server + * password_ximss_port - XIMSS port on Communigate server + * + * References: + * http://www.communigate.com/WebGuide/XMLAPI.html + * + * @version 2.0 + * @author Erik Meitner <erik wanderings.us> + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_ximss_password +{ + function save($pass, $newpass) + { + $rcmail = rcmail::get_instance(); + + $host = $rcmail->config->get('password_ximss_host'); + $port = $rcmail->config->get('password_ximss_port'); + $sock = stream_socket_client("tcp://$host:$port", $errno, $errstr, 30); + + if ($sock === FALSE) { + return PASSWORD_CONNECT_ERROR; + } + + // send all requests at once(pipelined) + fwrite( $sock, '<login id="A001" authData="'.$_SESSION['username'].'" password="'.$pass.'" />'."\0"); + fwrite( $sock, '<passwordModify id="A002" oldPassword="'.$pass.'" newPassword="'.$newpass.'" />'."\0"); + fwrite( $sock, '<bye id="A003" />'."\0"); + + //example responses + // <session id="A001" urlID="4815-vN2Txjkggy7gjHRD10jw" userName="user@example.com"/>\0 + // <response id="A001"/>\0 + // <response id="A002"/>\0 + // <response id="A003"/>\0 + // or an error: + // <response id="A001" errorText="incorrect password or account name" errorNum="515"/>\0 + + $responseblob = ''; + while (!feof($sock)) { + $responseblob .= fgets($sock, 1024); + } + + fclose($sock); + + foreach( explode( "\0",$responseblob) as $response ) { + $resp = simplexml_load_string("<xml>".$response."</xml>"); + + if( $resp->response[0]['id'] == 'A001' ) { + if( isset( $resp->response[0]['errorNum'] ) ) { + return PASSWORD_CONNECT_ERROR; + } + } + else if( $resp->response[0]['id'] == 'A002' ) { + if( isset( $resp->response[0]['errorNum'] )) { + return PASSWORD_ERROR; + } + } + else if( $resp->response[0]['id'] == 'A003' ) { + if( isset($resp->response[0]['errorNum'] )) { + //There was a problem during logout(This is probably harmless) + } + } + } //foreach + + return PASSWORD_SUCCESS; + } +} diff --git a/plugins/password/drivers/xmail.php b/plugins/password/drivers/xmail.php new file mode 100644 index 000000000..a7d00a279 --- /dev/null +++ b/plugins/password/drivers/xmail.php @@ -0,0 +1,119 @@ +<?php +/** + * XMail Password Driver + * + * Driver for XMail password + * + * @version 2.0 + * @author Helio Cavichiolo Jr <helio@hcsistemas.com.br> + * + * Setup xmail_host, xmail_user, xmail_pass and xmail_port into + * config.inc.php of password plugin as follows: + * + * $config['xmail_host'] = 'localhost'; + * $config['xmail_user'] = 'YourXmailControlUser'; + * $config['xmail_pass'] = 'YourXmailControlPass'; + * $config['xmail_port'] = 6017; + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +class rcube_xmail_password +{ + function save($currpass, $newpass) + { + $rcmail = rcmail::get_instance(); + list($user,$domain) = explode('@', $_SESSION['username']); + + $xmail = new XMail; + + $xmail->hostname = $rcmail->config->get('xmail_host'); + $xmail->username = $rcmail->config->get('xmail_user'); + $xmail->password = $rcmail->config->get('xmail_pass'); + $xmail->port = $rcmail->config->get('xmail_port'); + + if (!$xmail->connect()) { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Unable to connect to mail server" + ), true, false); + return PASSWORD_CONNECT_ERROR; + } + else if (!$xmail->send("userpasswd\t".$domain."\t".$user."\t".$newpass."\n")) { + $xmail->close(); + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Unable to change password" + ), true, false); + return PASSWORD_ERROR; + } + else { + $xmail->close(); + return PASSWORD_SUCCESS; + } + } +} + +class XMail { + var $socket; + var $hostname = 'localhost'; + var $username = 'xmail'; + var $password = ''; + var $port = 6017; + + function send($msg) + { + socket_write($this->socket,$msg); + if (substr(socket_read($this->socket, 512, PHP_BINARY_READ),0,1) != "+") { + return false; + } + return true; + } + + function connect() + { + $this->socket = socket_create(AF_INET, SOCK_STREAM, 0); + if ($this->socket < 0) + return false; + + $result = socket_connect($this->socket, $this->hostname, $this->port); + if ($result < 0) { + socket_close($this->socket); + return false; + } + + if (substr(socket_read($this->socket, 512, PHP_BINARY_READ),0,1) != "+") { + socket_close($this->socket); + return false; + } + + if (!$this->send("$this->username\t$this->password\n")) { + socket_close($this->socket); + return false; + } + return true; + } + + function close() + { + $this->send("quit\n"); + socket_close($this->socket); + } +} diff --git a/plugins/password/helpers/chgdbmailusers.c b/plugins/password/helpers/chgdbmailusers.c new file mode 100644 index 000000000..be237556e --- /dev/null +++ b/plugins/password/helpers/chgdbmailusers.c @@ -0,0 +1,47 @@ +#include <stdio.h> +#include <string.h> +#include <unistd.h> + +// set the UID this script will run as (root user) +#define UID 0 +#define CMD "/usr/sbin/dbmail-users" + +/* INSTALLING: + gcc -o chgdbmailusers chgdbmailusers.c + chown root.apache chgdbmailusers + strip chgdbmailusers + chmod 4550 chgdbmailusers +*/ + +main(int argc, char *argv[]) +{ + int cnt,rc,cc; + char cmnd[1024]; + + strcpy(cmnd, CMD); + + if (argc > 1) + { + for (cnt = 1; cnt < argc; cnt++) + { + strcat(cmnd, " "); + strcat(cmnd, argv[cnt]); + } + } + else + { + fprintf(stderr, "__ %s: failed %d %d\n", argv[0], rc, cc); + return 255; + } + + cc = setuid(UID); + rc = system(cmnd); + + if ((rc != 0) || (cc != 0)) + { + fprintf(stderr, "__ %s: failed %d %d\n", argv[0], rc, cc); + return 1; + } + + return 0; +} diff --git a/plugins/password/helpers/chgsaslpasswd.c b/plugins/password/helpers/chgsaslpasswd.c new file mode 100644 index 000000000..bcdcb2e0d --- /dev/null +++ b/plugins/password/helpers/chgsaslpasswd.c @@ -0,0 +1,29 @@ +#include <stdio.h> +#include <unistd.h> + +// set the UID this script will run as (cyrus user) +#define UID 96 +// set the path to saslpasswd or saslpasswd2 +#define CMD "/usr/sbin/saslpasswd2" + +/* INSTALLING: + gcc -o chgsaslpasswd chgsaslpasswd.c + chown cyrus.apache chgsaslpasswd + strip chgsaslpasswd + chmod 4550 chgsaslpasswd +*/ + +main(int argc, char *argv[]) +{ + int rc,cc; + + cc = setuid(UID); + rc = execvp(CMD, argv); + if ((rc != 0) || (cc != 0)) + { + fprintf(stderr, "__ %s: failed %d %d\n", argv[0], rc, cc); + return 1; + } + + return 0; +} diff --git a/plugins/password/helpers/chgvirtualminpasswd.c b/plugins/password/helpers/chgvirtualminpasswd.c new file mode 100644 index 000000000..4e2299c66 --- /dev/null +++ b/plugins/password/helpers/chgvirtualminpasswd.c @@ -0,0 +1,28 @@ +#include <stdio.h> +#include <unistd.h> + +// set the UID this script will run as (root user) +#define UID 0 +#define CMD "/usr/sbin/virtualmin" + +/* INSTALLING: + gcc -o chgvirtualminpasswd chgvirtualminpasswd.c + chown root.apache chgvirtualminpasswd + strip chgvirtualminpasswd + chmod 4550 chgvirtualminpasswd +*/ + +main(int argc, char *argv[]) +{ + int rc,cc; + + cc = setuid(UID); + rc = execvp(CMD, argv); + if ((rc != 0) || (cc != 0)) + { + fprintf(stderr, "__ %s: failed %d %d\n", argv[0], rc, cc); + return 1; + } + + return 0; +} diff --git a/plugins/password/helpers/chpass-wrapper.py b/plugins/password/helpers/chpass-wrapper.py new file mode 100644 index 000000000..61bba849e --- /dev/null +++ b/plugins/password/helpers/chpass-wrapper.py @@ -0,0 +1,32 @@ +#!/usr/bin/env python + +import sys +import pwd +import subprocess + +BLACKLIST = ( + # add blacklisted users here + #'user1', +) + +try: + username, password = sys.stdin.readline().split(':', 1) +except ValueError, e: + sys.exit('Malformed input') + +try: + user = pwd.getpwnam(username) +except KeyError, e: + sys.exit('No such user: %s' % username) + +if user.pw_uid < 1000: + sys.exit('Changing the password for user id < 1000 is forbidden') + +if username in BLACKLIST: + sys.exit('Changing password for user %s is forbidden (user blacklisted)' % + username) + +handle = subprocess.Popen('/usr/sbin/chpasswd', stdin = subprocess.PIPE) +handle.communicate('%s:%s' % (username, password)) + +sys.exit(handle.returncode) diff --git a/plugins/password/helpers/dovecot_hmacmd5.php b/plugins/password/helpers/dovecot_hmacmd5.php new file mode 100644 index 000000000..644b5377e --- /dev/null +++ b/plugins/password/helpers/dovecot_hmacmd5.php @@ -0,0 +1,191 @@ +<?php + +/** + * + * dovecot_hmacmd5.php V1.01 + * + * Generates HMAC-MD5 'contexts' for Dovecot's password files. + * + * (C) 2008 Hajo Noerenberg + * + * http://www.noerenberg.de/hajo/pub/dovecot_hmacmd5.php.txt + * + * Most of the code has been shamelessly stolen from various sources: + * + * (C) Paul Johnston 1999 - 2000 / http://pajhome.org.uk/crypt/md5/ + * (C) William K. Cole 2008 / http://www.scconsult.com/bill/crampass.pl + * (C) Borfast 2002 / http://www.zend.com/code/codex.php?ozid=962&single=1 + * (C) Thomas Weber / http://pajhome.org.uk/crypt/md5/contrib/md5.java.txt + * + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3.0 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/gpl-3.0.txt>. + * + */ + +/* Convert a 32-bit number to a hex string with ls-byte first + */ + +function rhex($n) { + $hex_chr = "0123456789abcdef"; $r = ''; + for($j = 0; $j <= 3; $j++) + $r .= $hex_chr[($n >> ($j * 8 + 4)) & 0x0F] . $hex_chr[($n >> ($j * 8)) & 0x0F]; + return $r; +} + +/* zeroFill() is needed because PHP doesn't have a zero-fill + * right shift operator like JavaScript's >>> + */ + +function zeroFill($a, $b) { + $z = hexdec(80000000); + if ($z & $a) { + $a >>= 1; + $a &= (~$z); + $a |= 0x40000000; + $a >>= ($b-1); + } else { + $a >>= $b; + } + return $a; +} + +/* Bitwise rotate a 32-bit number to the left + */ + +function bit_rol($num, $cnt) { + return ($num << $cnt) | (zeroFill($num, (32 - $cnt))); +} + +/* Add integers, wrapping at 2^32 + */ + +function safe_add($x, $y) { + return (($x&0x7FFFFFFF) + ($y&0x7FFFFFFF)) ^ ($x&0x80000000) ^ ($y&0x80000000); +} + +/* These functions implement the four basic operations the algorithm uses. + */ + +function md5_cmn($q, $a, $b, $x, $s, $t) { + return safe_add(bit_rol(safe_add(safe_add($a, $q), safe_add($x, $t)), $s), $b); +} +function md5_ff($a, $b, $c, $d, $x, $s, $t) { + return md5_cmn(($b & $c) | ((~$b) & $d), $a, $b, $x, $s, $t); +} +function md5_gg($a, $b, $c, $d, $x, $s, $t) { + return md5_cmn(($b & $d) | ($c & (~$d)), $a, $b, $x, $s, $t); +} +function md5_hh($a, $b, $c, $d, $x, $s, $t) { + return md5_cmn($b ^ $c ^ $d, $a, $b, $x, $s, $t); +} +function md5_ii($a, $b, $c, $d, $x, $s, $t) { + return md5_cmn($c ^ ($b | (~$d)), $a, $b, $x, $s, $t); +} + +/* Calculate the first round of the MD5 algorithm + */ + +function md5_oneround($s, $io) { + + $s = str_pad($s, 64, chr(0x00)); + + $x = array_fill(0, 16, 0); + + for($i = 0; $i < 64; $i++) + $x[$i >> 2] |= (($io ? 0x36 : 0x5c) ^ ord($s[$i])) << (($i % 4) * 8); + + $a = $olda = 1732584193; + $b = $oldb = -271733879; + $c = $oldc = -1732584194; + $d = $oldd = 271733878; + + $a = md5_ff($a, $b, $c, $d, $x[ 0], 7 , -680876936); + $d = md5_ff($d, $a, $b, $c, $x[ 1], 12, -389564586); + $c = md5_ff($c, $d, $a, $b, $x[ 2], 17, 606105819); + $b = md5_ff($b, $c, $d, $a, $x[ 3], 22, -1044525330); + $a = md5_ff($a, $b, $c, $d, $x[ 4], 7 , -176418897); + $d = md5_ff($d, $a, $b, $c, $x[ 5], 12, 1200080426); + $c = md5_ff($c, $d, $a, $b, $x[ 6], 17, -1473231341); + $b = md5_ff($b, $c, $d, $a, $x[ 7], 22, -45705983); + $a = md5_ff($a, $b, $c, $d, $x[ 8], 7 , 1770035416); + $d = md5_ff($d, $a, $b, $c, $x[ 9], 12, -1958414417); + $c = md5_ff($c, $d, $a, $b, $x[10], 17, -42063); + $b = md5_ff($b, $c, $d, $a, $x[11], 22, -1990404162); + $a = md5_ff($a, $b, $c, $d, $x[12], 7 , 1804603682); + $d = md5_ff($d, $a, $b, $c, $x[13], 12, -40341101); + $c = md5_ff($c, $d, $a, $b, $x[14], 17, -1502002290); + $b = md5_ff($b, $c, $d, $a, $x[15], 22, 1236535329); + + $a = md5_gg($a, $b, $c, $d, $x[ 1], 5 , -165796510); + $d = md5_gg($d, $a, $b, $c, $x[ 6], 9 , -1069501632); + $c = md5_gg($c, $d, $a, $b, $x[11], 14, 643717713); + $b = md5_gg($b, $c, $d, $a, $x[ 0], 20, -373897302); + $a = md5_gg($a, $b, $c, $d, $x[ 5], 5 , -701558691); + $d = md5_gg($d, $a, $b, $c, $x[10], 9 , 38016083); + $c = md5_gg($c, $d, $a, $b, $x[15], 14, -660478335); + $b = md5_gg($b, $c, $d, $a, $x[ 4], 20, -405537848); + $a = md5_gg($a, $b, $c, $d, $x[ 9], 5 , 568446438); + $d = md5_gg($d, $a, $b, $c, $x[14], 9 , -1019803690); + $c = md5_gg($c, $d, $a, $b, $x[ 3], 14, -187363961); + $b = md5_gg($b, $c, $d, $a, $x[ 8], 20, 1163531501); + $a = md5_gg($a, $b, $c, $d, $x[13], 5 , -1444681467); + $d = md5_gg($d, $a, $b, $c, $x[ 2], 9 , -51403784); + $c = md5_gg($c, $d, $a, $b, $x[ 7], 14, 1735328473); + $b = md5_gg($b, $c, $d, $a, $x[12], 20, -1926607734); + + $a = md5_hh($a, $b, $c, $d, $x[ 5], 4 , -378558); + $d = md5_hh($d, $a, $b, $c, $x[ 8], 11, -2022574463); + $c = md5_hh($c, $d, $a, $b, $x[11], 16, 1839030562); + $b = md5_hh($b, $c, $d, $a, $x[14], 23, -35309556); + $a = md5_hh($a, $b, $c, $d, $x[ 1], 4 , -1530992060); + $d = md5_hh($d, $a, $b, $c, $x[ 4], 11, 1272893353); + $c = md5_hh($c, $d, $a, $b, $x[ 7], 16, -155497632); + $b = md5_hh($b, $c, $d, $a, $x[10], 23, -1094730640); + $a = md5_hh($a, $b, $c, $d, $x[13], 4 , 681279174); + $d = md5_hh($d, $a, $b, $c, $x[ 0], 11, -358537222); + $c = md5_hh($c, $d, $a, $b, $x[ 3], 16, -722521979); + $b = md5_hh($b, $c, $d, $a, $x[ 6], 23, 76029189); + $a = md5_hh($a, $b, $c, $d, $x[ 9], 4 , -640364487); + $d = md5_hh($d, $a, $b, $c, $x[12], 11, -421815835); + $c = md5_hh($c, $d, $a, $b, $x[15], 16, 530742520); + $b = md5_hh($b, $c, $d, $a, $x[ 2], 23, -995338651); + + $a = md5_ii($a, $b, $c, $d, $x[ 0], 6 , -198630844); + $d = md5_ii($d, $a, $b, $c, $x[ 7], 10, 1126891415); + $c = md5_ii($c, $d, $a, $b, $x[14], 15, -1416354905); + $b = md5_ii($b, $c, $d, $a, $x[ 5], 21, -57434055); + $a = md5_ii($a, $b, $c, $d, $x[12], 6 , 1700485571); + $d = md5_ii($d, $a, $b, $c, $x[ 3], 10, -1894986606); + $c = md5_ii($c, $d, $a, $b, $x[10], 15, -1051523); + $b = md5_ii($b, $c, $d, $a, $x[ 1], 21, -2054922799); + $a = md5_ii($a, $b, $c, $d, $x[ 8], 6 , 1873313359); + $d = md5_ii($d, $a, $b, $c, $x[15], 10, -30611744); + $c = md5_ii($c, $d, $a, $b, $x[ 6], 15, -1560198380); + $b = md5_ii($b, $c, $d, $a, $x[13], 21, 1309151649); + $a = md5_ii($a, $b, $c, $d, $x[ 4], 6 , -145523070); + $d = md5_ii($d, $a, $b, $c, $x[11], 10, -1120210379); + $c = md5_ii($c, $d, $a, $b, $x[ 2], 15, 718787259); + $b = md5_ii($b, $c, $d, $a, $x[ 9], 21, -343485551); + + $a = safe_add($a, $olda); + $b = safe_add($b, $oldb); + $c = safe_add($c, $oldc); + $d = safe_add($d, $oldd); + + return rhex($a) . rhex($b) . rhex($c) . rhex($d); +} + +function dovecot_hmacmd5 ($s) { + if (strlen($s) > 64) $s=pack("H*", md5($s)); + return "{CRAM-MD5}" . md5_oneround($s, 0) . md5_oneround($s, 1); +} diff --git a/plugins/password/helpers/passwd-expect b/plugins/password/helpers/passwd-expect new file mode 100644 index 000000000..7db21ad1f --- /dev/null +++ b/plugins/password/helpers/passwd-expect @@ -0,0 +1,267 @@ +# +# This scripts changes a password on the local system or a remote host. +# Connections to the remote (this can also be localhost) are made by ssh, rsh, +# telnet or rlogin. + +# @author Gaudenz Steinlin <gaudenz@soziologie.ch> + +# For sudo support alter sudoers (using visudo) so that it contains the +# following information (replace 'apache' if your webserver runs under another +# user): +# ----- +# # Needed for Horde's passwd module +# Runas_Alias REGULARUSERS = ALL, !root +# apache ALL=(REGULARUSERS) NOPASSWD:/usr/bin/passwd +# ----- + +# @stdin The username, oldpassword, newpassword (in this order) +# will be taken from stdin +# @param -prompt regexp for the shell prompt +# @param -password regexp password prompt +# @param -oldpassword regexp for the old password +# @param -newpassword regexp for the new password +# @param -verify regexp for verifying the password +# @param -success regexp for success changing the password +# @param -login regexp for the telnet prompt for the loginname +# @param -host hostname to be connected +# @param -timeout timeout for each step +# @param -log file for writing error messages +# @param -output file for loging the output +# @param -telnet use telnet +# @param -ssh use ssh (default) +# @param -rlogin use rlogin +# @param -slogin use slogin +# @param -sudo use sudo +# @param -program command for changing passwords +# +# @return 0 on success, 1 on failure +# + + +# default values +set host "localhost" +set login "ssh" +set program "passwd" +set prompt_string "(%|\\\$|>)" +set fingerprint_string "The authenticity of host.* can't be established.*\nRSA key fingerprint is.*\nAre you sure you want to continue connecting.*" +set password_string "(P|p)assword.*" +set oldpassword_string "((O|o)ld|login|\\\(current\\\) UNIX) (P|p)assword.*" +set newpassword_string "(N|n)ew.* (P|p)assword.*" +set badoldpassword_string "(Authentication token manipulation error).*" +set badpassword_string "((passwd|BAD PASSWORD).*|(passwd|Bad:).*\r)" +set verify_string "((R|r)e-*enter.*(P|p)assword|Retype new( UNIX)? password|(V|v)erification|(V|v)erify|(A|a)gain).*" +set success_string "((P|p)assword.* changed|successfully)" +set login_string "(((L|l)ogin|(U|u)sername).*)" +set timeout 20 +set log "/tmp/passwd.out" +set output false +set output_file "/tmp/passwd.log" + +# read input from stdin +fconfigure stdin -blocking 1 + +gets stdin user +gets stdin password(old) +gets stdin password(new) + +# alternative: read input from command line +#if {$argc < 3} { +# send_user "Too few arguments: Usage $argv0 username oldpass newpass" +# exit 1 +#} +#set user [lindex $argv 0] +#set password(old) [lindex $argv 1] +#set password(new) [lindex $argv 2] + +# no output to the user +log_user 0 + +# read in other options +for {set i 0} {$i<$argc} {incr i} { + set arg [lindex $argv $i] + switch -- $arg "-prompt" { + incr i + set prompt_string [lindex $argv $i] + continue + } "-password" { + incr i + set password_string [lindex $argv $i] + continue + } "-oldpassword" { + incr i + set oldpassword_string [lindex $argv $i] + continue + } "-newpassword" { + incr i + set newpassword_string [lindex $argv $i] + continue + } "-verify" { + incr i + set verify_string [lindex $argv $i] + continue + } "-success" { + incr i + set success_string [lindex $argv $i] + continue + } "-login" { + incr i + set login_string [lindex $argv $i] + continue + } "-host" { + incr i + set host [lindex $argv $i] + continue + } "-timeout" { + incr i + set timeout [lindex $argv $i] + continue + } "-log" { + incr i + set log [lindex $argv $i] + continue + } "-output" { + incr i + set output_file [lindex $argv $i] + set output true + continue + } "-telnet" { + set login "telnet" + continue + } "-ssh" { + set login "ssh" + continue + } "-ssh-exec" { + set login "ssh-exec" + continue + } "-rlogin" { + set login "rlogin" + continue + } "-slogin" { + set login "slogin" + continue + } "-sudo" { + set login "sudo" + continue + } "-program" { + incr i + set program [lindex $argv $i] + continue + } +} + +# log session +if {$output} { + log_file $output_file +} + +set err [open $log "w" "0600"] + +# start remote session +if {[string match $login "rlogin"]} { + set pid [spawn rlogin $host -l $user] +} elseif {[string match $login "slogin"]} { + set pid [spawn slogin $host -l $user] +} elseif {[string match $login "ssh"]} { + set pid [spawn ssh $host -l $user] +} elseif {[string match $login "ssh-exec"]} { + set pid [spawn ssh $host -l $user $program] +} elseif {[string match $login "sudo"]} { + set pid [spawn sudo -u $user $program] +} elseif {[string match $login "telnet"]} { + set pid [spawn telnet $host] + expect -re $login_string { + sleep .5 + send "$user\r" + } +} else { + puts $err "Invalid login mode. Valid modes: rlogin, slogin, ssh, telnet, sudo\n" + close $err + exit 1 +} + +set old_password_notentered true + +if {![string match $login "sudo"]} { + # log in + expect { + -re $fingerprint_string {sleep .5 + send yes\r + exp_continue} + -re $password_string {sleep .5 + send $password(old)\r} + timeout {puts $err "Could not login to system (no password prompt)\n" + close $err + exit 1} + } + + # start password changing program + expect { + -re $prompt_string {sleep .5 + send $program\r} + # The following is for when passwd is the login shell or ssh-exec is used + -re $oldpassword_string {sleep .5 + send $password(old)\r + set old_password_notentered false} + timeout {puts $err "Could not login to system (bad old password?)\n" + close $err + exit 1} + } +} + +# send old password +if {$old_password_notentered} { + expect { + -re $oldpassword_string {sleep .5 + send $password(old)\r} + timeout {puts $err "Could not start passwd program (no old password prompt)\n" + close $err + exit 1} + } +} + +# send new password +expect { + -re $newpassword_string {sleep .5 + send $password(new)\r} + -re $badoldpassword_string {puts $err "Old password is incorrect\n" + close $err + exit 1} + timeout {puts "Could not change password (bad old password?)\n" + close $err + exit 1} +} + +# send new password again +expect { + -re $badpassword_string {puts $err "$expect_out(0,string)" + close $err + send \003 + sleep .5 + exit 1} + -re $verify_string {sleep .5 + send $password(new)\r} + timeout {puts $err "New password not valid (too short, bad password, too similar, ...)\n" + close $err + send \003 + sleep .5 + exit 1} +} + +# check response +expect { + -re $success_string {sleep .5 + send exit\r} + -re $badpassword_string {puts $err "$expect_out(0,string)" + close $err + exit 1} + timeout {puts $err "Could not change password.\n" + close $err + exit 1} +} + +# exit succsessfully +expect { + eof {close $err + exit 0} +} +close $err diff --git a/plugins/password/localization/ar.inc b/plugins/password/localization/ar.inc new file mode 100644 index 000000000..db7c424cd --- /dev/null +++ b/plugins/password/localization/ar.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'كلمة المرور الحالية:'; +$labels['newpasswd'] = 'كلمة المرور الجديدة:'; +$labels['confpasswd'] = 'تأكيد كلمة المرور الجديدة:'; +$messages['nopassword'] = 'من فضلك أدخل كلمة المرور الجديدة.'; +$messages['nocurpassword'] = 'من فضلك أدخل كلمة المرور الحالية.'; +$messages['passwordincorrect'] = 'كلمة المرور الحالية غير صحيحة.'; +$messages['passwordinconsistency'] = 'كلمة المرور غير مطابقة حاول مجددا'; +$messages['crypterror'] = 'تعذر حفظ كلمة المرور الجديدة. وظيفة التشفير مفقودة.'; +$messages['connecterror'] = 'تعذر حفظ كلمة المرور الجديدة. خطأ بالإتصال.'; +$messages['internalerror'] = 'تعذر حفظ كلمة المرور الجديدة.'; +$messages['passwordshort'] = 'كلمة المرور يجب على الأقل $length أحرف'; +$messages['passwordweak'] = ' كلمة المرور يجب أن تتضمن رقم واحد على الأقل وحرف ترقيم واحد.'; +$messages['passwordforbidden'] = 'كلمة المرور تحتوى على أحرف ممنوعة'; +?> diff --git a/plugins/password/localization/ar_SA.inc b/plugins/password/localization/ar_SA.inc new file mode 100644 index 000000000..d91b52333 --- /dev/null +++ b/plugins/password/localization/ar_SA.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'كلمة المرور الحالية'; +$labels['newpasswd'] = 'كلمة المرور الجديدة'; +$labels['confpasswd'] = 'تأكيد كلمة المرور الجديدة'; +$messages['nopassword'] = 'من فضلك أدخل كلمة مرور جديدة'; +$messages['nocurpassword'] = 'من فضلك أدخل كلمة المرور الحالية'; +$messages['passwordincorrect'] = 'كلمة المرور الحالية غير صحيحة'; +$messages['passwordinconsistency'] = 'كلمة المرور غير مطابقة, أعد المحاولة'; +$messages['crypterror'] = 'تعذر حفظ كلمة المرور الجديدة. دالة التشفير مفقودة.'; +$messages['connecterror'] = 'تعذر حفظ كلمة المرور الجديدة. خطأ في الإتصال'; +$messages['internalerror'] = 'تعذر حفظ كلمة المرور الجديدة'; +$messages['passwordshort'] = 'كلمة المرور يجب ان تحتوي على الاقل $length احرف.'; +$messages['passwordweak'] = 'كلمة المرور يجب ان تتضمن على الاقل رقم و علامة ترميز.'; +$messages['passwordforbidden'] = 'كلمة المرور تحتوي حروفاً ممنوعة'; +?> diff --git a/plugins/password/localization/ast.inc b/plugins/password/localization/ast.inc new file mode 100644 index 000000000..aae336854 --- /dev/null +++ b/plugins/password/localization/ast.inc @@ -0,0 +1,32 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Contraseña actual:'; +$labels['newpasswd'] = 'Contraseña nueva:'; +$labels['confpasswd'] = 'Confirmar contraseña:'; +$messages['nopassword'] = 'Por favor, introduz una contraseña nueva.'; +$messages['nocurpassword'] = 'Por favor, introduz la contraseña actual.'; +$messages['passwordincorrect'] = 'La contraseña actual ye incorreuta.'; +$messages['passwordinconsistency'] = 'Les contraseñes nun concasen. Por favor, inténtalo otra vegada.'; +$messages['crypterror'] = 'Nun pudo guardase la contraseña nueva. Falta la función de cifráu.'; +$messages['connecterror'] = 'Nun pudo guardase la contraseña nueva. Fallu de conexón.'; +$messages['internalerror'] = 'Nun pudo guardase la contraseña nueva. '; +$messages['passwordshort'] = 'La contraseña tien de tener polo menos $length caráuteres.'; +$messages['passwordweak'] = 'La contraseña tien de tener polo menos un númberu y un signu de puntuación.'; +$messages['passwordforbidden'] = 'La contraseña contien caráuteres prohibíos.'; +$messages['firstloginchange'] = 'Esti ye\'l to primer aniciu sesión. Por favor, camuda la to contraseña.'; +?> diff --git a/plugins/password/localization/az_AZ.inc b/plugins/password/localization/az_AZ.inc new file mode 100644 index 000000000..01bb7a91e --- /dev/null +++ b/plugins/password/localization/az_AZ.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Hal-hazırki şifrə:'; +$labels['newpasswd'] = 'Yeni şifrə:'; +$labels['confpasswd'] = 'Yeni şifrə: (təkrar)'; +$messages['nopassword'] = 'Yeni şifrəni daxil edin.'; +$messages['nocurpassword'] = 'Hal-hazırda istifadə etdiyiniz şifrəni daxil edin.'; +$messages['passwordincorrect'] = 'Yalnış şifrə daxil etdiniz.'; +$messages['passwordinconsistency'] = 'Yeni daxil etdiyiniz şifrələr bir-birinə uyğun deyildir.'; +$messages['crypterror'] = 'Yeni şifrənin saxlanılması mümkün olmadı. Şifrələmə metodu tapılmadı.'; +$messages['connecterror'] = 'Yeni şifrənin saxlanılması mümkün olmadı. Qoşulma səhvi.'; +$messages['internalerror'] = 'Yeni şifrənin saxlanılması mümkün olmadı.'; +$messages['passwordshort'] = 'Yeni şifrə $length simvoldan uzun olmalıdır.'; +$messages['passwordweak'] = 'Şifrədə heç olmasa minimum bir rəqəm və simvol olmalıdır.'; +$messages['passwordforbidden'] = 'Şifrədə icazə verilməyən simvollar vardır.'; +?> diff --git a/plugins/password/localization/be_BE.inc b/plugins/password/localization/be_BE.inc new file mode 100644 index 000000000..4ac446134 --- /dev/null +++ b/plugins/password/localization/be_BE.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Змяніць пароль'; +$labels['curpasswd'] = 'Бягучы пароль:'; +$labels['newpasswd'] = 'Новы пароль:'; +$labels['confpasswd'] = 'Паўтарыце новы пароль:'; +$messages['nopassword'] = 'Увядзіце новы пароль.'; +$messages['nocurpassword'] = 'Увядзіце бягучы пароль.'; +$messages['passwordincorrect'] = 'Няслушны бягучы пароль.'; +$messages['passwordinconsistency'] = 'Паролі не супадаюць. Паспрабуйце яшчэ раз.'; +$messages['crypterror'] = 'Не ўдалося захаваць новы пароль. Бракуе функцыі шыфравання.'; +$messages['connecterror'] = 'Не ўдалося захаваць новы пароль. Памылка злучэння.'; +$messages['internalerror'] = 'Не ўдалося захаваць новы пароль.'; +$messages['passwordshort'] = 'Пароль мусіць быць мінімум $length знакаў.'; +$messages['passwordweak'] = 'Пароль мусіць утрымліваць мінімум адну лічбу і адзін знак пунктуацыі.'; +$messages['passwordforbidden'] = 'Пароль утрымлівае забароненыя знакі.'; +$messages['firstloginchange'] = 'Гэта ваш першы ўваход. Трэба змяніць пароль.'; +?> diff --git a/plugins/password/localization/bg_BG.inc b/plugins/password/localization/bg_BG.inc new file mode 100644 index 000000000..d543b5548 --- /dev/null +++ b/plugins/password/localization/bg_BG.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Текуща парола:'; +$labels['newpasswd'] = 'Нова парола:'; +$labels['confpasswd'] = 'Повторно нова парола:'; +$messages['nopassword'] = 'Моля въведете нова парола.'; +$messages['nocurpassword'] = 'Моля въведете текущата парола.'; +$messages['passwordincorrect'] = 'Невалидна текуща парола.'; +$messages['passwordinconsistency'] = 'Паролите не съвпадат, опитайте отново.'; +$messages['crypterror'] = 'Невъзможна промяна на паролата. Липсва PHP функция за криптиране.'; +$messages['connecterror'] = 'Невъзможна промяна на паролата. Грешка при свързване със сървър.'; +$messages['internalerror'] = 'Паролата не може да бъде променена.'; +$messages['passwordshort'] = 'Паролата трябва да е дълга поне $length знака.'; +$messages['passwordweak'] = 'Паролата трябва да включва поне един цифра и поне един знак за пунктуация.'; +$messages['passwordforbidden'] = 'Паролата съдържа непозволени символи.'; +?> diff --git a/plugins/password/localization/br.inc b/plugins/password/localization/br.inc new file mode 100644 index 000000000..4e0486277 --- /dev/null +++ b/plugins/password/localization/br.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Kemmañ ar ger-tremen'; +$labels['curpasswd'] = 'Ger-tremen bremañ :'; +$labels['newpasswd'] = 'Ger-tremen nevez :'; +$labels['confpasswd'] = 'Kadarnaat ar ger-tremen :'; +$messages['nopassword'] = 'Roit ur ger-tremen nevez, mar plij.'; +$messages['nocurpassword'] = 'Roit ar ger-tremen red, mar plij.'; +$messages['passwordincorrect'] = 'Direizh eo ar ger-tremen red.'; +$messages['passwordinconsistency'] = 'Ar gerioù-tremen ne glotont ket an eil gant eben, roit anezhe en-dro.'; +$messages['crypterror'] = 'N\'haller ket enrollañ ar ger-tremen nevez. Arc\'hwel enrinegañ o vank.'; +$messages['connecterror'] = 'N\'haller ket enrollañ ar ger-tremen nevez. Fazi gant ar c\'hennask.'; +$messages['internalerror'] = 'N\'haller ket enrollañ ar ger-tremen nevez.'; +$messages['passwordshort'] = 'Ret eo d\'ar ger-tremen bezañ hiroc\'h eget $length arouezenn.'; +$messages['passwordweak'] = 'En ho ker-tremen e tle bezañ ur sifr hag un arouezenn boentaouiñ da nebeutañ'; +$messages['passwordforbidden'] = 'Arouezennoù difennet zo er ger-tremen.'; +$messages['firstloginchange'] = 'Emaoc\'h o kennaskañ evit ar wezh kentañ. Kemmañ ho ger-tremen mar plij.'; +?> diff --git a/plugins/password/localization/bs_BA.inc b/plugins/password/localization/bs_BA.inc new file mode 100644 index 000000000..6ca96aa1b --- /dev/null +++ b/plugins/password/localization/bs_BA.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Promijeni šifru'; +$labels['curpasswd'] = 'Trenutna šifra:'; +$labels['newpasswd'] = 'Nova šifra:'; +$labels['confpasswd'] = 'Potvrdite novu šifru:'; +$messages['nopassword'] = 'Molimo vas da upišete novu šifru.'; +$messages['nocurpassword'] = 'Molimo vas da upišete trenutnu šifru.'; +$messages['passwordincorrect'] = 'Trenutna šifra je netačna.'; +$messages['passwordinconsistency'] = 'Šifre se ne podudaraju, molimo vas da pokušate ponovo.'; +$messages['crypterror'] = 'Nije moguće sačuvati šifre. Nedostaje funkcija za enkripciju.'; +$messages['connecterror'] = 'Nije moguće sačuvati šifre. Greška u povezivanju.'; +$messages['internalerror'] = 'Nije moguće sačuvati novu šifru.'; +$messages['passwordshort'] = 'Šifra mora sadržavati barem $length znakova.'; +$messages['passwordweak'] = 'Šifra mora imati barem jedan broj i jedan interpunkcijski znak.'; +$messages['passwordforbidden'] = 'Šifra sadrži nedozvoljene znakove.'; +$messages['firstloginchange'] = 'Ovo je vaša prva prijava. Molimo vas da promijenite vašu šifru.'; +?> diff --git a/plugins/password/localization/ca_ES.inc b/plugins/password/localization/ca_ES.inc new file mode 100644 index 000000000..d74a4dc50 --- /dev/null +++ b/plugins/password/localization/ca_ES.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Canvia la contrasenya'; +$labels['curpasswd'] = 'Contrasenya actual:'; +$labels['newpasswd'] = 'Nova contrasenya:'; +$labels['confpasswd'] = 'Confirmeu la nova contrasenya:'; +$messages['nopassword'] = 'Si us plau, introduïu la nova contrasenya.'; +$messages['nocurpassword'] = 'Si us plau, introduïu la contrasenya actual.'; +$messages['passwordincorrect'] = 'Contrasenya actual incorrecta.'; +$messages['passwordinconsistency'] = 'La contrasenya nova no coincideix, torneu-ho a provar.'; +$messages['crypterror'] = 'No s\'ha pogut desar la nova contrasenya. No existeix la funció d\'encriptació.'; +$messages['connecterror'] = 'No s\'ha pogut desar la nova contrasenya. Error de connexió.'; +$messages['internalerror'] = 'No s\'ha pogut desar la nova contrasenya.'; +$messages['passwordshort'] = 'La nova contrasenya ha de tenir com a mínim $length caràcters.'; +$messages['passwordweak'] = 'La nova contrasenya ha d\'incloure com a mínim un nombre i un caràcter de puntuació.'; +$messages['passwordforbidden'] = 'La contrasenya conté caràcters no permesos.'; +$messages['firstloginchange'] = 'Aquest és el vostre primer accés. Si us plau, canvieu-vos la contrasenya.'; +?> diff --git a/plugins/password/localization/cs_CZ.inc b/plugins/password/localization/cs_CZ.inc new file mode 100644 index 000000000..45870a35c --- /dev/null +++ b/plugins/password/localization/cs_CZ.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Změna hesla'; +$labels['curpasswd'] = 'Aktuální heslo:'; +$labels['newpasswd'] = 'Nové heslo:'; +$labels['confpasswd'] = 'Nové heslo (pro kontrolu):'; +$messages['nopassword'] = 'Prosím zadejte nové heslo.'; +$messages['nocurpassword'] = 'Prosím zadejte aktuální heslo.'; +$messages['passwordincorrect'] = 'Zadané aktuální heslo není správné.'; +$messages['passwordinconsistency'] = 'Zadaná hesla se neshodují. Prosím zkuste to znovu.'; +$messages['crypterror'] = 'Heslo se nepodařilo uložit. Chybí šifrovací funkce.'; +$messages['connecterror'] = 'Heslo se nepodařilo uložit. Problém s připojením.'; +$messages['internalerror'] = 'Heslo se nepodařilo uložit.'; +$messages['passwordshort'] = 'Heslo musí mít alespoň $length znaků.'; +$messages['passwordweak'] = 'Heslo musí obsahovat alespoň jedno číslo a jedno interpuknční znaménko.'; +$messages['passwordforbidden'] = 'Heslo obsahuje nepovolené znaky.'; +$messages['firstloginchange'] = 'Vaše první přihlášení, změňte si prosím heslo.'; +?> diff --git a/plugins/password/localization/cy_GB.inc b/plugins/password/localization/cy_GB.inc new file mode 100644 index 000000000..5cd335fc4 --- /dev/null +++ b/plugins/password/localization/cy_GB.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Newid cyfrinair'; +$labels['curpasswd'] = 'Cyfrinair Presennol:'; +$labels['newpasswd'] = 'Cyfrinair Newydd:'; +$labels['confpasswd'] = 'Cadarnhau Cyfrinair Newydd:'; +$messages['nopassword'] = 'Rhowch eich cyfrinair newydd.'; +$messages['nocurpassword'] = 'Rhowch eich cyfrinair presennol.'; +$messages['passwordincorrect'] = 'Roedd y cyfrinair presennol yn anghywir.'; +$messages['passwordinconsistency'] = 'Nid yw\'r cyfrineiriau yn cymharu, ceisiwch eto.'; +$messages['crypterror'] = 'Methwyd cadw\'r cyfrinair newydd. Ffwythiant amgodi ar goll.'; +$messages['connecterror'] = 'Methwyd cadw\'r cyfrinair newydd. Gwall cysylltiad.'; +$messages['internalerror'] = 'Methwyd cadw\'r cyfrinair newydd.'; +$messages['passwordshort'] = 'Rhaid i\'r cyfrinair fod o leia $length llythyren o hyd.'; +$messages['passwordweak'] = 'Rhaid i\'r cyfrinair gynnwys o leia un rhif a un cymeriad atalnodi.'; +$messages['passwordforbidden'] = 'Mae\'r cyfrinair yn cynnwys llythrennau wedi gwahardd.'; +$messages['firstloginchange'] = 'Dyma eich mewngofnodiad cynta. Newidiwch eich cyfrinair.'; +?> diff --git a/plugins/password/localization/da_DK.inc b/plugins/password/localization/da_DK.inc new file mode 100644 index 000000000..d88381e29 --- /dev/null +++ b/plugins/password/localization/da_DK.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Ændre adgangskode '; +$labels['curpasswd'] = 'Nuværende adgangskode:'; +$labels['newpasswd'] = 'Ny adgangskode:'; +$labels['confpasswd'] = 'Bekræft ny adgangskode:'; +$messages['nopassword'] = 'Indtast venligst en ny adgangskode.'; +$messages['nocurpassword'] = 'Indtast venligst nuværende adgangskode.'; +$messages['passwordincorrect'] = 'Nuværende adgangskode er forkert.'; +$messages['passwordinconsistency'] = 'Adgangskoderne er ikke ens, prøv igen.'; +$messages['crypterror'] = 'Kunne ikke gemme den nye adgangskode. Krypteringsfunktion mangler.'; +$messages['connecterror'] = 'Kunne ikke gemme den nye adgangskode. Fejl ved forbindelsen.'; +$messages['internalerror'] = 'Kunne ikke gemme den nye adgangskode.'; +$messages['passwordshort'] = 'Adgangskoden skal være mindst $length tegn lang.'; +$messages['passwordweak'] = 'Adgangskoden skal indeholde mindst et tal og et tegnsætningstegn (-.,)'; +$messages['passwordforbidden'] = 'Adgangskoden indeholder forbudte tegn.'; +$messages['firstloginchange'] = 'Dette er første gang du logger ind, ændre venligst din adgangskode'; +?> diff --git a/plugins/password/localization/de_CH.inc b/plugins/password/localization/de_CH.inc new file mode 100644 index 000000000..68945be34 --- /dev/null +++ b/plugins/password/localization/de_CH.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Passwort ändern'; +$labels['curpasswd'] = 'Aktuelles Passwort'; +$labels['newpasswd'] = 'Neues Passwort'; +$labels['confpasswd'] = 'Passwort Wiederholung'; +$messages['nopassword'] = 'Bitte geben Sie ein neues Passwort ein'; +$messages['nocurpassword'] = 'Bitte geben Sie Ihr aktuelles Passwort an'; +$messages['passwordincorrect'] = 'Das aktuelle Passwort ist nicht korrekt'; +$messages['passwordinconsistency'] = 'Das neue Passwort und dessen Wiederholung stimmen nicht überein'; +$messages['crypterror'] = 'Neues Passwort nicht gespeichert: Verschlüsselungsfunktion fehlt'; +$messages['connecterror'] = 'Neues Passwort nicht gespeichert: Verbindungsfehler'; +$messages['internalerror'] = 'Neues Passwort nicht gespeichert'; +$messages['passwordshort'] = 'Passwort muss mindestens $length Zeichen lang sein.'; +$messages['passwordweak'] = 'Passwort muss mindestens eine Zahl und ein Sonderzeichen enthalten.'; +$messages['passwordforbidden'] = 'Passwort enthält unzulässige Zeichen.'; +$messages['firstloginchange'] = 'Dies ist Ihre erste Anmeldung. Bitte ändern Sie Ihr Passwort.'; +?> diff --git a/plugins/password/localization/de_DE.inc b/plugins/password/localization/de_DE.inc new file mode 100644 index 000000000..d27e305cd --- /dev/null +++ b/plugins/password/localization/de_DE.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Passwort ändern'; +$labels['curpasswd'] = 'Aktuelles Kennwort:'; +$labels['newpasswd'] = 'Neues Kennwort:'; +$labels['confpasswd'] = 'Neues Kennwort bestätigen:'; +$messages['nopassword'] = 'Bitte geben Sie ein neues Kennwort ein.'; +$messages['nocurpassword'] = 'Bitte geben Sie ihr aktuelles Kennwort ein.'; +$messages['passwordincorrect'] = 'Das aktuelle Kennwort ist falsch.'; +$messages['passwordinconsistency'] = 'Das neue Passwort und dessen Wiederholung stimmen nicht überein'; +$messages['crypterror'] = 'Neues Passwort nicht gespeichert: Verschlüsselungsfunktion fehlt'; +$messages['connecterror'] = 'Neues Passwort nicht gespeichert: Verbindungsfehler'; +$messages['internalerror'] = 'Neues Passwort nicht gespeichert'; +$messages['passwordshort'] = 'Passwort muss mindestens $length Zeichen lang sein.'; +$messages['passwordweak'] = 'Passwort muss mindestens eine Zahl und ein Sonderzeichen enthalten.'; +$messages['passwordforbidden'] = 'Passwort enthält unzulässige Zeichen.'; +$messages['firstloginchange'] = 'Dies ist Ihr erster Login. Bitte ändern Sie Ihr Passwort.'; +?> diff --git a/plugins/password/localization/el_GR.inc b/plugins/password/localization/el_GR.inc new file mode 100644 index 000000000..f3baa916d --- /dev/null +++ b/plugins/password/localization/el_GR.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Αλλαγή συνθηματικού'; +$labels['curpasswd'] = 'Τρεχων κωδικος προσβασης:'; +$labels['newpasswd'] = 'Νεος κωδικος προσβασης:'; +$labels['confpasswd'] = 'Επιβεβαιωση κωδικου προσβασης:'; +$messages['nopassword'] = 'Εισαγετε εναν νεο κωδικο.'; +$messages['nocurpassword'] = 'Εισαγετε τον τρεχων κωδικο.'; +$messages['passwordincorrect'] = 'Ο τρεχων κωδικος ειναι λαθος.'; +$messages['passwordinconsistency'] = 'Οι κωδικοί πρόσβασης δεν ταιριάζουν, προσπαθήστε ξανά.'; +$messages['crypterror'] = 'Δεν μπορεσε να αποθηκεύθει ο νέος κωδικός πρόσβασης. Η λειτουργία κρυπτογράφησης λείπει.'; +$messages['connecterror'] = 'Δεν μπορεσε να αποθηκεύθει ο νέος κωδικός πρόσβασης. Σφάλμα σύνδεσης.'; +$messages['internalerror'] = 'Δεν μπορεσε να αποθηκεύθει ο νέος κωδικός πρόσβασης. '; +$messages['passwordshort'] = 'Ο κωδικός πρόσβασης πρέπει να είναι τουλάχιστον $μήκος χαρακτήρων.'; +$messages['passwordweak'] = 'Ο κωδικός πρόσβασης πρέπει να περιλαμβάνει τουλάχιστον έναν αριθμό και ένα σημείο στίξης. '; +$messages['passwordforbidden'] = 'Ο κωδικός πρόσβασης περιέχει μη επιτρεπτούς χαρακτήρες. '; +$messages['firstloginchange'] = 'Αυτή είναι η πρώτη σας είσοδος. Παρακαλώ αλλάξτε το συνθηματικό σας.'; +?> diff --git a/plugins/password/localization/en_CA.inc b/plugins/password/localization/en_CA.inc new file mode 100644 index 000000000..e67ee7bfe --- /dev/null +++ b/plugins/password/localization/en_CA.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Current Password:'; +$labels['newpasswd'] = 'New Password:'; +$labels['confpasswd'] = 'Confirm New Password:'; +$messages['nopassword'] = 'Please input new password.'; +$messages['nocurpassword'] = 'Please input current password.'; +$messages['passwordincorrect'] = 'Current password incorrect.'; +$messages['passwordinconsistency'] = 'Passwords do not match, please try again.'; +$messages['crypterror'] = 'Could not save new password. Encryption function missing.'; +$messages['connecterror'] = 'Could not save new password. Connection error.'; +$messages['internalerror'] = 'Could not save new password.'; +$messages['passwordshort'] = 'Password must be at least $length characters long.'; +$messages['passwordweak'] = 'Password must include at least one number and one punctuation character.'; +$messages['passwordforbidden'] = 'Password contains forbidden characters.'; +?> diff --git a/plugins/password/localization/en_GB.inc b/plugins/password/localization/en_GB.inc new file mode 100644 index 000000000..d5387cb91 --- /dev/null +++ b/plugins/password/localization/en_GB.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Change password'; +$labels['curpasswd'] = 'Current Password:'; +$labels['newpasswd'] = 'New Password:'; +$labels['confpasswd'] = 'Confirm New Password:'; +$messages['nopassword'] = 'Please enter a new password.'; +$messages['nocurpassword'] = 'Please enter the current password.'; +$messages['passwordincorrect'] = 'Current password is incorrect.'; +$messages['passwordinconsistency'] = 'Passwords do not match. Please try again.'; +$messages['crypterror'] = 'New password could not be saved. The encryption function is missing.'; +$messages['connecterror'] = 'New password could not be saved. There is a connection error.'; +$messages['internalerror'] = 'New password could not be saved.'; +$messages['passwordshort'] = 'Password must be at least $length characters long.'; +$messages['passwordweak'] = 'Password must include at least one number and one symbol.'; +$messages['passwordforbidden'] = 'Password contains forbidden characters.'; +$messages['firstloginchange'] = 'This is your first login. Please change your password.'; +?> diff --git a/plugins/password/localization/en_US.inc b/plugins/password/localization/en_US.inc new file mode 100644 index 000000000..278a20374 --- /dev/null +++ b/plugins/password/localization/en_US.inc @@ -0,0 +1,38 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ + +$labels = array(); +$labels['changepasswd'] = 'Change password'; +$labels['curpasswd'] = 'Current Password:'; +$labels['newpasswd'] = 'New Password:'; +$labels['confpasswd'] = 'Confirm New Password:'; + +$messages = array(); +$messages['nopassword'] = 'Please input new password.'; +$messages['nocurpassword'] = 'Please input current password.'; +$messages['passwordincorrect'] = 'Current password incorrect.'; +$messages['passwordinconsistency'] = 'Passwords do not match, please try again.'; +$messages['crypterror'] = 'Could not save new password. Encryption function missing.'; +$messages['connecterror'] = 'Could not save new password. Connection error.'; +$messages['internalerror'] = 'Could not save new password.'; +$messages['passwordshort'] = 'Password must be at least $length characters long.'; +$messages['passwordweak'] = 'Password must include at least one number and one punctuation character.'; +$messages['passwordforbidden'] = 'Password contains forbidden characters.'; +$messages['firstloginchange'] = 'This is your first login. Please change your password.'; + +?> diff --git a/plugins/password/localization/eo.inc b/plugins/password/localization/eo.inc new file mode 100644 index 000000000..214a68dac --- /dev/null +++ b/plugins/password/localization/eo.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Nuna pasvorto:'; +$labels['newpasswd'] = 'Nova pasvorto:'; +$labels['confpasswd'] = 'Konfirmi novan pasvorton:'; +$messages['nopassword'] = 'Bonvole tajpu novan pasvorton.'; +$messages['nocurpassword'] = 'Bonvole tajpu nunan pasvorton.'; +$messages['passwordincorrect'] = 'Nuna pasvorto nekorekta.'; +$messages['passwordinconsistency'] = 'Pasvortoj ne kongruas, bonvole provu denove.'; +$messages['crypterror'] = 'Pasvorto ne konserveblas: funkcio de ĉifrado mankas.'; +$messages['connecterror'] = 'Pasvorto ne konserveblas: eraro de konekto.'; +$messages['internalerror'] = 'Nova pasvorto ne konserveblas.'; +$messages['passwordshort'] = 'Pasvorto longu almenaŭ $length signojn.'; +$messages['passwordweak'] = 'La pasvorto enhavu almenaŭ unu ciferon kaj unu interpunktan signon.'; +$messages['passwordforbidden'] = 'La pasvorto enhavas malpermesitajn signojn.'; +?> diff --git a/plugins/password/localization/es_419.inc b/plugins/password/localization/es_419.inc new file mode 100644 index 000000000..4c2a2cd38 --- /dev/null +++ b/plugins/password/localization/es_419.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Cambiar contraseña'; +$labels['curpasswd'] = 'Contraseña actual: '; +$labels['newpasswd'] = 'Contraseña nueva:'; +$labels['confpasswd'] = 'Confirmar contraseña nueva:'; +$messages['nopassword'] = 'Por favor, ingresa la nueva contraseña.'; +$messages['nocurpassword'] = 'Por favor, ingresa la contraseña actual.'; +$messages['passwordincorrect'] = 'Contraseña actual incorrecta.'; +$messages['passwordinconsistency'] = 'Las contraseñas no concuerdan, por favor intenta nuevamente.'; +$messages['crypterror'] = 'No se puedo guardar la nueva contraseña. No se encuentra la función de encriptación.'; +$messages['connecterror'] = 'No se puedo guardar la nueva contraseña. Error de conexión.'; +$messages['internalerror'] = 'No se puedo guardar la nueva contraseña.'; +$messages['passwordshort'] = 'La contraseña debe tener al menos $length carácteres.'; +$messages['passwordweak'] = 'La contraseña debe incluir por lo menos un número y un signo de puntuación.'; +$messages['passwordforbidden'] = 'La contraseña contiene carácteres ilegales.'; +$messages['firstloginchange'] = 'Esta es la primera vez que ingresas. Por favor cambia tu contraseña.'; +?> diff --git a/plugins/password/localization/es_AR.inc b/plugins/password/localization/es_AR.inc new file mode 100644 index 000000000..ea043625f --- /dev/null +++ b/plugins/password/localization/es_AR.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Cambiar contraseña'; +$labels['curpasswd'] = 'Contraseña Actual:'; +$labels['newpasswd'] = 'Contraseña Nueva:'; +$labels['confpasswd'] = 'Confirmar Contraseña:'; +$messages['nopassword'] = 'Por favor introduce una nueva contraseña.'; +$messages['nocurpassword'] = 'Por favor introduce la contraseña actual.'; +$messages['passwordincorrect'] = 'Contraseña actual incorrecta.'; +$messages['passwordinconsistency'] = 'Las contraseñas no coinciden, por favor inténtalo de nuevo.'; +$messages['crypterror'] = 'No se pudo guardar la contraseña nueva. Falta la función de cifrado.'; +$messages['connecterror'] = 'No se pudo guardar la contraseña nueva. Error de conexión'; +$messages['internalerror'] = 'No se pudo guardar la contraseña nueva.'; +$messages['passwordshort'] = 'Tu contraseña debe tener una longitud mínima de $length.'; +$messages['passwordweak'] = 'Tu nueva contraseña debe incluir al menos un número y un signo de puntuación.'; +$messages['passwordforbidden'] = 'La contraseña contiene caracteres inválidos.'; +$messages['firstloginchange'] = 'Este es tu primer inicio de sesión. Por favor, cambia tu contraseña.'; +?> diff --git a/plugins/password/localization/es_ES.inc b/plugins/password/localization/es_ES.inc new file mode 100644 index 000000000..2e97e6644 --- /dev/null +++ b/plugins/password/localization/es_ES.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Cambiar contraseña'; +$labels['curpasswd'] = 'Contraseña actual:'; +$labels['newpasswd'] = 'Contraseña nueva:'; +$labels['confpasswd'] = 'Confirmar contraseña:'; +$messages['nopassword'] = 'Por favor, introduzca una contraseña nueva.'; +$messages['nocurpassword'] = 'Por favor, introduzca la contraseña actual.'; +$messages['passwordincorrect'] = 'La contraseña actual es incorrecta.'; +$messages['passwordinconsistency'] = 'Las contraseñas no coinciden. Por favor, inténtelo de nuevo.'; +$messages['crypterror'] = 'No se pudo guardar la contraseña nueva. Falta la función de cifrado.'; +$messages['connecterror'] = 'No se pudo guardar la contraseña nueva. Error de conexión.'; +$messages['internalerror'] = 'No se pudo guardar la contraseña nueva.'; +$messages['passwordshort'] = 'La contraseña debe tener al menos $length caracteres.'; +$messages['passwordweak'] = 'La contraseña debe incluir al menos un número y un signo de puntuación.'; +$messages['passwordforbidden'] = 'La contraseña introducida contiene caracteres no permitidos.'; +$messages['firstloginchange'] = 'Este es su primer inicio de sesión. Por favor, cambie su contraseña.'; +?> diff --git a/plugins/password/localization/et_EE.inc b/plugins/password/localization/et_EE.inc new file mode 100644 index 000000000..6c270f8a1 --- /dev/null +++ b/plugins/password/localization/et_EE.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Muuda parooli'; +$labels['curpasswd'] = 'Vana parool:'; +$labels['newpasswd'] = 'Uus parool:'; +$labels['confpasswd'] = 'Uus parool uuesti:'; +$messages['nopassword'] = 'Palun sisesta uus parool.'; +$messages['nocurpassword'] = 'Palun sisesta vana parool.'; +$messages['passwordincorrect'] = 'Vana parool on vale.'; +$messages['passwordinconsistency'] = 'Paroolid ei kattu, palun proovi uuesti.'; +$messages['crypterror'] = 'Serveris ei ole parooli krüpteerimiseks vajalikku funktsiooni.'; +$messages['connecterror'] = 'Parooli salvestamine nurjus. Ühenduse tõrge.'; +$messages['internalerror'] = 'Uue parooli andmebaasi salvestamine nurjus.'; +$messages['passwordshort'] = 'Parool peab olema vähemalt $length märki pikk.'; +$messages['passwordweak'] = 'Parool peab sisaldama vähemalt üht numbrit ja märki.'; +$messages['passwordforbidden'] = 'Parool sisaldab keelatud märki.'; +$messages['firstloginchange'] = 'See on sinu esimene sisselogimine, palun muuda oma parooli.'; +?> diff --git a/plugins/password/localization/eu_ES.inc b/plugins/password/localization/eu_ES.inc new file mode 100644 index 000000000..7f93d0110 --- /dev/null +++ b/plugins/password/localization/eu_ES.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Pasahitza aldatu'; +$labels['curpasswd'] = 'Oraingo pasahitza:'; +$labels['newpasswd'] = 'Pasahitz berria:'; +$labels['confpasswd'] = 'Konfirmatu pasahitz berria:'; +$messages['nopassword'] = 'Sartu pasahitz berria.'; +$messages['nocurpassword'] = 'Sartu oraingo pasahitza.'; +$messages['passwordincorrect'] = 'Oraingo pasahitza ez da zuzena.'; +$messages['passwordinconsistency'] = 'Pasahitz berria ez datoz bat, saiatu berriz.'; +$messages['crypterror'] = 'Ezin izan da pasahitz berria gorde. Ez da enkriptazio funtziorik aurkitu.'; +$messages['connecterror'] = 'Ezin izan da pasahitz berria gorde. Konexio arazoak egon dira.'; +$messages['internalerror'] = 'Ezin izan da pasahitz berria gorde.'; +$messages['passwordshort'] = 'Gutxienez $length karakteretakoa izan behar du pasahitzak.'; +$messages['passwordweak'] = 'Gutxienez zenbaki bat eta puntuazio karaktere bat izan behar du pasahitzak.'; +$messages['passwordforbidden'] = 'Galarazitako karaktereak daude pasahitzean.'; +$messages['firstloginchange'] = 'Zure lehenengo sarrera da. Pasahitza aldatu mesedez.'; +?> diff --git a/plugins/password/localization/fa_AF.inc b/plugins/password/localization/fa_AF.inc new file mode 100644 index 000000000..3df6a3057 --- /dev/null +++ b/plugins/password/localization/fa_AF.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'رمز عبور کنونی'; +$labels['newpasswd'] = 'رمز عبور جدید'; +$labels['confpasswd'] = 'تایید رمز عبور جدید'; +$messages['nopassword'] = 'لطفا رمز عبور جدیدی وارد کنید'; +$messages['nocurpassword'] = 'لطفا رمز عبور کنونی را وارد کنید'; +$messages['passwordincorrect'] = 'رمز عبور کنونی اشتباه است'; +$messages['passwordinconsistency'] = 'رمزهای عبور با هم مطابقت ندارند، لطفا دوباره سعی کنید'; +$messages['crypterror'] = 'امکان ذخیره رمز عبور جدید وجود ندارد. تابع رمزگذاری یافت نشد'; +$messages['connecterror'] = 'امکان ذخیره رمز عبور جدید وجود ندارد. لطفا دوباره سعی کنید'; +$messages['internalerror'] = 'امکان ذخیره رمز عبور جدید وجود ندارد'; +$messages['passwordshort'] = 'طول رمز عبور می بایست حداقل به طول $length کاراکتر باشد'; +$messages['passwordweak'] = 'رمز عبور می بایست دارای حداقل یک عدد و یک کاراکتر علامت گذاری باشد'; +$messages['passwordforbidden'] = 'رمز عبور شامل کاراکترهای غیر مجاز است'; +?> diff --git a/plugins/password/localization/fa_IR.inc b/plugins/password/localization/fa_IR.inc new file mode 100644 index 000000000..900f9f5ac --- /dev/null +++ b/plugins/password/localization/fa_IR.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'تغییر گذرواژه'; +$labels['curpasswd'] = 'گذرواژه فعلی:'; +$labels['newpasswd'] = 'گذرواژه جدید:'; +$labels['confpasswd'] = 'تایید گذرواژه جدید:'; +$messages['nopassword'] = 'لطفا گذرواژه جدید را وارد نمایید.'; +$messages['nocurpassword'] = ' لطفا گذرواژه فعلی را وارد نمایید.'; +$messages['passwordincorrect'] = 'گذرواژه فعلی اشتباه است.'; +$messages['passwordinconsistency'] = 'گذرواژهها با هم مطابقت ندارند، دوباره سعی نمایید.'; +$messages['crypterror'] = 'گذرواژه جدید نمیتواند ذخیره شود. نبود تابع رمزگذاری.'; +$messages['connecterror'] = 'گذرواژه جدید نمیتواند ذخیره شود. خطای ارتباط.'; +$messages['internalerror'] = 'گذرواژه جدید نتوانست ذخیره نشد.'; +$messages['passwordshort'] = 'گذرواژه باید حداقل $length کاراکتر طول داشته باشد.'; +$messages['passwordweak'] = 'گذرواژه باید شامل حداقل یک عدد و یک کاراکتر نشانهای باشد.'; +$messages['passwordforbidden'] = 'گذرواژه شامل کاراکترهای غیرمجاز است.'; +$messages['firstloginchange'] = 'این اولین ورود شما است، لطفا گذرواژه خود را تغییر دهید.'; +?> diff --git a/plugins/password/localization/fi_FI.inc b/plugins/password/localization/fi_FI.inc new file mode 100644 index 000000000..5cf0db192 --- /dev/null +++ b/plugins/password/localization/fi_FI.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Vaihda salasana'; +$labels['curpasswd'] = 'Nykyinen salasana:'; +$labels['newpasswd'] = 'Uusi salasana:'; +$labels['confpasswd'] = 'Vahvista uusi salasana:'; +$messages['nopassword'] = 'Syötä uusi salasana.'; +$messages['nocurpassword'] = 'Syötä nykyinen salasana.'; +$messages['passwordincorrect'] = 'Nykyinen salasana on väärin.'; +$messages['passwordinconsistency'] = 'Salasanat eivät täsmää, yritä uudelleen.'; +$messages['crypterror'] = 'Uuden salasanan tallennus epäonnistui. Kryptausfunktio puuttuu.'; +$messages['connecterror'] = 'Uuden salasanan tallennus epäonnistui. Yhteysongelma.'; +$messages['internalerror'] = 'Uuden salasanan tallennus epäonnistui.'; +$messages['passwordshort'] = 'Salasanassa täytyy olla vähintään $length merkkiä.'; +$messages['passwordweak'] = 'Salasanan täytyy sisältää vähintään yksi numero ja yksi välimerkki.'; +$messages['passwordforbidden'] = 'Salasana sisältää virheellisiä merkkejä.'; +$messages['firstloginchange'] = 'Tämä on ensimmäinen kirjautumiskertasi. Vaihda salasanasi.'; +?> diff --git a/plugins/password/localization/fo_FO.inc b/plugins/password/localization/fo_FO.inc new file mode 100644 index 000000000..875f79b69 --- /dev/null +++ b/plugins/password/localization/fo_FO.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Nú verandi loyniorð:'; +$labels['newpasswd'] = 'Nýtt loyniorð:'; +$labels['confpasswd'] = 'Endurtak nýggja loyniorð:'; +$messages['nopassword'] = 'Vinarliga skriva inn nýtt loyniorð.'; +$messages['nocurpassword'] = 'Vinarliga skriva inn núverandi loyniorð.'; +$messages['passwordincorrect'] = 'Verandi loyniorð er skeift.'; +$messages['passwordinconsistency'] = 'Loyniorðini eru ikki líka, vinarliga royn aftur.'; +$messages['crypterror'] = 'Kann ikki goyma nýggja loyniorð. Brongling manglar.'; +$messages['connecterror'] = 'Kann ikki goyma nýtt loyniorð. Sambands feilur.'; +$messages['internalerror'] = 'Kundi ikki goyma nýggja loyniorðið.'; +$messages['passwordshort'] = 'Loyniorði má hvørfall verða $length tekin langt.'; +$messages['passwordweak'] = 'Loyniorði má innihalda minst eitt nummar og eitt punktum tekin.'; +$messages['passwordforbidden'] = 'Loyniorð inniheldur ólóglig tekin.'; +?> diff --git a/plugins/password/localization/fr_FR.inc b/plugins/password/localization/fr_FR.inc new file mode 100644 index 000000000..03c914e11 --- /dev/null +++ b/plugins/password/localization/fr_FR.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Changer le mot de passe'; +$labels['curpasswd'] = 'Mot de passe actuel :'; +$labels['newpasswd'] = 'Nouveau mot de passe :'; +$labels['confpasswd'] = 'Confirmer le nouveau mot de passe :'; +$messages['nopassword'] = 'Veuillez saisir le nouveau mot de passe.'; +$messages['nocurpassword'] = 'Veuillez saisir le mot de passe actuel.'; +$messages['passwordincorrect'] = 'Le mot de passe actuel est erroné.'; +$messages['passwordinconsistency'] = 'Les mots de passe ne correspondent pas, veuillez ressayer.'; +$messages['crypterror'] = 'Impossible d\'enregistrer le nouveau mot de passe. La fonction de chiffrement est manquante.'; +$messages['connecterror'] = 'Impossible d\'enregistrer le nouveau mot de passe. Erreur de connexion.'; +$messages['internalerror'] = 'Impossible d\'enregistrer le nouveau mot de passe.'; +$messages['passwordshort'] = 'Le mot de passe doit comporter au moins $length caractères.'; +$messages['passwordweak'] = 'Le mot de passe doit comporter au moins un chiffre et un signe de ponctuation.'; +$messages['passwordforbidden'] = 'Le mot de passe contient des caractères interdits.'; +$messages['firstloginchange'] = 'Ceci est votre première connexion. Veuillez changer votre mot de passe.'; +?> diff --git a/plugins/password/localization/fy_NL.inc b/plugins/password/localization/fy_NL.inc new file mode 100644 index 000000000..413a80ce5 --- /dev/null +++ b/plugins/password/localization/fy_NL.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['newpasswd'] = 'Nij wachtwurd:'; +?> diff --git a/plugins/password/localization/gl_ES.inc b/plugins/password/localization/gl_ES.inc new file mode 100644 index 000000000..b0f5e39b2 --- /dev/null +++ b/plugins/password/localization/gl_ES.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Cambiar contrasinal'; +$labels['curpasswd'] = 'Contrasinal actual:'; +$labels['newpasswd'] = 'Contrasinal novo:'; +$labels['confpasswd'] = 'Confirmar contrasinal:'; +$messages['nopassword'] = 'Por favor, introduce un contrasinal novo.'; +$messages['nocurpassword'] = 'Por favor, introduce o contrasinal actual.'; +$messages['passwordincorrect'] = 'O contrasinal actual é incorrecto.'; +$messages['passwordinconsistency'] = 'Os contrasinais non cadran. Por favor, inténtao outra vez.'; +$messages['crypterror'] = 'Non foi posíbel gardar o contrasinal novo. Falta a función de cifrado.'; +$messages['connecterror'] = 'Non foi posíbel gardar o contrasinal novo. Erro de conexión'; +$messages['internalerror'] = 'Non foi posíbel gardar o contrasinal novo.'; +$messages['passwordshort'] = 'O contrasinal debe ter polo menos $length caracteres.'; +$messages['passwordweak'] = 'O contrasinal debe incluir polo menos un número e un signo de puntuación.'; +$messages['passwordforbidden'] = 'O contrasinal contén caracteres non permitidos.'; +$messages['firstloginchange'] = 'É a primeira vez que se conecta. Por favor, troque o seu contrasinal.'; +?> diff --git a/plugins/password/localization/he_IL.inc b/plugins/password/localization/he_IL.inc new file mode 100644 index 000000000..c60acd7c1 --- /dev/null +++ b/plugins/password/localization/he_IL.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'שנה סיסמה'; +$labels['curpasswd'] = 'סיסמה נוכחית:'; +$labels['newpasswd'] = 'סיסמה חדשה:'; +$labels['confpasswd'] = 'אימות הסיסמה החדשה:'; +$messages['nopassword'] = 'נא להקליד סיסמה חדשה'; +$messages['nocurpassword'] = 'נא להקיש הסיסמה הנוכחית'; +$messages['passwordincorrect'] = 'הוקשה סיסמה נוכחית שגויה'; +$messages['passwordinconsistency'] = 'הסיסמאות שהוקשו אינן תואמות, נא לנסות שנית.'; +$messages['crypterror'] = 'לא נשמרה הסיסמה החדשה. חסר מנגנון הצפנה.'; +$messages['connecterror'] = 'לא נשמרה הסיסמה החדשה. שגיאת תקשורת.'; +$messages['internalerror'] = 'לא ניתן לשמור על הסיסמה החדשה.'; +$messages['passwordshort'] = 'הסיסמה צריכה להיות לפחות בעלת $length תווים'; +$messages['passwordweak'] = 'הסיסמה חייבת לכלול לפחות סיפרה אחת ולפחות סימן פיסוק אחד.'; +$messages['passwordforbidden'] = 'הסיסמה מכילה תווים אסורים.'; +$messages['firstloginchange'] = 'זוהי כניסתך הראשונה. אנא שנה את סיסמתך.'; +?> diff --git a/plugins/password/localization/hr_HR.inc b/plugins/password/localization/hr_HR.inc new file mode 100644 index 000000000..9815bf504 --- /dev/null +++ b/plugins/password/localization/hr_HR.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Važeća zaporka:'; +$labels['newpasswd'] = 'Nova zaporka:'; +$labels['confpasswd'] = 'Potvrda nove zaporke:'; +$messages['nopassword'] = 'Molimo unesite novu zaporku.'; +$messages['nocurpassword'] = 'Molimo unesite trenutnu zaporku.'; +$messages['passwordincorrect'] = 'Trenutna zaporka je nevažeća.'; +$messages['passwordinconsistency'] = 'Zaporke su različite, pokušajte ponovo.'; +$messages['crypterror'] = 'Nemoguće promijeniti zaporku. Nedostaje enkripcijska funkcija.'; +$messages['connecterror'] = 'Nemoguće promijeniti zaporku. Greška prilikom spajanja.'; +$messages['internalerror'] = 'Nemoguće promijeniti zaporku.'; +$messages['passwordshort'] = 'Zaporka mora sadržavati barem $length znakova.'; +$messages['passwordweak'] = 'Zaporka mora sadržavati barem jedanu znamenku i jedan interpunkcijski znak.'; +$messages['passwordforbidden'] = 'Zaporka sadrži nedozvoljene znakove.'; +?> diff --git a/plugins/password/localization/hu_HU.inc b/plugins/password/localization/hu_HU.inc new file mode 100644 index 000000000..46fd82a42 --- /dev/null +++ b/plugins/password/localization/hu_HU.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Jelszó módosítás'; +$labels['curpasswd'] = 'Jelenlegi jelszó:'; +$labels['newpasswd'] = 'Új jelszó:'; +$labels['confpasswd'] = 'Új jelszó mégegyszer:'; +$messages['nopassword'] = 'Kérjük adja meg az új jelszót.'; +$messages['nocurpassword'] = 'Kérjük adja meg a jelenlegi jelszót.'; +$messages['passwordincorrect'] = 'Érvénytelen a jelenlegi jelszó.'; +$messages['passwordinconsistency'] = 'A beírt jelszavak nem azonosak. Próbálja újra.'; +$messages['crypterror'] = 'Hiba történt a kérés feldolgozása során.'; +$messages['connecterror'] = 'Az új jelszó mentése nem sikerült. Hiba a kapcsolatban'; +$messages['internalerror'] = 'Hiba történt a kérés feldolgozása során.'; +$messages['passwordshort'] = 'A jelszónak legalább $length karakter hosszunak kell lennie.'; +$messages['passwordweak'] = 'A jelszónak mindenképpen kell tartalmaznia egy számot és egy írásjelet.'; +$messages['passwordforbidden'] = 'A jelszó tiltott karaktert is tartalmaz.'; +$messages['firstloginchange'] = 'Ez az első belépésed. Változtass jelszót.'; +?> diff --git a/plugins/password/localization/hy_AM.inc b/plugins/password/localization/hy_AM.inc new file mode 100644 index 000000000..824f38642 --- /dev/null +++ b/plugins/password/localization/hy_AM.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Փոխել գաղտնաբառը'; +$labels['curpasswd'] = 'Ներկա գաղտնաբառ`'; +$labels['newpasswd'] = 'Նոր գաղտնաբառ`'; +$labels['confpasswd'] = 'Կրկնեք նոր գաղտնաբառը`'; +$messages['nopassword'] = 'Ներմուցեք նոր գաղտնաբառը։'; +$messages['nocurpassword'] = 'Ներմուցեք առկա գաղտնաբառը։'; +$messages['passwordincorrect'] = 'Առկա գաղտնաբառը սխալ է։'; +$messages['passwordinconsistency'] = 'Նոր գաղտնաբառերը չեն համընկնում, կրկին փորձեք։'; +$messages['crypterror'] = 'Նոր գաղտնաբառի պահպանումը ձախողվեց։ Բացակայում է գաղտնագրման ֆունկցիան։'; +$messages['connecterror'] = 'Նոր գաղտնաբառի պահպանումը ձախողվեց։ Կապի սխալ։'; +$messages['internalerror'] = 'Նոր գաղտնաբառի պահպանումը ձախողվեց։'; +$messages['passwordshort'] = 'Գաղտնաբառերը պետք է լինեն առնվազն $length նիշ երկարությամբ։'; +$messages['passwordweak'] = 'Գաղտնաբառերը պետք է պարունակեն առնվազն մեկ թիվ և մեկ կետադրական նիշ։'; +$messages['passwordforbidden'] = 'Գաղտնաբառը պարունակում է արգելված նիշ։'; +$messages['firstloginchange'] = 'Սա ձեր առաջին մուտքն է։ Խնդրում ենք փոխել գաղտնաբառը։'; +?> diff --git a/plugins/password/localization/ia.inc b/plugins/password/localization/ia.inc new file mode 100644 index 000000000..45479634d --- /dev/null +++ b/plugins/password/localization/ia.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Cambiar contrasigno'; +$labels['curpasswd'] = 'Contrasigno actual:'; +$labels['newpasswd'] = 'Nove contrasigno:'; +$labels['confpasswd'] = 'Confirmar nove contrasigno:'; +$messages['nopassword'] = 'Entra un nove contrasigno.'; +$messages['nocurpassword'] = 'Entra le contrasigno actual.'; +$messages['passwordincorrect'] = 'Le contrasigno actual es incorrecte.'; +$messages['passwordinconsistency'] = 'Le contrasignos non es identic. Essaya lo de novo.'; +$messages['crypterror'] = 'Impossibile salveguardar le nove contrasigno. Le function de cryptographia manca.'; +$messages['connecterror'] = 'Impossibile salveguardar le nove contrasigno. Error de connexion.'; +$messages['internalerror'] = 'Impossibile salveguardar le nove contrasigno.'; +$messages['passwordshort'] = 'Le contrasigno debe haber al minus $length characteres.'; +$messages['passwordweak'] = 'Le contrasigno debe includer al minus un numero e un character de punctuation.'; +$messages['passwordforbidden'] = 'Le contrasigno contine characteres interdicte.'; +$messages['firstloginchange'] = 'Iste es vostre prime session. Per favor, cambia vostre contrasigno.'; +?> diff --git a/plugins/password/localization/id_ID.inc b/plugins/password/localization/id_ID.inc new file mode 100644 index 000000000..3a42abdf3 --- /dev/null +++ b/plugins/password/localization/id_ID.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Sandi saat ini:'; +$labels['newpasswd'] = 'Sandi Baru:'; +$labels['confpasswd'] = 'Konfirmasi Sandi Baru:'; +$messages['nopassword'] = 'Masukkan sandi baru.'; +$messages['nocurpassword'] = 'Masukkan sandi saat ini.'; +$messages['passwordincorrect'] = 'Sandi saat ini salah.'; +$messages['passwordinconsistency'] = 'Sandi tidak cocok, harap coba lagi.'; +$messages['crypterror'] = 'Tidak dapat menyimpan sandi baru. Fungsi enkripsi tidak ditemukan.'; +$messages['connecterror'] = 'Tidak dapat menyimpan sandi baru. Koneksi error.'; +$messages['internalerror'] = 'Tidak dapat menyimpan sandi baru.'; +$messages['passwordshort'] = 'Panjang password minimal $length karakter'; +$messages['passwordweak'] = 'Sandi harus menyertakan setidaknya satu angka dan satu tanda baca.'; +$messages['passwordforbidden'] = 'Sandi mengandung karakter terlarang.'; +?> diff --git a/plugins/password/localization/it_IT.inc b/plugins/password/localization/it_IT.inc new file mode 100644 index 000000000..d9bdb4fd5 --- /dev/null +++ b/plugins/password/localization/it_IT.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Modifica la Password'; +$labels['curpasswd'] = 'Password corrente:'; +$labels['newpasswd'] = 'Nuova password:'; +$labels['confpasswd'] = 'Conferma la nuova Password:'; +$messages['nopassword'] = 'Per favore inserire la nuova password.'; +$messages['nocurpassword'] = 'Per favore inserire la password corrente.'; +$messages['passwordincorrect'] = 'La password corrente non è corretta.'; +$messages['passwordinconsistency'] = 'Le password non coincidono, per favore reinserire.'; +$messages['crypterror'] = 'Impossibile salvare la nuova password. Funzione di crittografia mancante.'; +$messages['connecterror'] = 'Imposibile salvare la nuova password. Errore di connessione.'; +$messages['internalerror'] = 'Impossibile salvare la nuova password.'; +$messages['passwordshort'] = 'La password deve essere lunga almeno $length caratteri.'; +$messages['passwordweak'] = 'La password deve includere almeno una cifra decimale e un simbolo di punteggiatura.'; +$messages['passwordforbidden'] = 'La password contiene caratteri proibiti.'; +$messages['firstloginchange'] = 'Questo è il tuo primo accesso. Si prega di cambiare la propria password.'; +?> diff --git a/plugins/password/localization/ja_JP.inc b/plugins/password/localization/ja_JP.inc new file mode 100644 index 000000000..7c97215c3 --- /dev/null +++ b/plugins/password/localization/ja_JP.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'パスワードの変更'; +$labels['curpasswd'] = '現在のパスワード:'; +$labels['newpasswd'] = '新しいパスワード:'; +$labels['confpasswd'] = '新しいパスワード (確認):'; +$messages['nopassword'] = '新しいパスワードを入力してください。'; +$messages['nocurpassword'] = '現在のパスワードを入力してください。'; +$messages['passwordincorrect'] = '現在のパスワードが間違っています。'; +$messages['passwordinconsistency'] = 'パスワードが一致しません。もう一度やり直してください。'; +$messages['crypterror'] = 'パスワードを保存できませんでした。暗号化関数がみあたりません。'; +$messages['connecterror'] = '新しいパスワードを保存できませんでした。接続エラーです。'; +$messages['internalerror'] = '新しいパスワードを保存できませんでした。'; +$messages['passwordshort'] = 'パスワードは少なくとも $length 文字の長さが必要です。'; +$messages['passwordweak'] = 'パスワードは少なくとも数字の 1 文字と記号の 1 文字を含んでいなければなりません。'; +$messages['passwordforbidden'] = 'パスワードに禁止された文字が含まれています。'; +$messages['firstloginchange'] = 'これは初めてのログインです。パスワードを変更してください。'; +?> diff --git a/plugins/password/localization/km_KH.inc b/plugins/password/localization/km_KH.inc new file mode 100644 index 000000000..5e92faf41 --- /dev/null +++ b/plugins/password/localization/km_KH.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'ពាក្យសម្ងាត់បច្ចុប្បន្ន៖'; +$labels['newpasswd'] = 'ពាក្យសម្ងាត់ថ្មី៖'; +$labels['confpasswd'] = 'បញ្ជាក់ពាក្យសម្ងាត់ថ្មី៖'; +$messages['nopassword'] = 'សូមបញ្ចូលពាក្យសម្ងាត់ថ្មី។'; +$messages['nocurpassword'] = 'សូមបញ្ចូលពាក្យសម្ងាត់បច្ចុប្បន្នឲ្យបានត្រូវ។'; +$messages['passwordincorrect'] = 'ពាក្យសម្ងាត់បច្ចុប្បន្នគឺមិនត្រូវឡើយ។'; +$messages['passwordinconsistency'] = 'ពាក្យសម្ងាត់មិនត្រូវគ្នាទេ សូមព្យាយាមម្ដងទៀត។'; +$messages['crypterror'] = 'មិនអាចរក្សាទុកពាក្យសម្ងាត់ថ្មីបានទេ។ បាត់មុខងារកូដនីយកម្ម។'; +$messages['connecterror'] = 'មិនអាចរក្សាទុកពាក្យសម្ងាត់ថ្មីបានទេ។ ការតភ្ជាប់មានបញ្ហា។'; +$messages['internalerror'] = 'មិនអាចរក្សាទុកពាក្យសម្ងាត់ថ្មីបានទេ។'; +$messages['passwordshort'] = 'ពាក្យសម្ងាត់ត្រូវតែមានយ៉ាងតិច $length តួ។'; +$messages['passwordweak'] = 'ពាក្យសម្ងាត់ត្រូវតែមានបញ្ចូលយ៉ាងហោចណាស់លេខមួយតួ និងអក្សរសញ្ញាមួយតួ។'; +$messages['passwordforbidden'] = 'ពាក្យសម្ងាត់មានអក្សរដែលត្រូវហាមឃាត់។'; +?> diff --git a/plugins/password/localization/ko_KR.inc b/plugins/password/localization/ko_KR.inc new file mode 100644 index 000000000..1d6374295 --- /dev/null +++ b/plugins/password/localization/ko_KR.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = '암호 변경'; +$labels['curpasswd'] = '현재 암호:'; +$labels['newpasswd'] = '새로운 암호:'; +$labels['confpasswd'] = '새로운 암호 확인:'; +$messages['nopassword'] = '새로운 암호를 입력하세요.'; +$messages['nocurpassword'] = '현재 사용 중인 암호를 입력하세요.'; +$messages['passwordincorrect'] = '현재 사용 중인 암호가 올바르지 않습니다.'; +$messages['passwordinconsistency'] = '암호가 일치하지 않습니다. 다시 시도해주세요.'; +$messages['crypterror'] = '새로운 암호를 저장할 수 없습니다. 암호화 기능이 누락되었습니다.'; +$messages['connecterror'] = '새로운 암호를 저장할 수 없습니다. 연결 오류입니다.'; +$messages['internalerror'] = '새로운 암호를 저장할 수 없습니다.'; +$messages['passwordshort'] = '암호는 문자가 $length개 이상이어야 합니다.'; +$messages['passwordweak'] = '암호는 숫자 및 특수문자를 각각 한 개 이상 포함해야 합니다.'; +$messages['passwordforbidden'] = '암호가 금지된 문자을 포함하고 있습니다.'; +$messages['firstloginchange'] = '처음 로그인하셨습니다. 암호를 변경해주세요.'; +?> diff --git a/plugins/password/localization/ku.inc b/plugins/password/localization/ku.inc new file mode 100644 index 000000000..574539b21 --- /dev/null +++ b/plugins/password/localization/ku.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Şîfreyê biguherîne'; +$labels['curpasswd'] = 'Şîfreya niha:'; +$labels['newpasswd'] = 'Şîfreya nû:'; +$labels['confpasswd'] = 'Şîfreya nû bipejirîne:'; +$messages['nopassword'] = 'Şîfreya nû binivîse.'; +$messages['nocurpassword'] = 'Şîfreya niha binivîse.'; +$messages['passwordincorrect'] = 'Şîfreya niha xelet e.'; +$messages['passwordinconsistency'] = 'Şîfre hevdu nagirin, dîsa biceribîne.'; +$messages['crypterror'] = 'Şîfreya nû nehat tomarkirin. Fonksiyona şîfrekirinê hat jibîrkirin.'; +$messages['connecterror'] = 'Şîfreya nû nehat tomarkirin. Çewtiya girêdanê.'; +$messages['internalerror'] = 'Şîfre nehat tomarkirin.'; +$messages['passwordshort'] = 'Divê şîfre ji $length karakteran kêmtir nebe.'; +$messages['passwordweak'] = 'Divê di şîfreyê de herî kêm hejmarek û karakterekî xalbendiyê hebe.'; +$messages['passwordforbidden'] = 'Şîfre karakterên qedexe dihewîne.'; +$messages['firstloginchange'] = 'Ev têketina te ya yekemîn e. Ji kerema xwe şîfreya xwe biguherîne.'; +?> diff --git a/plugins/password/localization/ku_IQ.inc b/plugins/password/localization/ku_IQ.inc new file mode 100644 index 000000000..67ec86de1 --- /dev/null +++ b/plugins/password/localization/ku_IQ.inc @@ -0,0 +1,30 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'گۆڕینی تێپەڕەوشە'; +$labels['curpasswd'] = 'تێپەڕەوشەی ئێستا:'; +$labels['newpasswd'] = 'تێپەڕەوشەی نوێ:'; +$labels['confpasswd'] = 'پشتڕاستکردنەوەی تێپەڕەوشەی نوێ:'; +$messages['nopassword'] = 'تکایە تێپەڕەوشەی نوێ بنووسە.'; +$messages['nocurpassword'] = 'تکایە تێپەڕەوشەی ئێستا بنووسە.'; +$messages['passwordincorrect'] = 'تێپەڕەوشەی ئێستا نادروستە.'; +$messages['passwordinconsistency'] = 'تێپەڕەوشەکان هاویەک نین، تکایە دووبارە هەوڵبدەوە.'; +$messages['connecterror'] = 'نەتوانرا تێپەڕەوشەی نوێ پاشەکەوت بکرێت. هەڵەی پەیوەندیکردن.'; +$messages['internalerror'] = 'نەتوانرا تێپەڕەوشەی نوێ پاشەکەوت بکرێت.'; +$messages['passwordforbidden'] = 'تێپەڕەوشە نووسەی ڕێپێنەدراوی تێدایە.'; +$messages['firstloginchange'] = 'ئەمە یەکەم چوونەژوورەوەتە. تکایە تێپەڕەوشەکەت بگۆڕە.'; +?> diff --git a/plugins/password/localization/lb_LU.inc b/plugins/password/localization/lb_LU.inc new file mode 100644 index 000000000..2093b82ab --- /dev/null +++ b/plugins/password/localization/lb_LU.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Aktuellt Passwuert:'; +$labels['newpasswd'] = 'Neit Passwuert:'; +$labels['confpasswd'] = 'Neit Passwuert bestätegen:'; +$messages['nopassword'] = 'Gëff wann ech gelift en neit Passwuert an.'; +$messages['nocurpassword'] = 'Gëff wann ech gelift dat aktuellt Passwuert an.'; +$messages['passwordincorrect'] = 'Aktuellt Passwuert net korrekt.'; +$messages['passwordinconsistency'] = 'D\'Passwierder passen net, probéier wann ech gelift nach eng Kéier.'; +$messages['crypterror'] = 'Passwuert konnt net gespäichert ginn. Verschlësselungs-Funktioun feelt.'; +$messages['connecterror'] = 'Passwuert konnt net gespäichert ginn. Connectiouns-Feeler.'; +$messages['internalerror'] = 'Neit Passwuert konnt net gespäichert ginn.'; +$messages['passwordshort'] = 'D\'Passwuert muss mindestens $length Zeeche laang sinn.'; +$messages['passwordweak'] = 'D\'Passwuert muss mindestens eng Zuel an ee Sazzeechen enthalen.'; +$messages['passwordforbidden'] = 'D\'Passwuert enthält verbueden Zeechen.'; +?> diff --git a/plugins/password/localization/lt_LT.inc b/plugins/password/localization/lt_LT.inc new file mode 100644 index 000000000..3351c305e --- /dev/null +++ b/plugins/password/localization/lt_LT.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Keisti slaptažodį'; +$labels['curpasswd'] = 'Dabartinis slaptažodis:'; +$labels['newpasswd'] = 'Naujasis slaptažodis:'; +$labels['confpasswd'] = 'Pakartokite naująjį slaptažodį:'; +$messages['nopassword'] = 'Prašom įvesti naująjį slaptažodį.'; +$messages['nocurpassword'] = 'Prašom įvesti dabartinį slaptažodį.'; +$messages['passwordincorrect'] = 'Dabartinis slaptažodis neteisingas.'; +$messages['passwordinconsistency'] = 'Slaptažodžiai nesutapo. Bandykite dar kartą.'; +$messages['crypterror'] = 'Nepavyko įrašyti naujojo slaptažodžio. Trūksta šifravimo funkcijos.'; +$messages['connecterror'] = 'Nepavyko įrašyti naujojo slaptažodžio. Ryšio klaida.'; +$messages['internalerror'] = 'Nepavyko įrašyti naujojo slaptažodžio.'; +$messages['passwordshort'] = 'Slaptažodis turi būti sudarytas bent iš $length simbolių.'; +$messages['passwordweak'] = 'Slaptažodyje turi būti bent vienas skaitmuo ir vienas skyrybos ženklas.'; +$messages['passwordforbidden'] = 'Slaptažodyje rasta neleistinų simbolių.'; +$messages['firstloginchange'] = 'Tai yra pirmasis jūsų prisijungimas. Prašau, pasikeiskite savo slaptažodį.'; +?> diff --git a/plugins/password/localization/lv_LV.inc b/plugins/password/localization/lv_LV.inc new file mode 100644 index 000000000..9e0e0e740 --- /dev/null +++ b/plugins/password/localization/lv_LV.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Pašreizējā parole:'; +$labels['newpasswd'] = 'Jaunā parole:'; +$labels['confpasswd'] = 'Apstiprināt jauno paroli:'; +$messages['nopassword'] = 'Lūdzu ievadiet jauno paroli.'; +$messages['nocurpassword'] = 'Lūdzu ievadiet pašreizējo paroli.'; +$messages['passwordincorrect'] = 'Pašreizējā parole nav pareiza.'; +$messages['passwordinconsistency'] = 'Paroles nesakrīt. Lūdzu, ievadiet vēlreiz.'; +$messages['crypterror'] = 'Nevarēja saglabāt jauno paroli. Trūkst kriptēšanas funkcijas.'; +$messages['connecterror'] = 'Nevarēja saglabāt jauno paroli. Savienojuma kļūda.'; +$messages['internalerror'] = 'Nevarēja saglabāt jauno paroli.'; +$messages['passwordshort'] = 'Jaunajai parolei jābūt vismaz $length simbolu garai.'; +$messages['passwordweak'] = 'Jaunajai parolei jāsatur vismaz viens cipars un speciālais simbols.'; +$messages['passwordforbidden'] = 'Parole satur neatļautus simbolus.'; +?> diff --git a/plugins/password/localization/ml_IN.inc b/plugins/password/localization/ml_IN.inc new file mode 100644 index 000000000..6b8ac9e32 --- /dev/null +++ b/plugins/password/localization/ml_IN.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'രഹസ്യവാക്ക് മാറ്റുക'; +$labels['curpasswd'] = 'ഇപ്പോഴത്തെ രഹസ്യവാക്ക്'; +$labels['newpasswd'] = 'പുതിയ രഹസ്യവാക്ക്'; +$labels['confpasswd'] = 'പുതിയ രഹസ്യവാക്ക് സ്ഥിരീകരിക്കുക'; +$messages['nopassword'] = 'ദയവായി പുതിയ രഹസ്യവാക്ക് നൽകുക'; +$messages['nocurpassword'] = 'ദയവായി ഇപ്പോഴത്തെ രഹസ്യവാക്ക് നൽകുക'; +$messages['passwordincorrect'] = 'ഇപ്പോഴത്തെ രഹസ്യവാക്ക് തെറ്റാണ്.'; +$messages['passwordinconsistency'] = 'രഹസ്യവാക്കുകൾ ചേരുന്നില്ല, ദയവായി വീണ്ടും ശ്രമിക്കുക'; +$messages['crypterror'] = 'പുതിയ രഹസ്യവാക്ക് സൂക്ഷിക്കാൻ സാധിച്ചില്ല. എൻക്രിപ്ഷൻ ഫങ്ങ്ഷൻ ലഭ്യമല്ല.'; +$messages['connecterror'] = 'പുതിയ രഹസ്യവാക്ക് സൂക്ഷിക്കാൻ സാധിച്ചില്ല. ബന്ധം സ്ഥാപിക്കുന്നതിൽ പിഴവ്.'; +$messages['internalerror'] = 'പുതിയ രഹസ്യവാക്ക് സൂക്ഷിക്കാൻ സാധിച്ചില്ല.'; +$messages['passwordshort'] = 'രഹസ്യവാക്കിനു് കുറഞ്ഞത് $length അക്ഷരങ്ങൾ നീളം വേണം'; +$messages['passwordweak'] = 'രഹസ്യവാക്കിൽ കുറഞ്ഞത് ഒരു സംഖ്യയും, ഒരു പ്രത്യേക അക്ഷരവും വേണം'; +$messages['passwordforbidden'] = 'രഹസ്യവാക്കിൽ അനുവദനീയമല്ലാത്ത അക്ഷരങ്ങൾ ഉണ്ട്'; +$messages['firstloginchange'] = 'ഇത് താങ്കളുടെ ആദ്യത്തെ പ്രവേശനമാണ്. ദയവായി താങ്കളുടെ രഹസ്യവാക്ക് മാറ്റുക.'; +?> diff --git a/plugins/password/localization/nb_NO.inc b/plugins/password/localization/nb_NO.inc new file mode 100644 index 000000000..5d69740f0 --- /dev/null +++ b/plugins/password/localization/nb_NO.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Nåværende passord:'; +$labels['newpasswd'] = 'Nytt passord:'; +$labels['confpasswd'] = 'Bekreft nytt passord'; +$messages['nopassword'] = 'Vennligst skriv inn nytt passord'; +$messages['nocurpassword'] = 'Vennligst skriv inn nåværende passord'; +$messages['passwordincorrect'] = 'Nåværende passord er feil.'; +$messages['passwordinconsistency'] = 'Passordene er ikke like, vennligst prøv igjen.'; +$messages['crypterror'] = 'Kunne ikke lagre nytt passord. Krypteringsfunksjonen mangler.'; +$messages['connecterror'] = 'Kunne ikke lagre nytt passord. Tilkoblingsfeil.'; +$messages['internalerror'] = 'Kunne ikke lagre nytt passord'; +$messages['passwordshort'] = 'Passordet må minimum inneholde $length tegn.'; +$messages['passwordweak'] = 'Passordet må inneholde minst ett tall og ett tegnsettingssymbol.'; +$messages['passwordforbidden'] = 'Passordet inneholder forbudte tegn.'; +?> diff --git a/plugins/password/localization/nl_NL.inc b/plugins/password/localization/nl_NL.inc new file mode 100644 index 000000000..41ca116cc --- /dev/null +++ b/plugins/password/localization/nl_NL.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Wijzig wachtwoord'; +$labels['curpasswd'] = 'Huidig wachtwoord:'; +$labels['newpasswd'] = 'Nieuw wachtwoord:'; +$labels['confpasswd'] = 'Bevestig nieuw wachtwoord:'; +$messages['nopassword'] = 'Vul uw nieuwe wachtwoord in.'; +$messages['nocurpassword'] = 'Vul uw huidige wachtwoord in.'; +$messages['passwordincorrect'] = 'Huidig wachtwoord is onjuist.'; +$messages['passwordinconsistency'] = 'Wachtwoorden komen niet overeen, probeer het opnieuw.'; +$messages['crypterror'] = 'Nieuwe wachtwoord kan niet opgeslagen worden; de server mist een versleutelfunctie.'; +$messages['connecterror'] = 'Nieuwe wachtwoord kan niet opgeslagen worden; verbindingsfout.'; +$messages['internalerror'] = 'Uw nieuwe wachtwoord kan niet worden opgeslagen.'; +$messages['passwordshort'] = 'Het wachtwoord moet minimaal $length tekens lang zijn.'; +$messages['passwordweak'] = 'Het wachtwoord moet minimaal één cijfer en één leesteken bevatten.'; +$messages['passwordforbidden'] = 'Het wachtwoord bevat tekens die niet toegestaan zijn.'; +$messages['firstloginchange'] = 'Dit is uw eerste aanmelding. Verander uw wachtwoord alstublieft.'; +?> diff --git a/plugins/password/localization/nn_NO.inc b/plugins/password/localization/nn_NO.inc new file mode 100644 index 000000000..9a8fd78aa --- /dev/null +++ b/plugins/password/localization/nn_NO.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Noverande passord:'; +$labels['newpasswd'] = 'Nytt passord:'; +$labels['confpasswd'] = 'Bekreft nytt passord'; +$messages['nopassword'] = 'Venlegast skriv inn nytt passord.'; +$messages['nocurpassword'] = 'Venlegast skriv inn noverande passord.'; +$messages['passwordincorrect'] = 'Noverande passord er feil.'; +$messages['passwordinconsistency'] = 'Passorda er ikkje like, venlegast prøv igjen.'; +$messages['crypterror'] = 'Kunne ikkje lagre nytt passord. Krypteringsfunksjonen manglar.'; +$messages['connecterror'] = 'Kunne ikkje lagre nytt passord. Tilkoblingsfeil.'; +$messages['internalerror'] = 'Kunne ikkje lagre nytt passord.'; +$messages['passwordshort'] = 'Passordet må minimum innehalde $length teikn.'; +$messages['passwordweak'] = 'Passordet må innehalde minst eitt tal og eitt skilleteikn.'; +$messages['passwordforbidden'] = 'Passordet inneheld forbodne teikn.'; +?> diff --git a/plugins/password/localization/pl_PL.inc b/plugins/password/localization/pl_PL.inc new file mode 100644 index 000000000..00a7aa7e3 --- /dev/null +++ b/plugins/password/localization/pl_PL.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Zmiana hasła'; +$labels['curpasswd'] = 'Aktualne hasło:'; +$labels['newpasswd'] = 'Nowe hasło:'; +$labels['confpasswd'] = 'Potwierdź hasło:'; +$messages['nopassword'] = 'Wprowadź nowe hasło.'; +$messages['nocurpassword'] = 'Wprowadź aktualne hasło.'; +$messages['passwordincorrect'] = 'Błędne aktualne hasło, spróbuj ponownie.'; +$messages['passwordinconsistency'] = 'Hasła nie pasują, spróbuj ponownie.'; +$messages['crypterror'] = 'Nie udało się zapisać nowego hasła. Brak funkcji kodującej.'; +$messages['connecterror'] = 'Nie udało się zapisać nowego hasła. Błąd połączenia.'; +$messages['internalerror'] = 'Nie udało się zapisać nowego hasła.'; +$messages['passwordshort'] = 'Hasło musi posiadać co najmniej $length znaków.'; +$messages['passwordweak'] = 'Hasło musi zawierać co najmniej jedną cyfrę i znak interpunkcyjny.'; +$messages['passwordforbidden'] = 'Hasło zawiera niedozwolone znaki.'; +$messages['firstloginchange'] = 'To jest twoje pierwsze logowanie. Proszę zmień hasło.'; +?> diff --git a/plugins/password/localization/pt_BR.inc b/plugins/password/localization/pt_BR.inc new file mode 100644 index 000000000..1eeccb0b2 --- /dev/null +++ b/plugins/password/localization/pt_BR.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Alterar a senha'; +$labels['curpasswd'] = 'Senha atual:'; +$labels['newpasswd'] = 'Nova senha:'; +$labels['confpasswd'] = 'Confirmar nova senha:'; +$messages['nopassword'] = 'Por favor, informe a nova senha.'; +$messages['nocurpassword'] = 'Por favor, informe a senha atual.'; +$messages['passwordincorrect'] = 'Senha atual incorreta.'; +$messages['passwordinconsistency'] = 'Senhas não combinam, por favor tente novamente.'; +$messages['crypterror'] = 'Não foi possível gravar a nova senha. Função de criptografia ausente.'; +$messages['connecterror'] = 'Não foi possível gravar a nova senha. Erro de conexão.'; +$messages['internalerror'] = 'Não foi possível gravar a nova senha.'; +$messages['passwordshort'] = 'A senha precisa ter ao menos $length caracteres.'; +$messages['passwordweak'] = 'A senha precisa conter ao menos um número e um caractere de pontuação.'; +$messages['passwordforbidden'] = 'A senha contém caracteres proibidos.'; +$messages['firstloginchange'] = 'Este é o seu primeiro acesso. Por favor altere sua senha.'; +?> diff --git a/plugins/password/localization/pt_PT.inc b/plugins/password/localization/pt_PT.inc new file mode 100644 index 000000000..6317ede9c --- /dev/null +++ b/plugins/password/localization/pt_PT.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Alterar palavra-passe'; +$labels['curpasswd'] = 'Palavra-passe actual:'; +$labels['newpasswd'] = 'Nova palavra-passe:'; +$labels['confpasswd'] = 'Confirmar palavra-passe:'; +$messages['nopassword'] = 'Introduza a nova palavra-passe.'; +$messages['nocurpassword'] = 'Introduza a palavra-passe actual.'; +$messages['passwordincorrect'] = 'Palavra-passe actual incorrecta.'; +$messages['passwordinconsistency'] = 'As palavras-passe não combinam, tente novamente.'; +$messages['crypterror'] = 'Não foi possível gravar a nova palavra-passe. Função de criptografia inexistente.'; +$messages['connecterror'] = 'Não foi possível gravar a nova palavra-passe. Erro de ligação.'; +$messages['internalerror'] = 'Não foi possível gravar a nova palavra-passe.'; +$messages['passwordshort'] = 'A palavra-passe deve ter pelo menos $length caracteres'; +$messages['passwordweak'] = 'A palavra-passe deve incluir pelo menos um numero e um sinal de pontuação.'; +$messages['passwordforbidden'] = 'A palavra-passe contém caracteres não suportados.'; +$messages['firstloginchange'] = 'Este é o seu primeiro acesso. Por favor, altere a sua palavra-passe.'; +?> diff --git a/plugins/password/localization/ro_RO.inc b/plugins/password/localization/ro_RO.inc new file mode 100644 index 000000000..74fd80765 --- /dev/null +++ b/plugins/password/localization/ro_RO.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Schimbă parola'; +$labels['curpasswd'] = 'Parola curentă:'; +$labels['newpasswd'] = 'Parola nouă:'; +$labels['confpasswd'] = 'Confirmare parola nouă:'; +$messages['nopassword'] = 'Te rog să introduci noua parolă.'; +$messages['nocurpassword'] = 'Te rog să introduci parola curentă'; +$messages['passwordincorrect'] = 'Parola curentă este incorectă.'; +$messages['passwordinconsistency'] = 'Parolele nu se potrivesc, te rog să mai încerci'; +$messages['crypterror'] = 'Nu am reușit să salvez noua parolă. Funcția de criptare lipsește.'; +$messages['connecterror'] = 'Nu am reușit să salvez noua parolă. Eroare connexiune.'; +$messages['internalerror'] = 'Nu am reușit să salvez noua parolă.'; +$messages['passwordshort'] = 'Parola trebuie să aibă minim $length caractere.'; +$messages['passwordweak'] = 'Parola trebuie să conțina cel puțin un număr si un semn de punctuație.'; +$messages['passwordforbidden'] = 'Parola conține caractere nepermise.'; +$messages['firstloginchange'] = 'Aceasta este prima autentificare. Te rugăm să schimbi parola.'; +?> diff --git a/plugins/password/localization/ru_RU.inc b/plugins/password/localization/ru_RU.inc new file mode 100644 index 000000000..d7c03477a --- /dev/null +++ b/plugins/password/localization/ru_RU.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Изменить пароль'; +$labels['curpasswd'] = 'Текущий пароль:'; +$labels['newpasswd'] = 'Новый пароль:'; +$labels['confpasswd'] = 'Подтвердите новый пароль:'; +$messages['nopassword'] = 'Пожалуйста, введите новый пароль.'; +$messages['nocurpassword'] = 'Пожалуйста, введите текущий пароль.'; +$messages['passwordincorrect'] = 'Текущий пароль неверен.'; +$messages['passwordinconsistency'] = 'Пароли не совпадают, попробуйте ещё раз, пожалуйста.'; +$messages['crypterror'] = 'Не могу сохранить новый пароль. Отсутствует криптографическая функция.'; +$messages['connecterror'] = 'Не могу сохранить новый пароль. Ошибка соединения.'; +$messages['internalerror'] = 'Не могу сохранить новый пароль.'; +$messages['passwordshort'] = 'Длина пароля должна быть как минимум $length символов.'; +$messages['passwordweak'] = 'Пароль должен включать в себя как минимум одну цифру и один знак пунктуации.'; +$messages['passwordforbidden'] = 'Пароль содержит недопустимые символы.'; +$messages['firstloginchange'] = 'Вы выполнили вход впервые. Измените ваш пароль.'; +?> diff --git a/plugins/password/localization/sk_SK.inc b/plugins/password/localization/sk_SK.inc new file mode 100644 index 000000000..4cf8cb91f --- /dev/null +++ b/plugins/password/localization/sk_SK.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Zmeniť heslo'; +$labels['curpasswd'] = 'Aktuálne heslo:'; +$labels['newpasswd'] = 'Nové heslo:'; +$labels['confpasswd'] = 'Potvrďte nové heslo:'; +$messages['nopassword'] = 'Prosím zadajte nové heslo.'; +$messages['nocurpassword'] = 'Prosím zadajte aktuálne heslo.'; +$messages['passwordincorrect'] = 'Aktuálne heslo je nesprávne.'; +$messages['passwordinconsistency'] = 'Heslá nie sú rovnaké, skúste to znova.'; +$messages['crypterror'] = 'Nové heslo nemožno uložiť. Chýba šifrovacia funkcia.'; +$messages['connecterror'] = 'Nové heslo nemožno uložiť. Chyba spojenia.'; +$messages['internalerror'] = 'Nové heslo nemožno uložiť.'; +$messages['passwordshort'] = 'Heslo musí mať najmenej $length znakov.'; +$messages['passwordweak'] = 'Heslo musí obsahovať aspoň jedno číslo a jedno interpunkčné znamienko.'; +$messages['passwordforbidden'] = 'Heslo obsahuje nepovolené znaky.'; +$messages['firstloginchange'] = 'Prihlásili ste sa po prvýkrát. Prosím zmeňte si prístupové heslo.'; +?> diff --git a/plugins/password/localization/sl_SI.inc b/plugins/password/localization/sl_SI.inc new file mode 100644 index 000000000..ec9010c77 --- /dev/null +++ b/plugins/password/localization/sl_SI.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Obstoječe geslo:'; +$labels['newpasswd'] = 'Novo geslo:'; +$labels['confpasswd'] = 'Potrdi novo geslo:'; +$messages['nopassword'] = 'Vnesite novo geslo.'; +$messages['nocurpassword'] = 'Vnesite obstoječe geslo.'; +$messages['passwordincorrect'] = 'Obstoječe geslo ni veljavno.'; +$messages['passwordinconsistency'] = 'Gesli se ne ujemata, poskusite znova.'; +$messages['crypterror'] = 'Novega gesla ni bilo mogoče shraniti. Prišlo je do napake pri šifriranju.'; +$messages['connecterror'] = 'Novega gesla ni bilo mogoče shraniti. Prišlo je do napake v povezavi.'; +$messages['internalerror'] = 'Novega gesla ni bilo mogoče shraniti.'; +$messages['passwordshort'] = 'Geslo mora vsebovati vsaj $length znakov'; +$messages['passwordweak'] = 'Geslo mora vključevati vsaj eno številko in ločilo.'; +$messages['passwordforbidden'] = 'Geslo vsebuje neveljavne znake.'; +?> diff --git a/plugins/password/localization/sq_AL.inc b/plugins/password/localization/sq_AL.inc new file mode 100644 index 000000000..3b615b619 --- /dev/null +++ b/plugins/password/localization/sq_AL.inc @@ -0,0 +1,24 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Ndrysho fjalëkalimin'; +$labels['newpasswd'] = 'Fjalëkalimi i ri:'; +$labels['confpasswd'] = 'Konfirmo fjalëkalimin e ri:'; +$messages['nopassword'] = 'Ju lutem shkruani fjalëkalimin e ri.'; +$messages['nocurpassword'] = 'Ju lutem shkruani fjalëkalimin e tanishëm.'; +$messages['passwordincorrect'] = 'Fjalëkalimi i tanishëm nuk është i saktë.'; +?> diff --git a/plugins/password/localization/sr_CS.inc b/plugins/password/localization/sr_CS.inc new file mode 100644 index 000000000..77e2d1251 --- /dev/null +++ b/plugins/password/localization/sr_CS.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Тренутна лозинка:'; +$labels['newpasswd'] = 'Нова лозинка:'; +$labels['confpasswd'] = 'Поновите лозинку:'; +$messages['nopassword'] = 'Молимо унесите нову лозинку.'; +$messages['nocurpassword'] = 'Молимо унесите тренутну лозинку.'; +$messages['passwordincorrect'] = 'Тренутна лозинка је нетачна.'; +$messages['passwordinconsistency'] = 'Лозинке се не поклапају, молимо покушајте поново.'; +$messages['crypterror'] = 'Није могуће сачувати нову лозинку. Недостаје функција за кодирање.'; +$messages['connecterror'] = 'Није могуће сачувати нову лозинку. Грешка у Вези.'; +$messages['internalerror'] = 'Није могуће сачувати нову лозинку.'; +$messages['passwordshort'] = 'Лозинка мора имати најмање $lenght знакова.'; +$messages['passwordweak'] = 'Лозинка мора да садржи најмање један број и један интерпункцијски знак.'; +$messages['passwordforbidden'] = 'Лозинка садржи недозвољене знакове.'; +?> diff --git a/plugins/password/localization/sv_SE.inc b/plugins/password/localization/sv_SE.inc new file mode 100644 index 000000000..26ee37d06 --- /dev/null +++ b/plugins/password/localization/sv_SE.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Ändra lösenord'; +$labels['curpasswd'] = 'Nuvarande lösenord:'; +$labels['newpasswd'] = 'Nytt lösenord:'; +$labels['confpasswd'] = 'Bekräfta nytt lösenord:'; +$messages['nopassword'] = 'Ange nytt lösenord.'; +$messages['nocurpassword'] = 'Ange nuvarande lösenord.'; +$messages['passwordincorrect'] = 'Felaktigt nuvarande lösenord.'; +$messages['passwordinconsistency'] = 'Bekräftelsen av lösenordet stämmer inte, försök igen.'; +$messages['crypterror'] = 'Lösenordet kunde inte ändras. Krypteringsfunktionen saknas.'; +$messages['connecterror'] = 'Lösenordet kunde inte ändras. Anslutningen misslyckades.'; +$messages['internalerror'] = 'Lösenordet kunde inte ändras.'; +$messages['passwordshort'] = 'Lösenordet måste vara minst $length tecken långt.'; +$messages['passwordweak'] = 'Lösenordet måste innehålla minst en siffra och ett specialtecken.'; +$messages['passwordforbidden'] = 'Lösenordet innehåller otillåtna tecken.'; +$messages['firstloginchange'] = 'Du loggar in för första gången. Vänligen ändra ditt lösenord.'; +?> diff --git a/plugins/password/localization/ti.inc b/plugins/password/localization/ti.inc new file mode 100644 index 000000000..fd334a957 --- /dev/null +++ b/plugins/password/localization/ti.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'ህልው መሕለፊ ቃል:'; +$labels['newpasswd'] = 'ሓዱሽ መሕለፊ ቃል:'; +$labels['confpasswd'] = 'መረጋገፂ ሓዱሽ መሕለፊ ቃል :'; +$messages['nopassword'] = 'ሓዱሽ መሕለፊ ቃል አብዚ ይእቶ::'; +$messages['nocurpassword'] = 'ህልው መሕለፊ ቃል ኣብዚ ይእቶ::'; +$messages['passwordincorrect'] = 'ህልው መሕለፊ ቃል ከምኡ ኣይኮነን::'; +$messages['passwordinconsistency'] = 'መሕለፍቲ ቃላት ሓድ ኣይኮኑን ::ተውሳኺ ፈተነ የድሊ::'; +$messages['crypterror'] = 'መመስጥሪ ፋንክሽን ስለዝሳእነ እቲ መሕለፊ ቃል ኣይተቐመጠን::'; +$messages['connecterror'] = 'ናይ ርክብ ጸገም ስለዘሎ እቲ መሕለፊ ቃል ኣይተቐመጠን::'; +$messages['internalerror'] = 'እቲ መሕለፊ ቃል ኣይተቐመጠን::'; +$messages['passwordshort'] = 'ንውሓት መሕለፊ ቃል $length ፊዳላት ክኾን አለዎ::'; +$messages['passwordweak'] = 'መሕለፊ ቃል እንተውሓደ ሓደ ኣሃዝን ሓደ ስርዓተ ነጥብን ከጠቓልል አለዎ::'; +$messages['passwordforbidden'] = 'እቲ መሕለፊ ቃል ውጉዳት ፊዳላት አለውዎ::'; +?> diff --git a/plugins/password/localization/tr_TR.inc b/plugins/password/localization/tr_TR.inc new file mode 100644 index 000000000..f74eed924 --- /dev/null +++ b/plugins/password/localization/tr_TR.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = 'Parolayı değiştir'; +$labels['curpasswd'] = 'Şimdiki Parola:'; +$labels['newpasswd'] = 'Yeni Parola:'; +$labels['confpasswd'] = 'Yeni Parolayı Onaylayın:'; +$messages['nopassword'] = 'Yeni parolayı giriniz.'; +$messages['nocurpassword'] = 'Şimdiki parolayı giriniz.'; +$messages['passwordincorrect'] = 'Şimdiki parolayı yanlış girdiniz.'; +$messages['passwordinconsistency'] = 'Girdiğiniz parolalar uyuşmuyor.Tekrar deneyiniz.'; +$messages['crypterror'] = 'Yeni parola kaydedilemedi. Şifreleme fonksiyonu mevcut değil.'; +$messages['connecterror'] = 'Yeni parola kaydedilemedi. Bağlantı hatası!...'; +$messages['internalerror'] = 'Yeni parola kaydedilemedi.'; +$messages['passwordshort'] = 'Parola en az $length karakterden oluşmalı.'; +$messages['passwordweak'] = 'Parola en az bir sayı ve bir noktalama işareti içermeli.'; +$messages['passwordforbidden'] = 'Parola uygunsuz karakter(ler) içeriyor.'; +$messages['firstloginchange'] = 'Bu ilk girişiniz. Parolanızı değiştiriniz.'; +?> diff --git a/plugins/password/localization/uk_UA.inc b/plugins/password/localization/uk_UA.inc new file mode 100644 index 000000000..d9e96d15e --- /dev/null +++ b/plugins/password/localization/uk_UA.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Поточний пароль:'; +$labels['newpasswd'] = 'Новий пароль:'; +$labels['confpasswd'] = 'Підтвердіть новий пароль:'; +$messages['nopassword'] = 'Будь ласка, введіть новий пароль.'; +$messages['nocurpassword'] = 'Будь ласка, введіть поточний пароль.'; +$messages['passwordincorrect'] = 'Поточний пароль неправильний.'; +$messages['passwordinconsistency'] = 'Паролі не збігаються, спробуйте ще раз.'; +$messages['crypterror'] = 'Не вдалося зберегти новий пароль. Функція шифрування відсутня.'; +$messages['connecterror'] = 'Не вдалося зберегти новий пароль. Помилка з\'єднання.'; +$messages['internalerror'] = 'Не вдалося зберегти новий пароль.'; +$messages['passwordshort'] = 'Пароль повинен бути не менше $length символів.'; +$messages['passwordweak'] = 'Пароль повинен містити як мінімум одну цифру і один розділовий знак.'; +$messages['passwordforbidden'] = 'Пароль містить заборонені символи.'; +?> diff --git a/plugins/password/localization/vi_VN.inc b/plugins/password/localization/vi_VN.inc new file mode 100644 index 000000000..8dcf706d8 --- /dev/null +++ b/plugins/password/localization/vi_VN.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = 'Mật khẩu hiện tại'; +$labels['newpasswd'] = 'Mật khẩu mới:'; +$labels['confpasswd'] = 'Xác nhận mật khẩu mới'; +$messages['nopassword'] = 'Mời nhập mật khẩu mới'; +$messages['nocurpassword'] = 'Mời nhập mật khẩu hiện tại'; +$messages['passwordincorrect'] = 'Mật khẩu hiện thời không đúng'; +$messages['passwordinconsistency'] = 'Mật khẩu không khớp, hãy thử lại'; +$messages['crypterror'] = 'Không thể lưu mật khẩu mới. Thiếu chức năng mã hóa'; +$messages['connecterror'] = 'Không thể lưu mật mã mới. Lổi kết nối'; +$messages['internalerror'] = 'Không thể lưu mật khẩu mới'; +$messages['passwordshort'] = 'Mật khẩu phải dài ít nhất $ ký tự'; +$messages['passwordweak'] = 'Mật khẩu phải bao gồm ít nhất 1 con số và 1 ký tự dấu câu'; +$messages['passwordforbidden'] = 'Mật khẩu bao gồm ký tự không hợp lệ'; +?> diff --git a/plugins/password/localization/zh_CN.inc b/plugins/password/localization/zh_CN.inc new file mode 100644 index 000000000..681e5c7e2 --- /dev/null +++ b/plugins/password/localization/zh_CN.inc @@ -0,0 +1,31 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['curpasswd'] = '当前密码:'; +$labels['newpasswd'] = '新密码:'; +$labels['confpasswd'] = '确认新密码:'; +$messages['nopassword'] = '请输入新密码。'; +$messages['nocurpassword'] = '请输入当前的密码。'; +$messages['passwordincorrect'] = '当前密码不正确。'; +$messages['passwordinconsistency'] = '两次输入的密码不一致,请重试。'; +$messages['crypterror'] = '无法保存新密码,缺少加密功能。'; +$messages['connecterror'] = '无法保存新密码,连接出错。'; +$messages['internalerror'] = '无法保存新密码。'; +$messages['passwordshort'] = '密码至少为 $length 位。'; +$messages['passwordweak'] = '密码必须至少包含一个数字和一个标点符号。'; +$messages['passwordforbidden'] = '密码包含禁止使用的字符。'; +?> diff --git a/plugins/password/localization/zh_TW.inc b/plugins/password/localization/zh_TW.inc new file mode 100644 index 000000000..22d88f042 --- /dev/null +++ b/plugins/password/localization/zh_TW.inc @@ -0,0 +1,33 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/password/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Password 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-password/ +*/ +$labels['changepasswd'] = '更改密碼'; +$labels['curpasswd'] = '目前的密碼'; +$labels['newpasswd'] = '新密碼'; +$labels['confpasswd'] = '確認新密碼'; +$messages['nopassword'] = '請輸入新密碼'; +$messages['nocurpassword'] = '請輸入目前的密碼'; +$messages['passwordincorrect'] = '目前的密碼錯誤'; +$messages['passwordinconsistency'] = '密碼不相符,請重新輸入'; +$messages['crypterror'] = '無法更新密碼:無加密機制'; +$messages['connecterror'] = '無法更新密碼:連線失敗'; +$messages['internalerror'] = '無法更新密碼'; +$messages['passwordshort'] = '您的密碼至少需 $length 個字元長'; +$messages['passwordweak'] = '您的新密碼至少需含有一個數字與一個標點符號'; +$messages['passwordforbidden'] = '您的密碼含有禁用字元'; +$messages['firstloginchange'] = '這是你第一次登入。請更改你的密碼。'; +?> diff --git a/plugins/password/password.js b/plugins/password/password.js new file mode 100644 index 000000000..d0fd75a11 --- /dev/null +++ b/plugins/password/password.js @@ -0,0 +1,47 @@ +/** + * Password plugin script + * + * @licstart The following is the entire license notice for the + * JavaScript code in this file. + * + * Copyright (c) 2012-2014, The Roundcube Dev Team + * + * The JavaScript code in this page is free software: you can redistribute it + * and/or modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * @licend The above is the entire license notice + * for the JavaScript code in this file. + */ + +window.rcmail && rcmail.addEventListener('init', function(evt) { + // register command handler + rcmail.register_command('plugin.password-save', function() { + var input_curpasswd = rcube_find_object('_curpasswd'), + input_newpasswd = rcube_find_object('_newpasswd'), + input_confpasswd = rcube_find_object('_confpasswd'); + + if (input_curpasswd && input_curpasswd.value == '') { + alert(rcmail.gettext('nocurpassword', 'password')); + input_curpasswd.focus(); + } + else if (input_newpasswd && input_newpasswd.value == '') { + alert(rcmail.gettext('nopassword', 'password')); + input_newpasswd.focus(); + } + else if (input_confpasswd && input_confpasswd.value == '') { + alert(rcmail.gettext('nopassword', 'password')); + input_confpasswd.focus(); + } + else if (input_newpasswd && input_confpasswd && input_newpasswd.value != input_confpasswd.value) { + alert(rcmail.gettext('passwordinconsistency', 'password')); + input_newpasswd.focus(); + } + else { + rcmail.gui_objects.passform.submit(); + } + }, true); + + $('input:not(:hidden):first').focus(); +}); diff --git a/plugins/password/password.php b/plugins/password/password.php new file mode 100644 index 000000000..9239cd0b0 --- /dev/null +++ b/plugins/password/password.php @@ -0,0 +1,370 @@ +<?php + +/** + * Password Plugin for Roundcube + * + * @version @package_version@ + * @author Aleksander Machniak <alec@alec.pl> + * + * Copyright (C) 2005-2013, The Roundcube Dev Team + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/. + */ + +define('PASSWORD_CRYPT_ERROR', 1); +define('PASSWORD_ERROR', 2); +define('PASSWORD_CONNECT_ERROR', 3); +define('PASSWORD_SUCCESS', 0); + +/** + * Change password plugin + * + * Plugin that adds functionality to change a users password. + * It provides common functionality and user interface and supports + * several backends to finally update the password. + * + * For installation and configuration instructions please read the README file. + * + * @author Aleksander Machniak + */ +class password extends rcube_plugin +{ + public $task = 'settings|login'; + public $noframe = true; + public $noajax = true; + + private $newuser = false; + + function init() + { + $rcmail = rcmail::get_instance(); + + $this->load_config(); + + if ($rcmail->task == 'settings') { + if (!$this->check_host_login_exceptions()) { + return; + } + + $this->add_texts('localization/'); + + $this->add_hook('settings_actions', array($this, 'settings_actions')); + + $this->register_action('plugin.password', array($this, 'password_init')); + $this->register_action('plugin.password-save', array($this, 'password_save')); + + if (strpos($rcmail->action, 'plugin.password') === 0) { + $this->include_script('password.js'); + } + } + else if ($rcmail->config->get('password_force_new_user')) { + $this->add_hook('user_create', array($this, 'user_create')); + $this->add_hook('login_after', array($this, 'login_after')); + } + } + + function settings_actions($args) + { + // register as settings action + $args['actions'][] = array( + 'action' => 'plugin.password', + 'class' => 'password', + 'label' => 'password', + 'title' => 'changepasswd', + 'domain' => 'password', + ); + + return $args; + } + + function password_init() + { + $this->register_handler('plugin.body', array($this, 'password_form')); + + $rcmail = rcmail::get_instance(); + $rcmail->output->set_pagetitle($this->gettext('changepasswd')); + + if (rcube_utils::get_input_value('_first', rcube_utils::INPUT_GET)) { + $rcmail->output->command('display_message', $this->gettext('firstloginchange'), 'notice'); + } + + $rcmail->output->send('plugin'); + } + + function password_save() + { + $this->register_handler('plugin.body', array($this, 'password_form')); + + $rcmail = rcmail::get_instance(); + $rcmail->output->set_pagetitle($this->gettext('changepasswd')); + + $confirm = $rcmail->config->get('password_confirm_current'); + $required_length = intval($rcmail->config->get('password_minimum_length')); + $check_strength = $rcmail->config->get('password_require_nonalpha'); + + if (($confirm && !isset($_POST['_curpasswd'])) || !isset($_POST['_newpasswd'])) { + $rcmail->output->command('display_message', $this->gettext('nopassword'), 'error'); + } + else { + $charset = strtoupper($rcmail->config->get('password_charset', 'ISO-8859-1')); + $rc_charset = strtoupper($rcmail->output->get_charset()); + + $sespwd = $rcmail->decrypt($_SESSION['password']); + $curpwd = $confirm ? rcube_utils::get_input_value('_curpasswd', rcube_utils::INPUT_POST, true, $charset) : $sespwd; + $newpwd = rcube_utils::get_input_value('_newpasswd', rcube_utils::INPUT_POST, true); + $conpwd = rcube_utils::get_input_value('_confpasswd', rcube_utils::INPUT_POST, true); + + // check allowed characters according to the configured 'password_charset' option + // by converting the password entered by the user to this charset and back to UTF-8 + $orig_pwd = $newpwd; + $chk_pwd = rcube_charset::convert($orig_pwd, $rc_charset, $charset); + $chk_pwd = rcube_charset::convert($chk_pwd, $charset, $rc_charset); + + // WARNING: Default password_charset is ISO-8859-1, so conversion will + // change national characters. This may disable possibility of using + // the same password in other MUA's. + // We're doing this for consistence with Roundcube core + $newpwd = rcube_charset::convert($newpwd, $rc_charset, $charset); + $conpwd = rcube_charset::convert($conpwd, $rc_charset, $charset); + + if ($chk_pwd != $orig_pwd) { + $rcmail->output->command('display_message', $this->gettext('passwordforbidden'), 'error'); + } + // other passwords validity checks + else if ($conpwd != $newpwd) { + $rcmail->output->command('display_message', $this->gettext('passwordinconsistency'), 'error'); + } + else if ($confirm && $sespwd != $curpwd) { + $rcmail->output->command('display_message', $this->gettext('passwordincorrect'), 'error'); + } + else if ($required_length && strlen($newpwd) < $required_length) { + $rcmail->output->command('display_message', $this->gettext( + array('name' => 'passwordshort', 'vars' => array('length' => $required_length))), 'error'); + } + else if ($check_strength && (!preg_match("/[0-9]/", $newpwd) || !preg_match("/[^A-Za-z0-9]/", $newpwd))) { + $rcmail->output->command('display_message', $this->gettext('passwordweak'), 'error'); + } + // password is the same as the old one, do nothing, return success + else if ($sespwd == $newpwd && !$rcmail->config->get('password_force_save')) { + $rcmail->output->command('display_message', $this->gettext('successfullysaved'), 'confirmation'); + } + // try to save the password + else if (!($res = $this->_save($curpwd, $newpwd))) { + $rcmail->output->command('display_message', $this->gettext('successfullysaved'), 'confirmation'); + + // allow additional actions after password change (e.g. reset some backends) + $plugin = $rcmail->plugins->exec_hook('password_change', array( + 'old_pass' => $curpwd, 'new_pass' => $newpwd)); + + // Reset session password + $_SESSION['password'] = $rcmail->encrypt($plugin['new_pass']); + + // Log password change + if ($rcmail->config->get('password_log')) { + rcube::write_log('password', sprintf('Password changed for user %s (ID: %d) from %s', + $rcmail->get_user_name(), $rcmail->user->ID, rcube_utils::remote_ip())); + } + } + else { + $rcmail->output->command('display_message', $res, 'error'); + } + } + + $rcmail->overwrite_action('plugin.password'); + $rcmail->output->send('plugin'); + } + + function password_form() + { + $rcmail = rcmail::get_instance(); + + // add some labels to client + $rcmail->output->add_label( + 'password.nopassword', + 'password.nocurpassword', + 'password.passwordinconsistency' + ); + + $rcmail->output->set_env('product_name', $rcmail->config->get('product_name')); + + $table = new html_table(array('cols' => 2)); + + if ($rcmail->config->get('password_confirm_current')) { + // show current password selection + $field_id = 'curpasswd'; + $input_curpasswd = new html_passwordfield(array('name' => '_curpasswd', 'id' => $field_id, + 'size' => 20, 'autocomplete' => 'off')); + + $table->add('title', html::label($field_id, rcube::Q($this->gettext('curpasswd')))); + $table->add(null, $input_curpasswd->show()); + } + + // show new password selection + $field_id = 'newpasswd'; + $input_newpasswd = new html_passwordfield(array('name' => '_newpasswd', 'id' => $field_id, + 'size' => 20, 'autocomplete' => 'off')); + + $table->add('title', html::label($field_id, rcube::Q($this->gettext('newpasswd')))); + $table->add(null, $input_newpasswd->show()); + + // show confirm password selection + $field_id = 'confpasswd'; + $input_confpasswd = new html_passwordfield(array('name' => '_confpasswd', 'id' => $field_id, + 'size' => 20, 'autocomplete' => 'off')); + + $table->add('title', html::label($field_id, rcube::Q($this->gettext('confpasswd')))); + $table->add(null, $input_confpasswd->show()); + + $rules = ''; + + $required_length = intval($rcmail->config->get('password_minimum_length')); + if ($required_length > 0) { + $rules .= html::tag('li', array('id' => 'required-length'), $this->gettext(array( + 'name' => 'passwordshort', + 'vars' => array('length' => $required_length) + ))); + } + + if ($rcmail->config->get('password_require_nonalpha')) { + $rules .= html::tag('li', array('id' => 'require-nonalpha'), $this->gettext('passwordweak')); + } + + if (!empty($rules)) { + $rules = html::tag('ul', array('id' => 'ruleslist'), $rules); + } + + $out = html::div(array('class' => 'box'), + html::div(array('id' => 'prefs-title', 'class' => 'boxtitle'), $this->gettext('changepasswd')) . + html::div(array('class' => 'boxcontent'), $table->show() . + $rules . + html::p(null, + $rcmail->output->button(array( + 'command' => 'plugin.password-save', + 'type' => 'input', + 'class' => 'button mainaction', + 'label' => 'save' + ))))); + + $rcmail->output->add_gui_object('passform', 'password-form'); + + return $rcmail->output->form_tag(array( + 'id' => 'password-form', + 'name' => 'password-form', + 'method' => 'post', + 'action' => './?_task=settings&_action=plugin.password-save', + ), $out); + } + + private function _save($curpass, $passwd) + { + $config = rcmail::get_instance()->config; + $driver = $config->get('password_driver', 'sql'); + $class = "rcube_{$driver}_password"; + $file = $this->home . "/drivers/$driver.php"; + + if (!file_exists($file)) { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Unable to open driver file ($file)" + ), true, false); + return $this->gettext('internalerror'); + } + + include_once $file; + + if (!class_exists($class, false) || !method_exists($class, 'save')) { + rcube::raise_error(array( + 'code' => 600, + 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, + 'message' => "Password plugin: Broken driver $driver" + ), true, false); + return $this->gettext('internalerror'); + } + + $object = new $class; + $result = $object->save($curpass, $passwd); + + if (is_array($result)) { + $message = $result['message']; + $result = $result['code']; + } + + switch ($result) { + case PASSWORD_SUCCESS: + return; + case PASSWORD_CRYPT_ERROR: + $reason = $this->gettext('crypterror'); + break; + case PASSWORD_CONNECT_ERROR: + $reason = $this->gettext('connecterror'); + break; + case PASSWORD_ERROR: + default: + $reason = $this->gettext('internalerror'); + } + + if ($message) { + $reason .= ' ' . $message; + } + + return $reason; + } + + function user_create($args) + { + $this->newuser = true; + return $args; + } + + function login_after($args) + { + if ($this->newuser && $this->check_host_login_exceptions()) { + $args['_task'] = 'settings'; + $args['_action'] = 'plugin.password'; + $args['_first'] = 'true'; + } + + return $args; + } + + // Check if host and login is allowed to change the password, false = not allowed, true = not allowed + private function check_host_login_exceptions() + { + $rcmail = rcmail::get_instance(); + + // Host exceptions + $hosts = $rcmail->config->get('password_hosts'); + if (!empty($hosts) && !in_array($_SESSION['storage_host'], $hosts)) { + return false; + } + + // Login exceptions + if ($exceptions = $rcmail->config->get('password_login_exceptions')) { + $exceptions = array_map('trim', (array) $exceptions); + $exceptions = array_filter($exceptions); + $username = $_SESSION['username']; + + foreach ($exceptions as $ec) { + if ($username === $ec) { + return false; + } + } + } + + return true; + } +} diff --git a/plugins/password/tests/Password.php b/plugins/password/tests/Password.php new file mode 100644 index 000000000..b64c6b889 --- /dev/null +++ b/plugins/password/tests/Password.php @@ -0,0 +1,23 @@ +<?php + +class Password_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../password.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new password($rcube->api); + + $this->assertInstanceOf('password', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/redundant_attachments/composer.json b/plugins/redundant_attachments/composer.json new file mode 100644 index 000000000..56f3ab832 --- /dev/null +++ b/plugins/redundant_attachments/composer.json @@ -0,0 +1,30 @@ +{ + "name": "roundcube/redundant_attachments", + "type": "roundcube-plugin", + "description": "This plugin provides a redundant storage for temporary uploaded attachment files. They are stored in both the database backend as well as on the local file system. It provides also memcache store as a fallback.", + "license": "GPLv2", + "version": "1.0", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + }, + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3", + "roundcube/filesystem_attachments": ">=1.0.0" + } +} diff --git a/plugins/redundant_attachments/config.inc.php.dist b/plugins/redundant_attachments/config.inc.php.dist new file mode 100644 index 000000000..a6d1ad4dc --- /dev/null +++ b/plugins/redundant_attachments/config.inc.php.dist @@ -0,0 +1,13 @@ +<?php + +// By default this plugin stores attachments in filesystem +// and copies them into sql database. +// In environments with replicated database it is possible +// to use memcache as a fallback when write-master is unavailable. +$config['redundant_attachments_memcache'] = false; + +// Attachment data expires after specied TTL time in seconds (max.2592000). +// Default is 12 hours. +$config['redundant_attachments_cache_ttl'] = 12 * 60 * 60; + +?> diff --git a/plugins/redundant_attachments/redundant_attachments.php b/plugins/redundant_attachments/redundant_attachments.php new file mode 100644 index 000000000..91a027586 --- /dev/null +++ b/plugins/redundant_attachments/redundant_attachments.php @@ -0,0 +1,234 @@ +<?php +/** + * Redundant attachments + * + * This plugin provides a redundant storage for temporary uploaded + * attachment files. They are stored in both the database backend + * as well as on the local file system. + * + * It provides also memcache store as a fallback (see config file). + * + * This plugin relies on the core filesystem_attachments plugin + * and combines it with the functionality of the database_attachments plugin. + * + * @author Thomas Bruederli <roundcube@gmail.com> + * @author Aleksander Machniak <machniak@kolabsys.com> + * + * Copyright (C) 2011, The Roundcube Dev Team + * Copyright (C) 2011, Kolab Systems AG + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +require_once(RCUBE_PLUGINS_DIR . 'filesystem_attachments/filesystem_attachments.php'); + +class redundant_attachments extends filesystem_attachments +{ + // A prefix for the cache key used in the session and in the key field of the cache table + private $prefix = "ATTACH"; + + // rcube_cache instance for SQL DB + private $cache; + + // rcube_cache instance for memcache + private $mem_cache; + + private $loaded; + + /** + * Default constructor + */ + function init() + { + parent::init(); + } + + /** + * Loads plugin configuration and initializes cache object(s) + */ + private function _load_drivers() + { + if ($this->loaded) { + return; + } + + $rcmail = rcmail::get_instance(); + + // load configuration + $this->load_config(); + + $ttl = 12 * 60 * 60; // 12 hours + $ttl = $rcmail->config->get('redundant_attachments_cache_ttl', $ttl); + + // Init SQL cache (disable cache data serialization) + $this->cache = $rcmail->get_cache($this->prefix, 'db', $ttl, false); + + // Init memcache (fallback) cache + if ($rcmail->config->get('redundant_attachments_memcache')) { + $this->mem_cache = $rcmail->get_cache($this->prefix, 'memcache', $ttl, false); + } + + $this->loaded = true; + } + + /** + * Helper method to generate a unique key for the given attachment file + */ + private function _key($args) + { + $uname = $args['path'] ? $args['path'] : $args['name']; + return $args['group'] . md5(mktime() . $uname . $_SESSION['user_id']); + } + + /** + * Save a newly uploaded attachment + */ + function upload($args) + { + $args = parent::upload($args); + + $this->_load_drivers(); + + $key = $this->_key($args); + $data = base64_encode(file_get_contents($args['path'])); + + $status = $this->cache->write($key, $data); + + if (!$status && $this->mem_cache) { + $status = $this->mem_cache->write($key, $data); + } + + if ($status) { + $args['id'] = $key; + $args['status'] = true; + } + + return $args; + } + + /** + * Save an attachment from a non-upload source (draft or forward) + */ + function save($args) + { + $args = parent::save($args); + + $this->_load_drivers(); + + $data = $args['path'] ? file_get_contents($args['path']) : $args['data']; + + unset($args['data']); + + $key = $this->_key($args); + $data = base64_encode($data); + + $status = $this->cache->write($key, $data); + + if (!$status && $this->mem_cache) { + $status = $this->mem_cache->write($key, $data); + } + + if ($status) { + $args['id'] = $key; + $args['status'] = true; + } + + return $args; + } + + /** + * Remove an attachment from storage + * This is triggered by the remove attachment button on the compose screen + */ + function remove($args) + { + parent::remove($args); + + $this->_load_drivers(); + + $status = $this->cache->remove($args['id']); + + if (!$status && $this->mem_cache) { + $status = $this->cache->remove($args['id']); + } + + // we cannot trust the result of any of the methods above + // assume true, attachments will be removed on cleanup + $args['status'] = true; + + return $args; + } + + /** + * When composing an html message, image attachments may be shown + * For this plugin, $this->get() will check the file and + * return it's contents + */ + function display($args) + { + return $this->get($args); + } + + /** + * When displaying or sending the attachment the file contents are fetched + * using this method. This is also called by the attachment_display hook. + */ + function get($args) + { + // attempt to get file from local file system + $args = parent::get($args); + + if ($args['path'] && ($args['status'] = file_exists($args['path']))) + return $args; + + $this->_load_drivers(); + + // fetch from database if not found on FS + $data = $this->cache->read($args['id']); + + // fetch from memcache if not found on FS and DB + if (($data === false || $data === null) && $this->mem_cache) { + $data = $this->mem_cache->read($args['id']); + } + + if ($data) { + $args['data'] = base64_decode($data); + $args['status'] = true; + } + + return $args; + } + + /** + * Delete all temp files associated with this user + */ + function cleanup($args) + { + $this->_load_drivers(); + + if ($this->cache) { + $this->cache->remove($args['group'], true); + } + + if ($this->mem_cache) { + $this->mem_cache->remove($args['group'], true); + } + + parent::cleanup($args); + + $args['status'] = true; + + return $args; + } +} diff --git a/plugins/redundant_attachments/tests/RedundantAttachments.php b/plugins/redundant_attachments/tests/RedundantAttachments.php new file mode 100644 index 000000000..53f0c0138 --- /dev/null +++ b/plugins/redundant_attachments/tests/RedundantAttachments.php @@ -0,0 +1,23 @@ +<?php + +class RedundantAttachments_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../redundant_attachments.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new redundant_attachments($rcube->api); + + $this->assertInstanceOf('redundant_attachments', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/show_additional_headers/composer.json b/plugins/show_additional_headers/composer.json new file mode 100644 index 000000000..d1007547f --- /dev/null +++ b/plugins/show_additional_headers/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/show_additional_headers", + "type": "roundcube-plugin", + "description": "Proof-of-concept plugin which will fetch additional headers and display them in the message view.", + "license": "GPLv3+", + "version": "2.0", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/show_additional_headers/show_additional_headers.php b/plugins/show_additional_headers/show_additional_headers.php new file mode 100644 index 000000000..b7f01104c --- /dev/null +++ b/plugins/show_additional_headers/show_additional_headers.php @@ -0,0 +1,51 @@ +<?php + +/** + * Show additional message headers + * + * Proof-of-concept plugin which will fetch additional headers + * and display them in the message view. + * + * Enable the plugin in config.inc.php and add your desired headers: + * $config['show_additional_headers'] = array('User-Agent'); + * + * @version @package_version@ + * @author Thomas Bruederli + * @license GNU GPLv3+ + */ +class show_additional_headers extends rcube_plugin +{ + public $task = 'mail'; + + function init() + { + $rcmail = rcmail::get_instance(); + if ($rcmail->action == 'show' || $rcmail->action == 'preview') { + $this->add_hook('storage_init', array($this, 'storage_init')); + $this->add_hook('message_headers_output', array($this, 'message_headers')); + } else if ($rcmail->action == '') { + // with enabled_caching we're fetching additional headers before show/preview + $this->add_hook('storage_init', array($this, 'storage_init')); + } + } + + function storage_init($p) + { + $rcmail = rcmail::get_instance(); + if ($add_headers = (array)$rcmail->config->get('show_additional_headers', array())) + $p['fetch_headers'] = trim($p['fetch_headers'].' ' . strtoupper(join(' ', $add_headers))); + + return $p; + } + + function message_headers($p) + { + $rcmail = rcmail::get_instance(); + foreach ((array)$rcmail->config->get('show_additional_headers', array()) as $header) { + if ($value = $p['headers']->get($header)) + $p['output'][$header] = array('title' => $header, 'value' => $value); + } + + return $p; + } +} diff --git a/plugins/show_additional_headers/tests/ShowAdditionalHeaders.php b/plugins/show_additional_headers/tests/ShowAdditionalHeaders.php new file mode 100644 index 000000000..ab77351a4 --- /dev/null +++ b/plugins/show_additional_headers/tests/ShowAdditionalHeaders.php @@ -0,0 +1,23 @@ +<?php + +class ShowAdditionalHeaders_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../show_additional_headers.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new show_additional_headers($rcube->api); + + $this->assertInstanceOf('show_additional_headers', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/squirrelmail_usercopy/composer.json b/plugins/squirrelmail_usercopy/composer.json new file mode 100644 index 000000000..c60a499d2 --- /dev/null +++ b/plugins/squirrelmail_usercopy/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/squirrelmail_usercopy", + "type": "roundcube-plugin", + "description": "Copy a new users identity and settings from a nearby Squirrelmail installation", + "license": "GPLv3+", + "version": "1.4", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/squirrelmail_usercopy/config.inc.php.dist b/plugins/squirrelmail_usercopy/config.inc.php.dist new file mode 100644 index 000000000..03ec1cb86 --- /dev/null +++ b/plugins/squirrelmail_usercopy/config.inc.php.dist @@ -0,0 +1,25 @@ +<?php + +// Driver - 'file' or 'sql' +$config['squirrelmail_driver'] = 'sql'; + +// full path to the squirrelmail data directory +$config['squirrelmail_data_dir'] = ''; +$config['squirrelmail_data_dir_hash_level'] = 0; + +// 'mysql://dbuser:dbpass@localhost/database' +$config['squirrelmail_dsn'] = 'mysql://user:password@localhost/webmail'; +$config['squirrelmail_db_charset'] = 'iso-8859-1'; + +$config['squirrelmail_address_table'] = 'address'; +$config['squirrelmail_userprefs_table'] = 'userprefs'; + +// identities_level option value for squirrelmail plugin +// With this you can bypass/change identities_level checks +// for operations inside this plugin. See #1486773 +$config['squirrelmail_identities_level'] = null; + +// Set to false if you don't want the email address of the default identity +// (squirrelmail preference "email_address") to be saved as alias. +// Recommended: set to false if your squirrelmail config setting $edit_identity has been true. +$config['squirrelmail_set_alias'] = true;
\ No newline at end of file diff --git a/plugins/squirrelmail_usercopy/squirrelmail_usercopy.php b/plugins/squirrelmail_usercopy/squirrelmail_usercopy.php new file mode 100644 index 000000000..7f378678e --- /dev/null +++ b/plugins/squirrelmail_usercopy/squirrelmail_usercopy.php @@ -0,0 +1,191 @@ +<?php + +/** + * Copy a new users identity and settings from a nearby Squirrelmail installation + * + * @version 1.4 + * @author Thomas Bruederli, Johannes Hessellund, pommi, Thomas Lueder + */ +class squirrelmail_usercopy extends rcube_plugin +{ + public $task = 'login'; + + private $prefs = null; + private $identities_level = 0; + private $abook = array(); + + public function init() + { + $this->add_hook('user_create', array($this, 'create_user')); + $this->add_hook('identity_create', array($this, 'create_identity')); + } + + public function create_user($p) + { + $rcmail = rcmail::get_instance(); + + // Read plugin's config + $this->initialize(); + + // read prefs and add email address + $this->read_squirrel_prefs($p['user']); + if (($this->identities_level == 0 || $this->identities_level == 2) && $rcmail->config->get('squirrelmail_set_alias') && $this->prefs['email_address']) + $p['user_email'] = $this->prefs['email_address']; + return $p; + } + + public function create_identity($p) + { + $rcmail = rcmail::get_instance(); + + // prefs are set in create_user() + if ($this->prefs) { + if ($this->prefs['full_name']) + $p['record']['name'] = $this->prefs['full_name']; + if (($this->identities_level == 0 || $this->identities_level == 2) && $this->prefs['email_address']) + $p['record']['email'] = $this->prefs['email_address']; + if ($this->prefs['___signature___']) + $p['record']['signature'] = $this->prefs['___signature___']; + if ($this->prefs['reply_to']) + $p['record']['reply-to'] = $this->prefs['reply_to']; + if (($this->identities_level == 0 || $this->identities_level == 1) && isset($this->prefs['identities']) && $this->prefs['identities'] > 1) { + for ($i=1; $i < $this->prefs['identities']; $i++) { + unset($ident_data); + $ident_data = array('name' => '', 'email' => ''); // required data + if ($this->prefs['full_name'.$i]) + $ident_data['name'] = $this->prefs['full_name'.$i]; + if ($this->identities_level == 0 && $this->prefs['email_address'.$i]) + $ident_data['email'] = $this->prefs['email_address'.$i]; + else + $ident_data['email'] = $p['record']['email']; + if ($this->prefs['reply_to'.$i]) + $ident_data['reply-to'] = $this->prefs['reply_to'.$i]; + if ($this->prefs['___sig'.$i.'___']) + $ident_data['signature'] = $this->prefs['___sig'.$i.'___']; + // insert identity + $rcmail->user->insert_identity($ident_data); + } + } + + // copy address book + $contacts = $rcmail->get_address_book(null, true); + if ($contacts && count($this->abook)) { + foreach ($this->abook as $rec) { + // #1487096 handle multi-address and/or too long items + $rec['email'] = array_shift(explode(';', $rec['email'])); + if (rcube_utils::check_email(rcube_utils::idn_to_ascii($rec['email']))) { + $rec['email'] = rcube_utils::idn_to_utf8($rec['email']); + $contacts->insert($rec, true); + } + } + } + + // mark identity as complete for following hooks + $p['complete'] = true; + } + + return $p; + } + + private function initialize() + { + $rcmail = rcmail::get_instance(); + + // Load plugin's config file + $this->load_config(); + + // Set identities_level for operations of this plugin + $ilevel = $rcmail->config->get('squirrelmail_identities_level'); + if ($ilevel === null) + $ilevel = $rcmail->config->get('identities_level', 0); + + $this->identities_level = intval($ilevel); + } + + private function read_squirrel_prefs($uname) + { + $rcmail = rcmail::get_instance(); + + /**** File based backend ****/ + if ($rcmail->config->get('squirrelmail_driver') == 'file' && ($srcdir = $rcmail->config->get('squirrelmail_data_dir'))) { + if (($hash_level = $rcmail->config->get('squirrelmail_data_dir_hash_level')) > 0) + $srcdir = slashify($srcdir).chunk_split(substr(base_convert(crc32($uname), 10, 16), 0, $hash_level), 1, '/'); + $prefsfile = slashify($srcdir) . $uname . '.pref'; + $abookfile = slashify($srcdir) . $uname . '.abook'; + $sigfile = slashify($srcdir) . $uname . '.sig'; + $sigbase = slashify($srcdir) . $uname . '.si'; + + if (is_readable($prefsfile)) { + $this->prefs = array(); + foreach (file($prefsfile) as $line) { + list($key, $value) = explode('=', $line); + $this->prefs[$key] = utf8_encode(rtrim($value)); + } + + // also read signature file if exists + if (is_readable($sigfile)) { + $this->prefs['___signature___'] = utf8_encode(file_get_contents($sigfile)); + } + + if (isset($this->prefs['identities']) && $this->prefs['identities'] > 1) { + for ($i=1; $i < $this->prefs['identities']; $i++) { + // read signature file if exists + if (is_readable($sigbase.$i)) { + $this->prefs['___sig'.$i.'___'] = utf8_encode(file_get_contents($sigbase.$i)); + } + } + } + + // parse addres book file + if (filesize($abookfile)) { + foreach(file($abookfile) as $line) { + list($rec['name'], $rec['firstname'], $rec['surname'], $rec['email']) = explode('|', utf8_encode(rtrim($line))); + if ($rec['name'] && $rec['email']) + $this->abook[] = $rec; + } + } + } + } + /**** Database backend ****/ + else if ($rcmail->config->get('squirrelmail_driver') == 'sql') { + $this->prefs = array(); + + /* connect to squirrelmail database */ + $db = rcube_db::factory($rcmail->config->get('squirrelmail_dsn')); + + $db->set_debug($rcmail->config->get('sql_debug')); + $db->db_connect('r'); // connect in read mode + + /* retrieve prefs */ + $userprefs_table = $rcmail->config->get('squirrelmail_userprefs_table'); + $address_table = $rcmail->config->get('squirrelmail_address_table'); + $db_charset = $rcmail->config->get('squirrelmail_db_charset'); + + if ($db_charset) + $db->query('SET NAMES '.$db_charset); + + $sql_result = $db->query('SELECT * FROM ' . $db->quote_identifier($userprefs_table) + .' WHERE `user` = ?', $uname); // ? is replaced with emailaddress + + while ($sql_array = $db->fetch_assoc($sql_result) ) { // fetch one row from result + $this->prefs[$sql_array['prefkey']] = rcube_charset::convert(rtrim($sql_array['prefval']), $db_charset); + } + + /* retrieve address table data */ + $sql_result = $db->query('SELECT * FROM ' . $db->quote_identifier($address_table) + .' WHERE `owner` = ?', $uname); // ? is replaced with emailaddress + + // parse addres book + while ($sql_array = $db->fetch_assoc($sql_result) ) { // fetch one row from result + $rec['name'] = rcube_charset::convert(rtrim($sql_array['nickname']), $db_charset); + $rec['firstname'] = rcube_charset::convert(rtrim($sql_array['firstname']), $db_charset); + $rec['surname'] = rcube_charset::convert(rtrim($sql_array['lastname']), $db_charset); + $rec['email'] = rcube_charset::convert(rtrim($sql_array['email']), $db_charset); + $rec['notes'] = rcube_charset::convert(rtrim($sql_array['label']), $db_charset); + + if ($rec['name'] && $rec['email']) + $this->abook[] = $rec; + } + } // end if 'sql'-driver + } +} diff --git a/plugins/squirrelmail_usercopy/tests/SquirrelmailUsercopy.php b/plugins/squirrelmail_usercopy/tests/SquirrelmailUsercopy.php new file mode 100644 index 000000000..0e3a5c48a --- /dev/null +++ b/plugins/squirrelmail_usercopy/tests/SquirrelmailUsercopy.php @@ -0,0 +1,23 @@ +<?php + +class SquirrelmailUsercopy_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../squirrelmail_usercopy.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new squirrelmail_usercopy($rcube->api); + + $this->assertInstanceOf('squirrelmail_usercopy', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/subscriptions_option/composer.json b/plugins/subscriptions_option/composer.json new file mode 100644 index 000000000..57b95d2c8 --- /dev/null +++ b/plugins/subscriptions_option/composer.json @@ -0,0 +1,29 @@ +{ + "name": "roundcube/subscriptions_option", + "type": "roundcube-plugin", + "description": "A plugin which can enable or disable the use of imap subscriptions. It includes a toggle on the settings page under \"Server Settings\". The preference can also be locked.", + "license": "GPLv3+", + "version": "1.3", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + }, + { + "name": "Ziba Scott", + "email": "ziba@umich.edu", + "role": "Developer" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/subscriptions_option/localization/ar_SA.inc b/plugins/subscriptions_option/localization/ar_SA.inc new file mode 100644 index 000000000..b27a13d95 --- /dev/null +++ b/plugins/subscriptions_option/localization/ar_SA.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'استخدم اشتراكات IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/ast.inc b/plugins/subscriptions_option/localization/ast.inc new file mode 100644 index 000000000..47a8e142c --- /dev/null +++ b/plugins/subscriptions_option/localization/ast.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Usar soscripciones IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/az_AZ.inc b/plugins/subscriptions_option/localization/az_AZ.inc new file mode 100644 index 000000000..27ee6a54e --- /dev/null +++ b/plugins/subscriptions_option/localization/az_AZ.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'IMAP göndərişi istifadə et'; +?> diff --git a/plugins/subscriptions_option/localization/be_BE.inc b/plugins/subscriptions_option/localization/be_BE.inc new file mode 100644 index 000000000..470336838 --- /dev/null +++ b/plugins/subscriptions_option/localization/be_BE.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Выкарыстоўваць IMAP-падпіскі'; +?> diff --git a/plugins/subscriptions_option/localization/bg_BG.inc b/plugins/subscriptions_option/localization/bg_BG.inc new file mode 100644 index 000000000..fd025e7dc --- /dev/null +++ b/plugins/subscriptions_option/localization/bg_BG.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Използвай IMAP абонаменти'; +?> diff --git a/plugins/subscriptions_option/localization/br.inc b/plugins/subscriptions_option/localization/br.inc new file mode 100644 index 000000000..315402fc5 --- /dev/null +++ b/plugins/subscriptions_option/localization/br.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Arverañ koumanantoù IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/bs_BA.inc b/plugins/subscriptions_option/localization/bs_BA.inc new file mode 100644 index 000000000..6900cf568 --- /dev/null +++ b/plugins/subscriptions_option/localization/bs_BA.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Koristi IMAP pretplate'; +?> diff --git a/plugins/subscriptions_option/localization/ca_ES.inc b/plugins/subscriptions_option/localization/ca_ES.inc new file mode 100644 index 000000000..b2f4ddb50 --- /dev/null +++ b/plugins/subscriptions_option/localization/ca_ES.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Fes servir Subscripcions IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/cs_CZ.inc b/plugins/subscriptions_option/localization/cs_CZ.inc new file mode 100644 index 000000000..60dafa75c --- /dev/null +++ b/plugins/subscriptions_option/localization/cs_CZ.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Používat odebírání IMAP složek'; +?> diff --git a/plugins/subscriptions_option/localization/cy_GB.inc b/plugins/subscriptions_option/localization/cy_GB.inc new file mode 100644 index 000000000..229524f17 --- /dev/null +++ b/plugins/subscriptions_option/localization/cy_GB.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Defnyddio tanysgrifiadau IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/da_DK.inc b/plugins/subscriptions_option/localization/da_DK.inc new file mode 100644 index 000000000..06ed8f7a3 --- /dev/null +++ b/plugins/subscriptions_option/localization/da_DK.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Brug IMAP abonnementer'; +?> diff --git a/plugins/subscriptions_option/localization/de_CH.inc b/plugins/subscriptions_option/localization/de_CH.inc new file mode 100644 index 000000000..6253f87d2 --- /dev/null +++ b/plugins/subscriptions_option/localization/de_CH.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Nur abonnierte Ordner anzeigen'; +?> diff --git a/plugins/subscriptions_option/localization/de_DE.inc b/plugins/subscriptions_option/localization/de_DE.inc new file mode 100644 index 000000000..6253f87d2 --- /dev/null +++ b/plugins/subscriptions_option/localization/de_DE.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Nur abonnierte Ordner anzeigen'; +?> diff --git a/plugins/subscriptions_option/localization/el_GR.inc b/plugins/subscriptions_option/localization/el_GR.inc new file mode 100644 index 000000000..aae45c2a6 --- /dev/null +++ b/plugins/subscriptions_option/localization/el_GR.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Χρησιμοποιήστε IMAP Συνδρομές'; +?> diff --git a/plugins/subscriptions_option/localization/en_CA.inc b/plugins/subscriptions_option/localization/en_CA.inc new file mode 100644 index 000000000..4895fdd30 --- /dev/null +++ b/plugins/subscriptions_option/localization/en_CA.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Use IMAP Subscriptions'; +?> diff --git a/plugins/subscriptions_option/localization/en_GB.inc b/plugins/subscriptions_option/localization/en_GB.inc new file mode 100644 index 000000000..4895fdd30 --- /dev/null +++ b/plugins/subscriptions_option/localization/en_GB.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Use IMAP Subscriptions'; +?> diff --git a/plugins/subscriptions_option/localization/en_US.inc b/plugins/subscriptions_option/localization/en_US.inc new file mode 100644 index 000000000..3eb18fc1d --- /dev/null +++ b/plugins/subscriptions_option/localization/en_US.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ + +$labels = array(); +$labels['useimapsubscriptions'] = 'Use IMAP Subscriptions'; + +?> diff --git a/plugins/subscriptions_option/localization/eo.inc b/plugins/subscriptions_option/localization/eo.inc new file mode 100644 index 000000000..aefdac830 --- /dev/null +++ b/plugins/subscriptions_option/localization/eo.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Uzi IMAP-abonojn'; +?> diff --git a/plugins/subscriptions_option/localization/es_419.inc b/plugins/subscriptions_option/localization/es_419.inc new file mode 100644 index 000000000..ae8c72474 --- /dev/null +++ b/plugins/subscriptions_option/localization/es_419.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Usar subscripciones IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/es_AR.inc b/plugins/subscriptions_option/localization/es_AR.inc new file mode 100644 index 000000000..d062f1934 --- /dev/null +++ b/plugins/subscriptions_option/localization/es_AR.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Usar suscripción a carpetas IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/es_ES.inc b/plugins/subscriptions_option/localization/es_ES.inc new file mode 100644 index 000000000..48a20fe43 --- /dev/null +++ b/plugins/subscriptions_option/localization/es_ES.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Usar suscripciones IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/et_EE.inc b/plugins/subscriptions_option/localization/et_EE.inc new file mode 100644 index 000000000..2d7789dbc --- /dev/null +++ b/plugins/subscriptions_option/localization/et_EE.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Kasuta IMAP tellimusi'; +?> diff --git a/plugins/subscriptions_option/localization/eu_ES.inc b/plugins/subscriptions_option/localization/eu_ES.inc new file mode 100644 index 000000000..a6d349e11 --- /dev/null +++ b/plugins/subscriptions_option/localization/eu_ES.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Erabili IMAP harpidetzak'; +?> diff --git a/plugins/subscriptions_option/localization/fa_AF.inc b/plugins/subscriptions_option/localization/fa_AF.inc new file mode 100644 index 000000000..696fbdc0b --- /dev/null +++ b/plugins/subscriptions_option/localization/fa_AF.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'از ثبت نام های IMAP استفاده کنید'; +?> diff --git a/plugins/subscriptions_option/localization/fa_IR.inc b/plugins/subscriptions_option/localization/fa_IR.inc new file mode 100644 index 000000000..8909b2e6f --- /dev/null +++ b/plugins/subscriptions_option/localization/fa_IR.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'استفاده از عضویت IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/fi_FI.inc b/plugins/subscriptions_option/localization/fi_FI.inc new file mode 100644 index 000000000..7e8ee43e8 --- /dev/null +++ b/plugins/subscriptions_option/localization/fi_FI.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Käytä IMAP-tilauksia'; +?> diff --git a/plugins/subscriptions_option/localization/fo_FO.inc b/plugins/subscriptions_option/localization/fo_FO.inc new file mode 100644 index 000000000..7ee0c6851 --- /dev/null +++ b/plugins/subscriptions_option/localization/fo_FO.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Brúka IMAP tekningar'; +?> diff --git a/plugins/subscriptions_option/localization/fr_FR.inc b/plugins/subscriptions_option/localization/fr_FR.inc new file mode 100644 index 000000000..9b06d4614 --- /dev/null +++ b/plugins/subscriptions_option/localization/fr_FR.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Utiliser les abonnements IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/gl_ES.inc b/plugins/subscriptions_option/localization/gl_ES.inc new file mode 100644 index 000000000..3b22d8dbe --- /dev/null +++ b/plugins/subscriptions_option/localization/gl_ES.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Usar subscricións IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/he_IL.inc b/plugins/subscriptions_option/localization/he_IL.inc new file mode 100644 index 000000000..c44a1edb3 --- /dev/null +++ b/plugins/subscriptions_option/localization/he_IL.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'שימוש ברישום לתיקיות IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/hr_HR.inc b/plugins/subscriptions_option/localization/hr_HR.inc new file mode 100644 index 000000000..6900cf568 --- /dev/null +++ b/plugins/subscriptions_option/localization/hr_HR.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Koristi IMAP pretplate'; +?> diff --git a/plugins/subscriptions_option/localization/hu_HU.inc b/plugins/subscriptions_option/localization/hu_HU.inc new file mode 100644 index 000000000..1fee1bb91 --- /dev/null +++ b/plugins/subscriptions_option/localization/hu_HU.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'IMAP előfizetések használata.'; +?> diff --git a/plugins/subscriptions_option/localization/hy_AM.inc b/plugins/subscriptions_option/localization/hy_AM.inc new file mode 100644 index 000000000..844478884 --- /dev/null +++ b/plugins/subscriptions_option/localization/hy_AM.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Օգտագործել IMAP-ի բաժանորդագրությունները'; +?> diff --git a/plugins/subscriptions_option/localization/ia.inc b/plugins/subscriptions_option/localization/ia.inc new file mode 100644 index 000000000..9382a5078 --- /dev/null +++ b/plugins/subscriptions_option/localization/ia.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Usar subscriptiones IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/id_ID.inc b/plugins/subscriptions_option/localization/id_ID.inc new file mode 100644 index 000000000..4232379c2 --- /dev/null +++ b/plugins/subscriptions_option/localization/id_ID.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Gunakan Langganan IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/it_IT.inc b/plugins/subscriptions_option/localization/it_IT.inc new file mode 100644 index 000000000..37a9ab226 --- /dev/null +++ b/plugins/subscriptions_option/localization/it_IT.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Usa sottoscrizioni IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/ja_JP.inc b/plugins/subscriptions_option/localization/ja_JP.inc new file mode 100644 index 000000000..4de8a70c8 --- /dev/null +++ b/plugins/subscriptions_option/localization/ja_JP.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'IMAP 購読リストを使う'; +?> diff --git a/plugins/subscriptions_option/localization/km_KH.inc b/plugins/subscriptions_option/localization/km_KH.inc new file mode 100644 index 000000000..37e19252f --- /dev/null +++ b/plugins/subscriptions_option/localization/km_KH.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'ប្រើការជាង IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/ko_KR.inc b/plugins/subscriptions_option/localization/ko_KR.inc new file mode 100644 index 000000000..09f5634d3 --- /dev/null +++ b/plugins/subscriptions_option/localization/ko_KR.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'IMAP 구독 사용'; +?> diff --git a/plugins/subscriptions_option/localization/ku.inc b/plugins/subscriptions_option/localization/ku.inc new file mode 100644 index 000000000..99bf68f37 --- /dev/null +++ b/plugins/subscriptions_option/localization/ku.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Abonetiyên IMAPê bi kar bîne'; +?> diff --git a/plugins/subscriptions_option/localization/lb_LU.inc b/plugins/subscriptions_option/localization/lb_LU.inc new file mode 100644 index 000000000..8c1114e85 --- /dev/null +++ b/plugins/subscriptions_option/localization/lb_LU.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'IMAP-Abonnementer benotzen'; +?> diff --git a/plugins/subscriptions_option/localization/lt_LT.inc b/plugins/subscriptions_option/localization/lt_LT.inc new file mode 100644 index 000000000..1ff410fae --- /dev/null +++ b/plugins/subscriptions_option/localization/lt_LT.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Naudoti IMAP prenumeratas'; +?> diff --git a/plugins/subscriptions_option/localization/lv_LV.inc b/plugins/subscriptions_option/localization/lv_LV.inc new file mode 100644 index 000000000..1b22bd148 --- /dev/null +++ b/plugins/subscriptions_option/localization/lv_LV.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Izmantot IMAP abonēšanas iestatījumus'; +?> diff --git a/plugins/subscriptions_option/localization/ml_IN.inc b/plugins/subscriptions_option/localization/ml_IN.inc new file mode 100644 index 000000000..84f518a85 --- /dev/null +++ b/plugins/subscriptions_option/localization/ml_IN.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'IMAP വരിസംഖ്യകൾ ഉപയോഗിക്കുക'; +?> diff --git a/plugins/subscriptions_option/localization/nb_NO.inc b/plugins/subscriptions_option/localization/nb_NO.inc new file mode 100644 index 000000000..f27889b7f --- /dev/null +++ b/plugins/subscriptions_option/localization/nb_NO.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Bruk IMAP-abonnementer'; +?> diff --git a/plugins/subscriptions_option/localization/nl_NL.inc b/plugins/subscriptions_option/localization/nl_NL.inc new file mode 100644 index 000000000..00a589967 --- /dev/null +++ b/plugins/subscriptions_option/localization/nl_NL.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Gebruik IMAP-abonneringen'; +?> diff --git a/plugins/subscriptions_option/localization/nn_NO.inc b/plugins/subscriptions_option/localization/nn_NO.inc new file mode 100644 index 000000000..c679eac90 --- /dev/null +++ b/plugins/subscriptions_option/localization/nn_NO.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Bruk IMAP-abonnement'; +?> diff --git a/plugins/subscriptions_option/localization/pl_PL.inc b/plugins/subscriptions_option/localization/pl_PL.inc new file mode 100644 index 000000000..8aeed3347 --- /dev/null +++ b/plugins/subscriptions_option/localization/pl_PL.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Używaj subskrypcji IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/pt_BR.inc b/plugins/subscriptions_option/localization/pt_BR.inc new file mode 100644 index 000000000..d5d90a52e --- /dev/null +++ b/plugins/subscriptions_option/localization/pt_BR.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Usar função de inscrição em pastas IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/pt_PT.inc b/plugins/subscriptions_option/localization/pt_PT.inc new file mode 100644 index 000000000..8b46da7dc --- /dev/null +++ b/plugins/subscriptions_option/localization/pt_PT.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Use subscrições IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/ro_RO.inc b/plugins/subscriptions_option/localization/ro_RO.inc new file mode 100644 index 000000000..82053c1a3 --- /dev/null +++ b/plugins/subscriptions_option/localization/ro_RO.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Utilizare abonări IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/ru_RU.inc b/plugins/subscriptions_option/localization/ru_RU.inc new file mode 100644 index 000000000..5cecfd86c --- /dev/null +++ b/plugins/subscriptions_option/localization/ru_RU.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Использовать IMAP подписки'; +?> diff --git a/plugins/subscriptions_option/localization/sk_SK.inc b/plugins/subscriptions_option/localization/sk_SK.inc new file mode 100644 index 000000000..9f9634bdf --- /dev/null +++ b/plugins/subscriptions_option/localization/sk_SK.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Použiť prihlásenia IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/sl_SI.inc b/plugins/subscriptions_option/localization/sl_SI.inc new file mode 100644 index 000000000..ea53eb297 --- /dev/null +++ b/plugins/subscriptions_option/localization/sl_SI.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Uporabi IMAP-naročnino'; +?> diff --git a/plugins/subscriptions_option/localization/sr_CS.inc b/plugins/subscriptions_option/localization/sr_CS.inc new file mode 100644 index 000000000..3bce30b50 --- /dev/null +++ b/plugins/subscriptions_option/localization/sr_CS.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Користите ИМАП Уписивање'; +?> diff --git a/plugins/subscriptions_option/localization/sv_SE.inc b/plugins/subscriptions_option/localization/sv_SE.inc new file mode 100644 index 000000000..2d03fe48b --- /dev/null +++ b/plugins/subscriptions_option/localization/sv_SE.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Använd IMAP-prenumerationer'; +?> diff --git a/plugins/subscriptions_option/localization/tr_TR.inc b/plugins/subscriptions_option/localization/tr_TR.inc new file mode 100644 index 000000000..83bf38453 --- /dev/null +++ b/plugins/subscriptions_option/localization/tr_TR.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'IMAP Aboneliklerini kullan'; +?> diff --git a/plugins/subscriptions_option/localization/uk_UA.inc b/plugins/subscriptions_option/localization/uk_UA.inc new file mode 100644 index 000000000..8b3564008 --- /dev/null +++ b/plugins/subscriptions_option/localization/uk_UA.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Використовувати IMAP Підписки'; +?> diff --git a/plugins/subscriptions_option/localization/vi_VN.inc b/plugins/subscriptions_option/localization/vi_VN.inc new file mode 100644 index 000000000..c48a0f771 --- /dev/null +++ b/plugins/subscriptions_option/localization/vi_VN.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = 'Đăng ký dùng cách thức IMAP'; +?> diff --git a/plugins/subscriptions_option/localization/zh_CN.inc b/plugins/subscriptions_option/localization/zh_CN.inc new file mode 100644 index 000000000..efa85b841 --- /dev/null +++ b/plugins/subscriptions_option/localization/zh_CN.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = '使用 IMAP 订阅'; +?> diff --git a/plugins/subscriptions_option/localization/zh_TW.inc b/plugins/subscriptions_option/localization/zh_TW.inc new file mode 100644 index 000000000..fe8524a51 --- /dev/null +++ b/plugins/subscriptions_option/localization/zh_TW.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/subscriptions_option/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Subscriptions 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-subscriptions_option/ +*/ +$labels['useimapsubscriptions'] = '使用IMAP訂閱'; +?> diff --git a/plugins/subscriptions_option/subscriptions_option.php b/plugins/subscriptions_option/subscriptions_option.php new file mode 100644 index 000000000..5b926f2af --- /dev/null +++ b/plugins/subscriptions_option/subscriptions_option.php @@ -0,0 +1,95 @@ +<?php + +/** + * Subscription Options + * + * A plugin which can enable or disable the use of imap subscriptions. + * It includes a toggle on the settings page under "Server Settings". + * The preference can also be locked + * + * Add it to the plugins list in config.inc.php to enable the user option + * The user option can be hidden and set globally by adding 'use_subscriptions' + * to the 'dont_override' configure line: + * $config['dont_override'] = array('use_subscriptions'); + * and then set the global preference + * $config['use_subscriptions'] = true; // or false + * + * Roundcube caches folder lists. When a user changes this option or visits + * their folder list, this cache is refreshed. If the option is on the + * 'dont_override' list and the global option has changed, don't expect + * to see the change until the folder list cache is refreshed. + * + * @version @package_version@ + * @author Ziba Scott + * @license GNU GPLv3+ + */ +class subscriptions_option extends rcube_plugin +{ + public $task = 'mail|settings'; + + function init() + { + $this->add_texts('localization/', false); + $dont_override = rcmail::get_instance()->config->get('dont_override', array()); + if (!in_array('use_subscriptions', $dont_override)) { + $this->add_hook('preferences_list', array($this, 'settings_blocks')); + $this->add_hook('preferences_save', array($this, 'save_prefs')); + } + $this->add_hook('storage_folders', array($this, 'mailboxes_list')); + $this->add_hook('folders_list', array($this, 'folders_list')); + } + + function settings_blocks($args) + { + if ($args['section'] == 'server') { + $use_subscriptions = rcmail::get_instance()->config->get('use_subscriptions'); + $field_id = 'rcmfd_use_subscriptions'; + $checkbox = new html_checkbox(array('name' => '_use_subscriptions', 'id' => $field_id, 'value' => 1)); + + $args['blocks']['main']['options']['use_subscriptions'] = array( + 'title' => html::label($field_id, rcube::Q($this->gettext('useimapsubscriptions'))), + 'content' => $checkbox->show($use_subscriptions?1:0), + ); + } + + return $args; + } + + function save_prefs($args) + { + if ($args['section'] == 'server') { + $rcmail = rcmail::get_instance(); + $use_subscriptions = $rcmail->config->get('use_subscriptions'); + + $args['prefs']['use_subscriptions'] = isset($_POST['_use_subscriptions']) ? true : false; + + // if the use_subscriptions preference changes, flush the folder cache + if (($use_subscriptions && !isset($_POST['_use_subscriptions'])) || + (!$use_subscriptions && isset($_POST['_use_subscriptions']))) { + $storage = $rcmail->get_storage(); + $storage->clear_cache('mailboxes'); + } + } + return $args; + } + + function mailboxes_list($args) + { + $rcmail = rcmail::get_instance(); + if (!$rcmail->config->get('use_subscriptions', true)) { + $args['folders'] = $rcmail->get_storage()->list_folders_direct(); + } + return $args; + } + + function folders_list($args) + { + $rcmail = rcmail::get_instance(); + if (!$rcmail->config->get('use_subscriptions', true)) { + foreach ($args['list'] as $idx => $data) { + $args['list'][$idx]['content'] = preg_replace('/<input [^>]+>/', '', $data['content']); + } + } + return $args; + } +} diff --git a/plugins/subscriptions_option/tests/SubscriptionsOption.php b/plugins/subscriptions_option/tests/SubscriptionsOption.php new file mode 100644 index 000000000..10168315e --- /dev/null +++ b/plugins/subscriptions_option/tests/SubscriptionsOption.php @@ -0,0 +1,23 @@ +<?php + +class SubscriptionsOption_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../subscriptions_option.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new subscriptions_option($rcube->api); + + $this->assertInstanceOf('subscriptions_option', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/userinfo/composer.json b/plugins/userinfo/composer.json new file mode 100644 index 000000000..af5f6d7fa --- /dev/null +++ b/plugins/userinfo/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/userinfo", + "type": "roundcube-plugin", + "description": "Sample plugin that adds a new tab to the settings section to display some information about the current user.", + "license": "GPLv3+", + "version": "1.0", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/userinfo/localization/ar.inc b/plugins/userinfo/localization/ar.inc new file mode 100644 index 000000000..92d5194ee --- /dev/null +++ b/plugins/userinfo/localization/ar.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'معلومات المستخدم'; +$labels['lastlogin'] = 'أخر تسجيل دخول'; +$labels['defaultidentity'] = 'الهوية الافتراضية'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ar_SA.inc b/plugins/userinfo/localization/ar_SA.inc new file mode 100644 index 000000000..fbb44c5fa --- /dev/null +++ b/plugins/userinfo/localization/ar_SA.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'معلومات المستخدم'; +$labels['created'] = 'أُنشئ في'; +$labels['lastlogin'] = 'آخر دخول'; +$labels['defaultidentity'] = 'الهوية الافتراضية'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ast.inc b/plugins/userinfo/localization/ast.inc new file mode 100644 index 000000000..e70d0a6d7 --- /dev/null +++ b/plugins/userinfo/localization/ast.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Información d\'usuariu'; +$labels['created'] = 'Creáu'; +$labels['lastlogin'] = 'Aniciu de sesión caberu'; +$labels['defaultidentity'] = 'Identidá por defeutu'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/az_AZ.inc b/plugins/userinfo/localization/az_AZ.inc new file mode 100644 index 000000000..f262ea305 --- /dev/null +++ b/plugins/userinfo/localization/az_AZ.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Məlumat'; +$labels['created'] = 'Yaradılma tarixi'; +$labels['lastlogin'] = 'Sonuncu giriş'; +$labels['defaultidentity'] = 'Default profil'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/be_BE.inc b/plugins/userinfo/localization/be_BE.inc new file mode 100644 index 000000000..724e8169d --- /dev/null +++ b/plugins/userinfo/localization/be_BE.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Асабістыя звесткі'; +$labels['created'] = 'Створаны'; +$labels['lastlogin'] = 'Апошні ўваход'; +$labels['defaultidentity'] = 'Стандартная тоеснасць'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/bg_BG.inc b/plugins/userinfo/localization/bg_BG.inc new file mode 100644 index 000000000..078c89e4a --- /dev/null +++ b/plugins/userinfo/localization/bg_BG.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Потребителска информация'; +$labels['created'] = 'Създаден'; +$labels['lastlogin'] = 'Последен вход'; +$labels['defaultidentity'] = 'Самоличност по подразбиране'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/br.inc b/plugins/userinfo/localization/br.inc new file mode 100644 index 000000000..b3de88227 --- /dev/null +++ b/plugins/userinfo/localization/br.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Titouroù an arveriad'; +$labels['created'] = 'Krouet'; +$labels['lastlogin'] = 'Kennask diwezhañ'; +$labels['defaultidentity'] = 'Identelezh dre ziouer'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/bs_BA.inc b/plugins/userinfo/localization/bs_BA.inc new file mode 100644 index 000000000..9dd0d258a --- /dev/null +++ b/plugins/userinfo/localization/bs_BA.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Korisničke informacije'; +$labels['created'] = 'Kreirano'; +$labels['lastlogin'] = 'Zadnja prijava'; +$labels['defaultidentity'] = 'Glavni identitet'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ca_ES.inc b/plugins/userinfo/localization/ca_ES.inc new file mode 100644 index 000000000..155ae6bdb --- /dev/null +++ b/plugins/userinfo/localization/ca_ES.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informació de l\'usuari'; +$labels['created'] = 'Creat'; +$labels['lastlogin'] = 'Última connexió'; +$labels['defaultidentity'] = 'Identitat per defecte'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/cs_CZ.inc b/plugins/userinfo/localization/cs_CZ.inc new file mode 100644 index 000000000..761926ce8 --- /dev/null +++ b/plugins/userinfo/localization/cs_CZ.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Uživatel'; +$labels['created'] = 'Vytvořen'; +$labels['lastlogin'] = 'Naspoledy přihlášen'; +$labels['defaultidentity'] = 'Výchozí identita'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/cy_GB.inc b/plugins/userinfo/localization/cy_GB.inc new file mode 100644 index 000000000..3ce86a65d --- /dev/null +++ b/plugins/userinfo/localization/cy_GB.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Gwybodaeth defnyddiwr'; +$labels['created'] = 'Crëwyd'; +$labels['lastlogin'] = 'Mewngofnodiad diwethaf'; +$labels['defaultidentity'] = 'Personoliaeth arferol'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/da_DK.inc b/plugins/userinfo/localization/da_DK.inc new file mode 100644 index 000000000..be72a5b26 --- /dev/null +++ b/plugins/userinfo/localization/da_DK.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Brugerinfo'; +$labels['created'] = 'Oprettet'; +$labels['lastlogin'] = 'Sidste login'; +$labels['defaultidentity'] = 'Standardidentitet'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/de_CH.inc b/plugins/userinfo/localization/de_CH.inc new file mode 100644 index 000000000..695129a38 --- /dev/null +++ b/plugins/userinfo/localization/de_CH.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Benutzerinfo'; +$labels['created'] = 'Erstellt'; +$labels['lastlogin'] = 'Letztes Login'; +$labels['defaultidentity'] = 'Standard-Absender'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/de_DE.inc b/plugins/userinfo/localization/de_DE.inc new file mode 100644 index 000000000..8a1ab37a3 --- /dev/null +++ b/plugins/userinfo/localization/de_DE.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Benutzer-Information'; +$labels['created'] = 'angelegt'; +$labels['lastlogin'] = 'letzte Anmeldung'; +$labels['defaultidentity'] = 'Standard-Identität'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/el_GR.inc b/plugins/userinfo/localization/el_GR.inc new file mode 100644 index 000000000..61fa25aa3 --- /dev/null +++ b/plugins/userinfo/localization/el_GR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Πληροφορίες χρήστη '; +$labels['created'] = 'Δημιουργηθηκε'; +$labels['lastlogin'] = 'Τελευταια συνδεση'; +$labels['defaultidentity'] = 'Προκαθορισμένη ταυτότητα'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/en_CA.inc b/plugins/userinfo/localization/en_CA.inc new file mode 100644 index 000000000..d2951a984 --- /dev/null +++ b/plugins/userinfo/localization/en_CA.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'User info'; +$labels['created'] = 'Created'; +$labels['lastlogin'] = 'Last Login'; +$labels['defaultidentity'] = 'Default Identity'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/en_GB.inc b/plugins/userinfo/localization/en_GB.inc new file mode 100644 index 000000000..d2951a984 --- /dev/null +++ b/plugins/userinfo/localization/en_GB.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'User info'; +$labels['created'] = 'Created'; +$labels['lastlogin'] = 'Last Login'; +$labels['defaultidentity'] = 'Default Identity'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/en_US.inc b/plugins/userinfo/localization/en_US.inc new file mode 100644 index 000000000..01230de85 --- /dev/null +++ b/plugins/userinfo/localization/en_US.inc @@ -0,0 +1,25 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ + +$labels = array(); +$labels['userinfo'] = 'User info'; +$labels['created'] = 'Created'; +$labels['lastlogin'] = 'Last Login'; +$labels['defaultidentity'] = 'Default Identity'; + +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/eo.inc b/plugins/userinfo/localization/eo.inc new file mode 100644 index 000000000..c7768552a --- /dev/null +++ b/plugins/userinfo/localization/eo.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informoj pri uzanto'; +$labels['created'] = 'Kreita'; +$labels['lastlogin'] = 'Lasta ensaluto'; +$labels['defaultidentity'] = 'Apriora idento'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/es_419.inc b/plugins/userinfo/localization/es_419.inc new file mode 100644 index 000000000..e3274539d --- /dev/null +++ b/plugins/userinfo/localization/es_419.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Información de usuario'; +$labels['created'] = 'Creado'; +$labels['lastlogin'] = 'Último login'; +$labels['defaultidentity'] = 'Identidad predetermidada'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/es_AR.inc b/plugins/userinfo/localization/es_AR.inc new file mode 100644 index 000000000..fefbecef1 --- /dev/null +++ b/plugins/userinfo/localization/es_AR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Información de usuario'; +$labels['created'] = 'Creado'; +$labels['lastlogin'] = 'Ultimo ingreso'; +$labels['defaultidentity'] = 'Identidad por defecto'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/es_ES.inc b/plugins/userinfo/localization/es_ES.inc new file mode 100644 index 000000000..25e890058 --- /dev/null +++ b/plugins/userinfo/localization/es_ES.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Información de usuario'; +$labels['created'] = 'Creado'; +$labels['lastlogin'] = 'Último Ingreso'; +$labels['defaultidentity'] = 'Identidad predeterminada'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/et_EE.inc b/plugins/userinfo/localization/et_EE.inc new file mode 100644 index 000000000..64f53b2fa --- /dev/null +++ b/plugins/userinfo/localization/et_EE.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Kasutaja info'; +$labels['created'] = 'Loodud'; +$labels['lastlogin'] = 'Viimane logimine'; +$labels['defaultidentity'] = 'Vaikeidentiteet'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/eu_ES.inc b/plugins/userinfo/localization/eu_ES.inc new file mode 100644 index 000000000..38cce04bd --- /dev/null +++ b/plugins/userinfo/localization/eu_ES.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Erabiltzailearen informazioa'; +$labels['created'] = 'Sortua'; +$labels['lastlogin'] = 'Azken saioa'; +$labels['defaultidentity'] = 'Lehenetsitako identitatea'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/fa_AF.inc b/plugins/userinfo/localization/fa_AF.inc new file mode 100644 index 000000000..8308a7f3c --- /dev/null +++ b/plugins/userinfo/localization/fa_AF.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'اطلاعات کاربر'; +$labels['created'] = 'ایجاد شد'; +$labels['lastlogin'] = 'آخرین ورود'; +$labels['defaultidentity'] = 'هویت پیش فرض'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/fa_IR.inc b/plugins/userinfo/localization/fa_IR.inc new file mode 100644 index 000000000..3f2c3952f --- /dev/null +++ b/plugins/userinfo/localization/fa_IR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'اطلاعات کاربر'; +$labels['created'] = 'ایجاد شده'; +$labels['lastlogin'] = 'آخرین ورود'; +$labels['defaultidentity'] = 'شناسه پیشفرض'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/fi_FI.inc b/plugins/userinfo/localization/fi_FI.inc new file mode 100644 index 000000000..a06855794 --- /dev/null +++ b/plugins/userinfo/localization/fi_FI.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Käyttäjätiedot'; +$labels['created'] = 'Luotu'; +$labels['lastlogin'] = 'Viimeisin kirjautuminen'; +$labels['defaultidentity'] = 'Oletushenkilöys'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/fo_FO.inc b/plugins/userinfo/localization/fo_FO.inc new file mode 100644 index 000000000..865429221 --- /dev/null +++ b/plugins/userinfo/localization/fo_FO.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Brúkara upplýsing'; +$labels['created'] = 'Stovnaður'; +$labels['lastlogin'] = 'Seinast innritaður'; +$labels['defaultidentity'] = 'Sjálvsett samleiki'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/fr_FR.inc b/plugins/userinfo/localization/fr_FR.inc new file mode 100644 index 000000000..bcb314a3e --- /dev/null +++ b/plugins/userinfo/localization/fr_FR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Infos utilisateur'; +$labels['created'] = 'Créé'; +$labels['lastlogin'] = 'Dernière connexion'; +$labels['defaultidentity'] = 'Identité par défaut'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/fy_NL.inc b/plugins/userinfo/localization/fy_NL.inc new file mode 100644 index 000000000..0ca51c51a --- /dev/null +++ b/plugins/userinfo/localization/fy_NL.inc @@ -0,0 +1,19 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Brûkersynformaasje'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/gl_ES.inc b/plugins/userinfo/localization/gl_ES.inc new file mode 100644 index 000000000..8dbbfd699 --- /dev/null +++ b/plugins/userinfo/localization/gl_ES.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Información de persoa usuaria'; +$labels['created'] = 'Creado'; +$labels['lastlogin'] = 'Última conexión'; +$labels['defaultidentity'] = 'Identidade predeterminada'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/he_IL.inc b/plugins/userinfo/localization/he_IL.inc new file mode 100644 index 000000000..6e7c3a931 --- /dev/null +++ b/plugins/userinfo/localization/he_IL.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'פרטי המשתמש'; +$labels['created'] = 'נוצר'; +$labels['lastlogin'] = 'הכמיסה האחרונה למערכת'; +$labels['defaultidentity'] = 'זהות ברירת מחדל'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/hr_HR.inc b/plugins/userinfo/localization/hr_HR.inc new file mode 100644 index 000000000..669d85ce0 --- /dev/null +++ b/plugins/userinfo/localization/hr_HR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informacije o korisniku'; +$labels['created'] = 'Stvoreno'; +$labels['lastlogin'] = 'Zadnja prijava (login)'; +$labels['defaultidentity'] = 'Preddefinirani identitet'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/hu_HU.inc b/plugins/userinfo/localization/hu_HU.inc new file mode 100644 index 000000000..0b3334487 --- /dev/null +++ b/plugins/userinfo/localization/hu_HU.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Felhasználói információ'; +$labels['created'] = 'Létrehozva'; +$labels['lastlogin'] = 'Utolsó bejelentkezés'; +$labels['defaultidentity'] = 'Alapértelmezett azonosító'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/hy_AM.inc b/plugins/userinfo/localization/hy_AM.inc new file mode 100644 index 000000000..42add9df9 --- /dev/null +++ b/plugins/userinfo/localization/hy_AM.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Օգտվողի տվյալներ'; +$labels['created'] = 'Ստեղծված'; +$labels['lastlogin'] = 'Վերջին մուտքը`'; +$labels['defaultidentity'] = 'Լռելյալ ինքնությունն'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ia.inc b/plugins/userinfo/localization/ia.inc new file mode 100644 index 000000000..89dff2b18 --- /dev/null +++ b/plugins/userinfo/localization/ia.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Information de usator'; +$labels['created'] = 'Create'; +$labels['lastlogin'] = 'Ultime session'; +$labels['defaultidentity'] = 'Identitate predefinite'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/id_ID.inc b/plugins/userinfo/localization/id_ID.inc new file mode 100644 index 000000000..aa3bb661a --- /dev/null +++ b/plugins/userinfo/localization/id_ID.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informasi pengguna'; +$labels['created'] = 'Telah dibuat'; +$labels['lastlogin'] = 'Masuk Terakhir'; +$labels['defaultidentity'] = 'Identitas Standar'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/it_IT.inc b/plugins/userinfo/localization/it_IT.inc new file mode 100644 index 000000000..76e0e156a --- /dev/null +++ b/plugins/userinfo/localization/it_IT.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informazioni utente'; +$labels['created'] = 'Creato'; +$labels['lastlogin'] = 'Ultimo Login'; +$labels['defaultidentity'] = 'Identità predefinita'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ja_JP.inc b/plugins/userinfo/localization/ja_JP.inc new file mode 100644 index 000000000..c9a79e10d --- /dev/null +++ b/plugins/userinfo/localization/ja_JP.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'ユーザー情報'; +$labels['created'] = '作成日時'; +$labels['lastlogin'] = '最後のログイン'; +$labels['defaultidentity'] = '既定の識別情報'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/km_KH.inc b/plugins/userinfo/localization/km_KH.inc new file mode 100644 index 000000000..f2962d329 --- /dev/null +++ b/plugins/userinfo/localization/km_KH.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'ព័ត៌មានអ្នកប្រើ'; +$labels['created'] = 'បានបង្កើត'; +$labels['lastlogin'] = 'ចូលចុងក្រោយ'; +$labels['defaultidentity'] = 'អត្តសញ្ញាណលំនាំដើម'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ko_KR.inc b/plugins/userinfo/localization/ko_KR.inc new file mode 100644 index 000000000..98d4fc2e3 --- /dev/null +++ b/plugins/userinfo/localization/ko_KR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = '사용자 정보'; +$labels['created'] = '생성함'; +$labels['lastlogin'] = '마지막 로그인'; +$labels['defaultidentity'] = '기본 신원'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ku.inc b/plugins/userinfo/localization/ku.inc new file mode 100644 index 000000000..7accf51ad --- /dev/null +++ b/plugins/userinfo/localization/ku.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'nawnişani bakar henar'; +$labels['created'] = 'Hat afirandin'; +$labels['lastlogin'] = 'axrin hatna jurawa'; +$labels['defaultidentity'] = 'Nasnameya Pêşsalixbûyî'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ku_IQ.inc b/plugins/userinfo/localization/ku_IQ.inc new file mode 100644 index 000000000..889e720a9 --- /dev/null +++ b/plugins/userinfo/localization/ku_IQ.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'زانیاری بەکارهێنەر'; +$labels['created'] = 'دروستکرا'; +$labels['lastlogin'] = 'دوایین چوونەژوورەوە'; +$labels['defaultidentity'] = 'ناسنامەی بنەڕەتی'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/lb_LU.inc b/plugins/userinfo/localization/lb_LU.inc new file mode 100644 index 000000000..db2e0c8c7 --- /dev/null +++ b/plugins/userinfo/localization/lb_LU.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Benotzer-Info'; +$labels['created'] = 'Erstallt'; +$labels['lastlogin'] = 'Leschte Login'; +$labels['defaultidentity'] = 'Standard-Identitéit'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/lt_LT.inc b/plugins/userinfo/localization/lt_LT.inc new file mode 100644 index 000000000..a7a00d076 --- /dev/null +++ b/plugins/userinfo/localization/lt_LT.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informacija apie naudotoją'; +$labels['created'] = 'Sukurtas'; +$labels['lastlogin'] = 'Paskutinį kartą prisijungė'; +$labels['defaultidentity'] = 'Numatytoji tapatybė'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/lv_LV.inc b/plugins/userinfo/localization/lv_LV.inc new file mode 100644 index 000000000..5bfb4059d --- /dev/null +++ b/plugins/userinfo/localization/lv_LV.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informācija par lietotāju'; +$labels['created'] = 'Izveidots'; +$labels['lastlogin'] = 'Pēdējā pieteikšanās'; +$labels['defaultidentity'] = 'Noklusētā identitāte'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ml_IN.inc b/plugins/userinfo/localization/ml_IN.inc new file mode 100644 index 000000000..7968bc7e6 --- /dev/null +++ b/plugins/userinfo/localization/ml_IN.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'ഉപയോക്താവിന്റെ വിവരം'; +$labels['created'] = 'നിര്മ്മിച്ചു'; +$labels['lastlogin'] = 'അവസാന പ്രവേശനം'; +$labels['defaultidentity'] = 'സാധാരണ വ്യക്തിത്വം'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/mr_IN.inc b/plugins/userinfo/localization/mr_IN.inc new file mode 100644 index 000000000..71a06ab58 --- /dev/null +++ b/plugins/userinfo/localization/mr_IN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'वापरकर्त्याची माहिती'; +$labels['created'] = 'निर्माण केलेले'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/nb_NO.inc b/plugins/userinfo/localization/nb_NO.inc new file mode 100644 index 000000000..b998bb577 --- /dev/null +++ b/plugins/userinfo/localization/nb_NO.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Brukerinformasjon'; +$labels['created'] = 'Opprettet'; +$labels['lastlogin'] = 'Sist logget inn'; +$labels['defaultidentity'] = 'Standard identitet'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/nl_NL.inc b/plugins/userinfo/localization/nl_NL.inc new file mode 100644 index 000000000..18ca91688 --- /dev/null +++ b/plugins/userinfo/localization/nl_NL.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Gebruikersinformatie'; +$labels['created'] = 'Aangemaakt'; +$labels['lastlogin'] = 'Laatste aanmelding'; +$labels['defaultidentity'] = 'Standaardidentiteit'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/nn_NO.inc b/plugins/userinfo/localization/nn_NO.inc new file mode 100644 index 000000000..61acd192a --- /dev/null +++ b/plugins/userinfo/localization/nn_NO.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Brukarinfo'; +$labels['created'] = 'Laga'; +$labels['lastlogin'] = 'Sist logga inn'; +$labels['defaultidentity'] = 'Standardidentitet'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/pl_PL.inc b/plugins/userinfo/localization/pl_PL.inc new file mode 100644 index 000000000..0f68ae847 --- /dev/null +++ b/plugins/userinfo/localization/pl_PL.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informacje'; +$labels['created'] = 'Utworzony'; +$labels['lastlogin'] = 'Ostatnie logowanie'; +$labels['defaultidentity'] = 'Domyślna tożsamość'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/pt_BR.inc b/plugins/userinfo/localization/pt_BR.inc new file mode 100644 index 000000000..b261f6718 --- /dev/null +++ b/plugins/userinfo/localization/pt_BR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informações do usuário'; +$labels['created'] = 'Criado'; +$labels['lastlogin'] = 'Último Login'; +$labels['defaultidentity'] = 'Identidade Padrão'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/pt_PT.inc b/plugins/userinfo/localization/pt_PT.inc new file mode 100644 index 000000000..85b3e8281 --- /dev/null +++ b/plugins/userinfo/localization/pt_PT.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informação do utilizador'; +$labels['created'] = 'Criado'; +$labels['lastlogin'] = 'Último acesso'; +$labels['defaultidentity'] = 'Identidade pré-definida'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ro_RO.inc b/plugins/userinfo/localization/ro_RO.inc new file mode 100644 index 000000000..64e0b3691 --- /dev/null +++ b/plugins/userinfo/localization/ro_RO.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informații utilizator'; +$labels['created'] = 'Data creării'; +$labels['lastlogin'] = 'Ultima autentificare'; +$labels['defaultidentity'] = 'Identitate principală'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ru_RU.inc b/plugins/userinfo/localization/ru_RU.inc new file mode 100644 index 000000000..ca449d88c --- /dev/null +++ b/plugins/userinfo/localization/ru_RU.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Информация'; +$labels['created'] = 'Создан'; +$labels['lastlogin'] = 'Последний вход'; +$labels['defaultidentity'] = 'Профиль по умолчанию'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/sk_SK.inc b/plugins/userinfo/localization/sk_SK.inc new file mode 100644 index 000000000..95deee14e --- /dev/null +++ b/plugins/userinfo/localization/sk_SK.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informácie o používateľovi'; +$labels['created'] = 'Vytvorené'; +$labels['lastlogin'] = 'Posledné prihlásenie'; +$labels['defaultidentity'] = 'Predvolená identita'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/sl_SI.inc b/plugins/userinfo/localization/sl_SI.inc new file mode 100644 index 000000000..a427a0945 --- /dev/null +++ b/plugins/userinfo/localization/sl_SI.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Podatki o uporabniku'; +$labels['created'] = 'Ustvarjen'; +$labels['lastlogin'] = 'Zadnja prijava'; +$labels['defaultidentity'] = 'Privzeta identiteta'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/sq_AL.inc b/plugins/userinfo/localization/sq_AL.inc new file mode 100644 index 000000000..0e2ee16a6 --- /dev/null +++ b/plugins/userinfo/localization/sq_AL.inc @@ -0,0 +1,21 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Informacionet e përdoruesit'; +$labels['created'] = 'Krijuar'; +$labels['lastlogin'] = 'Hyrja e fundit'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/sr_CS.inc b/plugins/userinfo/localization/sr_CS.inc new file mode 100644 index 000000000..70271e51c --- /dev/null +++ b/plugins/userinfo/localization/sr_CS.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Подаци о кориснику'; +$labels['created'] = 'Направљено'; +$labels['lastlogin'] = 'Последњи Логин'; +$labels['defaultidentity'] = 'подразумевани идентитет'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/sv_SE.inc b/plugins/userinfo/localization/sv_SE.inc new file mode 100644 index 000000000..5583a4e2c --- /dev/null +++ b/plugins/userinfo/localization/sv_SE.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Användarinfo'; +$labels['created'] = 'Skapad'; +$labels['lastlogin'] = 'Senast inloggad'; +$labels['defaultidentity'] = 'Standardidentitet'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/ti.inc b/plugins/userinfo/localization/ti.inc new file mode 100644 index 000000000..3799f66e4 --- /dev/null +++ b/plugins/userinfo/localization/ti.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'ሓብሬታ በዓል ዋና '; +$labels['created'] = 'እዋን ፍጥረት'; +$labels['lastlogin'] = 'እዋን እታው'; +$labels['defaultidentity'] = 'ዘይተለወጠ መለለይ መንነት'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/tr_TR.inc b/plugins/userinfo/localization/tr_TR.inc new file mode 100644 index 000000000..5d876f4d2 --- /dev/null +++ b/plugins/userinfo/localization/tr_TR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Kullanıcı bilgisi'; +$labels['created'] = 'Oluşturuldu'; +$labels['lastlogin'] = 'Son Giriş'; +$labels['defaultidentity'] = 'Öntanımlı kimlik'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/uk_UA.inc b/plugins/userinfo/localization/uk_UA.inc new file mode 100644 index 000000000..91c567047 --- /dev/null +++ b/plugins/userinfo/localization/uk_UA.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Інформація'; +$labels['created'] = 'Створено'; +$labels['lastlogin'] = 'Останній захід'; +$labels['defaultidentity'] = 'Профіль за замовчуванням'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/vi_VN.inc b/plugins/userinfo/localization/vi_VN.inc new file mode 100644 index 000000000..2a87163be --- /dev/null +++ b/plugins/userinfo/localization/vi_VN.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = 'Thông tin người dùng'; +$labels['created'] = 'Được tạo'; +$labels['lastlogin'] = 'Lần đăng nhập cuối'; +$labels['defaultidentity'] = 'Nhận diện mặc định'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/zh_CN.inc b/plugins/userinfo/localization/zh_CN.inc new file mode 100644 index 000000000..b497c10ca --- /dev/null +++ b/plugins/userinfo/localization/zh_CN.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = '用户信息'; +$labels['created'] = '创建于'; +$labels['lastlogin'] = '最近登录'; +$labels['defaultidentity'] = '默认身份'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/localization/zh_TW.inc b/plugins/userinfo/localization/zh_TW.inc new file mode 100644 index 000000000..811cbb996 --- /dev/null +++ b/plugins/userinfo/localization/zh_TW.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/userinfo/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Userinfo 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-userinfo/ +*/ +$labels['userinfo'] = '使用者資訊'; +$labels['created'] = '建立時間'; +$labels['lastlogin'] = '上次登入'; +$labels['defaultidentity'] = '預設身份'; +?>
\ No newline at end of file diff --git a/plugins/userinfo/tests/Userinfo.php b/plugins/userinfo/tests/Userinfo.php new file mode 100644 index 000000000..7eb0758b5 --- /dev/null +++ b/plugins/userinfo/tests/Userinfo.php @@ -0,0 +1,23 @@ +<?php + +class Userinfo_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../userinfo.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new userinfo($rcube->api); + + $this->assertInstanceOf('userinfo', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/userinfo/userinfo.js b/plugins/userinfo/userinfo.js new file mode 100644 index 000000000..70a5085b3 --- /dev/null +++ b/plugins/userinfo/userinfo.js @@ -0,0 +1,16 @@ +/* Show user-info plugin script */ + +if (window.rcmail) { + rcmail.addEventListener('init', function(evt) { + // <span id="settingstabdefault" class="tablink"><roundcube:button command="preferences" type="link" label="preferences" title="editpreferences" /></span> + var tab = $('<span>').attr('id', 'settingstabpluginuserinfo').addClass('tablink'); + + var button = $('<a>').attr('href', rcmail.env.comm_path+'&_action=plugin.userinfo').html(rcmail.gettext('userinfo', 'userinfo')).appendTo(tab); + button.bind('click', function(e){ return rcmail.command('plugin.userinfo', this) }); + + // add button and register command + rcmail.add_element(tab, 'tabs'); + rcmail.register_command('plugin.userinfo', function(){ rcmail.goto_url('plugin.userinfo') }, true); + }) +} + diff --git a/plugins/userinfo/userinfo.php b/plugins/userinfo/userinfo.php new file mode 100644 index 000000000..a175563ef --- /dev/null +++ b/plugins/userinfo/userinfo.php @@ -0,0 +1,55 @@ +<?php + +/** + * Sample plugin that adds a new tab to the settings section + * to display some information about the current user + */ +class userinfo extends rcube_plugin +{ + public $task = 'settings'; + public $noajax = true; + public $noframe = true; + + function init() + { + $this->add_texts('localization/', array('userinfo')); + $this->register_action('plugin.userinfo', array($this, 'infostep')); + $this->include_script('userinfo.js'); + } + + function infostep() + { + $this->register_handler('plugin.body', array($this, 'infohtml')); + rcmail::get_instance()->output->send('plugin'); + } + + function infohtml() + { + $rcmail = rcmail::get_instance(); + $user = $rcmail->user; + + $table = new html_table(array('cols' => 2, 'cellpadding' => 3)); + + $table->add('title', 'ID'); + $table->add('', rcube::Q($user->ID)); + + $table->add('title', rcube::Q($this->gettext('username'))); + $table->add('', rcube::Q($user->data['username'])); + + $table->add('title', rcube::Q($this->gettext('server'))); + $table->add('', rcube::Q($user->data['mail_host'])); + + $table->add('title', rcube::Q($this->gettext('created'))); + $table->add('', rcube::Q($user->data['created'])); + + $table->add('title', rcube::Q($this->gettext('lastlogin'))); + $table->add('', rcube::Q($user->data['last_login'])); + + $identity = $user->get_identity(); + $table->add('title', rcube::Q($this->gettext('defaultidentity'))); + $table->add('', rcube::Q($identity['name'] . ' <' . $identity['email'] . '>')); + + return html::tag('h4', null, rcube::Q('Infos for ' . $user->get_username())) . $table->show(); + } + +} diff --git a/plugins/vcard_attachments/composer.json b/plugins/vcard_attachments/composer.json new file mode 100644 index 000000000..07105bdf6 --- /dev/null +++ b/plugins/vcard_attachments/composer.json @@ -0,0 +1,29 @@ +{ + "name": "roundcube/vcard_attachments", + "type": "roundcube-plugin", + "description": "This plugin detects vCard attachments/bodies and shows a button(s) to add them to address book", + "license": "GPLv3+", + "version": "3.2", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + }, + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/vcard_attachments/localization/ar.inc b/plugins/vcard_attachments/localization/ar.inc new file mode 100644 index 000000000..2d40d9bba --- /dev/null +++ b/plugins/vcard_attachments/localization/ar.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'إضافة vCard إلى دفتر العناوين'; +$labels['vcardsavefailed'] = 'غير قادر على حفظ بصيغة vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ar_SA.inc b/plugins/vcard_attachments/localization/ar_SA.inc new file mode 100644 index 000000000..47461898d --- /dev/null +++ b/plugins/vcard_attachments/localization/ar_SA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'إضافة صيغة vCard إلى دفتر العناوين'; +$labels['vcardsavefailed'] = 'غير قادر على الحفظ بصيغة vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ast.inc b/plugins/vcard_attachments/localization/ast.inc new file mode 100644 index 000000000..899e8a2d0 --- /dev/null +++ b/plugins/vcard_attachments/localization/ast.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Amestar vCard a la llibreta de direiciones'; +$labels['vcardsavefailed'] = 'Nun pue guardase la vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/az_AZ.inc b/plugins/vcard_attachments/localization/az_AZ.inc new file mode 100644 index 000000000..7329c7f18 --- /dev/null +++ b/plugins/vcard_attachments/localization/az_AZ.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'vCard-ı kontakta daxil et'; +$labels['vcardsavefailed'] = 'vCard-ı saxlamaq alınmadı'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/be_BE.inc b/plugins/vcard_attachments/localization/be_BE.inc new file mode 100644 index 000000000..57a48e12b --- /dev/null +++ b/plugins/vcard_attachments/localization/be_BE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Дадаць vCard у адрасную кнігу'; +$labels['vcardsavefailed'] = 'Немагчыма захаваць vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/bg_BG.inc b/plugins/vcard_attachments/localization/bg_BG.inc new file mode 100644 index 000000000..7e0b174e9 --- /dev/null +++ b/plugins/vcard_attachments/localization/bg_BG.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Добавяне на vCard към адресната книга'; +$labels['vcardsavefailed'] = 'Невъзможен запис на vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/br.inc b/plugins/vcard_attachments/localization/br.inc new file mode 100644 index 000000000..d11a63f34 --- /dev/null +++ b/plugins/vcard_attachments/localization/br.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Ouzhpennañ ar vCard d\'ar c\'harned chomlec\'hioù'; +$labels['vcardsavefailed'] = 'N\'haller ket enrollañ ar vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/bs_BA.inc b/plugins/vcard_attachments/localization/bs_BA.inc new file mode 100644 index 000000000..32304d60c --- /dev/null +++ b/plugins/vcard_attachments/localization/bs_BA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Dodaj vCard u adresar'; +$labels['vcardsavefailed'] = 'Nije moguće sačuvati vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ca_ES.inc b/plugins/vcard_attachments/localization/ca_ES.inc new file mode 100644 index 000000000..c09315df3 --- /dev/null +++ b/plugins/vcard_attachments/localization/ca_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Afegeix la vCard a la llibreta d\'adreces'; +$labels['vcardsavefailed'] = 'No s\'ha pogut desar la vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/cs_CZ.inc b/plugins/vcard_attachments/localization/cs_CZ.inc new file mode 100644 index 000000000..372d650d9 --- /dev/null +++ b/plugins/vcard_attachments/localization/cs_CZ.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Přidat vCard do adresáře'; +$labels['vcardsavefailed'] = 'Nelze uložit vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/cy_GB.inc b/plugins/vcard_attachments/localization/cy_GB.inc new file mode 100644 index 000000000..814ed0be4 --- /dev/null +++ b/plugins/vcard_attachments/localization/cy_GB.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Ychwanegu vCard i\'r llyfr cyfeiriadau'; +$labels['vcardsavefailed'] = 'Methwyd cadw\'r vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/da_DK.inc b/plugins/vcard_attachments/localization/da_DK.inc new file mode 100644 index 000000000..3107246e9 --- /dev/null +++ b/plugins/vcard_attachments/localization/da_DK.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Tilføj vCard til adressebogen'; +$labels['vcardsavefailed'] = 'Kan ikke gemme dette vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/de_CH.inc b/plugins/vcard_attachments/localization/de_CH.inc new file mode 100644 index 000000000..edee86fce --- /dev/null +++ b/plugins/vcard_attachments/localization/de_CH.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Kontakt im Adressbuch speichern'; +$labels['vcardsavefailed'] = 'Der Kontakt konnte nicht gespeichert werden'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/de_DE.inc b/plugins/vcard_attachments/localization/de_DE.inc new file mode 100644 index 000000000..edee86fce --- /dev/null +++ b/plugins/vcard_attachments/localization/de_DE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Kontakt im Adressbuch speichern'; +$labels['vcardsavefailed'] = 'Der Kontakt konnte nicht gespeichert werden'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/el_GR.inc b/plugins/vcard_attachments/localization/el_GR.inc new file mode 100644 index 000000000..a59f6f556 --- /dev/null +++ b/plugins/vcard_attachments/localization/el_GR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Προσθήκη vCard στο βιβλίο διευθύνσεων'; +$labels['vcardsavefailed'] = 'Δεν είναι δυνατή η αποθήκευση του vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/en_CA.inc b/plugins/vcard_attachments/localization/en_CA.inc new file mode 100644 index 000000000..ac21ef96b --- /dev/null +++ b/plugins/vcard_attachments/localization/en_CA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Add vCard to addressbook'; +$labels['vcardsavefailed'] = 'Unable to save vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/en_GB.inc b/plugins/vcard_attachments/localization/en_GB.inc new file mode 100644 index 000000000..ac21ef96b --- /dev/null +++ b/plugins/vcard_attachments/localization/en_GB.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Add vCard to addressbook'; +$labels['vcardsavefailed'] = 'Unable to save vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/en_US.inc b/plugins/vcard_attachments/localization/en_US.inc new file mode 100644 index 000000000..a52a93228 --- /dev/null +++ b/plugins/vcard_attachments/localization/en_US.inc @@ -0,0 +1,23 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ + +$labels = array(); +$labels['addvcardmsg'] = 'Add vCard to addressbook'; +$labels['vcardsavefailed'] = 'Unable to save vCard'; + +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/eo.inc b/plugins/vcard_attachments/localization/eo.inc new file mode 100644 index 000000000..bcdfbb0d5 --- /dev/null +++ b/plugins/vcard_attachments/localization/eo.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Aldoni vCard al adresaro'; +$labels['vcardsavefailed'] = 'vCard ne konserveblas'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/es_419.inc b/plugins/vcard_attachments/localization/es_419.inc new file mode 100644 index 000000000..3d56d761b --- /dev/null +++ b/plugins/vcard_attachments/localization/es_419.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Agregar vCard a la libreta de direcciones'; +$labels['vcardsavefailed'] = 'No se puede guardar la vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/es_AR.inc b/plugins/vcard_attachments/localization/es_AR.inc new file mode 100644 index 000000000..ee2f0c84b --- /dev/null +++ b/plugins/vcard_attachments/localization/es_AR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Agregar vCard a la libreta de direcciones'; +$labels['vcardsavefailed'] = 'Imposible guardar vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/es_ES.inc b/plugins/vcard_attachments/localization/es_ES.inc new file mode 100644 index 000000000..28ea13e84 --- /dev/null +++ b/plugins/vcard_attachments/localization/es_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Añadir tarjeta vCard a la libreta de direcciones'; +$labels['vcardsavefailed'] = 'No se pudo guardar la tarjeta vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/et_EE.inc b/plugins/vcard_attachments/localization/et_EE.inc new file mode 100644 index 000000000..73d2070eb --- /dev/null +++ b/plugins/vcard_attachments/localization/et_EE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Lisa vCard aadressiraamatusse'; +$labels['vcardsavefailed'] = 'vCard salvestamine nurjus'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/eu_ES.inc b/plugins/vcard_attachments/localization/eu_ES.inc new file mode 100644 index 000000000..f60ac6efa --- /dev/null +++ b/plugins/vcard_attachments/localization/eu_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Gehitu vCard helbide-liburura'; +$labels['vcardsavefailed'] = 'Ezin da vCard gorde'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/fa_IR.inc b/plugins/vcard_attachments/localization/fa_IR.inc new file mode 100644 index 000000000..2cfbb50f4 --- /dev/null +++ b/plugins/vcard_attachments/localization/fa_IR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'افزودن vCard به دفترچه نشانی'; +$labels['vcardsavefailed'] = 'ناتوان در ذخیره vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/fi_FI.inc b/plugins/vcard_attachments/localization/fi_FI.inc new file mode 100644 index 000000000..58aceb18d --- /dev/null +++ b/plugins/vcard_attachments/localization/fi_FI.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Lisää vCard osoitekirjaan'; +$labels['vcardsavefailed'] = 'vCardin tallennus epäonnistui'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/fo_FO.inc b/plugins/vcard_attachments/localization/fo_FO.inc new file mode 100644 index 000000000..92a9d76fb --- /dev/null +++ b/plugins/vcard_attachments/localization/fo_FO.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Legg vCard til búðstaðar savn'; +$labels['vcardsavefailed'] = 'Kann ikki goyma vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/fr_FR.inc b/plugins/vcard_attachments/localization/fr_FR.inc new file mode 100644 index 000000000..6bf588d81 --- /dev/null +++ b/plugins/vcard_attachments/localization/fr_FR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Ajouter la vcard au carnet d\'adresses'; +$labels['vcardsavefailed'] = 'Impossible d\'enregistrer la vcard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/gl_ES.inc b/plugins/vcard_attachments/localization/gl_ES.inc new file mode 100644 index 000000000..55792ee01 --- /dev/null +++ b/plugins/vcard_attachments/localization/gl_ES.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Engadir vCard á Axenda de enderezos'; +$labels['vcardsavefailed'] = 'Non foi posíbel gardar a vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/he_IL.inc b/plugins/vcard_attachments/localization/he_IL.inc new file mode 100644 index 000000000..4a0a4cd4a --- /dev/null +++ b/plugins/vcard_attachments/localization/he_IL.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'הוספת כרטיס ביקור בפורמט vCard לספר הכתובות'; +$labels['vcardsavefailed'] = 'לא ניתן לשמור את כרטיס הביקור vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/hr_HR.inc b/plugins/vcard_attachments/localization/hr_HR.inc new file mode 100644 index 000000000..93fc17cb0 --- /dev/null +++ b/plugins/vcard_attachments/localization/hr_HR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Dodaj vCard u imenik'; +$labels['vcardsavefailed'] = 'Ne mogu pohraniti vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/hu_HU.inc b/plugins/vcard_attachments/localization/hu_HU.inc new file mode 100644 index 000000000..e4d609f01 --- /dev/null +++ b/plugins/vcard_attachments/localization/hu_HU.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'vCard hozzáadása a címjegyzékhez'; +$labels['vcardsavefailed'] = 'Sikertelen a vCard mentése'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/hy_AM.inc b/plugins/vcard_attachments/localization/hy_AM.inc new file mode 100644 index 000000000..d565882ff --- /dev/null +++ b/plugins/vcard_attachments/localization/hy_AM.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Ավելացնել vCard-ը հասցեագրքում'; +$labels['vcardsavefailed'] = 'vCard-ի պահպանումը ձախողվեց'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ia.inc b/plugins/vcard_attachments/localization/ia.inc new file mode 100644 index 000000000..7b430f935 --- /dev/null +++ b/plugins/vcard_attachments/localization/ia.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Adder le vCard al adressario'; +$labels['vcardsavefailed'] = 'Impossibile salveguardar le vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/id_ID.inc b/plugins/vcard_attachments/localization/id_ID.inc new file mode 100644 index 000000000..ea3a31abf --- /dev/null +++ b/plugins/vcard_attachments/localization/id_ID.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Tambahkan vCard ke buku alamat'; +$labels['vcardsavefailed'] = 'Tidak dapat menyimpan vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/it_IT.inc b/plugins/vcard_attachments/localization/it_IT.inc new file mode 100644 index 000000000..fbe498f88 --- /dev/null +++ b/plugins/vcard_attachments/localization/it_IT.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Aggiungi vCard alla Agenda'; +$labels['vcardsavefailed'] = 'Abilita a salvare vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ja_JP.inc b/plugins/vcard_attachments/localization/ja_JP.inc new file mode 100644 index 000000000..4cd738b08 --- /dev/null +++ b/plugins/vcard_attachments/localization/ja_JP.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'vCardをアドレス帳に追加'; +$labels['vcardsavefailed'] = 'vCardを保存できませんでした。'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/km_KH.inc b/plugins/vcard_attachments/localization/km_KH.inc new file mode 100644 index 000000000..75e233448 --- /dev/null +++ b/plugins/vcard_attachments/localization/km_KH.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'បន្ថែម vCard ទៅសៀវភៅអាសយដ្ឋាន'; +$labels['vcardsavefailed'] = 'មិនអាចរក្សាទុក vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ko_KR.inc b/plugins/vcard_attachments/localization/ko_KR.inc new file mode 100644 index 000000000..fbbb73921 --- /dev/null +++ b/plugins/vcard_attachments/localization/ko_KR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = '주소록에 vCard 추가'; +$labels['vcardsavefailed'] = 'vCard를 저장할 수 없음'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ku.inc b/plugins/vcard_attachments/localization/ku.inc new file mode 100644 index 000000000..a2cd9769b --- /dev/null +++ b/plugins/vcard_attachments/localization/ku.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'vCardê tevî deftera navnîşanan bike'; +$labels['vcardsavefailed'] = 'Tomarkirina vCard betal bike'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/lb_LU.inc b/plugins/vcard_attachments/localization/lb_LU.inc new file mode 100644 index 000000000..005650fd7 --- /dev/null +++ b/plugins/vcard_attachments/localization/lb_LU.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'vCard an d\'Adressbuch setzen'; +$labels['vcardsavefailed'] = 'vCard kann net gespäichert ginn'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/lt_LT.inc b/plugins/vcard_attachments/localization/lt_LT.inc new file mode 100644 index 000000000..468a9da70 --- /dev/null +++ b/plugins/vcard_attachments/localization/lt_LT.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Įtraukti vizitinę kortelę į adresų knygą'; +$labels['vcardsavefailed'] = 'Įrašyti vizitinės kortelės nepavyko'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/lv_LV.inc b/plugins/vcard_attachments/localization/lv_LV.inc new file mode 100644 index 000000000..079e4f86d --- /dev/null +++ b/plugins/vcard_attachments/localization/lv_LV.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Pievienot vizītkarti adrešu grāmatai'; +$labels['vcardsavefailed'] = 'Nevarēja saglabāt vizītkarti'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ml_IN.inc b/plugins/vcard_attachments/localization/ml_IN.inc new file mode 100644 index 000000000..0b7786544 --- /dev/null +++ b/plugins/vcard_attachments/localization/ml_IN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'വിലാസപുസ്തകത്തിലേക്ക് വികാര്ഡ് ചേര്ക്കുക'; +$labels['vcardsavefailed'] = 'വികാര്ഡ് ചേര്ക്കാന് പറ്റിയില്ല'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/mr_IN.inc b/plugins/vcard_attachments/localization/mr_IN.inc new file mode 100644 index 000000000..8dcf3c471 --- /dev/null +++ b/plugins/vcard_attachments/localization/mr_IN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'व्हीकार्ड पत्ते नोंदवहीत समाविष्ट करा'; +$labels['vcardsavefailed'] = 'व्हीकार्ड जतन करण्यास असमर्थ'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/nb_NO.inc b/plugins/vcard_attachments/localization/nb_NO.inc new file mode 100644 index 000000000..5f6139267 --- /dev/null +++ b/plugins/vcard_attachments/localization/nb_NO.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Legg til vCard i adresseboken'; +$labels['vcardsavefailed'] = 'Ikke i stand til å lagre vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/nl_NL.inc b/plugins/vcard_attachments/localization/nl_NL.inc new file mode 100644 index 000000000..748d6219d --- /dev/null +++ b/plugins/vcard_attachments/localization/nl_NL.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Voeg vCard toe aan adresboek'; +$labels['vcardsavefailed'] = 'Kan vCard niet opslaan'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/nn_NO.inc b/plugins/vcard_attachments/localization/nn_NO.inc new file mode 100644 index 000000000..09803d568 --- /dev/null +++ b/plugins/vcard_attachments/localization/nn_NO.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Legg til vCard i adresseboka'; +$labels['vcardsavefailed'] = 'Klarte ikkje lagra vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/pl_PL.inc b/plugins/vcard_attachments/localization/pl_PL.inc new file mode 100644 index 000000000..8da94369e --- /dev/null +++ b/plugins/vcard_attachments/localization/pl_PL.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Dodaj wizytówkę (vCard) do kontaktów'; +$labels['vcardsavefailed'] = 'Nie można zapisać wizytówki (vCard)'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/pt_BR.inc b/plugins/vcard_attachments/localization/pt_BR.inc new file mode 100644 index 000000000..3244bba10 --- /dev/null +++ b/plugins/vcard_attachments/localization/pt_BR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Adicionar o vCard ao Catálogo de Endereços'; +$labels['vcardsavefailed'] = 'Impossível salvar o vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/pt_PT.inc b/plugins/vcard_attachments/localization/pt_PT.inc new file mode 100644 index 000000000..9e5e11027 --- /dev/null +++ b/plugins/vcard_attachments/localization/pt_PT.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Adicionar o vCard ao Livro de Endereços'; +$labels['vcardsavefailed'] = 'Não foi possível guardar o vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ro_RO.inc b/plugins/vcard_attachments/localization/ro_RO.inc new file mode 100644 index 000000000..9aa9b0712 --- /dev/null +++ b/plugins/vcard_attachments/localization/ro_RO.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Adaugă vCard la agendă'; +$labels['vcardsavefailed'] = 'Nu pot salva vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ru_RU.inc b/plugins/vcard_attachments/localization/ru_RU.inc new file mode 100644 index 000000000..985cda443 --- /dev/null +++ b/plugins/vcard_attachments/localization/ru_RU.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Добавить в контакты'; +$labels['vcardsavefailed'] = 'Не удалось сохранить vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/si_LK.inc b/plugins/vcard_attachments/localization/si_LK.inc new file mode 100644 index 000000000..87da90e21 --- /dev/null +++ b/plugins/vcard_attachments/localization/si_LK.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'vCard පත ලිපින පොතට එක් කරන්න'; +$labels['vcardsavefailed'] = 'vCard පත සුරැකීම අසාර්ථකයි'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/sk_SK.inc b/plugins/vcard_attachments/localization/sk_SK.inc new file mode 100644 index 000000000..ecbaac834 --- /dev/null +++ b/plugins/vcard_attachments/localization/sk_SK.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Pridať vizitku vCard do adresára'; +$labels['vcardsavefailed'] = 'Vizitku vCard nemožno uložiť'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/sl_SI.inc b/plugins/vcard_attachments/localization/sl_SI.inc new file mode 100644 index 000000000..3f5053dff --- /dev/null +++ b/plugins/vcard_attachments/localization/sl_SI.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Dodaj vCard med Stike.'; +$labels['vcardsavefailed'] = 'Stika vCard ni bilo mogoče shraniti.'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/sr_CS.inc b/plugins/vcard_attachments/localization/sr_CS.inc new file mode 100644 index 000000000..d6cc94284 --- /dev/null +++ b/plugins/vcard_attachments/localization/sr_CS.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Додај вЦард у Адресар'; +$labels['vcardsavefailed'] = 'немоћан сачувати вчард'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/sv_SE.inc b/plugins/vcard_attachments/localization/sv_SE.inc new file mode 100644 index 000000000..2d0d928be --- /dev/null +++ b/plugins/vcard_attachments/localization/sv_SE.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Lägg till vCard i adressbok'; +$labels['vcardsavefailed'] = 'Kunde inte spara vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/tr_TR.inc b/plugins/vcard_attachments/localization/tr_TR.inc new file mode 100644 index 000000000..f52443338 --- /dev/null +++ b/plugins/vcard_attachments/localization/tr_TR.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Vcard\'ı adres deferine ekle'; +$labels['vcardsavefailed'] = 'vCard kaydedilemedi'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/uk_UA.inc b/plugins/vcard_attachments/localization/uk_UA.inc new file mode 100644 index 000000000..b61ffc5f6 --- /dev/null +++ b/plugins/vcard_attachments/localization/uk_UA.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Додати vCard до контактів'; +$labels['vcardsavefailed'] = 'Не вдалось зберегти vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/vi_VN.inc b/plugins/vcard_attachments/localization/vi_VN.inc new file mode 100644 index 000000000..d63ad9652 --- /dev/null +++ b/plugins/vcard_attachments/localization/vi_VN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = 'Thêm vCard vào sổ địa chỉ'; +$labels['vcardsavefailed'] = 'Không thể lưu vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/zh_CN.inc b/plugins/vcard_attachments/localization/zh_CN.inc new file mode 100644 index 000000000..b619210b5 --- /dev/null +++ b/plugins/vcard_attachments/localization/zh_CN.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = '添加 vCard 至地址簿中'; +$labels['vcardsavefailed'] = '无法保存 vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/zh_TW.inc b/plugins/vcard_attachments/localization/zh_TW.inc new file mode 100644 index 000000000..639593bcf --- /dev/null +++ b/plugins/vcard_attachments/localization/zh_TW.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/vcard_attachments/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Vcard Attachments 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-vcard_attachments/ +*/ +$labels['addvcardmsg'] = '加入 vCard 到通訊錄'; +$labels['vcardsavefailed'] = '無法儲存 vCard'; +?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/skins/classic/style.css b/plugins/vcard_attachments/skins/classic/style.css new file mode 100644 index 000000000..044d3983e --- /dev/null +++ b/plugins/vcard_attachments/skins/classic/style.css @@ -0,0 +1,17 @@ + +p.vcardattachment { + margin: 0.5em 1em; + border: 1px solid #999; + border-radius:4px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + width: auto; +} + +p.vcardattachment a { + display: block; + background: url(vcard_add_contact.png) 4px 0px no-repeat; + padding: 0.7em 0.5em 0.3em 42px; + height: 22px; +} diff --git a/plugins/vcard_attachments/skins/classic/vcard.png b/plugins/vcard_attachments/skins/classic/vcard.png Binary files differnew file mode 100644 index 000000000..8bf6b1b72 --- /dev/null +++ b/plugins/vcard_attachments/skins/classic/vcard.png diff --git a/plugins/vcard_attachments/skins/classic/vcard_add_contact.png b/plugins/vcard_attachments/skins/classic/vcard_add_contact.png Binary files differnew file mode 100644 index 000000000..478c1f3f2 --- /dev/null +++ b/plugins/vcard_attachments/skins/classic/vcard_add_contact.png diff --git a/plugins/vcard_attachments/skins/larry/style.css b/plugins/vcard_attachments/skins/larry/style.css new file mode 100644 index 000000000..4f9f61b81 --- /dev/null +++ b/plugins/vcard_attachments/skins/larry/style.css @@ -0,0 +1,16 @@ + +p.vcardattachment { + margin: 0.5em 1em; + width: auto; + background: #f9f9f9; + border: 1px solid #d3d3d3; + border-radius: 4px; + box-shadow: 0 0 2px #ccc; + -webkit-box-shadow: 0 0 2px #ccc; +} + +p.vcardattachment a { + display: block; + background: url(vcard_add_contact.png) 6px 2px no-repeat; + padding: 1.2em 0.5em 0.7em 46px; +} diff --git a/plugins/vcard_attachments/skins/larry/vcard.png b/plugins/vcard_attachments/skins/larry/vcard.png Binary files differnew file mode 100644 index 000000000..8bf6b1b72 --- /dev/null +++ b/plugins/vcard_attachments/skins/larry/vcard.png diff --git a/plugins/vcard_attachments/skins/larry/vcard_add_contact.png b/plugins/vcard_attachments/skins/larry/vcard_add_contact.png Binary files differnew file mode 100644 index 000000000..a8ce459f8 --- /dev/null +++ b/plugins/vcard_attachments/skins/larry/vcard_add_contact.png diff --git a/plugins/vcard_attachments/tests/VcardAttachments.php b/plugins/vcard_attachments/tests/VcardAttachments.php new file mode 100644 index 000000000..4b37cfc01 --- /dev/null +++ b/plugins/vcard_attachments/tests/VcardAttachments.php @@ -0,0 +1,23 @@ +<?php + +class VcardAttachments_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../vcard_attachments.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new vcard_attachments($rcube->api); + + $this->assertInstanceOf('vcard_attachments', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/vcard_attachments/vcard_attachments.php b/plugins/vcard_attachments/vcard_attachments.php new file mode 100644 index 000000000..74718be6f --- /dev/null +++ b/plugins/vcard_attachments/vcard_attachments.php @@ -0,0 +1,227 @@ +<?php + +/** + * Detect VCard attachments and show a button to add them to address book + * + * @version @package_version@ + * @license GNU GPLv3+ + * @author Thomas Bruederli, Aleksander Machniak + */ +class vcard_attachments extends rcube_plugin +{ + public $task = 'mail'; + + private $message; + private $vcard_parts = array(); + private $vcard_bodies = array(); + + function init() + { + $rcmail = rcmail::get_instance(); + if ($rcmail->action == 'show' || $rcmail->action == 'preview') { + $this->add_hook('message_load', array($this, 'message_load')); + $this->add_hook('template_object_messagebody', array($this, 'html_output')); + } + else if (!$rcmail->output->framed && (!$rcmail->action || $rcmail->action == 'list')) { + $icon = 'plugins/vcard_attachments/' .$this->local_skin_path(). '/vcard.png'; + $rcmail->output->set_env('vcard_icon', $icon); + $this->include_script('vcardattach.js'); + } + + $this->register_action('plugin.savevcard', array($this, 'save_vcard')); + } + + /** + * Check message bodies and attachments for vcards + */ + function message_load($p) + { + $this->message = $p['object']; + + // handle attachments vcard attachments + foreach ((array)$this->message->attachments as $attachment) { + if ($this->is_vcard($attachment)) { + $this->vcard_parts[] = $attachment->mime_id; + } + } + // the same with message bodies + foreach ((array)$this->message->parts as $part) { + if ($this->is_vcard($part)) { + $this->vcard_parts[] = $part->mime_id; + $this->vcard_bodies[] = $part->mime_id; + } + } + + if ($this->vcard_parts) + $this->add_texts('localization'); + } + + /** + * This callback function adds a box below the message content + * if there is a vcard attachment available + */ + function html_output($p) + { + $attach_script = false; + + foreach ($this->vcard_parts as $part) { + $vcards = rcube_vcard::import($this->message->get_part_body($part, true)); + + // successfully parsed vcards? + if (empty($vcards)) { + continue; + } + + // remove part's body + if (in_array($part, $this->vcard_bodies)) { + $p['content'] = ''; + } + + foreach ($vcards as $idx => $vcard) { + // skip invalid vCards + if (empty($vcard->email) || empty($vcard->email[0])) { + continue; + } + + $display = $vcard->displayname . ' <'.$vcard->email[0].'>'; + + // add box below message body + $p['content'] .= html::p(array('class' => 'vcardattachment'), + html::a(array( + 'href' => "#", + 'onclick' => "return plugin_vcard_save_contact('" . rcube::JQ($part.':'.$idx) . "')", + 'title' => $this->gettext('addvcardmsg'), + ), + html::span(null, rcube::Q($display))) + ); + } + + $attach_script = true; + } + + if ($attach_script) { + $this->include_script('vcardattach.js'); + $this->include_stylesheet($this->local_skin_path() . '/style.css'); + } + + return $p; + } + + /** + * Handler for request action + */ + function save_vcard() + { + $this->add_texts('localization', true); + + $uid = rcube_utils::get_input_value('_uid', rcube_utils::INPUT_POST); + $mbox = rcube_utils::get_input_value('_mbox', rcube_utils::INPUT_POST); + $mime_id = rcube_utils::get_input_value('_part', rcube_utils::INPUT_POST); + + $rcmail = rcmail::get_instance(); + $storage = $rcmail->get_storage(); + $storage->set_folder($mbox); + + if ($uid && $mime_id) { + list($mime_id, $index) = explode(':', $mime_id); + $part = $storage->get_message_part($uid, $mime_id, null, null, null, true); + } + + $error_msg = $this->gettext('vcardsavefailed'); + + if ($part && ($vcards = rcube_vcard::import($part)) + && ($vcard = $vcards[$index]) && $vcard->displayname && $vcard->email + ) { + $CONTACTS = $this->get_address_book(); + $email = $vcard->email[0]; + $contact = $vcard->get_assoc(); + $valid = true; + + // skip entries without an e-mail address or invalid + if (empty($email) || !$CONTACTS->validate($contact, true)) { + $valid = false; + } + else { + // We're using UTF8 internally + $email = rcube_utils::idn_to_utf8($email); + + // compare e-mail address + $existing = $CONTACTS->search('email', $email, 1, false); + // compare display name + if (!$existing->count && $vcard->displayname) { + $existing = $CONTACTS->search('name', $vcard->displayname, 1, false); + } + + if ($existing->count) { + $rcmail->output->command('display_message', $this->gettext('contactexists'), 'warning'); + $valid = false; + } + } + + if ($valid) { + $plugin = $rcmail->plugins->exec_hook('contact_create', array('record' => $contact, 'source' => null)); + $contact = $plugin['record']; + + if (!$plugin['abort'] && $CONTACTS->insert($contact)) + $rcmail->output->command('display_message', $this->gettext('addedsuccessfully'), 'confirmation'); + else + $rcmail->output->command('display_message', $error_msg, 'error'); + } + } + else { + $rcmail->output->command('display_message', $error_msg, 'error'); + } + + $rcmail->output->send(); + } + + /** + * Checks if specified message part is a vcard data + * + * @param rcube_message_part Part object + * + * @return boolean True if part is of type vcard + */ + function is_vcard($part) + { + return ( + // Content-Type: text/vcard; + $part->mimetype == 'text/vcard' || + // Content-Type: text/x-vcard; + $part->mimetype == 'text/x-vcard' || + // Content-Type: text/directory; profile=vCard; + ($part->mimetype == 'text/directory' && ( + ($part->ctype_parameters['profile'] && + strtolower($part->ctype_parameters['profile']) == 'vcard') + // Content-Type: text/directory; (with filename=*.vcf) + || ($part->filename && preg_match('/\.vcf$/i', $part->filename)) + ) + ) + ); + } + + /** + * Getter for default (writable) addressbook + */ + private function get_address_book() + { + if ($this->abook) { + return $this->abook; + } + + $rcmail = rcmail::get_instance(); + $abook = $rcmail->config->get('default_addressbook'); + + // Get configured addressbook + $CONTACTS = $rcmail->get_address_book($abook, true); + + // Get first writeable addressbook if the configured doesn't exist + // This can happen when user deleted the addressbook (e.g. Kolab folder) + if ($abook === null || $abook === '' || !is_object($CONTACTS)) { + $source = reset($rcmail->get_address_sources(true)); + $CONTACTS = $rcmail->get_address_book($source['id'], true); + } + + return $this->abook = $CONTACTS; + } +} diff --git a/plugins/vcard_attachments/vcardattach.js b/plugins/vcard_attachments/vcardattach.js new file mode 100644 index 000000000..400966231 --- /dev/null +++ b/plugins/vcard_attachments/vcardattach.js @@ -0,0 +1,38 @@ +/** + * vcard_attachments plugin script + * + * @licstart The following is the entire license notice for the + * JavaScript code in this file. + * + * Copyright (c) 2012-2014, The Roundcube Dev Team + * + * The JavaScript code in this page is free software: you can redistribute it + * and/or modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * @licend The above is the entire license notice + * for the JavaScript code in this file. + */ + +function plugin_vcard_save_contact(mime_id) +{ + var lock = rcmail.set_busy(true, 'loading'); + rcmail.http_post('plugin.savevcard', { _uid: rcmail.env.uid, _mbox: rcmail.env.mailbox, _part: mime_id }, lock); + + return false; +} + +function plugin_vcard_insertrow(data) +{ + var ctype = data.row.ctype; + + if (ctype == 'text/vcard' || ctype == 'text/x-vcard' || ctype == 'text/directory') { + $('#rcmrow' + rcmail.html_identifier(data.uid, true) + ' > td.attachment') + .html('<img src="' + rcmail.env.vcard_icon + '" alt="" />'); + } +} + +if (window.rcmail && rcmail.gui_objects.messagelist) { + rcmail.addEventListener('insertrow', function(data, evt) { plugin_vcard_insertrow(data); }); +} diff --git a/plugins/virtuser_file/composer.json b/plugins/virtuser_file/composer.json new file mode 100644 index 000000000..27beab830 --- /dev/null +++ b/plugins/virtuser_file/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/virtuser_file", + "type": "roundcube-plugin", + "description": "Plugin adds possibility to resolve user email/login according to lookup tables in files.", + "license": "GPLv3+", + "version": "1.0", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/virtuser_file/tests/VirtuserFile.php b/plugins/virtuser_file/tests/VirtuserFile.php new file mode 100644 index 000000000..80feecd15 --- /dev/null +++ b/plugins/virtuser_file/tests/VirtuserFile.php @@ -0,0 +1,23 @@ +<?php + +class VirtuserFile_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../virtuser_file.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new virtuser_file($rcube->api); + + $this->assertInstanceOf('virtuser_file', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/virtuser_file/virtuser_file.php b/plugins/virtuser_file/virtuser_file.php new file mode 100644 index 000000000..f2b357aaf --- /dev/null +++ b/plugins/virtuser_file/virtuser_file.php @@ -0,0 +1,105 @@ +<?php + +/** + * File based User-to-Email and Email-to-User lookup + * + * Add it to the plugins list in config.inc.php and set + * path to a virtuser table file to resolve user names and e-mail + * addresses + * $rcmail['virtuser_file'] = ''; + * + * @version @package_version@ + * @license GNU GPLv3+ + * @author Aleksander Machniak + */ +class virtuser_file extends rcube_plugin +{ + private $file; + private $app; + + function init() + { + $this->app = rcmail::get_instance(); + $this->file = $this->app->config->get('virtuser_file'); + + if ($this->file) { + $this->add_hook('user2email', array($this, 'user2email')); + $this->add_hook('email2user', array($this, 'email2user')); + } + } + + /** + * User > Email + */ + function user2email($p) + { + $r = $this->findinvirtual('/\s' . preg_quote($p['user'], '/') . '\s*$/'); + $result = array(); + + for ($i=0; $i<count($r); $i++) { + $arr = preg_split('/\s+/', $r[$i]); + + if (count($arr) > 0 && strpos($arr[0], '@')) { + $result[] = rcube_utils::idn_to_ascii(trim(str_replace('\\@', '@', $arr[0]))); + + if ($p['first']) { + $p['email'] = $result[0]; + break; + } + } + } + + $p['email'] = empty($result) ? NULL : $result; + + return $p; + } + + /** + * Email > User + */ + function email2user($p) + { + $r = $this->findinvirtual('/^' . preg_quote($p['email'], '/') . '\s/'); + + for ($i=0; $i<count($r); $i++) { + $arr = preg_split('/\s+/', trim($r[$i])); + + if (count($arr) > 0) { + $p['user'] = trim($arr[count($arr)-1]); + break; + } + } + + return $p; + } + + /** + * Find matches of the given pattern in virtuser file + * + * @param string Regular expression to search for + * @return array Matching entries + */ + private function findinvirtual($pattern) + { + $result = array(); + $virtual = null; + + if ($this->file) + $virtual = file($this->file); + + if (empty($virtual)) + return $result; + + // check each line for matches + foreach ($virtual as $line) { + $line = trim($line); + if (empty($line) || $line[0]=='#') + continue; + + if (preg_match($pattern, $line)) + $result[] = $line; + } + + return $result; + } +} diff --git a/plugins/virtuser_query/composer.json b/plugins/virtuser_query/composer.json new file mode 100644 index 000000000..7459ca9bd --- /dev/null +++ b/plugins/virtuser_query/composer.json @@ -0,0 +1,24 @@ +{ + "name": "roundcube/virtuser_query", + "type": "roundcube-plugin", + "description": "Plugin adds possibility to resolve user email/login according to lookup tables in SQL database.", + "license": "GPLv3+", + "version": "2.0", + "authors": [ + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3" + } +} diff --git a/plugins/virtuser_query/tests/VirtuserQuery.php b/plugins/virtuser_query/tests/VirtuserQuery.php new file mode 100644 index 000000000..6c68f4c64 --- /dev/null +++ b/plugins/virtuser_query/tests/VirtuserQuery.php @@ -0,0 +1,23 @@ +<?php + +class VirtuserQuery_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../virtuser_query.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new virtuser_query($rcube->api); + + $this->assertInstanceOf('virtuser_query', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/virtuser_query/virtuser_query.php b/plugins/virtuser_query/virtuser_query.php new file mode 100644 index 000000000..c08d6bd38 --- /dev/null +++ b/plugins/virtuser_query/virtuser_query.php @@ -0,0 +1,165 @@ +<?php + +/** + * DB based User-to-Email and Email-to-User lookup + * + * Add it to the plugins list in config.inc.php and set + * SQL queries to resolve usernames, e-mail addresses and hostnames from the database + * %u will be replaced with the current username for login. + * %m will be replaced with the current e-mail address for login. + * + * Queries should select the user's e-mail address, username or the imap hostname as first column + * The email query could optionally select identity data columns in specified order: + * name, organization, reply-to, bcc, signature, html_signature + * + * $config['virtuser_query'] = array('email' => '', 'user' => '', 'host' => '', 'alias' => ''); + * + * The email query can return more than one record to create more identities. + * This requires identities_level option to be set to value less than 2. + * + * By default Roundcube database is used. To use different database (or host) + * you can specify DSN string in $config['virtuser_query_dsn'] option. + * + * @version @package_version@ + * @author Aleksander Machniak <alec@alec.pl> + * @author Steffen Vogel + * @author Tim Gerundt + * @license GNU GPLv3+ + */ +class virtuser_query extends rcube_plugin +{ + private $config; + private $app; + private $db; + + function init() + { + $this->app = rcmail::get_instance(); + $this->config = $this->app->config->get('virtuser_query'); + + if (!empty($this->config)) { + if (is_string($this->config)) { + $this->config = array('email' => $this->config); + } + + if ($this->config['email']) { + $this->add_hook('user2email', array($this, 'user2email')); + } + if ($this->config['user']) { + $this->add_hook('email2user', array($this, 'email2user')); + } + if ($this->config['host']) { + $this->add_hook('authenticate', array($this, 'user2host')); + } + if ($this->config['alias']) { + $this->add_hook('authenticate', array($this, 'alias2user')); + } + } + } + + /** + * User > Email + */ + function user2email($p) + { + $dbh = $this->get_dbh(); + + $sql_result = $dbh->query(preg_replace('/%u/', $dbh->escape($p['user']), $this->config['email'])); + + while ($sql_arr = $dbh->fetch_array($sql_result)) { + if (strpos($sql_arr[0], '@')) { + if ($p['extended'] && count($sql_arr) > 1) { + $result[] = array( + 'email' => rcube_utils::idn_to_ascii($sql_arr[0]), + 'name' => (string) $sql_arr[1], + 'organization' => (string) $sql_arr[2], + 'reply-to' => (string) rcube_utils::idn_to_ascii($sql_arr[3]), + 'bcc' => (string) rcube_utils::idn_to_ascii($sql_arr[4]), + 'signature' => (string) $sql_arr[5], + 'html_signature' => (int) $sql_arr[6], + ); + } + else { + $result[] = $sql_arr[0]; + } + + if ($p['first']) { + break; + } + } + } + + $p['email'] = $result; + + return $p; + } + + /** + * EMail > User + */ + function email2user($p) + { + $dbh = $this->get_dbh(); + + $sql_result = $dbh->query(preg_replace('/%m/', $dbh->escape($p['email']), $this->config['user'])); + + if ($sql_arr = $dbh->fetch_array($sql_result)) { + $p['user'] = $sql_arr[0]; + } + + return $p; + } + + /** + * User > Host + */ + function user2host($p) + { + $dbh = $this->get_dbh(); + + $sql_result = $dbh->query(preg_replace('/%u/', $dbh->escape($p['user']), $this->config['host'])); + + if ($sql_arr = $dbh->fetch_array($sql_result)) { + $p['host'] = $sql_arr[0]; + } + + return $p; + } + + /** + * Alias > User + */ + function alias2user($p) + { + $dbh = $this->get_dbh(); + + $sql_result = $dbh->query(preg_replace('/%u/', $dbh->escape($p['user']), $this->config['alias'])); + + if ($sql_arr = $dbh->fetch_array($sql_result)) { + $p['user'] = $sql_arr[0]; + } + + return $p; + } + + /** + * Initialize database handler + */ + function get_dbh() + { + if (!$this->db) { + if ($dsn = $this->app->config->get('virtuser_query_dsn')) { + // connect to the virtuser database + $this->db = rcube_db::factory($dsn); + $this->db->set_debug((bool)$this->app->config->get('sql_debug')); + $this->db->db_connect('r'); // connect in read mode + } + else { + $this->db = $this->app->get_dbh(); + } + } + + return $this->db; + } + +} diff --git a/plugins/zipdownload/README b/plugins/zipdownload/README new file mode 100644 index 000000000..e343398c3 --- /dev/null +++ b/plugins/zipdownload/README @@ -0,0 +1,34 @@ +Roundcube Webmail ZipDownload +============================= +This plugin adds an option to download all attachments to a message in one zip +file, when a message has multiple attachments. The plugin also allows the +download of a selection of messages in 1 zip file. + +Requirements +============ +* php_zip extension (including ZipArchive class) + Either install it via PECL or for PHP >= 5.2 compile with --enable-zip option + +License +======= +This plugin is released under the GNU General Public License Version 3 +or later (http://www.gnu.org/licenses/gpl.html). + +Even if skins might contain some programming work, they are not considered +as a linked part of the plugin and therefore skins DO NOT fall under the +provisions of the GPL license. See the README file located in the core skins +folder for details on the skin license. + +Install +======= +* Place this plugin folder into plugins directory of Roundcube +* Add zipdownload to $config['plugins'] in your Roundcube config + +NB: When downloading the plugin from GitHub you will need to create a +directory called zipdownload and place the files in there, ignoring the +root directory in the downloaded archive + +Config +====== +The default config file is plugins/zipdownload/config.inc.php.dist +Rename this to plugins/zipdownload/config.inc.php
\ No newline at end of file diff --git a/plugins/zipdownload/composer.json b/plugins/zipdownload/composer.json new file mode 100644 index 000000000..bc171d82a --- /dev/null +++ b/plugins/zipdownload/composer.json @@ -0,0 +1,30 @@ +{ + "name": "roundcube/zipdownload", + "type": "roundcube-plugin", + "description": "Adds an option to download all attachments to a message in one zip file, when a message has multiple attachments. Also allows the download of a selection of messages in one zip file. Supports mbox and maildir format.", + "license": "GPLv3+", + "version": "3.0", + "authors": [ + { + "name": "Thomas Bruederli", + "email": "roundcube@gmail.com", + "role": "Lead" + }, + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Lead" + } + ], + "repositories": [ + { + "type": "composer", + "url": "http://plugins.roundcube.net" + } + ], + "require": { + "php": ">=5.3.0", + "roundcube/plugin-installer": ">=0.1.3", + "ext-zip": "*" + } +} diff --git a/plugins/zipdownload/config.inc.php.dist b/plugins/zipdownload/config.inc.php.dist new file mode 100644 index 000000000..171b4aea5 --- /dev/null +++ b/plugins/zipdownload/config.inc.php.dist @@ -0,0 +1,18 @@ +<?php + +/** + * ZipDownload configuration file + */ + +// Zip attachments +// Only show the link when there are more than this many attachments +// -1 to prevent downloading of attachments as zip +$config['zipdownload_attachments'] = 1; + +// Zip selection of messages +$config['zipdownload_selection'] = false; + +// Charset to use for filenames inside the zip +$config['zipdownload_charset'] = 'ISO-8859-1'; + +?>
\ No newline at end of file diff --git a/plugins/zipdownload/localization/ar.inc b/plugins/zipdownload/localization/ar.inc new file mode 100644 index 000000000..ac8585000 --- /dev/null +++ b/plugins/zipdownload/localization/ar.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'تنزيل كل المرفقات'; diff --git a/plugins/zipdownload/localization/ar_SA.inc b/plugins/zipdownload/localization/ar_SA.inc new file mode 100644 index 000000000..e8652a182 --- /dev/null +++ b/plugins/zipdownload/localization/ar_SA.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'تحميل جميع المرفقات'; diff --git a/plugins/zipdownload/localization/ast.inc b/plugins/zipdownload/localization/ast.inc new file mode 100644 index 000000000..74bb0ff52 --- /dev/null +++ b/plugins/zipdownload/localization/ast.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Descargar tolos axuntos'; +$labels['download'] = 'Descargar...'; +$labels['downloadmbox'] = 'Formatu Mbox (.zip)'; +$labels['downloadmaildir'] = 'Formatu Maildir (.zip)'; +$labels['downloademl'] = 'Fonte (.eml)'; diff --git a/plugins/zipdownload/localization/az_AZ.inc b/plugins/zipdownload/localization/az_AZ.inc new file mode 100644 index 000000000..cc93b8aa8 --- /dev/null +++ b/plugins/zipdownload/localization/az_AZ.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Bütün qoşmaları endir'; diff --git a/plugins/zipdownload/localization/be_BE.inc b/plugins/zipdownload/localization/be_BE.inc new file mode 100644 index 000000000..80d2bdbc2 --- /dev/null +++ b/plugins/zipdownload/localization/be_BE.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Спампаваць усе далучэнні'; +$labels['download'] = 'Сцягнуць...'; +$labels['downloadmbox'] = 'Фармат mbox (.zip)'; +$labels['downloadmaildir'] = 'Фармат maildir (.zip)'; +$labels['downloademl'] = 'Выточны файл (.eml)'; diff --git a/plugins/zipdownload/localization/bg_BG.inc b/plugins/zipdownload/localization/bg_BG.inc new file mode 100644 index 000000000..36bf5389c --- /dev/null +++ b/plugins/zipdownload/localization/bg_BG.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Изтегляне на всички прикачени файлове'; +$labels['download'] = 'Изтегляне...'; +$labels['downloadmbox'] = 'Mbox формат (.zip)'; +$labels['downloadmaildir'] = 'Maildir формат (.zip)'; +$labels['downloademl'] = 'Outlook формат (.eml)'; diff --git a/plugins/zipdownload/localization/br.inc b/plugins/zipdownload/localization/br.inc new file mode 100644 index 000000000..031200280 --- /dev/null +++ b/plugins/zipdownload/localization/br.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Pellgargañ an holl stagadennoù'; +$labels['download'] = 'Pellgargañ…'; +$labels['downloadmbox'] = 'Mentrezh Mbox (.zip)'; +$labels['downloadmaildir'] = 'Mentrezh Maildir (.zip)'; +$labels['downloademl'] = 'Tarzh (.eml)'; diff --git a/plugins/zipdownload/localization/bs_BA.inc b/plugins/zipdownload/localization/bs_BA.inc new file mode 100644 index 000000000..d6389f995 --- /dev/null +++ b/plugins/zipdownload/localization/bs_BA.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Preuzmi sve priloge'; +$labels['download'] = 'Preuzmi...'; +$labels['downloadmbox'] = 'Mbox format (.zip)'; +$labels['downloadmaildir'] = 'Maildir format (.zip)'; +$labels['downloademl'] = 'Izvorno (.eml)'; diff --git a/plugins/zipdownload/localization/ca_ES.inc b/plugins/zipdownload/localization/ca_ES.inc new file mode 100644 index 000000000..c8dd680ef --- /dev/null +++ b/plugins/zipdownload/localization/ca_ES.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Descarrega tots els adjunts'; +$labels['download'] = 'Descarrega...'; +$labels['downloadmbox'] = 'Format mbox (.zip)'; +$labels['downloadmaildir'] = 'Format maildir (.zip)'; +$labels['downloademl'] = 'Codi font (.eml)'; diff --git a/plugins/zipdownload/localization/cs_CZ.inc b/plugins/zipdownload/localization/cs_CZ.inc new file mode 100644 index 000000000..9c4d45fd3 --- /dev/null +++ b/plugins/zipdownload/localization/cs_CZ.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Stáhnout všechny přílohy'; +$labels['download'] = 'Stáhnout...'; +$labels['downloadmbox'] = 'Formát mbox (.zip)'; +$labels['downloadmaildir'] = 'Formát maildir (.zip)'; +$labels['downloademl'] = 'Zdroj (.eml)'; diff --git a/plugins/zipdownload/localization/cy_GB.inc b/plugins/zipdownload/localization/cy_GB.inc new file mode 100644 index 000000000..d0a60f0d6 --- /dev/null +++ b/plugins/zipdownload/localization/cy_GB.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Llwytho lawr holl atodiadau'; +$labels['download'] = 'Llwytho lawr...'; +$labels['downloadmbox'] = 'Fformat mbox (.zip)'; +$labels['downloadmaildir'] = 'Fformat maildir (.zip)'; +$labels['downloademl'] = 'Ffynhonnell (.eml)'; diff --git a/plugins/zipdownload/localization/da_DK.inc b/plugins/zipdownload/localization/da_DK.inc new file mode 100644 index 000000000..7cf98144c --- /dev/null +++ b/plugins/zipdownload/localization/da_DK.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Download alle som .zip-fil'; +$labels['download'] = 'Download...'; +$labels['downloadmbox'] = 'Mbox format (.zip)'; +$labels['downloadmaildir'] = 'Maildir format (.zip)'; +$labels['downloademl'] = 'Kilde (.eml)'; diff --git a/plugins/zipdownload/localization/de_CH.inc b/plugins/zipdownload/localization/de_CH.inc new file mode 100644 index 000000000..f1a180e8b --- /dev/null +++ b/plugins/zipdownload/localization/de_CH.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Alle Anhänge herunterladen'; +$labels['download'] = 'Download...'; +$labels['downloadmbox'] = 'Mbox Format (.zip)'; +$labels['downloadmaildir'] = 'Maildir Format (.zip)'; +$labels['downloademl'] = 'Source (.eml)'; diff --git a/plugins/zipdownload/localization/de_DE.inc b/plugins/zipdownload/localization/de_DE.inc new file mode 100644 index 000000000..d3dadc025 --- /dev/null +++ b/plugins/zipdownload/localization/de_DE.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Alle Anhänge herunterladen'; +$labels['download'] = 'Herunterladen...'; +$labels['downloadmbox'] = 'Mbox-Format (.zip)'; +$labels['downloadmaildir'] = 'Maildir-Format (.zip)'; +$labels['downloademl'] = 'Quelltext (.eml)'; diff --git a/plugins/zipdownload/localization/el_GR.inc b/plugins/zipdownload/localization/el_GR.inc new file mode 100644 index 000000000..db9a5b1eb --- /dev/null +++ b/plugins/zipdownload/localization/el_GR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Λήψη όλων των συνημμένων'; +$labels['download'] = 'Λήψη...'; +$labels['downloadmbox'] = 'Μορφή mbox (.zip)'; +$labels['downloadmaildir'] = 'Μορφή maildir (.zip)'; +$labels['downloademl'] = 'Πηγή (.eml)'; diff --git a/plugins/zipdownload/localization/en_CA.inc b/plugins/zipdownload/localization/en_CA.inc new file mode 100644 index 000000000..c3400d971 --- /dev/null +++ b/plugins/zipdownload/localization/en_CA.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Download all attachments'; +$labels['download'] = 'Download...'; +$labels['downloadmbox'] = 'Mbox format (.zip)'; +$labels['downloadmaildir'] = 'Maildir format (.zip)'; +$labels['downloademl'] = 'Source (.eml)'; diff --git a/plugins/zipdownload/localization/en_GB.inc b/plugins/zipdownload/localization/en_GB.inc new file mode 100644 index 000000000..c3400d971 --- /dev/null +++ b/plugins/zipdownload/localization/en_GB.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Download all attachments'; +$labels['download'] = 'Download...'; +$labels['downloadmbox'] = 'Mbox format (.zip)'; +$labels['downloadmaildir'] = 'Maildir format (.zip)'; +$labels['downloademl'] = 'Source (.eml)'; diff --git a/plugins/zipdownload/localization/en_US.inc b/plugins/zipdownload/localization/en_US.inc new file mode 100644 index 000000000..91145205e --- /dev/null +++ b/plugins/zipdownload/localization/en_US.inc @@ -0,0 +1,24 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ + +$labels = array(); +$labels['downloadall'] = 'Download all attachments'; +$labels['download'] = 'Download...'; +$labels['downloadmbox'] = 'Mbox format (.zip)'; +$labels['downloadmaildir'] = 'Maildir format (.zip)'; +$labels['downloademl'] = 'Source (.eml)'; diff --git a/plugins/zipdownload/localization/eo.inc b/plugins/zipdownload/localization/eo.inc new file mode 100644 index 000000000..729052489 --- /dev/null +++ b/plugins/zipdownload/localization/eo.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Elŝuti ĉiujn kunsendaĵojn'; diff --git a/plugins/zipdownload/localization/es_419.inc b/plugins/zipdownload/localization/es_419.inc new file mode 100644 index 000000000..095926cb0 --- /dev/null +++ b/plugins/zipdownload/localization/es_419.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Descargar todos los archivos adjuntos'; +$labels['download'] = 'Descargando...'; +$labels['downloadmbox'] = 'Formato mbox (.zip)'; +$labels['downloadmaildir'] = 'Formato maildir (.zip)'; +$labels['downloademl'] = 'Fuente (.eml)'; diff --git a/plugins/zipdownload/localization/es_AR.inc b/plugins/zipdownload/localization/es_AR.inc new file mode 100644 index 000000000..5a4d24ad5 --- /dev/null +++ b/plugins/zipdownload/localization/es_AR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Descargar Todo'; +$labels['download'] = 'Descargar...'; +$labels['downloadmbox'] = 'Formato Mbox (.zip)'; +$labels['downloadmaildir'] = 'Formato Maildir (.zip)'; +$labels['downloademl'] = 'Original (.eml)'; diff --git a/plugins/zipdownload/localization/es_ES.inc b/plugins/zipdownload/localization/es_ES.inc new file mode 100644 index 000000000..1c95b7f3e --- /dev/null +++ b/plugins/zipdownload/localization/es_ES.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Descargar todos los adjuntos'; +$labels['download'] = 'Descargar...'; +$labels['downloadmbox'] = 'Formato mbox (.zip)'; +$labels['downloadmaildir'] = 'Formato maildir (.zip)'; +$labels['downloademl'] = 'Fuente (.eml)'; diff --git a/plugins/zipdownload/localization/et_EE.inc b/plugins/zipdownload/localization/et_EE.inc new file mode 100644 index 000000000..a28653fa3 --- /dev/null +++ b/plugins/zipdownload/localization/et_EE.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Laadi alla kõik manused'; +$labels['download'] = 'lae arvutisse'; +$labels['downloadmbox'] = 'Mbox vorming (.zip)'; +$labels['downloadmaildir'] = 'Maildir vorming (.zip)'; +$labels['downloademl'] = 'Lähtetekst (.eml)'; diff --git a/plugins/zipdownload/localization/eu_ES.inc b/plugins/zipdownload/localization/eu_ES.inc new file mode 100644 index 000000000..3d923f11d --- /dev/null +++ b/plugins/zipdownload/localization/eu_ES.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Deskargatu eranskin guztiak'; +$labels['download'] = 'Deskargatu...'; +$labels['downloadmbox'] = 'Mbox formatua (.zip)'; +$labels['downloadmaildir'] = 'Maildir formatua (.zip)'; +$labels['downloademl'] = 'Iturburua (.eml)'; diff --git a/plugins/zipdownload/localization/fa_AF.inc b/plugins/zipdownload/localization/fa_AF.inc new file mode 100644 index 000000000..89e898fc9 --- /dev/null +++ b/plugins/zipdownload/localization/fa_AF.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'بارگزاری همه ضمیمه ها'; diff --git a/plugins/zipdownload/localization/fa_IR.inc b/plugins/zipdownload/localization/fa_IR.inc new file mode 100644 index 000000000..4465fd261 --- /dev/null +++ b/plugins/zipdownload/localization/fa_IR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'بارگیری همه پیوستها'; +$labels['download'] = 'بارگیری'; +$labels['downloadmbox'] = 'قالب Mbox (.zip)'; +$labels['downloadmaildir'] = 'قالب Maildir (.zip)'; +$labels['downloademl'] = 'منبع (.eml)'; diff --git a/plugins/zipdownload/localization/fi_FI.inc b/plugins/zipdownload/localization/fi_FI.inc new file mode 100644 index 000000000..fed2d9cf3 --- /dev/null +++ b/plugins/zipdownload/localization/fi_FI.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Lataa kaikki liitteet'; +$labels['download'] = 'Lataa...'; +$labels['downloadmbox'] = 'Mbox-muoto (.zip)'; +$labels['downloadmaildir'] = 'Maildir-muoto (.zip)'; +$labels['downloademl'] = 'Lähde (.eml)'; diff --git a/plugins/zipdownload/localization/fo_FO.inc b/plugins/zipdownload/localization/fo_FO.inc new file mode 100644 index 000000000..5feb35aeb --- /dev/null +++ b/plugins/zipdownload/localization/fo_FO.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Heinta allar viðheftingar'; diff --git a/plugins/zipdownload/localization/fr_FR.inc b/plugins/zipdownload/localization/fr_FR.inc new file mode 100644 index 000000000..57c8bf6ee --- /dev/null +++ b/plugins/zipdownload/localization/fr_FR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Télécharger toutes les pièces jointes'; +$labels['download'] = 'Télécharger...'; +$labels['downloadmbox'] = 'Format mbox (.zip)'; +$labels['downloadmaildir'] = 'Format maildir (.zip)'; +$labels['downloademl'] = 'Source (.eml)'; diff --git a/plugins/zipdownload/localization/fy_NL.inc b/plugins/zipdownload/localization/fy_NL.inc new file mode 100644 index 000000000..96d69d0a7 --- /dev/null +++ b/plugins/zipdownload/localization/fy_NL.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloademl'] = 'Boarne (.eml)'; diff --git a/plugins/zipdownload/localization/gl_ES.inc b/plugins/zipdownload/localization/gl_ES.inc new file mode 100644 index 000000000..04912f4fb --- /dev/null +++ b/plugins/zipdownload/localization/gl_ES.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Descargar todos os adxuntos'; +$labels['download'] = 'Descargar'; +$labels['downloadmbox'] = 'En formato mbox (.zip)'; +$labels['downloadmaildir'] = 'En formato maildir (.zip)'; +$labels['downloademl'] = 'Código fonte (.eml)'; diff --git a/plugins/zipdownload/localization/he_IL.inc b/plugins/zipdownload/localization/he_IL.inc new file mode 100644 index 000000000..50521fc6c --- /dev/null +++ b/plugins/zipdownload/localization/he_IL.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'להוריד את כל הצרופות'; +$labels['download'] = 'מוריד כעת...'; +$labels['downloadmbox'] = 'פורמט Mbox ‏(zip.)'; +$labels['downloadmaildir'] = 'פורמט Maildir ‏(zip.)'; +$labels['downloademl'] = 'מקור (eml.)'; diff --git a/plugins/zipdownload/localization/hr_HR.inc b/plugins/zipdownload/localization/hr_HR.inc new file mode 100644 index 000000000..6b21f010d --- /dev/null +++ b/plugins/zipdownload/localization/hr_HR.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Preuzmi sve privitke'; diff --git a/plugins/zipdownload/localization/hu_HU.inc b/plugins/zipdownload/localization/hu_HU.inc new file mode 100644 index 000000000..557d14ceb --- /dev/null +++ b/plugins/zipdownload/localization/hu_HU.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Összes csatolmány letöltése'; +$labels['download'] = 'Letöltés...'; +$labels['downloadmbox'] = 'Mbox formátum (.zip)'; +$labels['downloadmaildir'] = 'Maildir formátum (.zip)'; +$labels['downloademl'] = 'Forrás (.eml)'; diff --git a/plugins/zipdownload/localization/hy_AM.inc b/plugins/zipdownload/localization/hy_AM.inc new file mode 100644 index 000000000..0f24512de --- /dev/null +++ b/plugins/zipdownload/localization/hy_AM.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Ներբեռնել բոլո կցված նիշքերը'; diff --git a/plugins/zipdownload/localization/ia.inc b/plugins/zipdownload/localization/ia.inc new file mode 100644 index 000000000..c35619a08 --- /dev/null +++ b/plugins/zipdownload/localization/ia.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Discargar tote le attachamentos'; +$labels['download'] = 'Discargar...'; +$labels['downloadmbox'] = 'Formato Mbox (.zip)'; +$labels['downloadmaildir'] = 'Formato Maildir (.zip)'; +$labels['downloademl'] = 'Fonte (.eml)'; diff --git a/plugins/zipdownload/localization/id_ID.inc b/plugins/zipdownload/localization/id_ID.inc new file mode 100644 index 000000000..ca1abc85e --- /dev/null +++ b/plugins/zipdownload/localization/id_ID.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Unduh semua lampiran'; diff --git a/plugins/zipdownload/localization/it_IT.inc b/plugins/zipdownload/localization/it_IT.inc new file mode 100644 index 000000000..96cd8898d --- /dev/null +++ b/plugins/zipdownload/localization/it_IT.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Scarica tutti gli allegati'; +$labels['download'] = 'Scaricare...'; +$labels['downloadmbox'] = 'Formato mbox (.zip)'; +$labels['downloadmaildir'] = 'Formato maildir (.zip)'; +$labels['downloademl'] = 'Sorgente (.eml)'; diff --git a/plugins/zipdownload/localization/ja_JP.inc b/plugins/zipdownload/localization/ja_JP.inc new file mode 100644 index 000000000..71a8143a4 --- /dev/null +++ b/plugins/zipdownload/localization/ja_JP.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'すべての添付ファイルをダウンロード'; +$labels['download'] = 'ダウンロード...'; +$labels['downloadmbox'] = 'mbox形式(.zip)'; +$labels['downloadmaildir'] = 'Maildir形式(.zip)'; +$labels['downloademl'] = 'ソース(.eml)'; diff --git a/plugins/zipdownload/localization/km_KH.inc b/plugins/zipdownload/localization/km_KH.inc new file mode 100644 index 000000000..9bf572198 --- /dev/null +++ b/plugins/zipdownload/localization/km_KH.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'ទាញយកឯកសារភ្ជាប់ទាំងអស់'; diff --git a/plugins/zipdownload/localization/ko_KR.inc b/plugins/zipdownload/localization/ko_KR.inc new file mode 100644 index 000000000..2cc610ae7 --- /dev/null +++ b/plugins/zipdownload/localization/ko_KR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = '모든 첨부파일을 다운로드'; +$labels['download'] = '다운로드...'; +$labels['downloadmbox'] = 'Mbox 형식(.zip)'; +$labels['downloadmaildir'] = 'Maildir 형식(.zip)'; +$labels['downloademl'] = '소스(.eml)'; diff --git a/plugins/zipdownload/localization/ku.inc b/plugins/zipdownload/localization/ku.inc new file mode 100644 index 000000000..af8165da3 --- /dev/null +++ b/plugins/zipdownload/localization/ku.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Hemû pêvekan daxîne'; +$labels['download'] = 'Daxîne...'; +$labels['downloadmbox'] = 'Mbox format (.zip)'; +$labels['downloadmaildir'] = 'Maildir format (.zip)'; +$labels['downloademl'] = 'Çavkanî (.eml)'; diff --git a/plugins/zipdownload/localization/ku_IQ.inc b/plugins/zipdownload/localization/ku_IQ.inc new file mode 100644 index 000000000..0374e01a8 --- /dev/null +++ b/plugins/zipdownload/localization/ku_IQ.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'داگرتنی هەموو هاوپێچەکان'; +$labels['download'] = 'داگرتن...'; +$labels['downloadmbox'] = 'Mbox format (.zip)'; +$labels['downloadmaildir'] = 'Maildir format (.zip)'; +$labels['downloademl'] = 'Source (.eml)'; diff --git a/plugins/zipdownload/localization/lb_LU.inc b/plugins/zipdownload/localization/lb_LU.inc new file mode 100644 index 000000000..70e60595c --- /dev/null +++ b/plugins/zipdownload/localization/lb_LU.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'All d\'Unhäng eroflueden'; +$labels['download'] = 'Eroflueden...'; +$labels['downloadmbox'] = 'Mbox-Format (.zip)'; +$labels['downloadmaildir'] = 'Maildir-Format (.zip)'; +$labels['downloademl'] = 'Source (.eml)'; diff --git a/plugins/zipdownload/localization/lt_LT.inc b/plugins/zipdownload/localization/lt_LT.inc new file mode 100644 index 000000000..85ecb9b09 --- /dev/null +++ b/plugins/zipdownload/localization/lt_LT.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Atsisiųsti visus priedus'; +$labels['download'] = 'Parsisiųsti...'; +$labels['downloadmbox'] = 'Mbox formatas (.zip)'; +$labels['downloadmaildir'] = 'Maildir formatas (.zip)'; +$labels['downloademl'] = 'Kodas (.eml)'; diff --git a/plugins/zipdownload/localization/lv_LV.inc b/plugins/zipdownload/localization/lv_LV.inc new file mode 100644 index 000000000..9dcf4cd81 --- /dev/null +++ b/plugins/zipdownload/localization/lv_LV.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Lejupielādēt visus pielikumus'; diff --git a/plugins/zipdownload/localization/ml_IN.inc b/plugins/zipdownload/localization/ml_IN.inc new file mode 100644 index 000000000..3dcaffa1f --- /dev/null +++ b/plugins/zipdownload/localization/ml_IN.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'എല്ലാ അറ്റാച്ച്മെന്റുകളും ഡൗൺലോഡ് ചെയ്യുക'; +$labels['download'] = 'ഡൗൺലോഡ്...'; +$labels['downloadmbox'] = 'എംബോക്സ് രീതി (.zip)'; +$labels['downloadmaildir'] = 'മെയിൽഡിർ രീതി (.zip)'; +$labels['downloademl'] = 'സ്രോതസ്സ് (.eml)'; diff --git a/plugins/zipdownload/localization/nb_NO.inc b/plugins/zipdownload/localization/nb_NO.inc new file mode 100644 index 000000000..196a723be --- /dev/null +++ b/plugins/zipdownload/localization/nb_NO.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Last ned alle vedlegg'; +$labels['download'] = 'Nedlaste...'; +$labels['downloadmbox'] = 'Mbox format (.zip)'; +$labels['downloadmaildir'] = 'Maildir format (.zip)'; +$labels['downloademl'] = 'Kildekode (.eml)'; diff --git a/plugins/zipdownload/localization/nl_NL.inc b/plugins/zipdownload/localization/nl_NL.inc new file mode 100644 index 000000000..ef8276970 --- /dev/null +++ b/plugins/zipdownload/localization/nl_NL.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Alle bijlagen downloaden'; +$labels['download'] = 'Download...'; +$labels['downloadmbox'] = 'Mbox-formaat (.zip)'; +$labels['downloadmaildir'] = 'Maildir-formaat (.zip)'; +$labels['downloademl'] = 'Bron (.eml)'; diff --git a/plugins/zipdownload/localization/nn_NO.inc b/plugins/zipdownload/localization/nn_NO.inc new file mode 100644 index 000000000..2440a2ea9 --- /dev/null +++ b/plugins/zipdownload/localization/nn_NO.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Last ned alle vedlegg'; diff --git a/plugins/zipdownload/localization/pl_PL.inc b/plugins/zipdownload/localization/pl_PL.inc new file mode 100644 index 000000000..eefbd7485 --- /dev/null +++ b/plugins/zipdownload/localization/pl_PL.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Pobierz wszystkie jako ZIP'; +$labels['download'] = 'Pobierz...'; +$labels['downloadmbox'] = 'Format mbox (.zip)'; +$labels['downloadmaildir'] = 'Format maildir (.zip)'; +$labels['downloademl'] = 'Źródło wiadomości (.eml)'; diff --git a/plugins/zipdownload/localization/pt_BR.inc b/plugins/zipdownload/localization/pt_BR.inc new file mode 100644 index 000000000..daac3ae2d --- /dev/null +++ b/plugins/zipdownload/localization/pt_BR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Baixar todos os anexos'; +$labels['download'] = 'Baixar...'; +$labels['downloadmbox'] = 'Formato mbox (.zip)'; +$labels['downloadmaildir'] = 'Formato maildir (.zip)'; +$labels['downloademl'] = 'Original (.eml)'; diff --git a/plugins/zipdownload/localization/pt_PT.inc b/plugins/zipdownload/localization/pt_PT.inc new file mode 100644 index 000000000..4574bc4bd --- /dev/null +++ b/plugins/zipdownload/localization/pt_PT.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Guardar todos os anexos'; +$labels['download'] = 'Descarregar...'; +$labels['downloadmbox'] = 'Formato Mbox (.zip)'; +$labels['downloadmaildir'] = 'Formato Maildir (.zip)'; +$labels['downloademl'] = 'Original (.eml)'; diff --git a/plugins/zipdownload/localization/ro_RO.inc b/plugins/zipdownload/localization/ro_RO.inc new file mode 100644 index 000000000..5c872d033 --- /dev/null +++ b/plugins/zipdownload/localization/ro_RO.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Descarcă toate atașamentele'; diff --git a/plugins/zipdownload/localization/ru_RU.inc b/plugins/zipdownload/localization/ru_RU.inc new file mode 100644 index 000000000..93725e355 --- /dev/null +++ b/plugins/zipdownload/localization/ru_RU.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Загрузить все вложения'; +$labels['download'] = 'Загрузка...'; +$labels['downloadmbox'] = 'Формат Mbox (.zip)'; +$labels['downloadmaildir'] = 'Формат Maildir (.zip)'; +$labels['downloademl'] = 'Исходный формат (.eml)'; diff --git a/plugins/zipdownload/localization/sk_SK.inc b/plugins/zipdownload/localization/sk_SK.inc new file mode 100644 index 000000000..a7ab21c2d --- /dev/null +++ b/plugins/zipdownload/localization/sk_SK.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Stiahnuť všetky prílohy'; +$labels['download'] = 'Stiahnuť...'; +$labels['downloadmbox'] = 'Formát Mbox (.zip)'; +$labels['downloadmaildir'] = 'Formát Maildir (.zip)'; +$labels['downloademl'] = 'Zdroj (.eml)'; diff --git a/plugins/zipdownload/localization/sl_SI.inc b/plugins/zipdownload/localization/sl_SI.inc new file mode 100644 index 000000000..4fa4ca3ea --- /dev/null +++ b/plugins/zipdownload/localization/sl_SI.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Prenesi vse priponke'; diff --git a/plugins/zipdownload/localization/sr_CS.inc b/plugins/zipdownload/localization/sr_CS.inc new file mode 100644 index 000000000..0fc8edda4 --- /dev/null +++ b/plugins/zipdownload/localization/sr_CS.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Преузми све прилоге'; diff --git a/plugins/zipdownload/localization/sv_SE.inc b/plugins/zipdownload/localization/sv_SE.inc new file mode 100644 index 000000000..4a3d5ded3 --- /dev/null +++ b/plugins/zipdownload/localization/sv_SE.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Ladda ner alla bifogade filer'; +$labels['download'] = 'Hämta...'; +$labels['downloadmbox'] = 'Format Mbox (.zip)'; +$labels['downloadmaildir'] = 'Format Maildir (.zip)'; +$labels['downloademl'] = 'Källkod (.eml)'; diff --git a/plugins/zipdownload/localization/tr_TR.inc b/plugins/zipdownload/localization/tr_TR.inc new file mode 100644 index 000000000..21a44eb7d --- /dev/null +++ b/plugins/zipdownload/localization/tr_TR.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Tüm ek dosyaları indir'; +$labels['download'] = 'İndir...'; +$labels['downloadmbox'] = 'Mbox biçimi(.zip)'; +$labels['downloadmaildir'] = 'Maildir biçimi (.zip)'; +$labels['downloademl'] = 'Kaynak (.eml)'; diff --git a/plugins/zipdownload/localization/uk_UA.inc b/plugins/zipdownload/localization/uk_UA.inc new file mode 100644 index 000000000..e7f6646c1 --- /dev/null +++ b/plugins/zipdownload/localization/uk_UA.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Завантажити всі вкладення'; diff --git a/plugins/zipdownload/localization/vi_VN.inc b/plugins/zipdownload/localization/vi_VN.inc new file mode 100644 index 000000000..d63146636 --- /dev/null +++ b/plugins/zipdownload/localization/vi_VN.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = 'Tải tất cả tệp tin đính kèm'; +$labels['download'] = 'Tải xuống...'; +$labels['downloadmbox'] = 'Định dạng mbox (.zip)'; +$labels['downloadmaildir'] = 'Định dạng Maildir (.zip)'; +$labels['downloademl'] = 'Mã nguồn (.eml)'; diff --git a/plugins/zipdownload/localization/zh_CN.inc b/plugins/zipdownload/localization/zh_CN.inc new file mode 100644 index 000000000..5e0fd4ea6 --- /dev/null +++ b/plugins/zipdownload/localization/zh_CN.inc @@ -0,0 +1,18 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = '下载全部附件'; diff --git a/plugins/zipdownload/localization/zh_TW.inc b/plugins/zipdownload/localization/zh_TW.inc new file mode 100644 index 000000000..4fb9efec1 --- /dev/null +++ b/plugins/zipdownload/localization/zh_TW.inc @@ -0,0 +1,22 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | plugins/zipdownload/localization/<lang>.inc | + | | + | Localization file of the Roundcube Webmail Zipdownload plugin | + | Copyright (C) 2012-2014, 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-zipdownload/ +*/ +$labels['downloadall'] = '下載所有附件'; +$labels['download'] = '下載...'; +$labels['downloadmbox'] = 'Mbox 格式 (.zip)'; +$labels['downloadmaildir'] = 'Maildir 格式 (.zip)'; +$labels['downloademl'] = '原始格式 (.eml)'; diff --git a/plugins/zipdownload/skins/classic/zip.png b/plugins/zipdownload/skins/classic/zip.png Binary files differnew file mode 100644 index 000000000..c64fde89b --- /dev/null +++ b/plugins/zipdownload/skins/classic/zip.png diff --git a/plugins/zipdownload/skins/classic/zipdownload.css b/plugins/zipdownload/skins/classic/zipdownload.css new file mode 100644 index 000000000..2608fdfd0 --- /dev/null +++ b/plugins/zipdownload/skins/classic/zipdownload.css @@ -0,0 +1,8 @@ +/* Roundcube Zipdownload plugin styles for classic skin */ + +a.zipdownload { + display: inline-block; + padding: 0 0 2px 20px; + background: url(zip.png) 0 1px no-repeat; + font-style: italic; +} diff --git a/plugins/zipdownload/skins/larry/zipdownload.css b/plugins/zipdownload/skins/larry/zipdownload.css new file mode 100644 index 000000000..bb92631b1 --- /dev/null +++ b/plugins/zipdownload/skins/larry/zipdownload.css @@ -0,0 +1,7 @@ +/* Roundcube Zipdownload plugin styles for skin "Larry" */ + +a.zipdownload { + display: inline-block; + margin-top: .5em; + padding: 3px 5px 4px 5px; +} diff --git a/plugins/zipdownload/tests/Zipdownload.php b/plugins/zipdownload/tests/Zipdownload.php new file mode 100644 index 000000000..3882dea87 --- /dev/null +++ b/plugins/zipdownload/tests/Zipdownload.php @@ -0,0 +1,23 @@ +<?php + +class Zipdownload_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once __DIR__ . '/../zipdownload.php'; + } + + /** + * Plugin object construction test + */ + function test_constructor() + { + $rcube = rcube::get_instance(); + $plugin = new zipdownload($rcube->api); + + $this->assertInstanceOf('zipdownload', $plugin); + $this->assertInstanceOf('rcube_plugin', $plugin); + } +} + diff --git a/plugins/zipdownload/zipdownload.js b/plugins/zipdownload/zipdownload.js new file mode 100644 index 000000000..af9136c1d --- /dev/null +++ b/plugins/zipdownload/zipdownload.js @@ -0,0 +1,99 @@ +/** + * ZipDownload plugin script + * + * @licstart The following is the entire license notice for the + * JavaScript code in this file. + * + * Copyright (c) 2013-2014, The Roundcube Dev Team + * + * The JavaScript code in this page is free software: you can redistribute it + * and/or modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of + * the License, or (at your option) any later version. + * + * @licend The above is the entire license notice + * for the JavaScript code in this file. + */ + +window.rcmail && rcmail.addEventListener('init', function(evt) { + // register additional actions + rcmail.register_command('download-eml', function() { rcmail_zipdownload('eml'); }); + rcmail.register_command('download-mbox', function() { rcmail_zipdownload('mbox'); }); + rcmail.register_command('download-maildir', function() { rcmail_zipdownload('maildir'); }); + + // commands status + rcmail.message_list && rcmail.message_list.addEventListener('select', function(list) { + var selected = list.get_selection().length; + + rcmail.enable_command('download', selected > 0); + rcmail.enable_command('download-eml', selected == 1); + rcmail.enable_command('download-mbox', 'download-maildir', selected > 1); + }); + + // hook before default download action + rcmail.addEventListener('beforedownload', rcmail_zipdownload_menu); + + // find and modify default download link/button + $.each(rcmail.buttons['download'] || [], function() { + var link = $('#' + this.id), + span = $('span', link); + + if (!span.length) { + span = $('<span>'); + link.html('').append(span); + } + + span.text(rcmail.gettext('zipdownload.download')); + rcmail.env.download_link = link; + }); + }); + + +function rcmail_zipdownload(mode) +{ + // default .eml download of single message + if (mode == 'eml') { + var uid = rcmail.get_single_uid(); + rcmail.goto_url('viewsource', {_uid: uid, _mbox: rcmail.get_message_mailbox(uid), _save: 1}); + return; + } + + // multi-message download, use hidden form to POST selection + if (rcmail.message_list && rcmail.message_list.get_selection().length > 1) { + var inputs = [], form = $('#zipdownload-form'), + post = rcmail.selection_post_data(); + + post._mode = mode; + post._token = rcmail.env.request_token; + + $.each(post, function(k, v) { + if (typeof v == 'object' && v.length > 1) { + for (var j=0; j < v.length; j++) + inputs.push($('<input>').attr({type: 'hidden', name: k+'[]', value: v[j]})); + } + else { + inputs.push($('<input>').attr({type: 'hidden', name: k, value: v})); + } + }); + + if (!form.length) + form = $('<form>').attr({ + style: 'display: none', + method: 'POST', + action: '?_task=mail&_action=plugin.zipdownload.messages' + }) + .appendTo('body'); + + form.html('').append(inputs).submit(); + } +} + +// display download options menu +function rcmail_zipdownload_menu(e) +{ + // show (sub)menu for download selection + rcmail.command('menu-open', 'zipdownload-menu', e && e.target ? e.target : rcmail.env.download_link, e); + + // abort default download action + return false; +} diff --git a/plugins/zipdownload/zipdownload.php b/plugins/zipdownload/zipdownload.php new file mode 100644 index 000000000..983db1227 --- /dev/null +++ b/plugins/zipdownload/zipdownload.php @@ -0,0 +1,339 @@ +<?php + +/** + * ZipDownload + * + * Plugin to allow the download of all message attachments in one zip file + * and downloading of many messages in one go. + * + * @version 3.0 + * @requires php_zip extension (including ZipArchive class) + * @author Philip Weir + * @author Thomas Bruderli + * @author Aleksander Machniak + */ +class zipdownload extends rcube_plugin +{ + public $task = 'mail'; + private $charset = 'ASCII'; + + /** + * Plugin initialization + */ + public function init() + { + // check requirements first + if (!class_exists('ZipArchive', false)) { + rcmail::raise_error(array( + 'code' => 520, + 'file' => __FILE__, + 'line' => __LINE__, + 'message' => "php_zip extension is required for the zipdownload plugin"), true, false); + return; + } + + $rcmail = rcmail::get_instance(); + + $this->load_config(); + $this->charset = $rcmail->config->get('zipdownload_charset', RCUBE_CHARSET); + $this->add_texts('localization'); + + if ($rcmail->config->get('zipdownload_attachments', 1) > -1 && ($rcmail->action == 'show' || $rcmail->action == 'preview')) { + $this->add_hook('template_object_messageattachments', array($this, 'attachment_ziplink')); + } + + $this->register_action('plugin.zipdownload.attachments', array($this, 'download_attachments')); + $this->register_action('plugin.zipdownload.messages', array($this, 'download_messages')); + + if (!$rcmail->action && $rcmail->config->get('zipdownload_selection')) { + $this->download_menu(); + } + } + + /** + * Place a link/button after attachments listing to trigger download + */ + public function attachment_ziplink($p) + { + $rcmail = rcmail::get_instance(); + + // only show the link if there is more than the configured number of attachments + if (substr_count($p['content'], '<li') > $rcmail->config->get('zipdownload_attachments', 1)) { + $href = $rcmail->url(array( + '_action' => 'plugin.zipdownload.attachments', + '_mbox' => $rcmail->output->env['mailbox'], + '_uid' => $rcmail->output->env['uid'], + )); + + $link = html::a(array('href' => $href, 'class' => 'button zipdownload'), + rcube::Q($this->gettext('downloadall')) + ); + + // append link to attachments list, slightly different in some skins + switch (rcmail::get_instance()->config->get('skin')) { + case 'classic': + $p['content'] = str_replace('</ul>', html::tag('li', array('class' => 'zipdownload'), $link) . '</ul>', $p['content']); + break; + + default: + $p['content'] .= $link; + break; + } + + $this->include_stylesheet($this->local_skin_path() . '/zipdownload.css'); + } + + return $p; + } + + /** + * Adds download options menu to the page + */ + public function download_menu() + { + $this->include_script('zipdownload.js'); + $this->add_label('download'); + + $rcmail = rcmail::get_instance(); + $menu = array(); + $ul_attr = array('role' => 'menu', 'aria-labelledby' => 'aria-label-zipdownloadmenu'); + if ($rcmail->config->get('skin') != 'classic') { + $ul_attr['class'] = 'toolbarmenu'; + } + + foreach (array('eml', 'mbox', 'maildir') as $type) { + $menu[] = html::tag('li', null, $rcmail->output->button(array( + 'command' => "download-$type", + 'label' => "zipdownload.download$type", + 'classact' => 'active', + ))); + } + + $rcmail->output->add_footer(html::div(array('id' => 'zipdownload-menu', 'class' => 'popupmenu', 'aria-hidden' => 'true'), + html::tag('h2', array('class' => 'voice', 'id' => 'aria-label-zipdownloadmenu'), "Message Download Options Menu") . + html::tag('ul', $ul_attr, implode('', $menu)))); + } + + /** + * Handler for attachment download action + */ + public function download_attachments() + { + $rcmail = rcmail::get_instance(); + $imap = $rcmail->get_storage(); + $temp_dir = $rcmail->config->get('temp_dir'); + $tmpfname = tempnam($temp_dir, 'zipdownload'); + $tempfiles = array($tmpfname); + $message = new rcube_message(rcube_utils::get_input_value('_uid', rcube_utils::INPUT_GET)); + + // open zip file + $zip = new ZipArchive(); + $zip->open($tmpfname, ZIPARCHIVE::OVERWRITE); + + foreach ($message->attachments as $part) { + $pid = $part->mime_id; + $part = $message->mime_parts[$pid]; + $filename = $part->filename; + + if ($filename === null || $filename === '') { + $ext = (array) rcube_mime::get_mime_extensions($part->mimetype); + $ext = array_shift($ext); + $filename = $rcmail->gettext('messagepart') . ' ' . $pid; + if ($ext) { + $filename .= '.' . $ext; + } + } + + $disp_name = $this->_convert_filename($filename); + $tmpfn = tempnam($temp_dir, 'zipattach'); + $tmpfp = fopen($tmpfn, 'w'); + $tempfiles[] = $tmpfn; + + $message->get_part_body($part->mime_id, false, 0, $tmpfp); + $zip->addFile($tmpfn, $disp_name); + fclose($tmpfp); + } + + $zip->close(); + + $filename = ($message->subject ? $message->subject : 'roundcube') . '.zip'; + $this->_deliver_zipfile($tmpfname, $filename); + + // delete temporary files from disk + foreach ($tempfiles as $tmpfn) { + unlink($tmpfn); + } + + exit; + } + + /** + * Handler for message download action + */ + public function download_messages() + { + $rcmail = rcmail::get_instance(); + + if ($rcmail->config->get('zipdownload_selection') && !empty($_POST['_uid'])) { + $messageset = rcmail::get_uids(); + if (sizeof($messageset)) { + $this->_download_messages($messageset); + } + } + } + + /** + * Helper method to packs all the given messages into a zip archive + * + * @param array List of message UIDs to download + */ + private function _download_messages($messageset) + { + $rcmail = rcmail::get_instance(); + $imap = $rcmail->get_storage(); + $mode = rcube_utils::get_input_value('_mode', rcube_utils::INPUT_POST); + $temp_dir = $rcmail->config->get('temp_dir'); + $tmpfname = tempnam($temp_dir, 'zipdownload'); + $tempfiles = array($tmpfname); + $folders = count($messageset) > 1; + + // @TODO: file size limit + + // open zip file + $zip = new ZipArchive(); + $zip->open($tmpfname, ZIPARCHIVE::OVERWRITE); + + if ($mode == 'mbox') { + $tmpfp = fopen($tmpfname . '.mbox', 'w'); + } + + foreach ($messageset as $mbox => $uids) { + $imap->set_folder($mbox); + $path = $folders ? str_replace($imap->get_hierarchy_delimiter(), '/', $mbox) . '/' : ''; + + if ($uids === '*') { + $index = $imap->index($mbox, null, null, true); + $uids = $index->get(); + } + + foreach ($uids as $uid) { + $headers = $imap->get_message_headers($uid); + + if ($mode == 'mbox') { + $from = rcube_mime::decode_address_list($headers->from, null, true, $headers->charset, true); + $from = array_shift($from); + + // Mbox format header + // @FIXME: \r\n or \n + // @FIXME: date format + $header = sprintf("From %s %s\r\n", + // replace spaces with hyphens + $from ? preg_replace('/\s/', '-', $from) : 'MAILER-DAEMON', + // internaldate + $headers->internaldate + ); + + fwrite($tmpfp, $header); + + // Use stream filter to quote "From " in the message body + stream_filter_register('mbox_filter', 'zipdownload_mbox_filter'); + $filter = stream_filter_append($tmpfp, 'mbox_filter'); + $imap->get_raw_body($uid, $tmpfp); + stream_filter_remove($filter); + fwrite($tmpfp, "\r\n"); + } + else { // maildir + $subject = rcube_mime::decode_mime_string((string)$headers->subject); + $subject = $this->_convert_filename($subject); + $subject = substr($subject, 0, 16); + + $disp_name = ($subject ? $subject : 'message_rfc822') . ".eml"; + $disp_name = $path . $uid . "_" . $disp_name; + + $tmpfn = tempnam($temp_dir, 'zipmessage'); + $tmpfp = fopen($tmpfn, 'w'); + $imap->get_raw_body($uid, $tmpfp); + $tempfiles[] = $tmpfn; + fclose($tmpfp); + $zip->addFile($tmpfn, $disp_name); + } + } + } + + $filename = $folders ? 'messages' : $imap->get_folder(); + + if ($mode == 'mbox') { + $tempfiles[] = $tmpfname . '.mbox'; + fclose($tmpfp); + $zip->addFile($tmpfname . '.mbox', $filename . '.mbox'); + } + + $zip->close(); + + $this->_deliver_zipfile($tmpfname, $filename . '.zip'); + + // delete temporary files from disk + foreach ($tempfiles as $tmpfn) { + unlink($tmpfn); + } + + exit; + } + + /** + * Helper method to send the zip archive to the browser + */ + private function _deliver_zipfile($tmpfname, $filename) + { + $browser = new rcube_browser; + $rcmail = rcmail::get_instance(); + + $rcmail->output->nocacheing_headers(); + + if ($browser->ie) + $filename = rawurlencode($filename); + else + $filename = addcslashes($filename, '"'); + + // send download headers + header("Content-Type: application/octet-stream"); + if ($browser->ie) { + header("Content-Type: application/force-download"); + } + + // don't kill the connection if download takes more than 30 sec. + @set_time_limit(0); + header("Content-Disposition: attachment; filename=\"". $filename ."\""); + header("Content-length: " . filesize($tmpfname)); + readfile($tmpfname); + } + + /** + * Helper function to convert filenames to the configured charset + */ + private function _convert_filename($str) + { + $str = rcube_charset::convert($str, RCUBE_CHARSET, $this->charset); + + return strtr($str, array(':' => '', '/' => '-')); + } +} + +class zipdownload_mbox_filter extends php_user_filter +{ + function filter($in, $out, &$consumed, $closing) + { + while ($bucket = stream_bucket_make_writeable($in)) { + // messages are read line by line + if (preg_match('/^>*From /', $bucket->data)) { + $bucket->data = '>' . $bucket->data; + $bucket->datalen += 1; + } + + $consumed += $bucket->datalen; + stream_bucket_append($out, $bucket); + } + + return PSFS_PASS_ON; + } +} |