Import Ruty

This commit is contained in:
2024-03-11 00:59:10 +01:00
parent 985f1ab418
commit f49a790b88
877 changed files with 67878 additions and 0 deletions
@@ -0,0 +1,29 @@
{
"name": "roundcube/vcard_attachments",
"type": "roundcube-plugin",
"description": "Detects vCard attachments and allows to add them to address book. Also allows to attach vCards of your contacts to composed messages",
"license": "GPL-3.0-or-later",
"version": "4.2",
"authors": [
{
"name": "Thomas Bruederli",
"email": "roundcube@gmail.com",
"role": "Lead"
},
{
"name": "Aleksander Machniak",
"email": "alec@alec.pl",
"role": "Lead"
}
],
"repositories": [
{
"type": "composer",
"url": "https://plugins.roundcube.net"
}
],
"require": {
"php": ">=7.3.0",
"roundcube/plugin-installer": ">=0.1.3"
}
}
@@ -0,0 +1,22 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'إرفاق vCard';
$labels['vcardattached'] = 'تم إرفاق ملف بطاقة vCard.';
$labels['vcard'] = 'بطاقة vCard';
$labels['forwardvcard'] = 'تحويل vCard';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'إرفاق vCard';
$labels['vcardattached'] = 'تم إرفاق ملف vCard.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'إعادة توجيه vCard';
$labels['contactsattached'] = 'هناك $num من جهات الاتصال المرفقة بهذه الرسالة.';
$labels['importedsuccessfully'] = 'تم استيراد جهة (جهات) الاتصال بنجاح إلى دفتر العناوين.';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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ı';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Прикачване на визитка (vCard)';
$labels['vcardattached'] = 'Прикачен vCard файл.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Препращане на vCard';
$labels['contactsattached'] = 'Към това писмо са прикачени $num контакта.';
$labels['importedsuccessfully'] = 'Успешно импортиране на контактите в адресната книга.';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Adjunta la vCard';
$labels['vcardattached'] = 'Fitxer vCard adjunt.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Reenvia vCard';
$labels['contactsattached'] = 'Hi ha $num contactes adjunts a aquest missatge.';
$labels['importedsuccessfully'] = 'El(s) contacte(s) s\'ha(n) importat correctament a la llibreta d\'adreces.';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Připojit vCard';
$labels['vcardattached'] = 'vCard soubor připojen.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Přeposlat vCard';
$labels['contactsattached'] = 'K této zprávě je připojeno $num kontaktů.';
$labels['importedsuccessfully'] = 'Kontakty byly naimportovány do adresáře.';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Atodi vCard';
$labels['vcardattached'] = 'Atodwyd ffeil vCard';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Danfon vCard ymlaen';
$labels['contactsattached'] = 'Mae $num cyswllt ynghlwm a\'r neges hon.';
$labels['importedsuccessfully'] = 'Cyswllt/cysylltiadau wedi ei mewnforio i\'r llyfr cyfeiriadau yn llwyddiannus.';
@@ -0,0 +1,22 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Tilføj vCard';
$labels['vcardattached'] = 'vCard fil vedhæftet.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Videresend vCard';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Als vCard anhängen';
$labels['vcardattached'] = 'vCard-Datei angehängt.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Kontakt weiterleiten';
$labels['contactsattached'] = 'Es sind $num Kontakte an diese Nachricht angehängt.';
$labels['importedsuccessfully'] = 'Kontakt(e) erfolgreich in das Adressbuch importiert.';
@@ -0,0 +1,22 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'vCard anhängen';
$labels['vcardattached'] = 'vCard-Datei angehängt.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'vCard weiterleiten';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Επισύναψη vCard';
$labels['vcardattached'] = 'Το αρχείο vCard επισυναφθηκε.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Προώθηση vCard';
$labels['contactsattached'] = '$num επαφές επισυνάπτονται σε αυτό το μήνυμα.';
$labels['importedsuccessfully'] = 'Η εισαγωγή επαφών ολοκληρώθηκε με επιτυχία.';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Attach vCard';
$labels['vcardattached'] = 'vCard file attached.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Forward vCard';
$labels['contactsattached'] = 'There are $num contacts attached to this message.';
$labels['importedsuccessfully'] = 'Contact(s) imported successfully';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Attach vCard';
$labels['vcardattached'] = 'vCard file attached.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Forward vCard';
$labels['contactsattached'] = 'There are $num contacts attached to this message.';
$labels['importedsuccessfully'] = 'Contact(s) imported successfully to the address book.';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Adjuntar vCard';
$labels['vcardattached'] = 'Adjunto archivo vCard.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Reenviar vCard';
$labels['contactsattached'] = 'Existen $num contactos adjuntos a este mensaje.';
$labels['importedsuccessfully'] = 'Contacto(s) agregado(s) correctamente a la libreta de direcciones.';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Adjuntar vCard';
$labels['vcardattached'] = 'Adjunto archivo vCard.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Reenviar vCard';
$labels['contactsattached'] = 'Existen $num contactos adjuntos a este mensaje.';
$labels['importedsuccessfully'] = 'Contacto(s) agregados correctamente a la libreta de direcciones.';
@@ -0,0 +1,21 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['vcardattached'] = 'vCard fail on lisatud.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Edasta vCard';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Erantsi vCard';
$labels['vcardattached'] = 'vCard fitxategia erantsia';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Birbidali vCard';
$labels['contactsattached'] = 'Badira $num kontaktu mezu honi erantsita';
$labels['importedsuccessfully'] = 'Kontaktua(k) behar bezala inportatu d(ir)a helbide-liburura';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,22 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Liitä vCard';
$labels['vcardattached'] = 'vCard-tiedosto lisätty.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Edelleenohjaa vCard';
@@ -0,0 +1,22 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Viðlegg vCard';
$labels['vcardattached'] = 'vCard fíla viðløgd';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Send vCard víðari';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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 dadresses';
$labels['vcardsavefailed'] = 'Impossible denregistrer la vCard';
$labels['attachvcard'] = 'Joindre la vCard';
$labels['vcardattached'] = 'Le fichier vCard a été joint.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Transférer la vCard';
$labels['contactsattached'] = '$num contacts sont joints à ce message.';
$labels['importedsuccessfully'] = 'Les contacts ont été importés avec succès au carnet dadresses.';
@@ -0,0 +1,20 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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 oan adresboek tafoegje';
$labels['vcardsavefailed'] = 'Koe vCard net bewarje';
$labels['attachvcard'] = 'vCard taheakje';
$labels['vcard'] = 'vCard';
@@ -0,0 +1,22 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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'] = 'Cuir vCard leis an leabhar seoltaí';
$labels['vcardsavefailed'] = 'Ní féidir an vCard a chur i dtaisce';
$labels['attachvcard'] = 'Ceangail vCard leis';
$labels['vcardattached'] = 'Tá comhad vCard ceangailte leis.';
$labels['vcard'] = 'vCárta';
$labels['forwardvcard'] = 'Cuir vCard ar aghaidh';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'צרפ/י קובץ חתימה (vCard)';
$labels['vcardattached'] = 'צורף קובץ vCard';
$labels['vcard'] = 'קובץ חתימה (vCard)';
$labels['forwardvcard'] = 'העברה של כרטיס ביקור';
$labels['contactsattached'] = 'להודעה זו קשורים num$ אנשי קשר';
$labels['importedsuccessfully'] = 'אנשי קשר יובאו בהצלחה לפנקס הכתובות';
@@ -0,0 +1,22 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Priloži vCard';
$labels['vcardattached'] = 'vCard datoteka priložena.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Proslijedi vCard';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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'] = 'A vCard mentése nem lehetséges';
$labels['attachvcard'] = 'vCard csatolása';
$labels['vcardattached'] = 'vCard csatolva.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'vCard továbbítása';
$labels['contactsattached'] = 'Az üzenethez $num kapcsolat tartozik.';
$labels['importedsuccessfully'] = 'A kapcsolat(ok) sikeresen importálodtak a címjegyzékbe.';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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-ի պահպանումը ձախողվեց';
@@ -0,0 +1,20 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Attachar vCard';
$labels['vcard'] = 'vCard';
@@ -0,0 +1,20 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Lampirkan vCard';
$labels['vcard'] = 'vCard';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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'] = 'Bæta vCard í nafnaskrá';
$labels['vcardsavefailed'] = 'Tekst ekki að vista vCard';
$labels['attachvcard'] = 'Hengja við vCard';
$labels['vcardattached'] = 'vCard-skrá í viðhengi.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Áframsenda vCard';
$labels['contactsattached'] = 'Það eru $num tengiliðir tengdir þessum skilaboðum.';
$labels['importedsuccessfully'] = 'Tókst að flytja tengiliði inn í nafnaskrána.';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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 rubrica';
$labels['vcardsavefailed'] = 'Impossibile salvare vCard';
$labels['attachvcard'] = 'Allega vCard';
$labels['vcardattached'] = 'File vCard allegato.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Inoltra vCard';
$labels['contactsattached'] = 'Ci sono $num contatti allegati a questo messaggio.';
$labels['importedsuccessfully'] = 'Contatto/i importato/i correttamente nella rubrica.';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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を保存できませんでした。';
$labels['attachvcard'] = 'vCardを添付';
$labels['vcardattached'] = 'vCardが添付。';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'vCardを転送';
$labels['contactsattached'] = 'このメッセージには、$num 個の連絡先が添付してあります。';
$labels['importedsuccessfully'] = 'アドレス帳に連絡先を取り込みました。';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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를 저장할 수 없음';
$labels['attachvcard'] = 'vCard 첨부';
$labels['vcardattached'] = 'vCard 파일을 첨부했습니다.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'vCard 전달';
$labels['contactsattached'] = '이 메시지에 첨부된 $num개의 연락처가 있습니다.';
$labels['importedsuccessfully'] = '연락처를 주소록에 성공적으로 가져왔습니다.';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,22 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Pridėti vCard';
$labels['vcardattached'] = 'vCard failas pridėtas.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Persiųsti vCard';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Pievienot vCard';
$labels['vcardattached'] = 'vCard fails pievienots.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Pārsūtīt vCard';
$labels['contactsattached'] = 'Šim ziņojumam ir pievienoti $num kontakti.';
$labels['importedsuccessfully'] = 'Kontakti veiksmīgi ieimportēti adrešu grāmatā.';
@@ -0,0 +1,20 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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'] = 'Не може да се сочува виртуелна бизнис картичка';
$labels['attachvcard'] = 'Прикачи виртуелна бизнис картичка';
$labels['vcard'] = 'Виртуелна бизнис картичка';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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'] = 'വികാര്‍ഡ് ചേര്‍ക്കാന്‍ പറ്റിയില്ല';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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 хадгалж чадахгүй байна';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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'] = 'व्हीकार्ड जतन करण्यास असमर्थ';
@@ -0,0 +1,22 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Legg til vCard';
$labels['vcardattached'] = 'vCard fil er vedlagt';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Videresend vCard';
@@ -0,0 +1,23 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'vCard toevoegen';
$labels['vcardattached'] = 'vCard bijgevoegd';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'vCard doorsturen';
$labels['importedsuccessfully'] = 'Contact(en) succesvol geïmporteerd naar het adresboek.';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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)';
$labels['attachvcard'] = 'Dołącz plik vCard';
$labels['vcardattached'] = 'Załączono plik vCard.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Prześlij vCard.';
$labels['contactsattached'] = 'Ta wiadomość posiada $num załączone kontakty.';
$labels['importedsuccessfully'] = 'Kontakt(y) zostały zaimportowane do książki adresowej.';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Anexar vCard';
$labels['vcardattached'] = 'vCard anexado.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Encaminhar vCard';
$labels['contactsattached'] = 'Existem $num contatos anexados a esta mensagem. ';
$labels['importedsuccessfully'] = 'Contato(s) importado(s) com sucesso para o livro de endereços.';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Anexar vCard';
$labels['vcardattached'] = 'Ficheiro vCard anexado.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Reencaminhar vCard';
$labels['contactsattached'] = 'Existem $num contactos anexados a esta mensagem. ';
$labels['importedsuccessfully'] = 'Contacto(s) importado(s) com sucesso para o livro de endereços.';
@@ -0,0 +1,20 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Atașează vCard';
$labels['vcard'] = 'vCard';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Вложить vCard';
$labels['vcardattached'] = 'Вложенный vCard';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Переслать vCard';
$labels['contactsattached'] = 'К этому сообщению прикреплено $num контактов.';
$labels['importedsuccessfully'] = 'Контакт(ы) успешно импортирован(ы) в адресную книгу.';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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 පත සුරැකීම අසාර්ථකයි';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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ť';
$labels['attachvcard'] = 'Pripojiť vizitku vCard';
$labels['vcardattached'] = 'Súbor vCard bol pripojený.';
$labels['vcard'] = 'Vizitka vCard';
$labels['forwardvcard'] = 'Preposlať vCard';
$labels['contactsattached'] = 'K tejto správe sú pripojené kontakty v počte: $num.';
$labels['importedsuccessfully'] = 'Kontakty boli úspešne importované do adresára.';
@@ -0,0 +1,20 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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.';
$labels['attachvcard'] = 'Pripni vCard';
$labels['vcard'] = 'vCard';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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'] = 'Shtoje vCard-in te libër adresash';
$labels['vcardsavefailed'] = 'Sarrihet të ruhet vCard-i';
$labels['attachvcard'] = 'Bashkëngjitni vCard';
$labels['vcardattached'] = 'Kartela vCard u bashkëngjit.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Përcille vCard-in';
$labels['contactsattached'] = 'Ka $num kontakte bashkëngjitur këtij mesazhi.';
$labels['importedsuccessfully'] = 'Kontakti(ets) u importua me sukses te libri i adresave.';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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'] = 'Не могу да сачувам в-картицу';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Bifoga vCard';
$labels['vcardattached'] = 'vCard-fil bifogad.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'Skicka vidare vCard';
$labels['contactsattached'] = 'Meddelandet har $num bifogade kontakter.';
$labels['importedsuccessfully'] = 'Importen av kontakter till adressboken lyckades.';
@@ -0,0 +1,20 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = 'Attach vCard';
$labels['vcard'] = 'vCard';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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'] = 'Adres defterine vCard ekle';
$labels['vcardsavefailed'] = 'vCard kaydedilemedi';
$labels['attachvcard'] = 'vCard ekle';
$labels['vcardattached'] = 'vCard dosyası eklendi.';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = 'vCard dosyasını ilet';
$labels['contactsattached'] = 'Bu iletiye eklenmiş $num kişi var.';
$labels['importedsuccessfully'] = 'Kişi(ler) adres defteri içine aktarıldı.';
@@ -0,0 +1,24 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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'] = 'ۋكارتىسىنى ساقلىغىلى بولمىدى';
$labels['attachvcard'] = 'ۋكارتىسى قىستۇرۇش';
$labels['vcardattached'] = 'ۋكارتىسى ھۆججىتى قىستۇرۇلدى.';
$labels['vcard'] = 'ۋكارتىسى';
$labels['forwardvcard'] = 'ۋكارتىسىنى يەتكۈزۈش';
$labels['contactsattached'] = 'بۇ خەتكە num$ تۇنۇش قىستۇرۇلدى.';
$labels['importedsuccessfully'] = 'تۇنۇش(لار) ئادىرىس دەپتىرىگە مۇۋاپىقىيەتلىك كىرگۈزۈلدى.';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,20 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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'] = 'vCardni manzillar kitobiga qoshing';
$labels['vcardsavefailed'] = 'vCardni saqlash amalga oshirilmadi';
$labels['attachvcard'] = 'vCard ni biriktirish';
$labels['vcard'] = 'vCard';
@@ -0,0 +1,18 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
@@ -0,0 +1,22 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = '附加 vCard';
$labels['vcardattached'] = '已附加 vCard 文件';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = '转发 ';
@@ -0,0 +1,22 @@
<?php
/*
+-----------------------------------------------------------------------+
| Localization file of the Roundcube Webmail Vcard Attachments plugin |
| |
| Copyright (C) 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';
$labels['attachvcard'] = '附上 vCard';
$labels['vcardattached'] = '已附上 vCard 檔案。';
$labels['vcard'] = 'vCard';
$labels['forwardvcard'] = '轉寄 vCard';
@@ -0,0 +1,411 @@
<?php
/**
* Detects VCard attachments and show a button to add them to address book
* Adds possibility to attach a contact vcard to mail messages
*
* @license GNU GPLv3+
* @author Thomas Bruederli, Aleksander Machniak
*/
class vcard_attachments extends rcube_plugin
{
public $task = 'mail|addressbook';
private $abook;
private $message;
private $vcard_parts = [];
private $vcard_bodies = [];
/**
* Plugin initialization
*/
function init()
{
$rcmail = rcmail::get_instance();
if ($rcmail->task == 'addressbook') {
$this->add_texts('localization', !$rcmail->output->ajax_call);
$this->include_stylesheet($this->local_skin_path() . '/style.css');
$this->include_script('vcardattach.js');
$this->add_button([
'type' => 'link-menuitem',
'label' => 'vcard_attachments.forwardvcard',
'command' => 'attach-vcard',
'class' => 'icon vcard',
'classact' => 'icon vcard active',
'innerclass' => 'icon vcard',
],
'contactmenu'
);
}
else {
if ($rcmail->action == 'show' || $rcmail->action == 'preview') {
$this->add_hook('message_load', [$this, 'message_load']);
$this->add_hook('message_objects', [$this, 'message_objects']);
$this->add_hook('template_object_messagebody', [$this, 'html_output']);
}
else if ($rcmail->action == 'upload') {
$this->add_hook('attachment_from_uri', [$this, 'attach_vcard']);
}
else if ($rcmail->action == 'compose' && !$rcmail->output->framed) {
$this->add_texts('localization', true);
$this->include_stylesheet($this->local_skin_path() . '/style.css');
$this->include_script('vcardattach.js');
$this->add_button([
'type' => 'link',
'label' => 'vcard_attachments.vcard',
'command' => 'attach-vcard',
'class' => 'listbutton vcard disabled',
'classact' => 'listbutton vcard',
'title' => 'vcard_attachments.attachvcard',
'innerclass' => 'inner',
],
'compose-contacts-toolbar'
);
$this->add_hook('message_compose', [$this, 'message_compose']);
}
else if (!$rcmail->output->framed && (!$rcmail->action || $rcmail->action == 'list')) {
$this->include_stylesheet($this->local_skin_path() . '/style.css');
$this->include_script('vcardattach.js');
}
}
$this->register_action('plugin.savevcard', [$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 above the message content
* if there is a vcard attachment available
*/
function message_objects($p)
{
$rcmail = rcmail::get_instance();
$contacts = [];
foreach ($this->vcard_parts as $part) {
$vcards = rcube_vcard::import($this->message->get_part_content($part, null, true));
foreach ($vcards as $idx => $vcard) {
// skip invalid vCards
if (empty($vcard->email) || empty($vcard->email[0])) {
continue;
}
$contacts["$part:$idx"] = "{$vcard->displayname} <{$vcard->email[0]}>";
}
}
if (!empty($contacts)) {
$attr = [
'title' => $this->gettext('addvcardmsg'),
'class' => 'import btn-sm',
];
if (count($contacts) == 1) {
$display = array_first($contacts);
$attr['onclick'] = "return plugin_vcard_import('" . rcube::JQ(key($contacts)) . "')";
}
else {
$display = $this->gettext(['name' => 'contactsattached', 'vars' => ['num' => count($contacts)]]);
$attr['onclick'] = "return plugin_vcard_import()";
$rcmail->output->set_env('vcards', $contacts);
$rcmail->output->add_label('vcard_attachments.addvcardmsg', 'import');
}
// add box below the message body
$p['content'][] = html::p(
['class' => 'vcardattachment aligned-buttons boxinformation'],
html::span(null, rcube::Q($display)) . html::tag('button', $attr, rcube::Q($rcmail->gettext('import')))
);
$this->include_script('vcardattach.js');
$this->include_stylesheet($this->local_skin_path() . '/style.css');
}
return $p;
}
/**
* This callback function adds a vCard to the message when attached from the Address book
*/
function message_compose($p)
{
if (
rcube_utils::get_input_string('_attach_vcard', rcube_utils::INPUT_GET) == '1'
&& ($uri = rcube_utils::get_input_string('_uri', rcube_utils::INPUT_GET))
) {
if ($attachment = $this->attach_vcard(['compose_id' => $p['id'], 'uri' => $uri])) {
$p['attachments'][] = $attachment;
};
}
return $p;
}
/**
* This callback function removes message part's content
* for parts that are vcards
*/
function html_output($p)
{
foreach ($this->vcard_parts as $part) {
// remove part's body
if (in_array($part, $this->vcard_bodies)) {
$p['content'] = '';
}
}
return $p;
}
/**
* Handler for request action
*/
function save_vcard()
{
$this->add_texts('localization');
$uid = rcube_utils::get_input_string('_uid', rcube_utils::INPUT_POST);
$mbox = rcube_utils::get_input_string('_mbox', rcube_utils::INPUT_POST);
$mime_id = rcube_utils::get_input_string('_part', rcube_utils::INPUT_POST);
$rcmail = rcmail::get_instance();
$message = new rcube_message($uid, $mbox);
$vcards = [];
$errors = 0;
if (!empty($message->headers) && $mime_id) {
$index = [];
foreach (explode(',', $mime_id) as $id) {
list($part_id, $card_id) = rcube_utils::explode(':', $id);
if (!isset($index[$part_id])) {
$index[$part_id] = [];
}
$index[$part_id][] = $card_id;
}
foreach ($index as $part_id => $mime_ids) {
$part = $message->get_part_content($part_id, null, true);
if (!empty($part) && ($part_vcards = rcube_vcard::import($part))) {
foreach ($mime_ids as $id) {
if (!empty($part_vcards[$id])
&& ($vcard = $part_vcards[$id])
&& !empty($vcard->email)
&& !empty($vcard->email[0])
) {
$vcards[] = $vcard;
}
}
}
}
}
$CONTACTS = $this->get_address_book();
foreach ($vcards as $vcard) {
$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 && !empty($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', ['record' => $contact, 'source' => null]);
$contact = $plugin['record'];
if (!$plugin['abort'] && $CONTACTS->insert($contact)) {
// do nothing
}
else {
$errors++;
}
}
}
if ($errors || empty($vcards)) {
$rcmail->output->command('display_message', $this->gettext('vcardsavefailed'), 'error');
}
else {
$rcmail->output->command('display_message', $this->gettext('importedsuccessfully'), 'confirmation');
}
$rcmail->output->send();
}
/**
* Checks if specified message part is a vcard data
*
* @param rcube_message_part Part object
*
* @return bool True if part is of type vcard
*/
private static 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' && (
(!empty($part->ctype_parameters['profile']) && strtolower($part->ctype_parameters['profile']) == 'vcard')
// Content-Type: text/directory; (with filename=*.vcf)
|| (!empty($part->filename) && preg_match('/\.vcf$/i', $part->filename))
)
)
);
}
/**
* Getter for default (writable) addressbook
*/
private function get_address_book()
{
if (!empty($this->abook)) {
return $this->abook;
}
$rcmail = rcmail::get_instance();
// Get configured addressbook
$CONTACTS = $rcmail->get_address_book(rcube_addressbook::TYPE_DEFAULT, true);
// Get first writeable addressbook if the configured doesn't exist
// This can happen when user deleted the addressbook (e.g. Kolab folder)
if (!is_object($CONTACTS)) {
$source = reset($rcmail->get_address_sources(true));
$CONTACTS = $rcmail->get_address_book($source['id'], true);
}
return $this->abook = $CONTACTS;
}
/**
* Attaches a contact vcard to composed mail
*/
public function attach_vcard($args)
{
if (preg_match('|^vcard://(.+)$|', $args['uri'], $m)) {
list($source, $cid, $email) = explode('-', $m[1]);
$vcard = $this->get_contact_vcard($source, $cid, $filename);
if ($vcard) {
$params = [
'filename' => $filename,
'mimetype' => 'text/vcard',
];
$args['attachment'] = rcmail_action_mail_compose::save_attachment($vcard, null, $args['compose_id'], $params);
}
}
return $args;
}
/**
* Get vcard data for specified contact
*/
private function get_contact_vcard($source, $cid, &$filename = null)
{
$rcmail = rcmail::get_instance();
$source = $rcmail->get_address_book($source);
$contact = $source->get_record($cid, true);
if ($contact) {
$fieldmap = $source ? $source->vcard_map : null;
if (empty($contact['vcard'])) {
$vcard = new rcube_vcard('', RCUBE_CHARSET, false, $fieldmap);
$vcard->reset();
foreach ($contact as $key => $values) {
list($field, $section) = rcube_utils::explode(':', $key);
$section = strtoupper($section ?? '');
// avoid unwanted casting of DateTime objects to an array
// (same as in rcube_contacts::convert_save_data())
if (is_object($values) && is_a($values, 'DateTime')) {
$values = [$values];
}
foreach ((array) $values as $value) {
if (is_array($value) || is_a($value, 'DateTime') || @strlen($value)) {
$vcard->set($field, $value, $section);
}
}
}
$contact['vcard'] = $vcard->export();
}
$name = rcube_addressbook::compose_list_name($contact);
$filename = (self::parse_filename($name) ?: 'contact') . '.vcf';
// fix folding and end-of-line chars
$vcard = preg_replace('/\r|\n\s+/', '', $contact['vcard']);
$vcard = preg_replace('/\n/', rcube_vcard::$eol, $vcard);
return rcube_vcard::rfc2425_fold($vcard) . rcube_vcard::$eol;
}
}
/**
* Helper function to convert contact name into filename
*/
static private function parse_filename($str)
{
$str = preg_replace('/[\t\n\r\0\x0B:\/]+\s*/', ' ', $str);
return trim($str, " ./_");
}
}
@@ -0,0 +1,141 @@
/**
* vcard_attachments plugin script
*
* @licstart The following is the entire license notice for the
* JavaScript code in this file.
*
* Copyright (c) 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_import(mime_id)
{
if (!mime_id) {
var content = [];
$.each(rcmail.env.vcards, function (id, contact) {
var chbox = $('<input>').attr({type: 'checkbox', value: id, checked: true, 'class': 'pretty-checkbox'}),
label = $('<label>').text(' ' + contact);
content.push($('<div>').append(label.prepend(chbox)));
});
var dialog,
action = function(e, a) {
var contacts = []
dialog.find('input:checked').each(function() {
contacts.push(this.value);
});
if (contacts.length) {
plugin_vcard_import(contacts.join());
return true; // close the dialog
}
},
props = {
button: 'import',
height: content.length > 4 ? 250 : 100
};
dialog = rcmail.simple_dialog(content, 'vcard_attachments.addvcardmsg', action, props);
return false;
}
rcmail.http_post(
'plugin.savevcard',
{ _uid: rcmail.env.uid, _mbox: rcmail.env.mailbox, _part: mime_id },
rcmail.set_busy(true, 'loading')
);
return false;
}
function plugin_vcard_insertrow(data)
{
if (data.row.ctype.match(/^(text\/vcard|text\/x-vcard|text\/directory)$/i)) {
$(data.row.obj).find('.attachment > .attachment').addClass('vcard');
}
}
function plugin_vcard_attach()
{
var id, n, contacts = [],
ts = new Date().getTime(),
args = {_uploadid: ts, _id: rcmail.env.compose_id || null},
selection = rcmail.contact_list.get_selection();
for (n=0; n < selection.length; n++) {
if (rcmail.env.task == 'addressbook') {
id = selection[n];
contacts.push(rcmail.env.source + '-' + id + '-0');
}
else {
id = selection[n];
if (id && id.charAt(0) != 'E' && rcmail.env.contactdata[id])
contacts.push(id);
}
}
if (!contacts.length)
return false;
args._uri = 'vcard://' + contacts.join(',');
if (rcmail.env.task == 'addressbook') {
args._attach_vcard = 1;
rcmail.open_compose_step(args);
}
else {
// add to attachments list
if (!rcmail.add2attachment_list(ts, {name: '', html: rcmail.get_label('attaching'), classname: 'uploading', complete: false}))
rcmail.file_upload_id = rcmail.set_busy(true, 'attaching');
rcmail.http_post('upload', args);
}
}
window.rcmail && rcmail.addEventListener('init', function(evt) {
if (rcmail.gui_objects.messagelist)
rcmail.addEventListener('insertrow', function(data, evt) { plugin_vcard_insertrow(data); });
if ((rcmail.env.action == 'compose' || (rcmail.env.task == 'addressbook' && rcmail.env.action == '')) && rcmail.gui_objects.contactslist) {
if (rcmail.env.action == 'compose') {
rcmail.env.compose_commands.push('attach-vcard');
// Elastic: add "Attach vCard" button to the attachments widget
if (window.UI && UI.recipient_selector) {
var button, form = $('#compose-attachments > div');
button = $('<button class="btn btn-secondary attach vcard">')
.attr({type: 'button', tabindex: $('button,input', form).first().attr('tabindex') || 0})
.text(rcmail.gettext('vcard_attachments.attachvcard'))
.appendTo(form)
.click(function() {
UI.recipient_selector('', {
title: 'vcard_attachments.attachvcard',
button: 'vcard_attachments.attachvcard',
button_class: 'attach',
focus: button,
multiselect: false,
action: function() { rcmail.command('attach-vcard'); }
});
});
}
}
rcmail.register_command('attach-vcard', function() { plugin_vcard_attach(); });
rcmail.contact_list.addEventListener('select', function(list) {
// TODO: support attaching more than one at once
var selection = list.get_selection();
rcmail.enable_command('attach-vcard', selection.length == 1 && selection[0].charAt(0) != 'E');
});
}
});
+17
View File
@@ -0,0 +1,17 @@
/**
* vcard_attachments plugin script
*
* @licstart The following is the entire license notice for the
* JavaScript code in this file.
*
* Copyright (c) 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_import(t){if(t)return rcmail.http_post("plugin.savevcard",{_uid:rcmail.env.uid,_mbox:rcmail.env.mailbox,_part:t},rcmail.set_busy(!0,"loading")),!1;var c=[];$.each(rcmail.env.vcards,function(t,a){t=$("<input>").attr({type:"checkbox",value:t,checked:!0,class:"pretty-checkbox"}),a=$("<label>").text(" "+a);c.push($("<div>").append(a.prepend(t)))});var t={button:"import",height:4<c.length?250:100},e=rcmail.simple_dialog(c,"vcard_attachments.addvcardmsg",function(t,a){var c=[];if(e.find("input:checked").each(function(){c.push(this.value)}),c.length)return plugin_vcard_import(c.join()),!0},t);return!1}function plugin_vcard_insertrow(t){t.row.ctype.match(/^(text\/vcard|text\/x-vcard|text\/directory)$/i)&&$(t.row.obj).find(".attachment > .attachment").addClass("vcard")}function plugin_vcard_attach(){for(var t,a=[],c=(new Date).getTime(),e={_uploadid:c,_id:rcmail.env.compose_id||null},i=rcmail.contact_list.get_selection(),n=0;n<i.length;n++)"addressbook"==rcmail.env.task?(t=i[n],a.push(rcmail.env.source+"-"+t+"-0")):(t=i[n])&&"E"!=t.charAt(0)&&rcmail.env.contactdata[t]&&a.push(t);if(!a.length)return!1;e._uri="vcard://"+a.join(","),"addressbook"==rcmail.env.task?(e._attach_vcard=1,rcmail.open_compose_step(e)):(rcmail.add2attachment_list(c,{name:"",html:rcmail.get_label("attaching"),classname:"uploading",complete:!1})||(rcmail.file_upload_id=rcmail.set_busy(!0,"attaching")),rcmail.http_post("upload",e))}window.rcmail&&rcmail.addEventListener("init",function(t){var a,c;rcmail.gui_objects.messagelist&&rcmail.addEventListener("insertrow",function(t,a){plugin_vcard_insertrow(t)}),("compose"==rcmail.env.action||"addressbook"==rcmail.env.task&&""==rcmail.env.action)&&rcmail.gui_objects.contactslist&&("compose"==rcmail.env.action&&(rcmail.env.compose_commands.push("attach-vcard"),window.UI&&UI.recipient_selector&&(a=$("#compose-attachments > div"),c=$('<button class="btn btn-secondary attach vcard">').attr({type:"button",tabindex:$("button,input",a).first().attr("tabindex")||0}).text(rcmail.gettext("vcard_attachments.attachvcard")).appendTo(a).click(function(){UI.recipient_selector("",{title:"vcard_attachments.attachvcard",button:"vcard_attachments.attachvcard",button_class:"attach",focus:c,multiselect:!1,action:function(){rcmail.command("attach-vcard")}})}))),rcmail.register_command("attach-vcard",function(){plugin_vcard_attach()}),rcmail.contact_list.addEventListener("select",function(t){t=t.get_selection();rcmail.enable_command("attach-vcard",1==t.length&&"E"!=t[0].charAt(0))}))});