mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-20 01:21:20 +01:00
* contact import: correct mismapped fields * contacts: remove im:other field from UI, it does not exist in the vCard * vcard: add some more maps for common vcard types to roundcube types * contact import: list all possible roundcube contact fields in csv import UI, remove hard coded $local_map * add SORT_LOCALE_STRING flag * fix typos * remove unwanted label * move field list to csv2vcard * move rcube_csv2vcard::list_fields to rcmail_action_contacts_import::list_fields as it relies on rcmail_action_contacts * use single field map for csv2vcard imports, remove hardcoded version * fix test * small cs fix * reformat csv2vcard.inc * fix failing test * restore existance check * fix failing test again
50 lines
2.2 KiB
PHP
50 lines
2.2 KiB
PHP
<?php
|
|
|
|
/*
|
|
+-----------------------------------------------------------------------+
|
|
| localization/<lang>/csv2vcard.inc |
|
|
| |
|
|
| Localization file of the Roundcube Webmail client |
|
|
| Copyright (C) 2005-2015, The Roundcube Dev Team |
|
|
| |
|
|
| Licensed under the GNU General Public License version 3 or |
|
|
| any later version with exceptions for skins & plugins. |
|
|
| See the README file for a full license statement. |
|
|
| |
|
|
+-----------------------------------------------------------------------+
|
|
| Author: Pekka Nurmi <peknur@gmail.com> |
|
|
+-----------------------------------------------------------------------+
|
|
*/
|
|
$map = array();
|
|
$map['Näyttönimi'] = 'name';
|
|
$map['Etunimi'] = 'firstname';
|
|
$map['Sukunimi'] = 'surname';
|
|
$map['Kotipuhelin'] = 'phone:home';
|
|
$map['Kotikaupunki'] = 'locality:home';
|
|
$map['Kodin lääni'] = 'region:home';
|
|
$map['Työpaikan kaupunki'] = 'locality:work';
|
|
$map['Työpaikan lääni'] = 'region:work';
|
|
$map['Ammattinimi'] = 'jobtitle';
|
|
$map['Osasto'] = 'department';
|
|
$map['Muistiinpanot'] = 'notes';
|
|
$map['Syntymäpäivä'] = 'birthday-d';
|
|
$map['Syntymäkuukausi'] = 'birthday-m';
|
|
$map['Syntymävuosi'] = 'birthday-y';
|
|
$map['Näytettävä nimi'] = 'name';
|
|
$map['Faksin numero'] = 'phone:homefax';
|
|
$map['Lempinimi'] = 'nickname';
|
|
$map['Ensisijainen sähköposti'] = 'email:home';
|
|
$map['Toissijainen sähköposti'] = 'email:other';
|
|
$map['Työpuhelin'] = 'phone:work';
|
|
$map['Hakulaitteen numero'] = 'phone:pager';
|
|
$map['Matkapuhelinnumero'] = 'phone:mobile';
|
|
$map['Kotiosoite'] = 'street:home';
|
|
$map['Kodin postinumero'] = 'zipcode:home';
|
|
$map['Kotimaa'] = 'country:home';
|
|
$map['Työosoite'] = 'street:work';
|
|
$map['Työpaikan postinumero'] = 'zipcode:work';
|
|
$map['Työpaikan maa'] = 'country:work';
|
|
$map['Järjestö'] = 'organization';
|
|
$map['Verkkosivu 1'] = 'website:homepage';
|
|
$map['Verkkosivu 2'] = 'website:other';
|