diff options
Diffstat (limited to 'webmail/plugins/hide_blockquote')
46 files changed, 1212 insertions, 0 deletions
diff --git a/webmail/plugins/hide_blockquote/hide_blockquote.js b/webmail/plugins/hide_blockquote/hide_blockquote.js new file mode 100644 index 0000000..20286ee --- /dev/null +++ b/webmail/plugins/hide_blockquote/hide_blockquote.js @@ -0,0 +1,46 @@ +if (window.rcmail) + rcmail.addEventListener('init', function() { hide_blockquote(); }); + +function hide_blockquote() +{ + var limit = rcmail.env.blockquote_limit; + + if (limit <= 0) + return; + + $('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/webmail/plugins/hide_blockquote/hide_blockquote.php b/webmail/plugins/hide_blockquote/hide_blockquote.php new file mode 100644 index 0000000..7af163d --- /dev/null +++ b/webmail/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). + * $rcmail_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) get_input_value('_hide_blockquote_limit', RCUBE_INPUT_POST); + } + + return $args; + } + +} diff --git a/webmail/plugins/hide_blockquote/localization/az_AZ.inc b/webmail/plugins/hide_blockquote/localization/az_AZ.inc new file mode 100644 index 0000000..e0c6007 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/az_AZ.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'] = 'Gizlət'; +$labels['show'] = 'Göstər'; +$labels['quotelimit'] = 'Sətr saytı göstəriləndən çoxdursa sitatı gizlə:'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/bs_BA.inc b/webmail/plugins/hide_blockquote/localization/bs_BA.inc new file mode 100644 index 0000000..0b8075b --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/bs_BA.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'] = 'Sakrij'; +$labels['show'] = 'Prikaži'; +$labels['quotelimit'] = 'Sakrij citate kada je broj linija veći od'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/ca_ES.inc b/webmail/plugins/hide_blockquote/localization/ca_ES.inc new file mode 100644 index 0000000..9a0fc3c --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/ca_ES.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'] = 'Amaga'; +$labels['show'] = 'Mostra'; +$labels['quotelimit'] = 'Amaga la cita quan el nombre de línies sigui més gran de'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/cs_CZ.inc b/webmail/plugins/hide_blockquote/localization/cs_CZ.inc new file mode 100644 index 0000000..5e3cd65 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/cs_CZ.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'] = 'Skrýt'; +$labels['show'] = 'Zobrazit'; +$labels['quotelimit'] = 'Skrýt citaci pokud je počet řádků větší než'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/cy_GB.inc b/webmail/plugins/hide_blockquote/localization/cy_GB.inc new file mode 100644 index 0000000..f55fab4 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/cy_GB.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'] = 'Cuddio'; +$labels['show'] = 'Dangos'; +$labels['quotelimit'] = 'Cuddio dyfynniad pan mae\'r nifer o linellau yn fwy na'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/da_DK.inc b/webmail/plugins/hide_blockquote/localization/da_DK.inc new file mode 100644 index 0000000..a807cc3 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/da_DK.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'] = 'Skjul'; +$labels['show'] = 'Vis'; +$labels['quotelimit'] = 'Skjul citat antallet af linjer er højere end'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/de_CH.inc b/webmail/plugins/hide_blockquote/localization/de_CH.inc new file mode 100644 index 0000000..66c9e48 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/de_CH.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'] = 'ausblenden'; +$labels['show'] = 'einblenden'; +$labels['quotelimit'] = 'Zitate verbergen ab einer Zeilenlänge von'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/de_DE.inc b/webmail/plugins/hide_blockquote/localization/de_DE.inc new file mode 100644 index 0000000..66c9e48 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/de_DE.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'] = 'ausblenden'; +$labels['show'] = 'einblenden'; +$labels['quotelimit'] = 'Zitate verbergen ab einer Zeilenlänge von'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/en_GB.inc b/webmail/plugins/hide_blockquote/localization/en_GB.inc new file mode 100644 index 0000000..90dd289 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/en_GB.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/webmail/plugins/hide_blockquote/localization/en_US.inc b/webmail/plugins/hide_blockquote/localization/en_US.inc new file mode 100644 index 0000000..c3a5ca0 --- /dev/null +++ b/webmail/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, The Roundcube Dev Team | + | | + | Licensed under the GNU General Public License version 3 or | + | any later version with exceptions for 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/webmail/plugins/hide_blockquote/localization/eo.inc b/webmail/plugins/hide_blockquote/localization/eo.inc new file mode 100644 index 0000000..5ffaaad --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/eo.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'] = 'Kaŝi'; +$labels['show'] = 'Montri'; +$labels['quotelimit'] = 'Kaŝi citaĵon kiam la nombro de linioj estas pligranda ol'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/es_ES.inc b/webmail/plugins/hide_blockquote/localization/es_ES.inc new file mode 100644 index 0000000..b596294 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/es_ES.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'] = 'Ocultar'; +$labels['show'] = 'Mostrar'; +$labels['quotelimit'] = 'Ocultar la cita cuando el número de lineas es mayor que'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/et_EE.inc b/webmail/plugins/hide_blockquote/localization/et_EE.inc new file mode 100644 index 0000000..e49dbfb --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/et_EE.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'] = 'Peida'; +$labels['show'] = 'Näita'; +$labels['quotelimit'] = 'Peida tsitaat kui ridade arv on suurem kui'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/fa_IR.inc b/webmail/plugins/hide_blockquote/localization/fa_IR.inc new file mode 100644 index 0000000..8edc7ae --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/fa_IR.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'] = 'مخفی کردن'; +$labels['show'] = 'نشان دادن'; +$labels['quotelimit'] = 'مخفی کردن نقلقول وقتی تعداد خطوط بیشتر است از'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/fi_FI.inc b/webmail/plugins/hide_blockquote/localization/fi_FI.inc new file mode 100644 index 0000000..9521498 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/fi_FI.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'] = 'Piilota'; +$labels['show'] = 'Näytä'; +$labels['quotelimit'] = 'Piilota lainaus rivejä ollessa enemmän kuin'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/fr_FR.inc b/webmail/plugins/hide_blockquote/localization/fr_FR.inc new file mode 100644 index 0000000..e789fb8 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/fr_FR.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'] = 'Cacher'; +$labels['show'] = 'Afficher'; +$labels['quotelimit'] = 'Cacher la citation quand le nombre de lignes est plus grand que'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/gl_ES.inc b/webmail/plugins/hide_blockquote/localization/gl_ES.inc new file mode 100644 index 0000000..37a81e4 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/gl_ES.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'] = 'Agochar'; +$labels['show'] = 'Amosar'; +$labels['quotelimit'] = 'Agochar mencións cando haxa demasiadas liñas'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/he_IL.inc b/webmail/plugins/hide_blockquote/localization/he_IL.inc new file mode 100644 index 0000000..edcba50 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/he_IL.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'] = 'הסתר'; +$labels['show'] = 'הצג'; +$labels['quotelimit'] = 'הסתר ציטוט כאשר מספר השורות גדול מ-'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/hu_HU.inc b/webmail/plugins/hide_blockquote/localization/hu_HU.inc new file mode 100644 index 0000000..964d1ae --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/hu_HU.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'] = 'Elrejtés'; +$labels['show'] = 'Megjelenítés'; +$labels['quotelimit'] = 'Idézet elrejtése ha a sorok száma több mint'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/hy_AM.inc b/webmail/plugins/hide_blockquote/localization/hy_AM.inc new file mode 100644 index 0000000..5ad32d8 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/hy_AM.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'] = 'Թաքցնել'; +$labels['show'] = 'Ցուցադրել'; +$labels['quotelimit'] = 'Թաքցնել ցիտումը երբ տողերի քանակը գերազանցում է'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/id_ID.inc b/webmail/plugins/hide_blockquote/localization/id_ID.inc new file mode 100644 index 0000000..5b3785d --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/id_ID.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'] = 'Sembunyi'; +$labels['show'] = 'Tampil'; +$labels['quotelimit'] = 'Sembunyikan kutipan ketika jumlah baris lebih besar dari'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/it_IT.inc b/webmail/plugins/hide_blockquote/localization/it_IT.inc new file mode 100644 index 0000000..40a93a9 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/it_IT.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'] = 'Nascondi'; +$labels['show'] = 'Mostra'; +$labels['quotelimit'] = 'Nascondi la citazione quando il numero di righe è maggiore di'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/ja_JP.inc b/webmail/plugins/hide_blockquote/localization/ja_JP.inc new file mode 100644 index 0000000..b300699 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/ja_JP.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'] = '隠す'; +$labels['show'] = '表示'; +$labels['quotelimit'] = '次の行数より多い引用を非表示'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/ko_KR.inc b/webmail/plugins/hide_blockquote/localization/ko_KR.inc new file mode 100644 index 0000000..73895d1 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/ko_KR.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'] = '숨기기'; +$labels['show'] = '보이기'; +$labels['quotelimit'] = '라인 개수가 정해진 개수보다 클 때 인용구 감추기'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/lt_LT.inc b/webmail/plugins/hide_blockquote/localization/lt_LT.inc new file mode 100644 index 0000000..931c2ee --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/lt_LT.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'] = 'Paslėpti'; +$labels['show'] = 'Parodyti'; +$labels['quotelimit'] = 'Paslėpti citatą, kai joje eilučių daugiau negu'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/nb_NB.inc b/webmail/plugins/hide_blockquote/localization/nb_NB.inc new file mode 100644 index 0000000..da50e85 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/nb_NB.inc @@ -0,0 +1,20 @@ +<?php + +/* + +-----------------------------------------------------------------------+ + | localization/nb_NB/labels.inc | + | | + | Language file of the Roundcube Webmail client | + | Copyright (C) 2012, The Roundcube Dev Team | + | Licensed under the GNU General Public License | + | | + +-----------------------------------------------------------------------+ + | Author: Tobias V. Langhoff <spug@thespug.net> | + +-----------------------------------------------------------------------+ +*/ + +$labels = array(); +$labels['hide'] = 'Skjul'; +$labels['show'] = 'Vis'; +$labels['quotelimit'] = 'Skjul sitat når antall linjer er flere enn'; + diff --git a/webmail/plugins/hide_blockquote/localization/nb_NO.inc b/webmail/plugins/hide_blockquote/localization/nb_NO.inc new file mode 100644 index 0000000..5dafd7f --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/nb_NO.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'] = 'Skjul'; +$labels['show'] = 'Vis'; +$labels['quotelimit'] = 'Skjul sitat når antall linjer er flere enn'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/nl_NL.inc b/webmail/plugins/hide_blockquote/localization/nl_NL.inc new file mode 100644 index 0000000..a684b63 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/nl_NL.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'] = 'Verbergen'; +$labels['show'] = 'Tonen'; +$labels['quotelimit'] = 'Verberg citaat wanneer aantal regels groter is dan'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/nn_NO.inc b/webmail/plugins/hide_blockquote/localization/nn_NO.inc new file mode 100644 index 0000000..fd7b49d --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/nn_NO.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'] = 'Gøym'; +$labels['show'] = 'Vis'; +$labels['quotelimit'] = 'Gøym sitat når talet på linjer er større enn'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/pl_PL.inc b/webmail/plugins/hide_blockquote/localization/pl_PL.inc new file mode 100644 index 0000000..dbca969 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/pl_PL.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'] = 'Ukryj'; +$labels['show'] = 'Pokaż'; +$labels['quotelimit'] = 'Ukryj blok cytatu gdy liczba linii jest większa od'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/pt_BR.inc b/webmail/plugins/hide_blockquote/localization/pt_BR.inc new file mode 100644 index 0000000..76c856a --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/pt_BR.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'] = 'Ocultar'; +$labels['show'] = 'Exibir'; +$labels['quotelimit'] = 'Ocultar a citação quando o número de linhas for maior do que'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/pt_PT.inc b/webmail/plugins/hide_blockquote/localization/pt_PT.inc new file mode 100644 index 0000000..0ccfbe5 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/pt_PT.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'] = 'Ocultar'; +$labels['show'] = 'Mostrar'; +$labels['quotelimit'] = 'Ocultar citação quando o numero de linhas for maior que'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/ru_RU.inc b/webmail/plugins/hide_blockquote/localization/ru_RU.inc new file mode 100644 index 0000000..657548a --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/ru_RU.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'] = 'Скрыть'; +$labels['show'] = 'Показать'; +$labels['quotelimit'] = 'Скрыть цитату, если число строк более чем'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/sk_SK.inc b/webmail/plugins/hide_blockquote/localization/sk_SK.inc new file mode 100644 index 0000000..9a00836 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/sk_SK.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'] = 'Skryť'; +$labels['show'] = 'Zobraziť'; +$labels['quotelimit'] = 'Skryť citáciu pokiaľ je počet riadkov väčší než'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/sl_SI.inc b/webmail/plugins/hide_blockquote/localization/sl_SI.inc new file mode 100644 index 0000000..66e4b4e --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/sl_SI.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'] = 'Skrij'; +$labels['show'] = 'Prikaži'; +$labels['quotelimit'] = 'Skrij citiran tekst, ko je število vrstic večje od'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/sr_CS.inc b/webmail/plugins/hide_blockquote/localization/sr_CS.inc new file mode 100644 index 0000000..5df13d3 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/sr_CS.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'] = 'Сакриј'; +$labels['show'] = 'Прикажи'; +$labels['quotelimit'] = 'Сакриј цитат када је број редова већи од'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/sv_SE.inc b/webmail/plugins/hide_blockquote/localization/sv_SE.inc new file mode 100644 index 0000000..a6e43f6 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/sv_SE.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'] = 'Dölj'; +$labels['show'] = 'Visa'; +$labels['quotelimit'] = 'Dölj citat när antalet rader överstiger'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/tr_TR.inc b/webmail/plugins/hide_blockquote/localization/tr_TR.inc new file mode 100644 index 0000000..350ccb2 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/tr_TR.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'] = 'Gizle'; +$labels['show'] = 'Göster'; +$labels['quotelimit'] = 'Satır sayısı şu satır sayısındna fazla ile alıntıları gizle:'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/vi_VN.inc b/webmail/plugins/hide_blockquote/localization/vi_VN.inc new file mode 100644 index 0000000..9d46737 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/vi_VN.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'] = 'Ẩ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/webmail/plugins/hide_blockquote/localization/zh_CN.inc b/webmail/plugins/hide_blockquote/localization/zh_CN.inc new file mode 100644 index 0000000..1450dd6 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/zh_CN.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'] = '隐藏'; +$labels['show'] = '显示'; +$labels['quotelimit'] = '隐藏引用当行数大于'; + +?> diff --git a/webmail/plugins/hide_blockquote/localization/zh_TW.inc b/webmail/plugins/hide_blockquote/localization/zh_TW.inc new file mode 100644 index 0000000..22ea645 --- /dev/null +++ b/webmail/plugins/hide_blockquote/localization/zh_TW.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'] = '隱藏'; +$labels['show'] = '顯示'; +$labels['quotelimit'] = '隱藏引文當行數大於'; + +?> diff --git a/webmail/plugins/hide_blockquote/package.xml b/webmail/plugins/hide_blockquote/package.xml new file mode 100644 index 0000000..0d895c1 --- /dev/null +++ b/webmail/plugins/hide_blockquote/package.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?> +<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.9.0" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 + http://pear.php.net/dtd/tasks-1.0.xsd + http://pear.php.net/dtd/package-2.0 + http://pear.php.net/dtd/package-2.0.xsd"> + <name>hide_blockquote</name> + <channel>pear.roundcube.net</channel> + <summary>Citation blocks hiding for Roundcube</summary> + <description>This allows to hide long blocks of cited text in messages.</description> + <lead> + <name>Aleksander Machniak</name> + <user>alec</user> + <email>alec@alec.pl</email> + <active>yes</active> + </lead> + <date>2012-05-23</date> + <version> + <release>1.0</release> + <api>1.0</api> + </version> + <stability> + <release>stable</release> + <api>stable</api> + </stability> + <license uri="http://www.gnu.org/licenses/gpl.html">GNU GPLv3+</license> + <notes>-</notes> + <contents> + <dir baseinstalldir="/" name="/"> + <file name="hide_blockquote.php" role="php"> + <tasks:replace from="@name@" to="name" type="package-info"/> + <tasks:replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="hide_blockquote.js" role="data"> + <tasks:replace from="@name@" to="name" type="package-info"/> + <tasks:replace from="@package_version@" to="version" type="package-info"/> + </file> + <file name="localization/en_US.inc" role="data"></file> + <file name="localization/pl_PL.inc" role="data"></file> + <file name="skins/classic/style.css" role="data"></file> + </dir> + <!-- / --> + </contents> + <dependencies> + <required> + <php> + <min>5.2.1</min> + </php> + <pearinstaller> + <min>1.7.0</min> + </pearinstaller> + </required> + </dependencies> + <phprelease/> +</package> diff --git a/webmail/plugins/hide_blockquote/skins/larry/style.css b/webmail/plugins/hide_blockquote/skins/larry/style.css new file mode 100644 index 0000000..198172f --- /dev/null +++ b/webmail/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/webmail/plugins/hide_blockquote/tests/HideBlockquote.php b/webmail/plugins/hide_blockquote/tests/HideBlockquote.php new file mode 100644 index 0000000..030c053 --- /dev/null +++ b/webmail/plugins/hide_blockquote/tests/HideBlockquote.php @@ -0,0 +1,23 @@ +<?php + +class HideBlockquote_Plugin extends PHPUnit_Framework_TestCase +{ + + function setUp() + { + include_once dirname(__FILE__) . '/../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); + } +} + |
