diff options
Diffstat (limited to 'plugins/vcard_attachments')
73 files changed, 0 insertions, 1612 deletions
diff --git a/plugins/vcard_attachments/composer.json b/plugins/vcard_attachments/composer.json deleted file mode 100644 index 07105bdf6..000000000 --- a/plugins/vcard_attachments/composer.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "roundcube/vcard_attachments", - "type": "roundcube-plugin", - "description": "This plugin detects vCard attachments/bodies and shows a button(s) to add them to address book", - "license": "GPLv3+", - "version": "3.2", - "authors": [ - { - "name": "Thomas Bruederli", - "email": "roundcube@gmail.com", - "role": "Lead" - }, - { - "name": "Aleksander Machniak", - "email": "alec@alec.pl", - "role": "Lead" - } - ], - "repositories": [ - { - "type": "composer", - "url": "http://plugins.roundcube.net" - } - ], - "require": { - "php": ">=5.3.0", - "roundcube/plugin-installer": ">=0.1.3" - } -} diff --git a/plugins/vcard_attachments/localization/ar.inc b/plugins/vcard_attachments/localization/ar.inc deleted file mode 100644 index 2d40d9bba..000000000 --- a/plugins/vcard_attachments/localization/ar.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'إضافة vCard إلى دفتر العناوين'; -$labels['vcardsavefailed'] = 'غير قادر على حفظ بصيغة vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ar_SA.inc b/plugins/vcard_attachments/localization/ar_SA.inc deleted file mode 100644 index 47461898d..000000000 --- a/plugins/vcard_attachments/localization/ar_SA.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'إضافة صيغة vCard إلى دفتر العناوين'; -$labels['vcardsavefailed'] = 'غير قادر على الحفظ بصيغة vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ast.inc b/plugins/vcard_attachments/localization/ast.inc deleted file mode 100644 index 899e8a2d0..000000000 --- a/plugins/vcard_attachments/localization/ast.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Amestar vCard a la llibreta de direiciones'; -$labels['vcardsavefailed'] = 'Nun pue guardase la vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/az_AZ.inc b/plugins/vcard_attachments/localization/az_AZ.inc deleted file mode 100644 index 7329c7f18..000000000 --- a/plugins/vcard_attachments/localization/az_AZ.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'vCard-ı kontakta daxil et'; -$labels['vcardsavefailed'] = 'vCard-ı saxlamaq alınmadı'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/be_BE.inc b/plugins/vcard_attachments/localization/be_BE.inc deleted file mode 100644 index 57a48e12b..000000000 --- a/plugins/vcard_attachments/localization/be_BE.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Дадаць vCard у адрасную кнігу'; -$labels['vcardsavefailed'] = 'Немагчыма захаваць vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/bg_BG.inc b/plugins/vcard_attachments/localization/bg_BG.inc deleted file mode 100644 index 7e0b174e9..000000000 --- a/plugins/vcard_attachments/localization/bg_BG.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Добавяне на vCard към адресната книга'; -$labels['vcardsavefailed'] = 'Невъзможен запис на vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/br.inc b/plugins/vcard_attachments/localization/br.inc deleted file mode 100644 index d11a63f34..000000000 --- a/plugins/vcard_attachments/localization/br.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Ouzhpennañ ar vCard d\'ar c\'harned chomlec\'hioù'; -$labels['vcardsavefailed'] = 'N\'haller ket enrollañ ar vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/bs_BA.inc b/plugins/vcard_attachments/localization/bs_BA.inc deleted file mode 100644 index 32304d60c..000000000 --- a/plugins/vcard_attachments/localization/bs_BA.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Dodaj vCard u adresar'; -$labels['vcardsavefailed'] = 'Nije moguće sačuvati vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ca_ES.inc b/plugins/vcard_attachments/localization/ca_ES.inc deleted file mode 100644 index c09315df3..000000000 --- a/plugins/vcard_attachments/localization/ca_ES.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Afegeix la vCard a la llibreta d\'adreces'; -$labels['vcardsavefailed'] = 'No s\'ha pogut desar la vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/cs_CZ.inc b/plugins/vcard_attachments/localization/cs_CZ.inc deleted file mode 100644 index 372d650d9..000000000 --- a/plugins/vcard_attachments/localization/cs_CZ.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Přidat vCard do adresáře'; -$labels['vcardsavefailed'] = 'Nelze uložit vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/cy_GB.inc b/plugins/vcard_attachments/localization/cy_GB.inc deleted file mode 100644 index 814ed0be4..000000000 --- a/plugins/vcard_attachments/localization/cy_GB.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Ychwanegu vCard i\'r llyfr cyfeiriadau'; -$labels['vcardsavefailed'] = 'Methwyd cadw\'r vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/da_DK.inc b/plugins/vcard_attachments/localization/da_DK.inc deleted file mode 100644 index 3107246e9..000000000 --- a/plugins/vcard_attachments/localization/da_DK.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Tilføj vCard til adressebogen'; -$labels['vcardsavefailed'] = 'Kan ikke gemme dette vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/de_CH.inc b/plugins/vcard_attachments/localization/de_CH.inc deleted file mode 100644 index edee86fce..000000000 --- a/plugins/vcard_attachments/localization/de_CH.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Kontakt im Adressbuch speichern'; -$labels['vcardsavefailed'] = 'Der Kontakt konnte nicht gespeichert werden'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/de_DE.inc b/plugins/vcard_attachments/localization/de_DE.inc deleted file mode 100644 index edee86fce..000000000 --- a/plugins/vcard_attachments/localization/de_DE.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Kontakt im Adressbuch speichern'; -$labels['vcardsavefailed'] = 'Der Kontakt konnte nicht gespeichert werden'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/el_GR.inc b/plugins/vcard_attachments/localization/el_GR.inc deleted file mode 100644 index a59f6f556..000000000 --- a/plugins/vcard_attachments/localization/el_GR.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Προσθήκη vCard στο βιβλίο διευθύνσεων'; -$labels['vcardsavefailed'] = 'Δεν είναι δυνατή η αποθήκευση του vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/en_CA.inc b/plugins/vcard_attachments/localization/en_CA.inc deleted file mode 100644 index ac21ef96b..000000000 --- a/plugins/vcard_attachments/localization/en_CA.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Add vCard to addressbook'; -$labels['vcardsavefailed'] = 'Unable to save vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/en_GB.inc b/plugins/vcard_attachments/localization/en_GB.inc deleted file mode 100644 index ac21ef96b..000000000 --- a/plugins/vcard_attachments/localization/en_GB.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Add vCard to addressbook'; -$labels['vcardsavefailed'] = 'Unable to save vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/en_US.inc b/plugins/vcard_attachments/localization/en_US.inc deleted file mode 100644 index a52a93228..000000000 --- a/plugins/vcard_attachments/localization/en_US.inc +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ - -$labels = array(); -$labels['addvcardmsg'] = 'Add vCard to addressbook'; -$labels['vcardsavefailed'] = 'Unable to save vCard'; - -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/eo.inc b/plugins/vcard_attachments/localization/eo.inc deleted file mode 100644 index bcdfbb0d5..000000000 --- a/plugins/vcard_attachments/localization/eo.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Aldoni vCard al adresaro'; -$labels['vcardsavefailed'] = 'vCard ne konserveblas'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/es_419.inc b/plugins/vcard_attachments/localization/es_419.inc deleted file mode 100644 index 3d56d761b..000000000 --- a/plugins/vcard_attachments/localization/es_419.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Agregar vCard a la libreta de direcciones'; -$labels['vcardsavefailed'] = 'No se puede guardar la vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/es_AR.inc b/plugins/vcard_attachments/localization/es_AR.inc deleted file mode 100644 index ee2f0c84b..000000000 --- a/plugins/vcard_attachments/localization/es_AR.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Agregar vCard a la libreta de direcciones'; -$labels['vcardsavefailed'] = 'Imposible guardar vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/es_ES.inc b/plugins/vcard_attachments/localization/es_ES.inc deleted file mode 100644 index 28ea13e84..000000000 --- a/plugins/vcard_attachments/localization/es_ES.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Añadir tarjeta vCard a la libreta de direcciones'; -$labels['vcardsavefailed'] = 'No se pudo guardar la tarjeta vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/et_EE.inc b/plugins/vcard_attachments/localization/et_EE.inc deleted file mode 100644 index 73d2070eb..000000000 --- a/plugins/vcard_attachments/localization/et_EE.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Lisa vCard aadressiraamatusse'; -$labels['vcardsavefailed'] = 'vCard salvestamine nurjus'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/eu_ES.inc b/plugins/vcard_attachments/localization/eu_ES.inc deleted file mode 100644 index f60ac6efa..000000000 --- a/plugins/vcard_attachments/localization/eu_ES.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Gehitu vCard helbide-liburura'; -$labels['vcardsavefailed'] = 'Ezin da vCard gorde'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/fa_IR.inc b/plugins/vcard_attachments/localization/fa_IR.inc deleted file mode 100644 index 2cfbb50f4..000000000 --- a/plugins/vcard_attachments/localization/fa_IR.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'افزودن vCard به دفترچه نشانی'; -$labels['vcardsavefailed'] = 'ناتوان در ذخیره vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/fi_FI.inc b/plugins/vcard_attachments/localization/fi_FI.inc deleted file mode 100644 index 58aceb18d..000000000 --- a/plugins/vcard_attachments/localization/fi_FI.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Lisää vCard osoitekirjaan'; -$labels['vcardsavefailed'] = 'vCardin tallennus epäonnistui'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/fo_FO.inc b/plugins/vcard_attachments/localization/fo_FO.inc deleted file mode 100644 index 92a9d76fb..000000000 --- a/plugins/vcard_attachments/localization/fo_FO.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Legg vCard til búðstaðar savn'; -$labels['vcardsavefailed'] = 'Kann ikki goyma vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/fr_FR.inc b/plugins/vcard_attachments/localization/fr_FR.inc deleted file mode 100644 index 6bf588d81..000000000 --- a/plugins/vcard_attachments/localization/fr_FR.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Ajouter la vcard au carnet d\'adresses'; -$labels['vcardsavefailed'] = 'Impossible d\'enregistrer la vcard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/gl_ES.inc b/plugins/vcard_attachments/localization/gl_ES.inc deleted file mode 100644 index 55792ee01..000000000 --- a/plugins/vcard_attachments/localization/gl_ES.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Engadir vCard á Axenda de enderezos'; -$labels['vcardsavefailed'] = 'Non foi posíbel gardar a vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/he_IL.inc b/plugins/vcard_attachments/localization/he_IL.inc deleted file mode 100644 index 4a0a4cd4a..000000000 --- a/plugins/vcard_attachments/localization/he_IL.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'הוספת כרטיס ביקור בפורמט vCard לספר הכתובות'; -$labels['vcardsavefailed'] = 'לא ניתן לשמור את כרטיס הביקור vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/hr_HR.inc b/plugins/vcard_attachments/localization/hr_HR.inc deleted file mode 100644 index 93fc17cb0..000000000 --- a/plugins/vcard_attachments/localization/hr_HR.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Dodaj vCard u imenik'; -$labels['vcardsavefailed'] = 'Ne mogu pohraniti vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/hu_HU.inc b/plugins/vcard_attachments/localization/hu_HU.inc deleted file mode 100644 index e4d609f01..000000000 --- a/plugins/vcard_attachments/localization/hu_HU.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'vCard hozzáadása a címjegyzékhez'; -$labels['vcardsavefailed'] = 'Sikertelen a vCard mentése'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/hy_AM.inc b/plugins/vcard_attachments/localization/hy_AM.inc deleted file mode 100644 index d565882ff..000000000 --- a/plugins/vcard_attachments/localization/hy_AM.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Ավելացնել vCard-ը հասցեագրքում'; -$labels['vcardsavefailed'] = 'vCard-ի պահպանումը ձախողվեց'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ia.inc b/plugins/vcard_attachments/localization/ia.inc deleted file mode 100644 index 7b430f935..000000000 --- a/plugins/vcard_attachments/localization/ia.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Adder le vCard al adressario'; -$labels['vcardsavefailed'] = 'Impossibile salveguardar le vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/id_ID.inc b/plugins/vcard_attachments/localization/id_ID.inc deleted file mode 100644 index ea3a31abf..000000000 --- a/plugins/vcard_attachments/localization/id_ID.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Tambahkan vCard ke buku alamat'; -$labels['vcardsavefailed'] = 'Tidak dapat menyimpan vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/it_IT.inc b/plugins/vcard_attachments/localization/it_IT.inc deleted file mode 100644 index fbe498f88..000000000 --- a/plugins/vcard_attachments/localization/it_IT.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Aggiungi vCard alla Agenda'; -$labels['vcardsavefailed'] = 'Abilita a salvare vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ja_JP.inc b/plugins/vcard_attachments/localization/ja_JP.inc deleted file mode 100644 index 4cd738b08..000000000 --- a/plugins/vcard_attachments/localization/ja_JP.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'vCardをアドレス帳に追加'; -$labels['vcardsavefailed'] = 'vCardを保存できませんでした。'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/km_KH.inc b/plugins/vcard_attachments/localization/km_KH.inc deleted file mode 100644 index 75e233448..000000000 --- a/plugins/vcard_attachments/localization/km_KH.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'បន្ថែម vCard ទៅសៀវភៅអាសយដ្ឋាន'; -$labels['vcardsavefailed'] = 'មិនអាចរក្សាទុក vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ko_KR.inc b/plugins/vcard_attachments/localization/ko_KR.inc deleted file mode 100644 index fbbb73921..000000000 --- a/plugins/vcard_attachments/localization/ko_KR.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = '주소록에 vCard 추가'; -$labels['vcardsavefailed'] = 'vCard를 저장할 수 없음'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ku.inc b/plugins/vcard_attachments/localization/ku.inc deleted file mode 100644 index a2cd9769b..000000000 --- a/plugins/vcard_attachments/localization/ku.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'vCardê tevî deftera navnîşanan bike'; -$labels['vcardsavefailed'] = 'Tomarkirina vCard betal bike'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/lb_LU.inc b/plugins/vcard_attachments/localization/lb_LU.inc deleted file mode 100644 index 005650fd7..000000000 --- a/plugins/vcard_attachments/localization/lb_LU.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'vCard an d\'Adressbuch setzen'; -$labels['vcardsavefailed'] = 'vCard kann net gespäichert ginn'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/lt_LT.inc b/plugins/vcard_attachments/localization/lt_LT.inc deleted file mode 100644 index 468a9da70..000000000 --- a/plugins/vcard_attachments/localization/lt_LT.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Įtraukti vizitinę kortelę į adresų knygą'; -$labels['vcardsavefailed'] = 'Įrašyti vizitinės kortelės nepavyko'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/lv_LV.inc b/plugins/vcard_attachments/localization/lv_LV.inc deleted file mode 100644 index 079e4f86d..000000000 --- a/plugins/vcard_attachments/localization/lv_LV.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Pievienot vizītkarti adrešu grāmatai'; -$labels['vcardsavefailed'] = 'Nevarēja saglabāt vizītkarti'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ml_IN.inc b/plugins/vcard_attachments/localization/ml_IN.inc deleted file mode 100644 index 0b7786544..000000000 --- a/plugins/vcard_attachments/localization/ml_IN.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'വിലാസപുസ്തകത്തിലേക്ക് വികാര്ഡ് ചേര്ക്കുക'; -$labels['vcardsavefailed'] = 'വികാര്ഡ് ചേര്ക്കാന് പറ്റിയില്ല'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/mr_IN.inc b/plugins/vcard_attachments/localization/mr_IN.inc deleted file mode 100644 index 8dcf3c471..000000000 --- a/plugins/vcard_attachments/localization/mr_IN.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'व्हीकार्ड पत्ते नोंदवहीत समाविष्ट करा'; -$labels['vcardsavefailed'] = 'व्हीकार्ड जतन करण्यास असमर्थ'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/nb_NO.inc b/plugins/vcard_attachments/localization/nb_NO.inc deleted file mode 100644 index 5f6139267..000000000 --- a/plugins/vcard_attachments/localization/nb_NO.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Legg til vCard i adresseboken'; -$labels['vcardsavefailed'] = 'Ikke i stand til å lagre vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/nl_NL.inc b/plugins/vcard_attachments/localization/nl_NL.inc deleted file mode 100644 index 748d6219d..000000000 --- a/plugins/vcard_attachments/localization/nl_NL.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Voeg vCard toe aan adresboek'; -$labels['vcardsavefailed'] = 'Kan vCard niet opslaan'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/nn_NO.inc b/plugins/vcard_attachments/localization/nn_NO.inc deleted file mode 100644 index 09803d568..000000000 --- a/plugins/vcard_attachments/localization/nn_NO.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Legg til vCard i adresseboka'; -$labels['vcardsavefailed'] = 'Klarte ikkje lagra vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/pl_PL.inc b/plugins/vcard_attachments/localization/pl_PL.inc deleted file mode 100644 index 8da94369e..000000000 --- a/plugins/vcard_attachments/localization/pl_PL.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Dodaj wizytówkę (vCard) do kontaktów'; -$labels['vcardsavefailed'] = 'Nie można zapisać wizytówki (vCard)'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/pt_BR.inc b/plugins/vcard_attachments/localization/pt_BR.inc deleted file mode 100644 index 3244bba10..000000000 --- a/plugins/vcard_attachments/localization/pt_BR.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Adicionar o vCard ao Catálogo de Endereços'; -$labels['vcardsavefailed'] = 'Impossível salvar o vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/pt_PT.inc b/plugins/vcard_attachments/localization/pt_PT.inc deleted file mode 100644 index 9e5e11027..000000000 --- a/plugins/vcard_attachments/localization/pt_PT.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Adicionar o vCard ao Livro de Endereços'; -$labels['vcardsavefailed'] = 'Não foi possível guardar o vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ro_RO.inc b/plugins/vcard_attachments/localization/ro_RO.inc deleted file mode 100644 index 9aa9b0712..000000000 --- a/plugins/vcard_attachments/localization/ro_RO.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Adaugă vCard la agendă'; -$labels['vcardsavefailed'] = 'Nu pot salva vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/ru_RU.inc b/plugins/vcard_attachments/localization/ru_RU.inc deleted file mode 100644 index 985cda443..000000000 --- a/plugins/vcard_attachments/localization/ru_RU.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Добавить в контакты'; -$labels['vcardsavefailed'] = 'Не удалось сохранить vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/si_LK.inc b/plugins/vcard_attachments/localization/si_LK.inc deleted file mode 100644 index 87da90e21..000000000 --- a/plugins/vcard_attachments/localization/si_LK.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'vCard පත ලිපින පොතට එක් කරන්න'; -$labels['vcardsavefailed'] = 'vCard පත සුරැකීම අසාර්ථකයි'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/sk_SK.inc b/plugins/vcard_attachments/localization/sk_SK.inc deleted file mode 100644 index ecbaac834..000000000 --- a/plugins/vcard_attachments/localization/sk_SK.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Pridať vizitku vCard do adresára'; -$labels['vcardsavefailed'] = 'Vizitku vCard nemožno uložiť'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/sl_SI.inc b/plugins/vcard_attachments/localization/sl_SI.inc deleted file mode 100644 index 3f5053dff..000000000 --- a/plugins/vcard_attachments/localization/sl_SI.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Dodaj vCard med Stike.'; -$labels['vcardsavefailed'] = 'Stika vCard ni bilo mogoče shraniti.'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/sr_CS.inc b/plugins/vcard_attachments/localization/sr_CS.inc deleted file mode 100644 index d6cc94284..000000000 --- a/plugins/vcard_attachments/localization/sr_CS.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Додај вЦард у Адресар'; -$labels['vcardsavefailed'] = 'немоћан сачувати вчард'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/sv_SE.inc b/plugins/vcard_attachments/localization/sv_SE.inc deleted file mode 100644 index 2d0d928be..000000000 --- a/plugins/vcard_attachments/localization/sv_SE.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Lägg till vCard i adressbok'; -$labels['vcardsavefailed'] = 'Kunde inte spara vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/tr_TR.inc b/plugins/vcard_attachments/localization/tr_TR.inc deleted file mode 100644 index f52443338..000000000 --- a/plugins/vcard_attachments/localization/tr_TR.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Vcard\'ı adres deferine ekle'; -$labels['vcardsavefailed'] = 'vCard kaydedilemedi'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/uk_UA.inc b/plugins/vcard_attachments/localization/uk_UA.inc deleted file mode 100644 index b61ffc5f6..000000000 --- a/plugins/vcard_attachments/localization/uk_UA.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Додати vCard до контактів'; -$labels['vcardsavefailed'] = 'Не вдалось зберегти vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/vi_VN.inc b/plugins/vcard_attachments/localization/vi_VN.inc deleted file mode 100644 index d63ad9652..000000000 --- a/plugins/vcard_attachments/localization/vi_VN.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = 'Thêm vCard vào sổ địa chỉ'; -$labels['vcardsavefailed'] = 'Không thể lưu vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/zh_CN.inc b/plugins/vcard_attachments/localization/zh_CN.inc deleted file mode 100644 index b619210b5..000000000 --- a/plugins/vcard_attachments/localization/zh_CN.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = '添加 vCard 至地址簿中'; -$labels['vcardsavefailed'] = '无法保存 vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/localization/zh_TW.inc b/plugins/vcard_attachments/localization/zh_TW.inc deleted file mode 100644 index 639593bcf..000000000 --- a/plugins/vcard_attachments/localization/zh_TW.inc +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -/* - +-----------------------------------------------------------------------+ - | plugins/vcard_attachments/localization/<lang>.inc | - | | - | Localization file of the Roundcube Webmail Vcard Attachments plugin | - | Copyright (C) 2012-2013, The Roundcube Dev Team | - | | - | Licensed under the GNU General Public License version 3 or | - | any later version with exceptions for skins & plugins. | - | See the README file for a full license statement. | - | | - +-----------------------------------------------------------------------+ - - For translation see https://www.transifex.com/projects/p/roundcube-webmail/resource/plugin-vcard_attachments/ -*/ -$labels['addvcardmsg'] = '加入 vCard 到通訊錄'; -$labels['vcardsavefailed'] = '無法儲存 vCard'; -?>
\ No newline at end of file diff --git a/plugins/vcard_attachments/skins/classic/style.css b/plugins/vcard_attachments/skins/classic/style.css deleted file mode 100644 index 044d3983e..000000000 --- a/plugins/vcard_attachments/skins/classic/style.css +++ /dev/null @@ -1,17 +0,0 @@ - -p.vcardattachment { - margin: 0.5em 1em; - border: 1px solid #999; - border-radius:4px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - width: auto; -} - -p.vcardattachment a { - display: block; - background: url(vcard_add_contact.png) 4px 0px no-repeat; - padding: 0.7em 0.5em 0.3em 42px; - height: 22px; -} diff --git a/plugins/vcard_attachments/skins/classic/vcard.png b/plugins/vcard_attachments/skins/classic/vcard.png Binary files differdeleted file mode 100644 index 8bf6b1b72..000000000 --- a/plugins/vcard_attachments/skins/classic/vcard.png +++ /dev/null diff --git a/plugins/vcard_attachments/skins/classic/vcard_add_contact.png b/plugins/vcard_attachments/skins/classic/vcard_add_contact.png Binary files differdeleted file mode 100644 index 478c1f3f2..000000000 --- a/plugins/vcard_attachments/skins/classic/vcard_add_contact.png +++ /dev/null diff --git a/plugins/vcard_attachments/skins/larry/style.css b/plugins/vcard_attachments/skins/larry/style.css deleted file mode 100644 index 4f9f61b81..000000000 --- a/plugins/vcard_attachments/skins/larry/style.css +++ /dev/null @@ -1,16 +0,0 @@ - -p.vcardattachment { - margin: 0.5em 1em; - width: auto; - background: #f9f9f9; - border: 1px solid #d3d3d3; - border-radius: 4px; - box-shadow: 0 0 2px #ccc; - -webkit-box-shadow: 0 0 2px #ccc; -} - -p.vcardattachment a { - display: block; - background: url(vcard_add_contact.png) 6px 2px no-repeat; - padding: 1.2em 0.5em 0.7em 46px; -} diff --git a/plugins/vcard_attachments/skins/larry/vcard.png b/plugins/vcard_attachments/skins/larry/vcard.png Binary files differdeleted file mode 100644 index 8bf6b1b72..000000000 --- a/plugins/vcard_attachments/skins/larry/vcard.png +++ /dev/null diff --git a/plugins/vcard_attachments/skins/larry/vcard_add_contact.png b/plugins/vcard_attachments/skins/larry/vcard_add_contact.png Binary files differdeleted file mode 100644 index a8ce459f8..000000000 --- a/plugins/vcard_attachments/skins/larry/vcard_add_contact.png +++ /dev/null diff --git a/plugins/vcard_attachments/tests/VcardAttachments.php b/plugins/vcard_attachments/tests/VcardAttachments.php deleted file mode 100644 index 4b37cfc01..000000000 --- a/plugins/vcard_attachments/tests/VcardAttachments.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php - -class VcardAttachments_Plugin extends PHPUnit_Framework_TestCase -{ - - function setUp() - { - include_once __DIR__ . '/../vcard_attachments.php'; - } - - /** - * Plugin object construction test - */ - function test_constructor() - { - $rcube = rcube::get_instance(); - $plugin = new vcard_attachments($rcube->api); - - $this->assertInstanceOf('vcard_attachments', $plugin); - $this->assertInstanceOf('rcube_plugin', $plugin); - } -} - diff --git a/plugins/vcard_attachments/vcard_attachments.php b/plugins/vcard_attachments/vcard_attachments.php deleted file mode 100644 index 74718be6f..000000000 --- a/plugins/vcard_attachments/vcard_attachments.php +++ /dev/null @@ -1,227 +0,0 @@ -<?php - -/** - * Detect VCard attachments and show a button to add them to address book - * - * @version @package_version@ - * @license GNU GPLv3+ - * @author Thomas Bruederli, Aleksander Machniak - */ -class vcard_attachments extends rcube_plugin -{ - public $task = 'mail'; - - private $message; - private $vcard_parts = array(); - private $vcard_bodies = array(); - - function init() - { - $rcmail = rcmail::get_instance(); - if ($rcmail->action == 'show' || $rcmail->action == 'preview') { - $this->add_hook('message_load', array($this, 'message_load')); - $this->add_hook('template_object_messagebody', array($this, 'html_output')); - } - else if (!$rcmail->output->framed && (!$rcmail->action || $rcmail->action == 'list')) { - $icon = 'plugins/vcard_attachments/' .$this->local_skin_path(). '/vcard.png'; - $rcmail->output->set_env('vcard_icon', $icon); - $this->include_script('vcardattach.js'); - } - - $this->register_action('plugin.savevcard', array($this, 'save_vcard')); - } - - /** - * Check message bodies and attachments for vcards - */ - function message_load($p) - { - $this->message = $p['object']; - - // handle attachments vcard attachments - foreach ((array)$this->message->attachments as $attachment) { - if ($this->is_vcard($attachment)) { - $this->vcard_parts[] = $attachment->mime_id; - } - } - // the same with message bodies - foreach ((array)$this->message->parts as $part) { - if ($this->is_vcard($part)) { - $this->vcard_parts[] = $part->mime_id; - $this->vcard_bodies[] = $part->mime_id; - } - } - - if ($this->vcard_parts) - $this->add_texts('localization'); - } - - /** - * This callback function adds a box below the message content - * if there is a vcard attachment available - */ - function html_output($p) - { - $attach_script = false; - - foreach ($this->vcard_parts as $part) { - $vcards = rcube_vcard::import($this->message->get_part_body($part, true)); - - // successfully parsed vcards? - if (empty($vcards)) { - continue; - } - - // remove part's body - if (in_array($part, $this->vcard_bodies)) { - $p['content'] = ''; - } - - foreach ($vcards as $idx => $vcard) { - // skip invalid vCards - if (empty($vcard->email) || empty($vcard->email[0])) { - continue; - } - - $display = $vcard->displayname . ' <'.$vcard->email[0].'>'; - - // add box below message body - $p['content'] .= html::p(array('class' => 'vcardattachment'), - html::a(array( - 'href' => "#", - 'onclick' => "return plugin_vcard_save_contact('" . rcube::JQ($part.':'.$idx) . "')", - 'title' => $this->gettext('addvcardmsg'), - ), - html::span(null, rcube::Q($display))) - ); - } - - $attach_script = true; - } - - if ($attach_script) { - $this->include_script('vcardattach.js'); - $this->include_stylesheet($this->local_skin_path() . '/style.css'); - } - - return $p; - } - - /** - * Handler for request action - */ - function save_vcard() - { - $this->add_texts('localization', true); - - $uid = rcube_utils::get_input_value('_uid', rcube_utils::INPUT_POST); - $mbox = rcube_utils::get_input_value('_mbox', rcube_utils::INPUT_POST); - $mime_id = rcube_utils::get_input_value('_part', rcube_utils::INPUT_POST); - - $rcmail = rcmail::get_instance(); - $storage = $rcmail->get_storage(); - $storage->set_folder($mbox); - - if ($uid && $mime_id) { - list($mime_id, $index) = explode(':', $mime_id); - $part = $storage->get_message_part($uid, $mime_id, null, null, null, true); - } - - $error_msg = $this->gettext('vcardsavefailed'); - - if ($part && ($vcards = rcube_vcard::import($part)) - && ($vcard = $vcards[$index]) && $vcard->displayname && $vcard->email - ) { - $CONTACTS = $this->get_address_book(); - $email = $vcard->email[0]; - $contact = $vcard->get_assoc(); - $valid = true; - - // skip entries without an e-mail address or invalid - if (empty($email) || !$CONTACTS->validate($contact, true)) { - $valid = false; - } - else { - // We're using UTF8 internally - $email = rcube_utils::idn_to_utf8($email); - - // compare e-mail address - $existing = $CONTACTS->search('email', $email, 1, false); - // compare display name - if (!$existing->count && $vcard->displayname) { - $existing = $CONTACTS->search('name', $vcard->displayname, 1, false); - } - - if ($existing->count) { - $rcmail->output->command('display_message', $this->gettext('contactexists'), 'warning'); - $valid = false; - } - } - - if ($valid) { - $plugin = $rcmail->plugins->exec_hook('contact_create', array('record' => $contact, 'source' => null)); - $contact = $plugin['record']; - - if (!$plugin['abort'] && $CONTACTS->insert($contact)) - $rcmail->output->command('display_message', $this->gettext('addedsuccessfully'), 'confirmation'); - else - $rcmail->output->command('display_message', $error_msg, 'error'); - } - } - else { - $rcmail->output->command('display_message', $error_msg, 'error'); - } - - $rcmail->output->send(); - } - - /** - * Checks if specified message part is a vcard data - * - * @param rcube_message_part Part object - * - * @return boolean True if part is of type vcard - */ - function is_vcard($part) - { - return ( - // Content-Type: text/vcard; - $part->mimetype == 'text/vcard' || - // Content-Type: text/x-vcard; - $part->mimetype == 'text/x-vcard' || - // Content-Type: text/directory; profile=vCard; - ($part->mimetype == 'text/directory' && ( - ($part->ctype_parameters['profile'] && - strtolower($part->ctype_parameters['profile']) == 'vcard') - // Content-Type: text/directory; (with filename=*.vcf) - || ($part->filename && preg_match('/\.vcf$/i', $part->filename)) - ) - ) - ); - } - - /** - * Getter for default (writable) addressbook - */ - private function get_address_book() - { - if ($this->abook) { - return $this->abook; - } - - $rcmail = rcmail::get_instance(); - $abook = $rcmail->config->get('default_addressbook'); - - // Get configured addressbook - $CONTACTS = $rcmail->get_address_book($abook, true); - - // Get first writeable addressbook if the configured doesn't exist - // This can happen when user deleted the addressbook (e.g. Kolab folder) - if ($abook === null || $abook === '' || !is_object($CONTACTS)) { - $source = reset($rcmail->get_address_sources(true)); - $CONTACTS = $rcmail->get_address_book($source['id'], true); - } - - return $this->abook = $CONTACTS; - } -} diff --git a/plugins/vcard_attachments/vcardattach.js b/plugins/vcard_attachments/vcardattach.js deleted file mode 100644 index 1019448d1..000000000 --- a/plugins/vcard_attachments/vcardattach.js +++ /dev/null @@ -1,37 +0,0 @@ -/** - * vcard_attachments plugin script - * - * @licstart The following is the entire license notice for the - * JavaScript code in this file. - * - * Copyright (c) 2012-2014, The Roundcube Dev Team - * - * The JavaScript code in this page is free software: you can redistribute it - * and/or modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. - * - * @licend The above is the entire license notice - * for the JavaScript code in this file. - */ - -function plugin_vcard_save_contact(mime_id) -{ - var lock = rcmail.set_busy(true, 'loading'); - rcmail.http_post('plugin.savevcard', { _uid: rcmail.env.uid, _mbox: rcmail.env.mailbox, _part: mime_id }, lock); - - return false; -} - -function plugin_vcard_insertrow(data) -{ - var ctype = data.row.ctype; - - if (ctype == 'text/vcard' || ctype == 'text/x-vcard' || ctype == 'text/directory') { - $('#rcmrow'+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); }); -} |