summaryrefslogtreecommitdiff
path: root/webmail/plugins/vcard_attachments
diff options
context:
space:
mode:
Diffstat (limited to 'webmail/plugins/vcard_attachments')
-rw-r--r--webmail/plugins/vcard_attachments/localization/az_AZ.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/be_BE.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/bs_BA.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/ca_ES.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/cs_CZ.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/cy_GB.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/da_DK.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/de_CH.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/de_DE.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/en_GB.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/en_US.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/eo.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/es_ES.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/et_EE.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/fa_IR.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/fi_FI.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/fr_FR.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/gl_ES.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/he_IL.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/hr_HR.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/hu_HU.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/hy_AM.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/id_ID.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/it_IT.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/ja_JP.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/km_KH.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/ko_KR.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/lt_LT.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/lv_LV.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/ml_IN.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/ml_ML.inc20
-rw-r--r--webmail/plugins/vcard_attachments/localization/mr_IN.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/nb_NB.inc20
-rw-r--r--webmail/plugins/vcard_attachments/localization/nb_NO.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/nl_NL.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/nn_NO.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/pl_PL.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/pt_BR.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/pt_PT.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/ro_RO.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/ru_RU.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/si_LK.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/sk_SK.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/sl_SI.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/sr_CS.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/sv_SE.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/tr_TR.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/uk_UA.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/vi_VN.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/zh_CN.inc23
-rw-r--r--webmail/plugins/vcard_attachments/localization/zh_TW.inc23
-rw-r--r--webmail/plugins/vcard_attachments/package.xml187
-rw-r--r--webmail/plugins/vcard_attachments/skins/classic/style.css17
-rw-r--r--webmail/plugins/vcard_attachments/skins/classic/vcard.pngbin0 -> 493 bytes
-rw-r--r--webmail/plugins/vcard_attachments/skins/classic/vcard_add_contact.pngbin0 -> 1361 bytes
-rw-r--r--webmail/plugins/vcard_attachments/skins/larry/style.css21
-rw-r--r--webmail/plugins/vcard_attachments/skins/larry/vcard.pngbin0 -> 493 bytes
-rw-r--r--webmail/plugins/vcard_attachments/skins/larry/vcard_add_contact.pngbin0 -> 1859 bytes
-rw-r--r--webmail/plugins/vcard_attachments/tests/VcardAttachments.php23
-rw-r--r--webmail/plugins/vcard_attachments/vcard_attachments.php228
-rw-r--r--webmail/plugins/vcard_attachments/vcardattach.js23
61 files changed, 1666 insertions, 0 deletions
diff --git a/webmail/plugins/vcard_attachments/localization/az_AZ.inc b/webmail/plugins/vcard_attachments/localization/az_AZ.inc
new file mode 100644
index 0000000..85fbf7f
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/az_AZ.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'vCard-ı kontakta daxil et';
+$labels['vcardsavefailed'] = 'vCard-ı saxlamaq alınmadı';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/be_BE.inc b/webmail/plugins/vcard_attachments/localization/be_BE.inc
new file mode 100644
index 0000000..eb8208e
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/be_BE.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Дадаць vCard у адрасную кнігу';
+$labels['vcardsavefailed'] = 'Немагчыма захаваць vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/bs_BA.inc b/webmail/plugins/vcard_attachments/localization/bs_BA.inc
new file mode 100644
index 0000000..e13ccc7
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/bs_BA.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Dodaj vCard u adresar';
+$labels['vcardsavefailed'] = 'Nije moguće sačuvati vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/ca_ES.inc b/webmail/plugins/vcard_attachments/localization/ca_ES.inc
new file mode 100644
index 0000000..b0f36d9
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/ca_ES.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Afegeix la vCard a la llibreta d\'adreces';
+$labels['vcardsavefailed'] = 'No s\'ha pogut desar la vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/cs_CZ.inc b/webmail/plugins/vcard_attachments/localization/cs_CZ.inc
new file mode 100644
index 0000000..dc8e1f8
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/cs_CZ.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Přidat vCard do adresáře';
+$labels['vcardsavefailed'] = 'Nelze uložit vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/cy_GB.inc b/webmail/plugins/vcard_attachments/localization/cy_GB.inc
new file mode 100644
index 0000000..24d32f4
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/cy_GB.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Ychwanegu vCard i\'r llyfr cyfeiriadau';
+$labels['vcardsavefailed'] = 'Methwyd cadw\'r vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/da_DK.inc b/webmail/plugins/vcard_attachments/localization/da_DK.inc
new file mode 100644
index 0000000..bc9c2be
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/da_DK.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Tilføj vCard til adressebogen';
+$labels['vcardsavefailed'] = 'Kan ikke gemme dette vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/de_CH.inc b/webmail/plugins/vcard_attachments/localization/de_CH.inc
new file mode 100644
index 0000000..5775869
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/de_CH.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Kontakt im Adressbuch speichern';
+$labels['vcardsavefailed'] = 'Der Kontakt konnte nicht gespeichert werden';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/de_DE.inc b/webmail/plugins/vcard_attachments/localization/de_DE.inc
new file mode 100644
index 0000000..5775869
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/de_DE.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Kontakt im Adressbuch speichern';
+$labels['vcardsavefailed'] = 'Der Kontakt konnte nicht gespeichert werden';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/en_GB.inc b/webmail/plugins/vcard_attachments/localization/en_GB.inc
new file mode 100644
index 0000000..a52a932
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/en_GB.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Add vCard to addressbook';
+$labels['vcardsavefailed'] = 'Unable to save vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/en_US.inc b/webmail/plugins/vcard_attachments/localization/en_US.inc
new file mode 100644
index 0000000..02eed29
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/en_US.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Add vCard to addressbook';
+$labels['vcardsavefailed'] = 'Unable to save vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/eo.inc b/webmail/plugins/vcard_attachments/localization/eo.inc
new file mode 100644
index 0000000..e98ac19
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/eo.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Aldoni vCard al adresaro';
+$labels['vcardsavefailed'] = 'vCard ne konserveblas';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/es_ES.inc b/webmail/plugins/vcard_attachments/localization/es_ES.inc
new file mode 100644
index 0000000..55ab6b6
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/es_ES.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Añadir la tarjeta a la libreta de direcciones';
+$labels['vcardsavefailed'] = 'No ha sido posible guardar la tarjeta';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/et_EE.inc b/webmail/plugins/vcard_attachments/localization/et_EE.inc
new file mode 100644
index 0000000..dd74b8f
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/et_EE.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Lisa vCard aadressiraamatusse';
+$labels['vcardsavefailed'] = 'vCard salvestamine nurjus';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/fa_IR.inc b/webmail/plugins/vcard_attachments/localization/fa_IR.inc
new file mode 100644
index 0000000..5b28d56
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/fa_IR.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'افزودن vCard به دفترچه آدرس';
+$labels['vcardsavefailed'] = 'ناتوان در ذخیره vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/fi_FI.inc b/webmail/plugins/vcard_attachments/localization/fi_FI.inc
new file mode 100644
index 0000000..2547456
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/fi_FI.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Lisää vCard osoitekirjaan';
+$labels['vcardsavefailed'] = 'vCardin tallennus epäonnistui';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/fr_FR.inc b/webmail/plugins/vcard_attachments/localization/fr_FR.inc
new file mode 100644
index 0000000..03274e2
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/fr_FR.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Ajouter la vCard au carnet d\'adresses';
+$labels['vcardsavefailed'] = 'Impossible d\'enregistrer la vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/gl_ES.inc b/webmail/plugins/vcard_attachments/localization/gl_ES.inc
new file mode 100644
index 0000000..b502c85
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/gl_ES.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Engadir a tarxeta ao caderno de enderezos';
+$labels['vcardsavefailed'] = 'Non foi posible gardar a tarxeta';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/he_IL.inc b/webmail/plugins/vcard_attachments/localization/he_IL.inc
new file mode 100644
index 0000000..2e87168
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/he_IL.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'הוספת כרטיס ביקור בפורמט vCard לספר הכתובות';
+$labels['vcardsavefailed'] = 'לא ניתן לשמור את כרטיס הביקור vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/hr_HR.inc b/webmail/plugins/vcard_attachments/localization/hr_HR.inc
new file mode 100644
index 0000000..c22f93b
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/hr_HR.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Dodaj vCard u imenik';
+$labels['vcardsavefailed'] = 'Ne mogu pohraniti vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/hu_HU.inc b/webmail/plugins/vcard_attachments/localization/hu_HU.inc
new file mode 100644
index 0000000..4f166b0
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/hu_HU.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'vCard hozzáadása a címjegyzékhez';
+$labels['vcardsavefailed'] = 'Sikertelen a vCard mentése';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/hy_AM.inc b/webmail/plugins/vcard_attachments/localization/hy_AM.inc
new file mode 100644
index 0000000..7bd99ae
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/hy_AM.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Ավելացնել vCard-ը հասցեագրքում';
+$labels['vcardsavefailed'] = 'vCard-ի պահպանումը ձախողվեց';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/id_ID.inc b/webmail/plugins/vcard_attachments/localization/id_ID.inc
new file mode 100644
index 0000000..8766e61
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/id_ID.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Tambahkan vCard ke buku alamat';
+$labels['vcardsavefailed'] = 'Tidak dapat menyimpan vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/it_IT.inc b/webmail/plugins/vcard_attachments/localization/it_IT.inc
new file mode 100644
index 0000000..e91f941
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/it_IT.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Aggiungi vCard alla Agenda';
+$labels['vcardsavefailed'] = 'Abilita a salvare vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/ja_JP.inc b/webmail/plugins/vcard_attachments/localization/ja_JP.inc
new file mode 100644
index 0000000..0daf160
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/ja_JP.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'vCardをアドレス帳に追加';
+$labels['vcardsavefailed'] = 'vCardを保存できませんでした。';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/km_KH.inc b/webmail/plugins/vcard_attachments/localization/km_KH.inc
new file mode 100644
index 0000000..5720c00
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/km_KH.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'បន្ថែម vCard ទៅសៀវភៅកត់ត្រា';
+$labels['vcardsavefailed'] = 'មិនអាចរក្សាទុក vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/ko_KR.inc b/webmail/plugins/vcard_attachments/localization/ko_KR.inc
new file mode 100644
index 0000000..3e787f0
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/ko_KR.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = '주소록에 vCard를 추가';
+$labels['vcardsavefailed'] = 'vCard 저장이 불가능함';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/lt_LT.inc b/webmail/plugins/vcard_attachments/localization/lt_LT.inc
new file mode 100644
index 0000000..ca40c90
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/lt_LT.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Įtraukti vizitinę kortelę į adresų knygą';
+$labels['vcardsavefailed'] = 'Įrašyti vizitinės kortelės nepavyko';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/lv_LV.inc b/webmail/plugins/vcard_attachments/localization/lv_LV.inc
new file mode 100644
index 0000000..b3e36ff
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/lv_LV.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Pievienot vizītkarti adrešu grāmatai';
+$labels['vcardsavefailed'] = 'Nevarēja saglabāt vizītkarti';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/ml_IN.inc b/webmail/plugins/vcard_attachments/localization/ml_IN.inc
new file mode 100644
index 0000000..3613eab
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/ml_IN.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'വിലാസപുസ്തകത്തിലേക്ക് വികാര്‍ഡ് ചേര്‍ക്കുക';
+$labels['vcardsavefailed'] = 'വികാര്‍ഡ് ചേര്‍ക്കാന്‍ പറ്റിയില്ല';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/ml_ML.inc b/webmail/plugins/vcard_attachments/localization/ml_ML.inc
new file mode 100644
index 0000000..580dbe7
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/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['addvcardmsg'] = 'വിലാസപുസ്തകത്തിലേക്ക് വികാര്‍ഡ് ചേര്‍ക്കുക';
+$labels['vcardsavefailed'] = 'വികാര്‍ഡ് ചേര്‍ക്കാന്‍ പറ്റിയില്ല';
+
diff --git a/webmail/plugins/vcard_attachments/localization/mr_IN.inc b/webmail/plugins/vcard_attachments/localization/mr_IN.inc
new file mode 100644
index 0000000..17d1e3d
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/mr_IN.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'व्हीकार्ड पत्ते नोंदवहीत समाविष्ट करा';
+$labels['vcardsavefailed'] = 'व्हीकार्ड जतन करण्यास असमर्थ';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/nb_NB.inc b/webmail/plugins/vcard_attachments/localization/nb_NB.inc
new file mode 100644
index 0000000..6568b7a
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/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: Runar Furenes <Unknown> |
+ +-----------------------------------------------------------------------+
+ @version $Id$
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Legg til vCard i adresseboken';
+$labels['vcardsavefailed'] = 'Ikke i stand til å lagre vCard';
+
diff --git a/webmail/plugins/vcard_attachments/localization/nb_NO.inc b/webmail/plugins/vcard_attachments/localization/nb_NO.inc
new file mode 100644
index 0000000..c6e4fd4
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/nb_NO.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Legg til vCard i adresseboken';
+$labels['vcardsavefailed'] = 'Ikke i stand til å lagre vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/nl_NL.inc b/webmail/plugins/vcard_attachments/localization/nl_NL.inc
new file mode 100644
index 0000000..bcba722
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/nl_NL.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Voeg vCard toe aan adresboek';
+$labels['vcardsavefailed'] = 'Kan vCard niet opslaan';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/nn_NO.inc b/webmail/plugins/vcard_attachments/localization/nn_NO.inc
new file mode 100644
index 0000000..398e08b
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/nn_NO.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Legg til vCard i adresseboka';
+$labels['vcardsavefailed'] = 'Klarte ikkje lagra vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/pl_PL.inc b/webmail/plugins/vcard_attachments/localization/pl_PL.inc
new file mode 100644
index 0000000..036dec5
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/pl_PL.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Dodaj wizytówkę (vCard) do kontaktów';
+$labels['vcardsavefailed'] = 'Nie można zapisać wizytówki (vCard)';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/pt_BR.inc b/webmail/plugins/vcard_attachments/localization/pt_BR.inc
new file mode 100644
index 0000000..afcc08c
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/pt_BR.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Adicionar o vCard ao Catálogo de Endereços';
+$labels['vcardsavefailed'] = 'Impossível salvar o vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/pt_PT.inc b/webmail/plugins/vcard_attachments/localization/pt_PT.inc
new file mode 100644
index 0000000..5758c91
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/pt_PT.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Adicionar o vCard ao Livro de Endereços';
+$labels['vcardsavefailed'] = 'Não foi possível guardar o vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/ro_RO.inc b/webmail/plugins/vcard_attachments/localization/ro_RO.inc
new file mode 100644
index 0000000..98f68a1
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/ro_RO.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Adaugă vCard la agendă';
+$labels['vcardsavefailed'] = 'Nu pot salva vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/ru_RU.inc b/webmail/plugins/vcard_attachments/localization/ru_RU.inc
new file mode 100644
index 0000000..851035b
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/ru_RU.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Добавить в контакты';
+$labels['vcardsavefailed'] = 'Не удалось сохранить vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/si_LK.inc b/webmail/plugins/vcard_attachments/localization/si_LK.inc
new file mode 100644
index 0000000..5231cc2
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/si_LK.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'vCard පත ලිපින පොතට එක් කරන්න';
+$labels['vcardsavefailed'] = 'vCard පත සුරැකීම අසාර්ථකයි';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/sk_SK.inc b/webmail/plugins/vcard_attachments/localization/sk_SK.inc
new file mode 100644
index 0000000..937ed33
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/sk_SK.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Pridať vCard do adresára';
+$labels['vcardsavefailed'] = 'Nemôžem uložiť vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/sl_SI.inc b/webmail/plugins/vcard_attachments/localization/sl_SI.inc
new file mode 100644
index 0000000..4335040
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/sl_SI.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Dodaj vCard med Stike.';
+$labels['vcardsavefailed'] = 'Stika vCard ni bilo mogoče shraniti.';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/sr_CS.inc b/webmail/plugins/vcard_attachments/localization/sr_CS.inc
new file mode 100644
index 0000000..b11a487
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/sr_CS.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Додај вЦард у Адресар';
+$labels['vcardsavefailed'] = 'немоћан сачувати вчард';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/sv_SE.inc b/webmail/plugins/vcard_attachments/localization/sv_SE.inc
new file mode 100644
index 0000000..c0e925b
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/sv_SE.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Lägg till vCard i adressbok';
+$labels['vcardsavefailed'] = 'Kunde inte spara vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/tr_TR.inc b/webmail/plugins/vcard_attachments/localization/tr_TR.inc
new file mode 100644
index 0000000..a0e0d44
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/tr_TR.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Vcard\'ı adres deferine ekle';
+$labels['vcardsavefailed'] = 'vCard kaydedilemedi';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/uk_UA.inc b/webmail/plugins/vcard_attachments/localization/uk_UA.inc
new file mode 100644
index 0000000..ed8eab3
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/uk_UA.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Додати vCard до контактів';
+$labels['vcardsavefailed'] = 'Не вдалось зберегти vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/vi_VN.inc b/webmail/plugins/vcard_attachments/localization/vi_VN.inc
new file mode 100644
index 0000000..247d61e
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/vi_VN.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = 'Thêm vCard vào sổ địa chỉ';
+$labels['vcardsavefailed'] = 'Không thể lưu vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/zh_CN.inc b/webmail/plugins/vcard_attachments/localization/zh_CN.inc
new file mode 100644
index 0000000..5ff81a8
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/zh_CN.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = '添加 vCard 至地址簿中';
+$labels['vcardsavefailed'] = '无法保存 vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/localization/zh_TW.inc b/webmail/plugins/vcard_attachments/localization/zh_TW.inc
new file mode 100644
index 0000000..4ed21c2
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/localization/zh_TW.inc
@@ -0,0 +1,23 @@
+<?php
+
+/*
+ +-----------------------------------------------------------------------+
+ | plugins/vcard_attachments/localization/<lang>.inc |
+ | |
+ | Localization file of the Roundcube Webmail Vcard Attachments plugin |
+ | Copyright (C) 2012-2013, The Roundcube Dev Team |
+ | |
+ | Licensed under the GNU General Public License version 3 or |
+ | any later version with exceptions for skins & plugins. |
+ | See the README file for a full license statement. |
+ | |
+ +-----------------------------------------------------------------------+
+
+ For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/
+*/
+
+$labels = array();
+$labels['addvcardmsg'] = '加入 vCard 到通訊錄';
+$labels['vcardsavefailed'] = '無法儲存 vCard';
+
+?> \ No newline at end of file
diff --git a/webmail/plugins/vcard_attachments/package.xml b/webmail/plugins/vcard_attachments/package.xml
new file mode 100644
index 0000000..9fdf0ac
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/package.xml
@@ -0,0 +1,187 @@
+<?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>vcard_attachments</name>
+ <channel>pear.roundcube.net</channel>
+ <summary>vCard handler for Roundcube</summary>
+ <description>This plugin detects vCard attachments/bodies and shows a button(s) to add them to address book</description>
+ <lead>
+ <name>Thomas Bruederli</name>
+ <user>thomasb</user>
+ <email>roundcube@gmail.com</email>
+ <active>yes</active>
+ </lead>
+ <lead>
+ <name>Aleksander Machniak</name>
+ <user>alec</user>
+ <email>alec@alec.pl</email>
+ <active>yes</active>
+ </lead>
+ <date>2012-11-18</date>
+ <version>
+ <release>3.2</release>
+ <api>3.2</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.gnu.org/licenses/gpl.html">GNU GPLv3+</license>
+ <notes>
+- Skip invalid vcards (#1488788)
+ </notes>
+ <contents>
+ <dir baseinstalldir="/" name="/">
+ <file name="vcard_attachments.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="vcardattach.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/be_BE.inc" role="data"></file>
+ <file name="localization/bs_BA.inc" role="data"></file>
+ <file name="localization/ca_ES.inc" role="data"></file>
+ <file name="localization/cs_CZ.inc" role="data"></file>
+ <file name="localization/cy_GB.inc" role="data"></file>
+ <file name="localization/da_DK.inc" role="data"></file>
+ <file name="localization/de_CH.inc" role="data"></file>
+ <file name="localization/de_DE.inc" role="data"></file>
+ <file name="localization/en_GB.inc" role="data"></file>
+ <file name="localization/en_US.inc" role="data"></file>
+ <file name="localization/eo.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/fa_IR.inc" role="data"></file>
+ <file name="localization/fi_FI.inc" role="data"></file>
+ <file name="localization/fr_FR.inc" role="data"></file>
+ <file name="localization/gl_ES.inc" role="data"></file>
+ <file name="localization/he_IL.inc" role="data"></file>
+ <file name="localization/hr_HR.inc" role="data"></file>
+ <file name="localization/hu_HU.inc" role="data"></file>
+ <file name="localization/hy_AM.inc" role="data"></file>
+ <file name="localization/id_ID.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/ko_KR.inc" role="data"></file>
+ <file name="localization/lt_LT.inc" role="data"></file>
+ <file name="localization/lv_LV.inc" role="data"></file>
+ <file name="localization/ml_IN.inc" role="data"></file>
+ <file name="localization/mr_IN.inc" role="data"></file>
+ <file name="localization/nb_NB.inc" role="data"></file>
+ <file name="localization/nl_NL.inc" role="data"></file>
+ <file name="localization/pl_PL.inc" role="data"></file>
+ <file name="localization/pt_BR.inc" role="data"></file>
+ <file name="localization/pt_PT.inc" role="data"></file>
+ <file name="localization/ro_RO.inc" role="data"></file>
+ <file name="localization/ru_RU.inc" role="data"></file>
+ <file name="localization/si_LK.inc" role="data"></file>
+ <file name="localization/sk_SK.inc" role="data"></file>
+ <file name="localization/sl_SI.inc" role="data"></file>
+ <file name="localization/sr_CS.inc" role="data"></file>
+ <file name="localization/sv_SE.inc" role="data"></file>
+ <file name="localization/tr_TR.inc" role="data"></file>
+ <file name="localization/uk_UA.inc" role="data"></file>
+ <file name="localization/vi_VN.inc" role="data"></file>
+ <file name="localization/zh_CN.inc" role="data"></file>
+ <file name="localization/zh_TW.inc" role="data"></file>
+ <file name="skins/classic/style.css" role="data"></file>
+ <file name="skins/classic/vcard_add_contact.png" role="data"></file>
+ <file name="skins/classic/vcard.png" role="data"></file>
+ <file name="skins/larry/style.css" role="data"></file>
+ <file name="skins/larry/vcard_add_contact.png" role="data"></file>
+ <file name="skins/larry/vcard.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/>
+ <changelog>
+ <release>
+ <date>2010-04-28</date>
+ <time>12:00:00</time>
+ <version>
+ <release>2.0</release>
+ <api>2.0</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.gnu.org/licenses/gpl-2.0.html">GNU GPLv2</license>
+ <notes>
+- Added support for Content-Type: text/directory; profile=vCard
+- Added handler for message bodies of type vCard (#1486683)
+- Added support for more than one vCard attachment/body
+- Added support for more than one contact in one vCard file
+- Created package.xml
+ </notes>
+ </release>
+ <release>
+ <date>2012-03-11</date>
+ <time>19:00:00</time>
+ <version>
+ <release>3.1</release>
+ <api>3.1</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.gnu.org/licenses/gpl.html">GNU GPLv3+</license>
+ <notes>
+ - Add styles for new skin "Larry"
+ </notes>
+ </release>
+ <release>
+ <date>2012-03-11</date>
+ <time>19:00</time>
+ <version>
+ <release>3.1-beta</release>
+ <api>3.1-beta</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.gnu.org/licenses/gpl.html">GNU GPLv3+</license>
+ <notes>
+- Add styles for new skin "Larry"
+- Exec contact_create hook when adding contact (#1486964)
+- Make icons skinable
+- Display vcard icon on messages list when message is of type vcard
+ </notes>
+ </release>
+ <release>
+ <date>2012-04-13</date>
+ <version>
+ <release>3.1</release>
+ <api>3.1</api>
+ </version>
+ <stability>
+ <release>stable</release>
+ <api>stable</api>
+ </stability>
+ <license uri="http://www.gnu.org/licenses/gpl.html">GNU GPLv3+</license>
+ <notes>
+- Fixed doble urlencoding of vcard identifier
+- Fixed encoding when default charset is different than vcard charset
+- Improved vcards import to work as addressbook::import procedure (with validation and autofix)
+- Support IDNA
+- Import contacts to default addressbook
+ </notes>
+ </release>
+ </changelog>
+</package>
diff --git a/webmail/plugins/vcard_attachments/skins/classic/style.css b/webmail/plugins/vcard_attachments/skins/classic/style.css
new file mode 100644
index 0000000..044d398
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/skins/classic/style.css
@@ -0,0 +1,17 @@
+
+p.vcardattachment {
+ margin: 0.5em 1em;
+ border: 1px solid #999;
+ border-radius:4px;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ border-radius: 4px;
+ width: auto;
+}
+
+p.vcardattachment a {
+ display: block;
+ background: url(vcard_add_contact.png) 4px 0px no-repeat;
+ padding: 0.7em 0.5em 0.3em 42px;
+ height: 22px;
+}
diff --git a/webmail/plugins/vcard_attachments/skins/classic/vcard.png b/webmail/plugins/vcard_attachments/skins/classic/vcard.png
new file mode 100644
index 0000000..8bf6b1b
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/skins/classic/vcard.png
Binary files differ
diff --git a/webmail/plugins/vcard_attachments/skins/classic/vcard_add_contact.png b/webmail/plugins/vcard_attachments/skins/classic/vcard_add_contact.png
new file mode 100644
index 0000000..478c1f3
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/skins/classic/vcard_add_contact.png
Binary files differ
diff --git a/webmail/plugins/vcard_attachments/skins/larry/style.css b/webmail/plugins/vcard_attachments/skins/larry/style.css
new file mode 100644
index 0000000..eb70082
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/skins/larry/style.css
@@ -0,0 +1,21 @@
+
+p.vcardattachment {
+ margin: 0.5em 1em;
+ width: auto;
+ background: #f9f9f9;
+ border: 1px solid #d3d3d3;
+ border-radius:4px;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ border-radius: 4px;
+ box-shadow: 0 0 2px #ccc;
+ -o-box-shadow: 0 0 2px #ccc;
+ -webkit-box-shadow: 0 0 2px #ccc;
+ -moz-box-shadow: 0 0 2px #ccc;
+}
+
+p.vcardattachment a {
+ display: block;
+ background: url(vcard_add_contact.png) 6px 2px no-repeat;
+ padding: 1.2em 0.5em 0.7em 46px;
+}
diff --git a/webmail/plugins/vcard_attachments/skins/larry/vcard.png b/webmail/plugins/vcard_attachments/skins/larry/vcard.png
new file mode 100644
index 0000000..8bf6b1b
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/skins/larry/vcard.png
Binary files differ
diff --git a/webmail/plugins/vcard_attachments/skins/larry/vcard_add_contact.png b/webmail/plugins/vcard_attachments/skins/larry/vcard_add_contact.png
new file mode 100644
index 0000000..a8ce459
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/skins/larry/vcard_add_contact.png
Binary files differ
diff --git a/webmail/plugins/vcard_attachments/tests/VcardAttachments.php b/webmail/plugins/vcard_attachments/tests/VcardAttachments.php
new file mode 100644
index 0000000..35fd7f4
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/tests/VcardAttachments.php
@@ -0,0 +1,23 @@
+<?php
+
+class VcardAttachments_Plugin extends PHPUnit_Framework_TestCase
+{
+
+ function setUp()
+ {
+ include_once dirname(__FILE__) . '/../vcard_attachments.php';
+ }
+
+ /**
+ * Plugin object construction test
+ */
+ function test_constructor()
+ {
+ $rcube = rcube::get_instance();
+ $plugin = new vcard_attachments($rcube->api);
+
+ $this->assertInstanceOf('vcard_attachments', $plugin);
+ $this->assertInstanceOf('rcube_plugin', $plugin);
+ }
+}
+
diff --git a/webmail/plugins/vcard_attachments/vcard_attachments.php b/webmail/plugins/vcard_attachments/vcard_attachments.php
new file mode 100644
index 0000000..e7f7d5f
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/vcard_attachments.php
@@ -0,0 +1,228 @@
+<?php
+
+/**
+ * Detect VCard attachments and show a button to add them to address book
+ *
+ * @version @package_version@
+ * @license GNU GPLv3+
+ * @author Thomas Bruederli, Aleksander Machniak
+ */
+class vcard_attachments extends rcube_plugin
+{
+ public $task = 'mail';
+
+ private $message;
+ private $vcard_parts = array();
+ private $vcard_bodies = array();
+
+ function init()
+ {
+ $rcmail = rcmail::get_instance();
+ if ($rcmail->action == 'show' || $rcmail->action == 'preview') {
+ $this->add_hook('message_load', array($this, 'message_load'));
+ $this->add_hook('template_object_messagebody', array($this, 'html_output'));
+ }
+ else if (!$rcmail->output->framed && (!$rcmail->action || $rcmail->action == 'list')) {
+ $icon = 'plugins/vcard_attachments/' .$this->local_skin_path(). '/vcard.png';
+ $rcmail->output->set_env('vcard_icon', $icon);
+ $this->include_script('vcardattach.js');
+ }
+
+ $this->register_action('plugin.savevcard', array($this, 'save_vcard'));
+ }
+
+ /**
+ * Check message bodies and attachments for vcards
+ */
+ function message_load($p)
+ {
+ $this->message = $p['object'];
+
+ // handle attachments vcard attachments
+ foreach ((array)$this->message->attachments as $attachment) {
+ if ($this->is_vcard($attachment)) {
+ $this->vcard_parts[] = $attachment->mime_id;
+ }
+ }
+ // the same with message bodies
+ foreach ((array)$this->message->parts as $idx => $part) {
+ if ($this->is_vcard($part)) {
+ $this->vcard_parts[] = $part->mime_id;
+ $this->vcard_bodies[] = $part->mime_id;
+ }
+ }
+
+ if ($this->vcard_parts)
+ $this->add_texts('localization');
+ }
+
+ /**
+ * This callback function adds a box below the message content
+ * if there is a vcard attachment available
+ */
+ function html_output($p)
+ {
+ $attach_script = false;
+ $icon = 'plugins/vcard_attachments/' .$this->local_skin_path(). '/vcard_add_contact.png';
+
+ foreach ($this->vcard_parts as $part) {
+ $vcards = rcube_vcard::import($this->message->get_part_content($part, null, true));
+
+ // successfully parsed vcards?
+ if (empty($vcards)) {
+ continue;
+ }
+
+ // remove part's body
+ if (in_array($part, $this->vcard_bodies)) {
+ $p['content'] = '';
+ }
+
+ foreach ($vcards as $idx => $vcard) {
+ // skip invalid vCards
+ if (empty($vcard->email) || empty($vcard->email[0])) {
+ continue;
+ }
+
+ $display = $vcard->displayname . ' <'.$vcard->email[0].'>';
+
+ // add box below message body
+ $p['content'] .= html::p(array('class' => 'vcardattachment'),
+ html::a(array(
+ 'href' => "#",
+ 'onclick' => "return plugin_vcard_save_contact('" . JQ($part.':'.$idx) . "')",
+ 'title' => $this->gettext('addvcardmsg'),
+ ),
+ html::span(null, Q($display)))
+ );
+ }
+
+ $attach_script = true;
+ }
+
+ if ($attach_script) {
+ $this->include_script('vcardattach.js');
+ $this->include_stylesheet($this->local_skin_path() . '/style.css');
+ }
+
+ return $p;
+ }
+
+ /**
+ * Handler for request action
+ */
+ function save_vcard()
+ {
+ $this->add_texts('localization', true);
+
+ $uid = get_input_value('_uid', RCUBE_INPUT_POST);
+ $mbox = get_input_value('_mbox', RCUBE_INPUT_POST);
+ $mime_id = get_input_value('_part', RCUBE_INPUT_POST);
+
+ $rcmail = rcmail::get_instance();
+ $storage = $rcmail->get_storage();
+ $storage->set_folder($mbox);
+
+ if ($uid && $mime_id) {
+ list($mime_id, $index) = explode(':', $mime_id);
+ $part = $storage->get_message_part($uid, $mime_id, null, null, null, true);
+ }
+
+ $error_msg = $this->gettext('vcardsavefailed');
+
+ if ($part && ($vcards = rcube_vcard::import($part))
+ && ($vcard = $vcards[$index]) && $vcard->displayname && $vcard->email
+ ) {
+ $CONTACTS = $this->get_address_book();
+ $email = $vcard->email[0];
+ $contact = $vcard->get_assoc();
+ $valid = true;
+
+ // skip entries without an e-mail address or invalid
+ if (empty($email) || !$CONTACTS->validate($contact, true)) {
+ $valid = false;
+ }
+ else {
+ // We're using UTF8 internally
+ $email = rcube_idn_to_utf8($email);
+
+ // compare e-mail address
+ $existing = $CONTACTS->search('email', $email, 1, false);
+ // compare display name
+ if (!$existing->count && $vcard->displayname) {
+ $existing = $CONTACTS->search('name', $vcard->displayname, 1, false);
+ }
+
+ if ($existing->count) {
+ $rcmail->output->command('display_message', $this->gettext('contactexists'), 'warning');
+ $valid = false;
+ }
+ }
+
+ if ($valid) {
+ $plugin = $rcmail->plugins->exec_hook('contact_create', array('record' => $contact, 'source' => null));
+ $contact = $plugin['record'];
+
+ if (!$plugin['abort'] && $CONTACTS->insert($contact))
+ $rcmail->output->command('display_message', $this->gettext('addedsuccessfully'), 'confirmation');
+ else
+ $rcmail->output->command('display_message', $error_msg, 'error');
+ }
+ }
+ else {
+ $rcmail->output->command('display_message', $error_msg, 'error');
+ }
+
+ $rcmail->output->send();
+ }
+
+ /**
+ * Checks if specified message part is a vcard data
+ *
+ * @param rcube_message_part Part object
+ *
+ * @return boolean True if part is of type vcard
+ */
+ function is_vcard($part)
+ {
+ return (
+ // Content-Type: text/vcard;
+ $part->mimetype == 'text/vcard' ||
+ // Content-Type: text/x-vcard;
+ $part->mimetype == 'text/x-vcard' ||
+ // Content-Type: text/directory; profile=vCard;
+ ($part->mimetype == 'text/directory' && (
+ ($part->ctype_parameters['profile'] &&
+ strtolower($part->ctype_parameters['profile']) == 'vcard')
+ // Content-Type: text/directory; (with filename=*.vcf)
+ || ($part->filename && preg_match('/\.vcf$/i', $part->filename))
+ )
+ )
+ );
+ }
+
+ /**
+ * Getter for default (writable) addressbook
+ */
+ private function get_address_book()
+ {
+ if ($this->abook) {
+ return $this->abook;
+ }
+
+ $rcmail = rcmail::get_instance();
+ $abook = $rcmail->config->get('default_addressbook');
+
+ // Get configured addressbook
+ $CONTACTS = $rcmail->get_address_book($abook, true);
+
+ // Get first writeable addressbook if the configured doesn't exist
+ // This can happen when user deleted the addressbook (e.g. Kolab folder)
+ if ($abook === null || $abook === '' || !is_object($CONTACTS)) {
+ $source = reset($rcmail->get_address_sources(true));
+ $CONTACTS = $rcmail->get_address_book($source['id'], true);
+ }
+
+ return $this->abook = $CONTACTS;
+ }
+}
diff --git a/webmail/plugins/vcard_attachments/vcardattach.js b/webmail/plugins/vcard_attachments/vcardattach.js
new file mode 100644
index 0000000..29bc1a6
--- /dev/null
+++ b/webmail/plugins/vcard_attachments/vcardattach.js
@@ -0,0 +1,23 @@
+/*
+ * vcard_attachments plugin script
+ * @version @package_version@
+ */
+function plugin_vcard_save_contact(mime_id)
+{
+ var lock = rcmail.set_busy(true, 'loading');
+ rcmail.http_post('plugin.savevcard', { _uid: rcmail.env.uid, _mbox: rcmail.env.mailbox, _part: mime_id }, lock);
+
+ return false;
+}
+
+function plugin_vcard_insertrow(data)
+{
+ var ctype = data.row.ctype;
+ if (ctype == 'text/vcard' || ctype == 'text/x-vcard' || ctype == 'text/directory') {
+ $('#rcmrow'+data.uid+' > td.attachment').html('<img src="'+rcmail.env.vcard_icon+'" alt="" />');
+ }
+}
+
+if (window.rcmail && rcmail.gui_objects.messagelist) {
+ rcmail.addEventListener('insertrow', function(data, evt) { plugin_vcard_insertrow(data); });
+}