diff options
Diffstat (limited to 'plugins/acl')
26 files changed, 551 insertions, 87 deletions
diff --git a/plugins/acl/acl.js b/plugins/acl/acl.js index d6934780f..acea60a4c 100644 --- a/plugins/acl/acl.js +++ b/plugins/acl/acl.js @@ -11,9 +11,16 @@ if (window.rcmail) { rcmail.acl_list_init(); // enable autocomplete on user input if (rcmail.env.acl_users_source) { - rcmail.init_address_input_events($('#acluser'), {action:'settings/plugin.acl-autocomplete'}); + 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 - rcmail.addEventListener('autocomplete_insert', function(e) { + inst.addEventListener('autocomplete_insert', function(e) { if (e.field.id != 'acluser') return; @@ -64,14 +71,14 @@ rcube_webmail.prototype.acl_delete = function() // Save ACL data rcube_webmail.prototype.acl_save = function() { - var user = $('#acluser').val(), rights = '', type; + var user = $('#acluser', this.acl_form).val(), rights = '', type; - $(':checkbox', this.env.acl_advanced ? $('#advancedrights') : sim_ul = $('#simplerights')).map(function() { + $((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]').val()) { + if (type = $('input:checked[name=usertype]', this.acl_form).val()) { if (type != 'user') user = type; } @@ -97,7 +104,7 @@ rcube_webmail.prototype.acl_save = function() rcube_webmail.prototype.acl_cancel = function() { this.ksearch_blur(); - this.acl_form.hide(); + this.acl_popup.dialog('close'); } // Update data after save (and hide form) @@ -115,7 +122,7 @@ rcube_webmail.prototype.acl_update = function(o) // hide autocomplete popup this.ksearch_blur(); // hide form - this.acl_form.hide(); + this.acl_popup.dialog('close'); } // Switch table display mode @@ -132,7 +139,9 @@ rcube_webmail.prototype.acl_mode_switch = function(elem) // ACL table initialization rcube_webmail.prototype.acl_list_init = function() { - $('#acl-switch')[this.env.acl_advanced ? 'addClass' : 'removeClass']('selected'); + 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, toggleselect:true}); @@ -300,7 +309,6 @@ rcube_webmail.prototype.acl_init_form = function(id) if (id && (row = this.acl_list.rows[id])) { row = row.obj; li_elements.map(function() { - val = this.value; td = $('td.'+this.id, row); if (td.length && td.hasClass('enabled')) this.checked = true; @@ -312,22 +320,38 @@ rcube_webmail.prototype.acl_init_form = function(id) type = id; } // mark read (lrs) rights by default - else + 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; - // position the form horizontally - var bw = body.width(), mw = this.acl_form.width(); + var me = this, inst = window.rcmail, body = document.body; + var buttons = {}; + buttons[rcmail.gettext('save')] = function(e) { inst.command('acl-save'); }; + buttons[rcmail.gettext('cancel')] = function(e) { inst.command('acl-cancel'); }; + + // display it as popup + this.acl_popup = rcmail.show_popup_dialog( + '<div style="width:480px;height:280px"> </div>', + id ? rcmail.gettext('acl.editperms') : rcmail.gettext('acl.newuser'), + buttons, + { + modal: true, + closeOnEscape: false, + close: function(e, ui) { + (rcmail.is_framed() ? parent.rcmail : rcmail).ksearch_hide(); + me.acl_form.appendTo(body).hide(); + $(this).remove(); + } + } + ); - if (bw >= mw) - this.acl_form.css({left: parseInt((bw - mw)/2)+'px'}); + this.acl_form.appendTo(this.acl_popup).show(); - // display it - this.acl_form.show(); if (type == 'user') name_input.focus(); diff --git a/plugins/acl/acl.php b/plugins/acl/acl.php index a840bcd58..d7e50f978 100644 --- a/plugins/acl/acl.php +++ b/plugins/acl/acl.php @@ -86,7 +86,7 @@ class acl extends rcube_plugin $this->load_config(); $search = rcube_utils::get_input_value('_search', rcube_utils::INPUT_GPC, true); - $sid = rcube_utils::get_input_value('_id', rcube_utils::INPUT_GPC); + $reqid = rcube_utils::get_input_value('_reqid', rcube_utils::INPUT_GPC); $users = array(); if ($this->init_ldap()) { @@ -115,7 +115,7 @@ class acl extends rcube_plugin sort($users, SORT_LOCALE_STRING); - $this->rc->output->command('ksearch_query_results', $users, $search, $sid); + $this->rc->output->command('ksearch_query_results', $users, $search, $reqid); $this->rc->output->send(); } @@ -150,7 +150,8 @@ class acl extends rcube_plugin $this->load_config(); $this->specials = $this->rc->config->get('acl_specials', $this->specials); $this->add_texts('localization/', array('deleteconfirm', 'norights', - 'nouser', 'deleting', 'saving')); + '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'); @@ -307,7 +308,7 @@ class acl extends rcube_plugin . $val); } - $out = html::tag('ul', array('id' => 'usertype'), $ul, html::$common_attrib); + $out = html::tag('ul', array('id' => 'usertype', 'class' => $attrib['class']), $ul, html::$common_attrib); } // Display text input alone else { diff --git a/plugins/acl/composer.json b/plugins/acl/composer.json index 6c08130e0..923b0ae7e 100644 --- a/plugins/acl/composer.json +++ b/plugins/acl/composer.json @@ -3,7 +3,7 @@ "type": "roundcube-plugin", "description": "IMAP Folders Access Control Lists Management (RFC4314, RFC2086).", "license": "GNU GPLv3+", - "version": "1.2", + "version": "1.3", "authors": [ { "name": "Aleksander Machniak", 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/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/en_CA.inc b/plugins/acl/localization/en_CA.inc index 2dd7e4ec0..53d14ff9a 100644 --- a/plugins/acl/localization/en_CA.inc +++ b/plugins/acl/localization/en_CA.inc @@ -18,7 +18,6 @@ $labels['sharing'] = 'Sharing'; $labels['myrights'] = 'Access Rights'; $labels['username'] = 'User:'; -$labels['advanced'] = 'advanced mode'; $labels['newuser'] = 'Add entry'; $labels['actions'] = 'Access right actions...'; $labels['anyone'] = 'All users (anyone)'; diff --git a/plugins/acl/localization/en_GB.inc b/plugins/acl/localization/en_GB.inc index 16616c746..cf8156ba5 100644 --- a/plugins/acl/localization/en_GB.inc +++ b/plugins/acl/localization/en_GB.inc @@ -81,6 +81,7 @@ $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)?'; diff --git a/plugins/acl/localization/en_US.inc b/plugins/acl/localization/en_US.inc index 3c61266be..23501dafe 100644 --- a/plugins/acl/localization/en_US.inc +++ b/plugins/acl/localization/en_US.inc @@ -19,8 +19,9 @@ $labels['sharing'] = 'Sharing'; $labels['myrights'] = 'Access Rights'; $labels['username'] = 'User:'; -$labels['advanced'] = 'advanced mode'; +$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)'; @@ -39,6 +40,7 @@ $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'; @@ -59,6 +61,7 @@ $labels['shortaclt'] = 'Delete'; $labels['shortacle'] = 'Expunge'; $labels['shortaclx'] = 'Folder delete'; $labels['shortacla'] = 'Administer'; +$labels['shortacln'] = 'Annotate'; $labels['shortaclother'] = 'Other'; $labels['shortaclread'] = 'Read'; @@ -78,6 +81,7 @@ $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'; diff --git a/plugins/acl/localization/eo.inc b/plugins/acl/localization/eo.inc index 888ea4def..e06a38fff 100644 --- a/plugins/acl/localization/eo.inc +++ b/plugins/acl/localization/eo.inc @@ -18,7 +18,6 @@ $labels['sharing'] = 'Kunhavigado'; $labels['myrights'] = 'Atingrajtoj'; $labels['username'] = 'Uzanto:'; -$labels['advanced'] = 'progresinta reĝimo'; $labels['newuser'] = 'Aldoni eron'; $labels['actions'] = 'Agoj de atingrajtoj...'; $labels['anyone'] = 'Ĉiuj uzantoj (iu ajn)'; diff --git a/plugins/acl/localization/et_EE.inc b/plugins/acl/localization/et_EE.inc index 5a64ac8fb..4b6f437aa 100644 --- a/plugins/acl/localization/et_EE.inc +++ b/plugins/acl/localization/et_EE.inc @@ -18,7 +18,6 @@ $labels['sharing'] = 'Jagamine'; $labels['myrights'] = 'Ligipääsuõigused'; $labels['username'] = 'Kasutaja:'; -$labels['advanced'] = 'laiendatud režiim'; $labels['newuser'] = 'Lisa sissekanne'; $labels['actions'] = 'Ligipääsuõiguste toimingud...'; $labels['anyone'] = 'Kõik kasutajad'; diff --git a/plugins/acl/localization/fi_FI.inc b/plugins/acl/localization/fi_FI.inc index ab3222464..eb69eda3a 100644 --- a/plugins/acl/localization/fi_FI.inc +++ b/plugins/acl/localization/fi_FI.inc @@ -18,7 +18,7 @@ $labels['sharing'] = 'Jakaminen'; $labels['myrights'] = 'Käyttöoikeudet'; $labels['username'] = 'Käyttäjä:'; -$labels['advanced'] = 'edistynyt tila'; +$labels['editperms'] = 'Muokkaa oikeuksia'; $labels['anyone'] = 'Kaikki käyttäjät (kuka tahansa)'; $labels['anonymous'] = 'Vieraat (anonyymit)'; $labels['aclother'] = 'Muu'; diff --git a/plugins/acl/localization/fo_FO.inc b/plugins/acl/localization/fo_FO.inc new file mode 100644 index 000000000..b2712b86d --- /dev/null +++ b/plugins/acl/localization/fo_FO.inc @@ -0,0 +1,90 @@ +<?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'] = 'Framkomin støða'; +$labels['newuser'] = 'Legg inn'; +$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/hr_HR.inc b/plugins/acl/localization/hr_HR.inc new file mode 100644 index 000000000..ce666c4a8 --- /dev/null +++ b/plugins/acl/localization/hr_HR.inc @@ -0,0 +1,90 @@ +<?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['advanced'] = 'Napredni način'; +$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/hy_AM.inc b/plugins/acl/localization/hy_AM.inc index b474f6309..403b5ab10 100644 --- a/plugins/acl/localization/hy_AM.inc +++ b/plugins/acl/localization/hy_AM.inc @@ -81,6 +81,7 @@ $messages['saving'] = 'Պահպանվում են մուտքի իրավունքն $messages['updatesuccess'] = 'Մուտքի իրավունքները բարեհաջող փոփոխվեցին։'; $messages['deletesuccess'] = 'Մուտքի իրավունքները բարեհաջող ջնջվեցին։'; $messages['createsuccess'] = 'Մուտքի իրավունքները բարեհաջող ավելացվեցվին։'; +$messages['updateerror'] = 'Մուտքի իրավունքների թարմացումը անջատել'; $messages['deleteerror'] = 'Մուտքի իրավունքները ջնջումը ձախողվեց։'; $messages['createerror'] = 'Մուտքի իրավունքները ավելացումը ձախողվեց։'; $messages['deleteconfirm'] = 'Դուք վստա՞հ էք, որ ցանկանում եք նշված օգտվողներին զրկել մուտքի իրավունքներից։'; diff --git a/plugins/acl/localization/it_IT.inc b/plugins/acl/localization/it_IT.inc index f610ac031..36c66cda5 100644 --- a/plugins/acl/localization/it_IT.inc +++ b/plugins/acl/localization/it_IT.inc @@ -18,8 +18,9 @@ $labels['sharing'] = 'Condivisione'; $labels['myrights'] = 'Diritti d\'accesso'; $labels['username'] = 'Utente:'; -$labels['advanced'] = 'modalità avanzata'; +$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)'; @@ -37,6 +38,7 @@ $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'; @@ -55,6 +57,7 @@ $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'; @@ -72,6 +75,7 @@ $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'; diff --git a/plugins/acl/localization/km_KH.inc b/plugins/acl/localization/km_KH.inc new file mode 100644 index 000000000..f112f3cf3 --- /dev/null +++ b/plugins/acl/localization/km_KH.inc @@ -0,0 +1,68 @@ +<?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['longacldelete'] = 'សារនេះអាចត្រូវបានលុប'; +$messages['deleting'] = 'កំពុងលុបសិទ្ធិចូល...'; +$messages['saving'] = 'រក្សាទុកសិទ្ធិចូល...'; +$messages['updateerror'] = 'មិនអាចធ្វើបច្ចុប្បន្នភាពសិទ្ធិចូល'; +$messages['createerror'] = 'មិនអាចបន្ថែមសិទ្ធិចូល'; +$messages['deleteconfirm'] = 'តើអ្នកពិតជាចង់ដកសិទ្ធចូលពីអ្នកប្រើប្រាស់ដែលបានរើសមែនទេ?'; +$messages['norights'] = 'មិនបានបញ្ជាក់សិទ្ធិច្បាស់លាស់!'; +$messages['nouser'] = 'មិនបានបញ្ជាក់ឈ្មោះអ្នកប្រើ!'; +?> diff --git a/plugins/acl/localization/pt_PT.inc b/plugins/acl/localization/pt_PT.inc index 3f1a8f076..77f831375 100644 --- a/plugins/acl/localization/pt_PT.inc +++ b/plugins/acl/localization/pt_PT.inc @@ -20,70 +20,74 @@ $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'] = 'Convidado (anónimo)'; +$labels['anonymous'] = 'Convidados (anónimo)'; $labels['identifier'] = 'Identificador'; $labels['acll'] = 'Pesquisar'; $labels['aclr'] = 'Ler mensagens'; -$labels['acls'] = 'Manter estado de enviado'; +$labels['acls'] = 'Manter estado Visto'; $labels['aclw'] = 'Guardar marcadores'; -$labels['acli'] = 'Inserir (cópia em)'; +$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'] = 'Eliminar'; +$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'] = 'Guardar'; +$labels['aclwrite'] = 'Escrever'; $labels['acldelete'] = 'Eliminar'; $labels['shortacll'] = 'Pesquisar'; $labels['shortaclr'] = 'Ler'; $labels['shortacls'] = 'Manter'; -$labels['shortaclw'] = 'Guardar'; +$labels['shortaclw'] = 'Escrever'; $labels['shortacli'] = 'Inserir'; $labels['shortaclp'] = 'Publicar'; $labels['shortaclc'] = 'Criar'; $labels['shortaclk'] = 'Criar'; $labels['shortacld'] = 'Eliminar'; $labels['shortaclt'] = 'Eliminar'; -$labels['shortacle'] = 'Eliminar'; +$labels['shortacle'] = 'Purgar'; $labels['shortaclx'] = 'Eliminar pasta'; $labels['shortacla'] = 'Administrar'; +$labels['shortacln'] = 'Anotar'; $labels['shortaclother'] = 'Outro'; $labels['shortaclread'] = 'Ler'; -$labels['shortaclwrite'] = 'Guardar'; +$labels['shortaclwrite'] = 'Escrever'; $labels['shortacldelete'] = 'Eliminar'; -$labels['longacll'] = 'A pasta está visível na lista e pode subscrita para'; +$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 de mensagem enviada pode ser alterado'; -$labels['longaclw'] = 'Marcadores de mensagens e palavras-chave podem ser alterados, excepto de Enviadas e Eliminadas'; -$labels['longacli'] = 'As mensagens podem ser escritas e copiadas para a pasta'; -$labels['longaclp'] = 'As mensagens podem ser publicadas na pasta'; -$labels['longaclc'] = 'As pastas podem ser criadas (ou renomeadas) directamente nesta pasta'; -$labels['longaclk'] = 'As pastas podem ser criadas (ou renomeadas) directamente nesta pasta'; -$labels['longacld'] = 'O marcador de mensagens Eliminadas pode ser alterado'; -$labels['longaclt'] = 'O marcador de mensagens Eliminadas pode ser alterado'; -$labels['longacle'] = 'As mensagens podem ser eliminadas'; +$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['longaclfull'] = 'Controlo total incluindo administração da pasta'; +$labels['longacln'] = 'Mensagens partilhadas de metadados (anotações) 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'; -$messages['deleting'] = 'A eliminar as permissões de acesso...'; -$messages['saving'] = 'A guardar as permissões 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 as permissões de acesso'; -$messages['createerror'] = 'Não foi possível adicionar as permissões 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/sv_SE.inc b/plugins/acl/localization/sv_SE.inc index 37c374a29..529c11f47 100644 --- a/plugins/acl/localization/sv_SE.inc +++ b/plugins/acl/localization/sv_SE.inc @@ -21,12 +21,12 @@ $labels['username'] = 'Användare:'; $labels['advanced'] = 'avancerat läge'; $labels['newuser'] = 'Lägg till'; $labels['actions'] = 'Hantera åtkomsträttigheter...'; -$labels['anyone'] = 'Alla användare (alla)'; +$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 Sett'; +$labels['acls'] = 'Behåll status Läst'; $labels['aclw'] = 'Skriv flaggor'; $labels['acli'] = 'Infoga (kopiera in)'; $labels['aclp'] = 'Posta'; @@ -61,14 +61,14 @@ $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 Sett kan ändras'; -$labels['longaclw'] = 'Meddelandeflaggor och nyckelord kan ändras, undantaget Sett och Raderat'; +$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 Raderat kan ändras'; -$labels['longaclt'] = 'Meddelandeflagga Raderat kan ändras'; +$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'; diff --git a/plugins/acl/localization/uk_UA.inc b/plugins/acl/localization/uk_UA.inc new file mode 100644 index 000000000..ada0afa3c --- /dev/null +++ b/plugins/acl/localization/uk_UA.inc @@ -0,0 +1,45 @@ +<?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['advanced'] = 'розширений режим'; +$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 index a3839982b..e772eb8e7 100644 --- a/plugins/acl/localization/vi_VN.inc +++ b/plugins/acl/localization/vi_VN.inc @@ -20,7 +20,7 @@ $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['actions'] = 'Cách ứng xử quyền truy cập'; +$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'; @@ -59,8 +59,8 @@ $labels['shortaclother'] = 'Loại khác'; $labels['shortaclread'] = 'Đọc'; $labels['shortaclwrite'] = 'Viết'; $labels['shortacldelete'] = 'Xoá'; -$labels['longacll'] = 'Giữ liệu đã được liệt kê và có thể đóng góp'; -$labels['longaclr'] = 'Giữ liệu có thể được mở để đọc'; +$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'; @@ -81,6 +81,7 @@ $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?'; diff --git a/plugins/acl/localization/zh_CN.inc b/plugins/acl/localization/zh_CN.inc index 68d294489..2542c3237 100644 --- a/plugins/acl/localization/zh_CN.inc +++ b/plugins/acl/localization/zh_CN.inc @@ -61,7 +61,11 @@ $labels['shortaclwrite'] = '写入'; $labels['shortacldelete'] = '删除'; $labels['longacll'] = '该文件夹在列表上可见且可被订阅'; $labels['longaclr'] = '该文件夹可被打开阅读'; -$labels['longacli'] = '消息可写或可被复制至文件夹中'; +$labels['longacls'] = '已读消息标识可以改变'; +$labels['longaclw'] = '除已读和删除表示外其他消息标识可以改变'; +$labels['longacli'] = '消息可被标记,撰写或复制至文件夹中'; +$labels['longaclk'] = '文件夹可被创建(或改名)于现有目录下'; +$labels['longacld'] = '消息已删除标识可以改变'; $labels['longacle'] = '消息可被清除'; $labels['longaclx'] = '该文件夹可被删除或重命名'; $labels['longacla'] = '文件夹访问权限可被修改'; @@ -73,6 +77,7 @@ $messages['saving'] = '保存访问权限中…'; $messages['updatesuccess'] = '成功修改访问权限'; $messages['deletesuccess'] = '成功删除访问权限'; $messages['createsuccess'] = '成功添加访问权限'; +$messages['updateerror'] = '无法更新访问权限'; $messages['deleteerror'] = '无法删除访问权限'; $messages['createerror'] = '无法添加访问权限'; $messages['deleteconfirm'] = '您确定要移除选中用户的访问权限吗?'; diff --git a/plugins/acl/package.xml b/plugins/acl/package.xml index 98460e82f..a99ad4ffa 100644 --- a/plugins/acl/package.xml +++ b/plugins/acl/package.xml @@ -13,10 +13,10 @@ <email>alec@alec.pl</email> <active>yes</active> </lead> - <date>2013-03-01</date> + <date>2014-02-04</date> <version> - <release>1.2</release> - <api>0.7</api> + <release>1.3</release> + <api>1.0</api> </version> <stability> <release>stable</release> diff --git a/plugins/acl/skins/classic/acl.css b/plugins/acl/skins/classic/acl.css index cf3391f49..e95e3b341 100644 --- a/plugins/acl/skins/classic/acl.css +++ b/plugins/acl/skins/classic/acl.css @@ -87,9 +87,7 @@ #aclform { - top: 80px; - width: 480px; - padding: 10px; + display: none; } #aclform div diff --git a/plugins/acl/skins/classic/templates/table.html b/plugins/acl/skins/classic/templates/table.html index bca63d0b3..5c4d2d8a0 100644 --- a/plugins/acl/skins/classic/templates/table.html +++ b/plugins/acl/skins/classic/templates/table.html @@ -24,17 +24,13 @@ </ul> </div> -<div id="aclform" class="popupmenu"> +<div id="aclform" style="position:absolute; width:480px; top:0; left:0; padding:10px"> <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> - <roundcube:button command="acl-cancel" type="input" class="button" label="cancel" /> - <roundcube:button command="acl-save" type="input" class="button mainaction" label="save" /> - </div> </div> <script type="text/javascript"> diff --git a/plugins/acl/skins/larry/acl.css b/plugins/acl/skins/larry/acl.css index e392a269e..96c1092a0 100644 --- a/plugins/acl/skins/larry/acl.css +++ b/plugins/acl/skins/larry/acl.css @@ -29,7 +29,6 @@ #acltable td { white-space: nowrap; - border: none; text-align: center; } @@ -38,19 +37,24 @@ border-left: #BBD3DA dotted 1px; font-size: 11px; font-weight: bold; + width: auto; } #acltable tbody td { border-bottom: #DDDDDD 1px solid; text-align: center; - padding: 2px; + height: 16px; cursor: default; } #acltable thead td.user { - border-left: none; + width: 30%; +} + +#acltable.advanced thead td.user { + width: 25%; } #acltable tbody td.user @@ -60,7 +64,6 @@ text-overflow: ellipsis; -o-text-overflow: ellipsis; border-left: none; - width: 50px; } #acltable tbody td.partial @@ -99,10 +102,7 @@ #aclform { - top: 80px; - width: 480px; - padding: 10px; - background-color: white; + display: none; } #aclform div diff --git a/plugins/acl/skins/larry/templates/table.html b/plugins/acl/skins/larry/templates/table.html index 3cf8292a4..c0b8329c6 100644 --- a/plugins/acl/skins/larry/templates/table.html +++ b/plugins/acl/skins/larry/templates/table.html @@ -12,20 +12,16 @@ <li><roundcube:button command="acl-edit" label="edit" class="icon" classAct="icon active" innerclass="icon edit" /></li> <li><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><roundcube:button name="acl-switch" id="acl-switch" label="acl.advanced" onclick="rcmail.command('acl-mode-switch')" class="active" /></li> + <li><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="popupmenu propform"> +<div id="aclform" class="propform" style="position:absolute; width:480px; top:0; left:0; padding:8px"> <fieldset class="thinbordered"><legend><roundcube:label name="acl.identifier" /></legend> - <roundcube:object name="acluser" id="acluser" size="35" /> + <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" /> + <roundcube:object name="aclrights" class="proplist" /> </fieldset> - <div class="formbuttons"> - <roundcube:button command="acl-cancel" type="input" class="button" label="cancel" /> - <roundcube:button command="acl-save" type="input" class="button mainaction" label="save" /> - </div> </div> |