summaryrefslogtreecommitdiff
path: root/webmail/plugins/markasjunk
diff options
context:
space:
mode:
authorTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
committerTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
commitb62676ca5d3d6f6ba3f019ea3f99722e165a98d8 (patch)
tree86722cb80f07d4569f90088eeaea2fc2f6e2ef94 /webmail/plugins/markasjunk
Initial commit of intern.ccwn.org contentsHEADmaster
Diffstat (limited to 'webmail/plugins/markasjunk')
-rw-r--r--webmail/plugins/markasjunk/localization/az_AZ.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/be_BE.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/ber.inc17
-rw-r--r--webmail/plugins/markasjunk/localization/br.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/bs_BA.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/ca_ES.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/cs_CZ.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/cy_GB.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/da_DK.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/de_CH.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/de_DE.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/el_GR.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/en_GB.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/en_US.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/eo.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/es_AR.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/es_ES.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/et_EE.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/fa_IR.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/fi_FI.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/fr_FR.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/gl_ES.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/he_IL.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/hr_HR.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/hu_HU.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/hy_AM.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/id_ID.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/it_IT.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/ja_JP.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/km_KH.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/ko_KR.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/ku.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/lt_LT.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/lv_LV.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/ml_IN.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/ml_ML.inc20
-rw-r--r--webmail/plugins/markasjunk/localization/mr_IN.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/nb_NB.inc20
-rw-r--r--webmail/plugins/markasjunk/localization/nb_NO.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/nl_NL.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/nn_NO.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/pl_PL.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/pt_BR.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/pt_PT.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/ro_RO.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/ru_RU.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/si_LK.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/sk_SK.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/sl_SI.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/sr_CS.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/sv_SE.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/tr_TR.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/uk_UA.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/vi_VN.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/zh_CN.inc24
-rw-r--r--webmail/plugins/markasjunk/localization/zh_TW.inc24
-rw-r--r--webmail/plugins/markasjunk/markasjunk.js28
-rw-r--r--webmail/plugins/markasjunk/markasjunk.php76
-rw-r--r--webmail/plugins/markasjunk/package.xml68
-rw-r--r--webmail/plugins/markasjunk/skins/classic/junk_act.pngbin0 -> 1995 bytes
-rw-r--r--webmail/plugins/markasjunk/skins/classic/junk_pas.pngbin0 -> 1988 bytes
-rw-r--r--webmail/plugins/markasjunk/skins/classic/markasjunk.css6
-rw-r--r--webmail/plugins/markasjunk/skins/larry/.gitignore0
-rw-r--r--webmail/plugins/markasjunk/tests/Markasjunk.php23
64 files changed, 1530 insertions, 0 deletions
diff --git a/webmail/plugins/markasjunk/localization/az_AZ.inc b/webmail/plugins/markasjunk/localization/az_AZ.inc
new file mode 100644
index 0000000..420cd03
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/az_AZ.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'Spam qovluğuna köçür';
+$labels['reportedasjunk'] = 'Spam qovluğuna köçürüldü';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/be_BE.inc b/webmail/plugins/markasjunk/localization/be_BE.inc
new file mode 100644
index 0000000..d11e34b
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/be_BE.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Junk';
+$labels['buttontitle'] = 'Пазначыць як спам';
+$labels['reportedasjunk'] = 'Паспяхова пазначаны як спам';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/ber.inc b/webmail/plugins/markasjunk/localization/ber.inc
new file mode 100644
index 0000000..12fe444
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/ber.inc
@@ -0,0 +1,17 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | localization//labels.inc |
+ | |
+ | Language file of the Roundcube Webmail client |
+ | Copyright (C) 2012, The Roundcube Dev Team |
+ | Licensed under the GNU General Public License |
+ | |
+ +-----------------------------------------------------------------------+
+ | Author: FULL NAME <EMAIL@ADDRESS> |
+ +-----------------------------------------------------------------------+
+*/
+
+$labels = array();
+
diff --git a/webmail/plugins/markasjunk/localization/br.inc b/webmail/plugins/markasjunk/localization/br.inc
new file mode 100644
index 0000000..4ae4190
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/br.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Lastez';
+$labels['buttontitle'] = 'Merkañ evel lastez';
+$labels['reportedasjunk'] = 'Danevellet evel lastez gant berzh';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/bs_BA.inc b/webmail/plugins/markasjunk/localization/bs_BA.inc
new file mode 100644
index 0000000..aaa0933
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/bs_BA.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'Označi kao spam';
+$labels['reportedasjunk'] = 'Uspješno označeno kao spam';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/ca_ES.inc b/webmail/plugins/markasjunk/localization/ca_ES.inc
new file mode 100644
index 0000000..4b05d92
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/ca_ES.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Correu brossa';
+$labels['buttontitle'] = 'Marca com a Spam';
+$labels['reportedasjunk'] = 'S\'ha reportat correctament com a Spam';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/cs_CZ.inc b/webmail/plugins/markasjunk/localization/cs_CZ.inc
new file mode 100644
index 0000000..b56cb5c
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/cs_CZ.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'Označit jako Spam';
+$labels['reportedasjunk'] = 'Úspěšně nahlášeno jako Spam';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/cy_GB.inc b/webmail/plugins/markasjunk/localization/cy_GB.inc
new file mode 100644
index 0000000..7b1b6e6
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/cy_GB.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Sothach';
+$labels['buttontitle'] = 'Nodi fel Sbwriel';
+$labels['reportedasjunk'] = 'Adroddwyd yn llwyddiannus fel Sbwriel';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/da_DK.inc b/webmail/plugins/markasjunk/localization/da_DK.inc
new file mode 100644
index 0000000..bd76b6b
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/da_DK.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'Marker som spam mail';
+$labels['reportedasjunk'] = 'Successfuldt rapporteret som spam mail';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/de_CH.inc b/webmail/plugins/markasjunk/localization/de_CH.inc
new file mode 100644
index 0000000..89b22b7
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/de_CH.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'Als SPAM markieren';
+$labels['reportedasjunk'] = 'Erfolgreich als SPAM gemeldet';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/de_DE.inc b/webmail/plugins/markasjunk/localization/de_DE.inc
new file mode 100644
index 0000000..f158d78
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/de_DE.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'als SPAM markieren';
+$labels['reportedasjunk'] = 'Erfolgreich als SPAM gemeldet';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/el_GR.inc b/webmail/plugins/markasjunk/localization/el_GR.inc
new file mode 100644
index 0000000..fb16a29
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/el_GR.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Ανεπιθύμητα';
+$labels['buttontitle'] = 'Σήμανση ως Ανεπιθύμητου';
+$labels['reportedasjunk'] = 'Αναφέρθηκε ως Ανεπιθήμητο';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/en_GB.inc b/webmail/plugins/markasjunk/localization/en_GB.inc
new file mode 100644
index 0000000..aaa3c91
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/en_GB.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Junk';
+$labels['buttontitle'] = 'Mark as Junk';
+$labels['reportedasjunk'] = 'Successfully reported as Junk';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/en_US.inc b/webmail/plugins/markasjunk/localization/en_US.inc
new file mode 100644
index 0000000..0cc212f
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/en_US.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Junk';
+$labels['buttontitle'] = 'Mark as Junk';
+$labels['reportedasjunk'] = 'Successfully reported as Junk';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/eo.inc b/webmail/plugins/markasjunk/localization/eo.inc
new file mode 100644
index 0000000..220750a
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/eo.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Rubaĵo';
+$labels['buttontitle'] = 'Marki kiel rubaĵo';
+$labels['reportedasjunk'] = 'Sukcese raportita kiel rubaĵo';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/es_AR.inc b/webmail/plugins/markasjunk/localization/es_AR.inc
new file mode 100644
index 0000000..58e1f25
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/es_AR.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Correo no deseado';
+$labels['buttontitle'] = 'Marcar como SPAM';
+$labels['reportedasjunk'] = 'Mensaje reportado como SPAM';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/es_ES.inc b/webmail/plugins/markasjunk/localization/es_ES.inc
new file mode 100644
index 0000000..5bb7554
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/es_ES.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'SPAM';
+$labels['buttontitle'] = 'Marcar como SPAM';
+$labels['reportedasjunk'] = 'Mensaje informado como SPAM';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/et_EE.inc b/webmail/plugins/markasjunk/localization/et_EE.inc
new file mode 100644
index 0000000..2d90a4a
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/et_EE.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Rämps';
+$labels['buttontitle'] = 'Märgista Rämpsuks';
+$labels['reportedasjunk'] = 'Edukalt Rämpsuks märgitud';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/fa_IR.inc b/webmail/plugins/markasjunk/localization/fa_IR.inc
new file mode 100644
index 0000000..2dc0518
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/fa_IR.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'بنجل';
+$labels['buttontitle'] = 'علامت گذاری به عنوان بنجل';
+$labels['reportedasjunk'] = 'با موفقیت به عنوان بنجل گزارش شد';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/fi_FI.inc b/webmail/plugins/markasjunk/localization/fi_FI.inc
new file mode 100644
index 0000000..4af075f
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/fi_FI.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Roskaposti';
+$labels['buttontitle'] = 'Merkitse roskapostiksi';
+$labels['reportedasjunk'] = 'Roskapostista on ilmoitettu onnistuneesti';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/fr_FR.inc b/webmail/plugins/markasjunk/localization/fr_FR.inc
new file mode 100644
index 0000000..ff96e6a
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/fr_FR.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Indésirables';
+$labels['buttontitle'] = 'Marquer comme indésirable';
+$labels['reportedasjunk'] = 'Notification de message indésirable envoyée';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/gl_ES.inc b/webmail/plugins/markasjunk/localization/gl_ES.inc
new file mode 100644
index 0000000..d2a9e98
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/gl_ES.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Correo lixo';
+$labels['buttontitle'] = 'Marcar como correo lixo';
+$labels['reportedasjunk'] = 'Mensaxe marcada como correo lixo';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/he_IL.inc b/webmail/plugins/markasjunk/localization/he_IL.inc
new file mode 100644
index 0000000..bb2cc26
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/he_IL.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'זבל';
+$labels['buttontitle'] = 'סמן כדואר זבל';
+$labels['reportedasjunk'] = 'דואר הזבל דווח בהצלחה';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/hr_HR.inc b/webmail/plugins/markasjunk/localization/hr_HR.inc
new file mode 100644
index 0000000..b1da8b1
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/hr_HR.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Junk';
+$labels['buttontitle'] = 'Označi kao smeće (spam)';
+$labels['reportedasjunk'] = 'Uspješno prijavljeno kao smeće (spam)';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/hu_HU.inc b/webmail/plugins/markasjunk/localization/hu_HU.inc
new file mode 100644
index 0000000..b5529f0
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/hu_HU.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Levélszemét';
+$labels['buttontitle'] = 'Szemétnek jelölés';
+$labels['reportedasjunk'] = 'Sikeresen szemétnek jelentve';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/hy_AM.inc b/webmail/plugins/markasjunk/localization/hy_AM.inc
new file mode 100644
index 0000000..f614b58
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/hy_AM.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Թափոն';
+$labels['buttontitle'] = 'Նշել որպես Թափոն';
+$labels['reportedasjunk'] = 'Բարեհաջող հաղորդվեց որպես Թափոն';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/id_ID.inc b/webmail/plugins/markasjunk/localization/id_ID.inc
new file mode 100644
index 0000000..b5cf0e9
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/id_ID.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Sampah';
+$labels['buttontitle'] = 'Tandai sebagai sampah';
+$labels['reportedasjunk'] = 'Berhasil dilaporkan sebagai sampah';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/it_IT.inc b/webmail/plugins/markasjunk/localization/it_IT.inc
new file mode 100644
index 0000000..8ffa1eb
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/it_IT.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'Marca come Spam';
+$labels['reportedasjunk'] = 'Messaggio marcato come Spam';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/ja_JP.inc b/webmail/plugins/markasjunk/localization/ja_JP.inc
new file mode 100644
index 0000000..5281150
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/ja_JP.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = '迷惑メール';
+$labels['buttontitle'] = '迷惑メールとして設定';
+$labels['reportedasjunk'] = '迷惑メールとして報告しました。';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/km_KH.inc b/webmail/plugins/markasjunk/localization/km_KH.inc
new file mode 100644
index 0000000..655af9c
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/km_KH.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'សំបុត្រមិនល្អ';
+$labels['buttontitle'] = 'ចាត់ជា សំបុត្រមិនល្អ';
+$labels['reportedasjunk'] = 'រាយការណ៏ថាជា សំបុត្រមិនល្អ បានសំរេច';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/ko_KR.inc b/webmail/plugins/markasjunk/localization/ko_KR.inc
new file mode 100644
index 0000000..dd2d1e7
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/ko_KR.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = '정크메일';
+$labels['buttontitle'] = '정크메일로 표시';
+$labels['reportedasjunk'] = '성공적으로, 정크메일이라 보고 됨';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/ku.inc b/webmail/plugins/markasjunk/localization/ku.inc
new file mode 100644
index 0000000..da3dda7
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/ku.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Junk';
+$labels['buttontitle'] = 'nawnişani bka ba şkaw';
+$labels['reportedasjunk'] = 'ba gşti raport kra';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/lt_LT.inc b/webmail/plugins/markasjunk/localization/lt_LT.inc
new file mode 100644
index 0000000..b1973de
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/lt_LT.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Brukalas';
+$labels['buttontitle'] = 'Žymėti kaip brukalą';
+$labels['reportedasjunk'] = 'Sėkmingai pranešta, jog laiškas yra brukalas';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/lv_LV.inc b/webmail/plugins/markasjunk/localization/lv_LV.inc
new file mode 100644
index 0000000..f0ea921
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/lv_LV.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Junk';
+$labels['buttontitle'] = 'Iezīmēt kā mēstuli';
+$labels['reportedasjunk'] = 'Sekmīgi iezīmēta kā mēstule';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/ml_IN.inc b/webmail/plugins/markasjunk/localization/ml_IN.inc
new file mode 100644
index 0000000..faeea49
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/ml_IN.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Junk';
+$labels['buttontitle'] = 'സ്പാം ആയി അടയാളപ്പെടുത്തുക';
+$labels['reportedasjunk'] = 'സ്പാം ആയി അടയാളപ്പെടുത്തി';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/ml_ML.inc b/webmail/plugins/markasjunk/localization/ml_ML.inc
new file mode 100644
index 0000000..7c30ec6
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/ml_ML.inc
@@ -0,0 +1,20 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | localization/ml_ML/labels.inc |
+ | |
+ | Language file of the Roundcube Webmail client |
+ | Copyright (C) 2012, The Roundcube Dev Team |
+ | Licensed under the GNU General Public License |
+ | |
+ +-----------------------------------------------------------------------+
+ | Author: Anish A <aneesh.nl@gmail.com> |
+ +-----------------------------------------------------------------------+
+ @version $Id$
+*/
+
+$labels = array();
+$labels['buttontitle'] = 'സ്പാം ആയി അടയാളപ്പെടുത്തുക';
+$labels['reportedasjunk'] = 'സ്പാം ആയി അടയാളപ്പെടുത്തി';
+
diff --git a/webmail/plugins/markasjunk/localization/mr_IN.inc b/webmail/plugins/markasjunk/localization/mr_IN.inc
new file mode 100644
index 0000000..e5d4e89
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/mr_IN.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Junk';
+$labels['buttontitle'] = 'नको असलेला अशी खूण करा';
+$labels['reportedasjunk'] = 'नको आहे असे यशस्वीरीत्या नक्की केले';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/nb_NB.inc b/webmail/plugins/markasjunk/localization/nb_NB.inc
new file mode 100644
index 0000000..7dce36c
--- /dev/null
+++ b/webmail/plugins/markasjunk/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: Patrick Kvaksrud <patrick@idrettsforbundet.no> |
+ +-----------------------------------------------------------------------+
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Useriøs e-post';
+$labels['buttontitle'] = 'Marker som useriøs e-post';
+$labels['reportedasjunk'] = 'Rapportering av useriøs e-post var vellykket';
+
diff --git a/webmail/plugins/markasjunk/localization/nb_NO.inc b/webmail/plugins/markasjunk/localization/nb_NO.inc
new file mode 100644
index 0000000..1c8058b
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/nb_NO.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Useriøs e-post';
+$labels['buttontitle'] = 'Marker som useriøs e-post';
+$labels['reportedasjunk'] = 'Rapportering av useriøs e-post var vellykket';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/nl_NL.inc b/webmail/plugins/markasjunk/localization/nl_NL.inc
new file mode 100644
index 0000000..235ad8e
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/nl_NL.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'Markeer als spam';
+$labels['reportedasjunk'] = 'Succesvol gemarkeerd als spam';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/nn_NO.inc b/webmail/plugins/markasjunk/localization/nn_NO.inc
new file mode 100644
index 0000000..977f4bd
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/nn_NO.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Useriøs e-post';
+$labels['buttontitle'] = 'Marker som useriøs e-post';
+$labels['reportedasjunk'] = 'Rapportering av useriøs e-post var vellykka';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/pl_PL.inc b/webmail/plugins/markasjunk/localization/pl_PL.inc
new file mode 100644
index 0000000..3078967
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/pl_PL.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'Oznacz jako SPAM';
+$labels['reportedasjunk'] = 'Pomyślnie oznaczono jako SPAM';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/pt_BR.inc b/webmail/plugins/markasjunk/localization/pt_BR.inc
new file mode 100644
index 0000000..578d1de
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/pt_BR.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'Marcar como Spam';
+$labels['reportedasjunk'] = 'Marcado como Spam com sucesso';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/pt_PT.inc b/webmail/plugins/markasjunk/localization/pt_PT.inc
new file mode 100644
index 0000000..20cb003
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/pt_PT.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Lixo';
+$labels['buttontitle'] = 'Marcar como Lixo';
+$labels['reportedasjunk'] = 'Reportado como Lixo com sucesso';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/ro_RO.inc b/webmail/plugins/markasjunk/localization/ro_RO.inc
new file mode 100644
index 0000000..1186aab
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/ro_RO.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'Marchează ca Spam';
+$labels['reportedasjunk'] = 'Raportat cu succes ca Spam';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/ru_RU.inc b/webmail/plugins/markasjunk/localization/ru_RU.inc
new file mode 100644
index 0000000..cbf99d2
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/ru_RU.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'СПАМ';
+$labels['buttontitle'] = 'Переместить в "СПАМ';
+$labels['reportedasjunk'] = 'Перемещено в "СПАМ';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/si_LK.inc b/webmail/plugins/markasjunk/localization/si_LK.inc
new file mode 100644
index 0000000..2a60675
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/si_LK.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Junk';
+$labels['buttontitle'] = 'සුන්බුන් ලෙස සලකුණු කරන්න';
+$labels['reportedasjunk'] = 'සුන්බුන් ලෙස වාර්තා කිරීම සාර්ථකයි';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/sk_SK.inc b/webmail/plugins/markasjunk/localization/sk_SK.inc
new file mode 100644
index 0000000..51b45b8
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/sk_SK.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Spam';
+$labels['buttontitle'] = 'Označiť ako Spam';
+$labels['reportedasjunk'] = 'Úspešne nahlásené ako Spam';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/sl_SI.inc b/webmail/plugins/markasjunk/localization/sl_SI.inc
new file mode 100644
index 0000000..c9f5851
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/sl_SI.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Nezaželena sporočila';
+$labels['buttontitle'] = 'Označi kot spam';
+$labels['reportedasjunk'] = 'Uspešno označeno kot spam';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/sr_CS.inc b/webmail/plugins/markasjunk/localization/sr_CS.inc
new file mode 100644
index 0000000..d1d67c3
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/sr_CS.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Смеће';
+$labels['buttontitle'] = 'Означи као cмеће';
+$labels['reportedasjunk'] = 'Успешно пријављени као cмеће';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/sv_SE.inc b/webmail/plugins/markasjunk/localization/sv_SE.inc
new file mode 100644
index 0000000..5b8ddf5
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/sv_SE.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Skräp';
+$labels['buttontitle'] = 'Märk som skräp';
+$labels['reportedasjunk'] = 'Framgångsrikt rapporterat som skräp';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/tr_TR.inc b/webmail/plugins/markasjunk/localization/tr_TR.inc
new file mode 100644
index 0000000..2b07e4d
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/tr_TR.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'İstenmeyen';
+$labels['buttontitle'] = 'Çöp olarak işaretle';
+$labels['reportedasjunk'] = 'Spam olarak rapor edildi';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/uk_UA.inc b/webmail/plugins/markasjunk/localization/uk_UA.inc
new file mode 100644
index 0000000..17e9044
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/uk_UA.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Junk';
+$labels['buttontitle'] = 'Перемістити в "Спам';
+$labels['reportedasjunk'] = 'Переміщено до "Спаму';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/vi_VN.inc b/webmail/plugins/markasjunk/localization/vi_VN.inc
new file mode 100644
index 0000000..5a97db7
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/vi_VN.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = 'Thư rác';
+$labels['buttontitle'] = 'Đánh dấu để được xem là thư rác';
+$labels['reportedasjunk'] = 'Đánh dấu để được xem là thư rác thành công';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/zh_CN.inc b/webmail/plugins/markasjunk/localization/zh_CN.inc
new file mode 100644
index 0000000..118e3a9
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/zh_CN.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = '垃圾邮件';
+$labels['buttontitle'] = '标记为垃圾邮件';
+$labels['reportedasjunk'] = '成功报告该邮件为垃圾邮件';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/localization/zh_TW.inc b/webmail/plugins/markasjunk/localization/zh_TW.inc
new file mode 100644
index 0000000..3deb85c
--- /dev/null
+++ b/webmail/plugins/markasjunk/localization/zh_TW.inc
@@ -0,0 +1,24 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/markasjunk/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Mark-As-Junk plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-markasjunk/
+*/
+
+$labels = array();
+$labels['buttontext'] = '垃圾郵件';
+$labels['buttontitle'] = '標示為垃圾信';
+$labels['reportedasjunk'] = '成功回報垃圾信';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/markasjunk/markasjunk.js b/webmail/plugins/markasjunk/markasjunk.js
new file mode 100644
index 0000000..0e30fb8
--- /dev/null
+++ b/webmail/plugins/markasjunk/markasjunk.js
@@ -0,0 +1,28 @@
+/* Mark-as-Junk plugin script */
+
+function rcmail_markasjunk(prop)
+{
+ if (!rcmail.env.uid && (!rcmail.message_list || !rcmail.message_list.get_selection().length))
+ return;
+
+ var uids = rcmail.env.uid ? rcmail.env.uid : rcmail.message_list.get_selection().join(','),
+ lock = rcmail.set_busy(true, 'loading');
+
+ rcmail.http_post('plugin.markasjunk', '_uid='+uids+'&_mbox='+urlencode(rcmail.env.mailbox), lock);
+}
+
+// callback for app-onload event
+if (window.rcmail) {
+ rcmail.addEventListener('init', function(evt) {
+
+ // register command (directly enable in message view mode)
+ rcmail.register_command('plugin.markasjunk', rcmail_markasjunk, rcmail.env.uid);
+
+ // add event-listener to message list
+ if (rcmail.message_list)
+ rcmail.message_list.addEventListener('select', function(list){
+ rcmail.enable_command('plugin.markasjunk', list.get_selection().length > 0);
+ });
+ })
+}
+
diff --git a/webmail/plugins/markasjunk/markasjunk.php b/webmail/plugins/markasjunk/markasjunk.php
new file mode 100644
index 0000000..4448b50
--- /dev/null
+++ b/webmail/plugins/markasjunk/markasjunk.php
@@ -0,0 +1,76 @@
+<?php
+
+/**
+ * Mark as Junk
+ *
+ * Sample plugin that adds a new button to the mailbox toolbar
+ * to mark the selected messages as Junk and move them to the Junk folder
+ *
+ * @version @package_version@
+ * @license GNU GPLv3+
+ * @author Thomas Bruederli
+ */
+class markasjunk extends rcube_plugin
+{
+ public $task = 'mail';
+
+ function init()
+ {
+ $rcmail = rcmail::get_instance();
+
+ $this->register_action('plugin.markasjunk', array($this, 'request_action'));
+ $this->add_hook('storage_init', array($this, 'storage_init'));
+
+ if ($rcmail->action == '' || $rcmail->action == 'show') {
+ $skin_path = $this->local_skin_path();
+ $this->include_script('markasjunk.js');
+ if (is_file($this->home . "/$skin_path/markasjunk.css"))
+ $this->include_stylesheet("$skin_path/markasjunk.css");
+ $this->add_texts('localization', true);
+
+ $this->add_button(array(
+ 'type' => 'link',
+ 'label' => 'buttontext',
+ 'command' => 'plugin.markasjunk',
+ 'class' => 'button buttonPas junk disabled',
+ 'classact' => 'button junk',
+ 'title' => 'buttontitle',
+ 'domain' => 'markasjunk'), 'toolbar');
+ }
+ }
+
+ function storage_init($args)
+ {
+ $flags = array(
+ 'JUNK' => 'Junk',
+ 'NONJUNK' => 'NonJunk',
+ );
+
+ // register message flags
+ $args['message_flags'] = array_merge((array)$args['message_flags'], $flags);
+
+ return $args;
+ }
+
+ function request_action()
+ {
+ $this->add_texts('localization');
+
+ $uids = rcube_utils::get_input_value('_uid', rcube_utils::INPUT_POST);
+ $mbox = rcube_utils::get_input_value('_mbox', rcube_utils::INPUT_POST);
+
+ $rcmail = rcmail::get_instance();
+ $storage = $rcmail->get_storage();
+
+ $storage->unset_flag($uids, 'NONJUNK');
+ $storage->set_flag($uids, 'JUNK');
+
+ if (($junk_mbox = $rcmail->config->get('junk_mbox')) && $mbox != $junk_mbox) {
+ $rcmail->output->command('move_messages', $junk_mbox);
+ }
+
+ $rcmail->output->command('display_message', $this->gettext('reportedasjunk'), 'confirmation');
+ $rcmail->output->send();
+ }
+
+}
diff --git a/webmail/plugins/markasjunk/package.xml b/webmail/plugins/markasjunk/package.xml
new file mode 100644
index 0000000..9559748
--- /dev/null
+++ b/webmail/plugins/markasjunk/package.xml
@@ -0,0 +1,68 @@
+<?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>markasjunk</name>
+ <channel>pear.roundcube.net</channel>
+ <summary>Mark messages as Junk</summary>
+ <description>Adds a new button to the mailbox toolbar to mark the selected messages as Junk and move them to the configured Junk folder.</description>
+ <lead>
+ <name>Thomas Bruederli</name>
+ <user>thomasb</user>
+ <email>roundcube@gmail.com</email>
+ <active>yes</active>
+ </lead>
+ <date>2013-08-29</date>
+ <version>
+ <release>1.2</release>
+ <api>1.2</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="markasjunk.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="markasjunk.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/cs_CZ.inc" role="data"></file>
+ <file name="localization/da_DK.inc" role="data"></file>
+ <file name="localization/de_DE.inc" role="data"></file>
+ <file name="localization/en_US.inc" role="data"></file>
+ <file name="localization/es_AR.inc" role="data"></file>
+ <file name="localization/es_ES.inc" role="data"></file>
+ <file name="localization/et_EE.inc" role="data"></file>
+ <file name="localization/gl_ES.inc" role="data"></file>
+ <file name="localization/it_IT.inc" role="data"></file>
+ <file name="localization/ja_JP.inc" role="data"></file>
+ <file name="localization/pl_PL.inc" role="data"></file>
+ <file name="localization/ru_RU.inc" role="data"></file>
+ <file name="localization/sk_SK.inc" role="data"></file>
+ <file name="localization/sv_SE.inc" role="data"></file>
+ <file name="localization/zh_TW.inc" role="data"></file>
+ <file name="skins/classic/junk_act.png" role="data"></file>
+ <file name="skins/classic/junk_pas.png" 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/markasjunk/skins/classic/junk_act.png b/webmail/plugins/markasjunk/skins/classic/junk_act.png
new file mode 100644
index 0000000..b5a84f6
--- /dev/null
+++ b/webmail/plugins/markasjunk/skins/classic/junk_act.png
Binary files differ
diff --git a/webmail/plugins/markasjunk/skins/classic/junk_pas.png b/webmail/plugins/markasjunk/skins/classic/junk_pas.png
new file mode 100644
index 0000000..b88a561
--- /dev/null
+++ b/webmail/plugins/markasjunk/skins/classic/junk_pas.png
Binary files differ
diff --git a/webmail/plugins/markasjunk/skins/classic/markasjunk.css b/webmail/plugins/markasjunk/skins/classic/markasjunk.css
new file mode 100644
index 0000000..5b1d47b
--- /dev/null
+++ b/webmail/plugins/markasjunk/skins/classic/markasjunk.css
@@ -0,0 +1,6 @@
+
+#messagetoolbar a.button.junk {
+ text-indent: -5000px;
+ background: url(junk_act.png) 0 0 no-repeat;
+}
+
diff --git a/webmail/plugins/markasjunk/skins/larry/.gitignore b/webmail/plugins/markasjunk/skins/larry/.gitignore
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/webmail/plugins/markasjunk/skins/larry/.gitignore
diff --git a/webmail/plugins/markasjunk/tests/Markasjunk.php b/webmail/plugins/markasjunk/tests/Markasjunk.php
new file mode 100644
index 0000000..cdf1325
--- /dev/null
+++ b/webmail/plugins/markasjunk/tests/Markasjunk.php
@@ -0,0 +1,23 @@
+<?php
+
+class Markasjunk_Plugin extends PHPUnit_Framework_TestCase
+{
+
+ function setUp()
+ {
+ include_once dirname(__FILE__) . '/../markasjunk.php';
+ }
+
+ /**
+ * Plugin object construction test
+ */
+ function test_constructor()
+ {
+ $rcube = rcube::get_instance();
+ $plugin = new markasjunk($rcube->api);
+
+ $this->assertInstanceOf('markasjunk', $plugin);
+ $this->assertInstanceOf('rcube_plugin', $plugin);
+ }
+}
+