mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-19 17:11:20 +01:00
Contact import improvements (#9431)
* 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
This commit is contained in:
@@ -101,7 +101,7 @@ class rcmail_action_contacts_import extends rcmail_action_contacts_index
|
||||
$map = rcube_utils::get_input_value('_map', rcube_utils::INPUT_GPC);
|
||||
$map = array_filter($map);
|
||||
|
||||
$csv->set_map($map);
|
||||
$csv->set_map($map, array_keys(self::list_fields($with_groups)));
|
||||
$csv->import($file_content, false, $skip_head);
|
||||
|
||||
unlink($filepath);
|
||||
@@ -109,7 +109,6 @@ class rcmail_action_contacts_import extends rcmail_action_contacts_index
|
||||
// save uploaded file for the real import in the next step
|
||||
$temp_csv = rcube_utils::temp_filename('csvimpt');
|
||||
if (move_uploaded_file($filepath, $temp_csv) && file_exists($temp_csv)) {
|
||||
$fields = $csv->get_fields();
|
||||
$last_map = $map;
|
||||
$map = $csv->import($file_content, true);
|
||||
|
||||
@@ -145,7 +144,6 @@ class rcmail_action_contacts_import extends rcmail_action_contacts_index
|
||||
'replace' => $replace,
|
||||
'target' => $target,
|
||||
'with_groups' => $with_groups,
|
||||
'fields' => !empty($fields) ? $fields : [],
|
||||
];
|
||||
|
||||
// Stored separately due to nested array limitations in session
|
||||
@@ -385,16 +383,11 @@ class rcmail_action_contacts_import extends rcmail_action_contacts_index
|
||||
$rcmail = rcmail::get_instance();
|
||||
$params = $_SESSION['contactcsvimport']['params'];
|
||||
|
||||
// hide groups field from list when group import disabled
|
||||
if (empty($params['with_groups'])) {
|
||||
unset($params['fields']['groups']);
|
||||
}
|
||||
$available_fields = self::list_fields(!empty($params['with_groups']));
|
||||
|
||||
$fieldlist = new html_select(['name' => '_map[]']);
|
||||
$fieldlist->add($rcmail->gettext('fieldnotmapped'), '');
|
||||
foreach ($params['fields'] as $id => $name) {
|
||||
$fieldlist->add($name, $id);
|
||||
}
|
||||
$fieldlist->add(array_values($available_fields), array_keys($available_fields));
|
||||
|
||||
$field_table = new html_table(['cols' => 2] + $attrib);
|
||||
|
||||
@@ -499,4 +492,51 @@ class rcmail_action_contacts_import extends rcmail_action_contacts_index
|
||||
|
||||
return $group_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of contact fields available for import
|
||||
*/
|
||||
public static function list_fields($groups)
|
||||
{
|
||||
$rcmail = rcmail::get_instance();
|
||||
$available_fields = [];
|
||||
|
||||
foreach (self::$CONTACT_COLTYPES as $id => $field) {
|
||||
if ($id == 'photo') {
|
||||
// skip photo field because there are no photos in CSV files
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!empty($field['subtypes'])) {
|
||||
$subtype_names = array_map('rcmail_action_contacts_index::get_type_label', $field['subtypes']);
|
||||
|
||||
for ($i = 0; $i < count($field['subtypes']); $i++) {
|
||||
if (!empty($field['childs'])) {
|
||||
foreach ($field['childs'] as $cid => $child) {
|
||||
$available_fields[$cid . ':' . $field['subtypes'][$i]] = $child['label'] . ' - ' . $subtype_names[$i];
|
||||
}
|
||||
} else {
|
||||
$available_fields[$id . ':' . $field['subtypes'][$i]] = $field['label'] . ' - ' . $subtype_names[$i];
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$available_fields[$id] = $field['label'];
|
||||
}
|
||||
}
|
||||
|
||||
if ($groups) {
|
||||
// allow importing of group assignments
|
||||
$available_fields['groups'] = $rcmail->gettext('groups');
|
||||
}
|
||||
|
||||
// add separate birthday date parts fields for thunderbird imports
|
||||
$available_fields['birthday-d'] = $rcmail->gettext('birth_day');
|
||||
$available_fields['birthday-m'] = $rcmail->gettext('birth_month');
|
||||
$available_fields['birthday-y'] = $rcmail->gettext('birth_year');
|
||||
|
||||
// sort by label for easy use
|
||||
asort($available_fields, \SORT_LOCALE_STRING);
|
||||
|
||||
return $available_fields;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@ class rcmail_action_contacts_index extends rcmail_action
|
||||
'size' => 40,
|
||||
'maxlength' => 128,
|
||||
'label' => 'instantmessenger',
|
||||
'subtypes' => ['aim', 'icq', 'msn', 'yahoo', 'jabber', 'skype', 'other'],
|
||||
'subtypes' => ['aim', 'icq', 'msn', 'yahoo', 'jabber', 'skype'],
|
||||
'category' => 'main',
|
||||
],
|
||||
'notes' => [
|
||||
|
||||
@@ -23,283 +23,11 @@
|
||||
class rcube_csv2vcard
|
||||
{
|
||||
/**
|
||||
* CSV to vCard fields mapping
|
||||
* CSV label to text mapping for English read from localization
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $csv2vcard_map = [
|
||||
// MS Outlook 2010
|
||||
'anniversary' => 'anniversary',
|
||||
'assistants_name' => 'assistant',
|
||||
'assistants_phone' => 'phone:assistant',
|
||||
'birthday' => 'birthday',
|
||||
'business_city' => 'locality:work',
|
||||
'business_countryregion' => 'country:work',
|
||||
'business_fax' => 'phone:work,fax',
|
||||
'business_phone' => 'phone:work',
|
||||
'business_phone_2' => 'phone:work2',
|
||||
'business_postal_code' => 'zipcode:work',
|
||||
'business_state' => 'region:work',
|
||||
'business_street' => 'street:work',
|
||||
// 'business_street_2' => '',
|
||||
// 'business_street_3' => '',
|
||||
'car_phone' => 'phone:car',
|
||||
'categories' => 'groups',
|
||||
// 'children' => '',
|
||||
'company' => 'organization',
|
||||
// 'company_main_phone' => '',
|
||||
'department' => 'department',
|
||||
'email_2_address' => 'email:other',
|
||||
// 'email_2_type' => '',
|
||||
'email_3_address' => 'email:other',
|
||||
// 'email_3_type' => '',
|
||||
'email_address' => 'email:pref',
|
||||
// 'email_type' => '',
|
||||
'first_name' => 'firstname',
|
||||
'gender' => 'gender',
|
||||
'home_city' => 'locality:home',
|
||||
'home_countryregion' => 'country:home',
|
||||
'home_fax' => 'phone:home,fax',
|
||||
'home_phone' => 'phone:home',
|
||||
'home_phone_2' => 'phone:home2',
|
||||
'home_postal_code' => 'zipcode:home',
|
||||
'home_state' => 'region:home',
|
||||
'home_street' => 'street:home',
|
||||
// 'home_street_2' => '',
|
||||
// 'home_street_3' => '',
|
||||
// 'initials' => '',
|
||||
// 'isdn' => '',
|
||||
'job_title' => 'jobtitle',
|
||||
// 'keywords' => '',
|
||||
// 'language' => '',
|
||||
'last_name' => 'surname',
|
||||
// 'location' => '',
|
||||
'managers_name' => 'manager',
|
||||
'middle_name' => 'middlename',
|
||||
// 'mileage' => '',
|
||||
'mobile_phone' => 'phone:cell',
|
||||
'notes' => 'notes',
|
||||
// 'office_location' => '',
|
||||
'other_city' => 'locality:other',
|
||||
'other_countryregion' => 'country:other',
|
||||
'other_fax' => 'phone:other,fax',
|
||||
'other_phone' => 'phone:other',
|
||||
'other_postal_code' => 'zipcode:other',
|
||||
'other_state' => 'region:other',
|
||||
'other_street' => 'street:other',
|
||||
// 'other_street_2' => '',
|
||||
// 'other_street_3' => '',
|
||||
'pager' => 'phone:pager',
|
||||
'primary_phone' => 'phone:pref',
|
||||
// 'profession' => '',
|
||||
// 'radio_phone' => '',
|
||||
'spouse' => 'spouse',
|
||||
'suffix' => 'suffix',
|
||||
'title' => 'title',
|
||||
'web_page' => 'website:homepage',
|
||||
|
||||
// Thunderbird
|
||||
'birth_day' => 'birthday-d',
|
||||
'birth_month' => 'birthday-m',
|
||||
'birth_year' => 'birthday-y',
|
||||
'display_name' => 'displayname',
|
||||
'fax_number' => 'phone:fax',
|
||||
'home_address' => 'street:home',
|
||||
// 'home_address_2' => '',
|
||||
'home_country' => 'country:home',
|
||||
'home_zipcode' => 'zipcode:home',
|
||||
'mobile_number' => 'phone:cell',
|
||||
'nickname' => 'nickname',
|
||||
'organization' => 'organization',
|
||||
'pager_number' => 'phone:pager',
|
||||
'primary_email' => 'email:pref',
|
||||
'secondary_email' => 'email:other',
|
||||
'web_page_1' => 'website:homepage',
|
||||
'web_page_2' => 'website:other',
|
||||
'work_phone' => 'phone:work',
|
||||
'work_address' => 'street:work',
|
||||
// 'work_address_2' => '',
|
||||
'work_country' => 'country:work',
|
||||
'work_zipcode' => 'zipcode:work',
|
||||
'last' => 'surname',
|
||||
'first' => 'firstname',
|
||||
'work_city' => 'locality:work',
|
||||
'work_state' => 'region:work',
|
||||
'home_city_short' => 'locality:home',
|
||||
'home_state_short' => 'region:home',
|
||||
|
||||
// Atmail
|
||||
'date_of_birth' => 'birthday',
|
||||
// 'email' => 'email:pref',
|
||||
'home_mobile' => 'phone:cell',
|
||||
'home_zip' => 'zipcode:home',
|
||||
'info' => 'notes',
|
||||
'user_photo' => 'photo',
|
||||
'url' => 'website:homepage',
|
||||
'work_company' => 'organization',
|
||||
'work_dept' => 'department',
|
||||
'work_fax' => 'phone:work,fax',
|
||||
'work_mobile' => 'phone:work,cell',
|
||||
'work_title' => 'jobtitle',
|
||||
'work_zip' => 'zipcode:work',
|
||||
'group' => 'groups',
|
||||
|
||||
// GMail
|
||||
'groups' => 'groups',
|
||||
'group_membership' => 'groups',
|
||||
'given_name' => 'firstname',
|
||||
'additional_name' => 'middlename',
|
||||
'family_name' => 'surname',
|
||||
'name' => 'displayname',
|
||||
'name_prefix' => 'prefix',
|
||||
'name_suffix' => 'suffix',
|
||||
|
||||
// Format of Letter Hub test files from
|
||||
// https://letterhub.com/sample-csv-file-with-contacts/
|
||||
'company_name' => 'organization',
|
||||
'address' => 'street:home',
|
||||
'city' => 'locality:home',
|
||||
// 'county' => '',
|
||||
'state' => 'region:home',
|
||||
'zip' => 'zipcode:home',
|
||||
'phone1' => 'phone:home',
|
||||
'phone' => 'phone:work',
|
||||
'email' => 'email:home',
|
||||
];
|
||||
|
||||
/**
|
||||
* CSV label to text mapping for English
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $label_map = [
|
||||
// MS Outlook 2010
|
||||
'anniversary' => 'Anniversary',
|
||||
'assistants_name' => "Assistant's Name",
|
||||
'assistants_phone' => "Assistant's Phone",
|
||||
'birthday' => 'Birthday',
|
||||
'business_city' => 'Business City',
|
||||
'business_countryregion' => 'Business Country/Region',
|
||||
'business_fax' => 'Business Fax',
|
||||
'business_phone' => 'Business Phone',
|
||||
'business_phone_2' => 'Business Phone 2',
|
||||
'business_postal_code' => 'Business Postal Code',
|
||||
'business_state' => 'Business State',
|
||||
'business_street' => 'Business Street',
|
||||
// 'business_street_2' => "Business Street 2",
|
||||
// 'business_street_3' => "Business Street 3",
|
||||
'car_phone' => 'Car Phone',
|
||||
'categories' => 'Categories',
|
||||
// 'children' => "Children",
|
||||
'company' => 'Company',
|
||||
// 'company_main_phone' => "Company Main Phone",
|
||||
'department' => 'Department',
|
||||
// 'directory_server' => "Directory Server",
|
||||
'email_2_address' => 'E-mail 2 Address',
|
||||
// 'email_2_type' => "E-mail 2 Type",
|
||||
'email_3_address' => 'E-mail 3 Address',
|
||||
// 'email_3_type' => "E-mail 3 Type",
|
||||
'email_address' => 'E-mail Address',
|
||||
// 'email_type' => "E-mail Type",
|
||||
'first_name' => 'First Name',
|
||||
'gender' => 'Gender',
|
||||
'home_city' => 'Home City',
|
||||
'home_countryregion' => 'Home Country/Region',
|
||||
'home_fax' => 'Home Fax',
|
||||
'home_phone' => 'Home Phone',
|
||||
'home_phone_2' => 'Home Phone 2',
|
||||
'home_postal_code' => 'Home Postal Code',
|
||||
'home_state' => 'Home State',
|
||||
'home_street' => 'Home Street',
|
||||
// 'home_street_2' => "Home Street 2",
|
||||
// 'home_street_3' => "Home Street 3",
|
||||
// 'initials' => "Initials",
|
||||
// 'isdn' => "ISDN",
|
||||
'job_title' => 'Job Title',
|
||||
// 'keywords' => "Keywords",
|
||||
// 'language' => "Language",
|
||||
'last_name' => 'Last Name',
|
||||
// 'location' => "Location",
|
||||
'managers_name' => "Manager's Name",
|
||||
'middle_name' => 'Middle Name',
|
||||
// 'mileage' => "Mileage",
|
||||
'mobile_phone' => 'Mobile Phone',
|
||||
'notes' => 'Notes',
|
||||
// 'office_location' => "Office Location",
|
||||
'other_city' => 'Other City',
|
||||
'other_countryregion' => 'Other Country/Region',
|
||||
'other_fax' => 'Other Fax',
|
||||
'other_phone' => 'Other Phone',
|
||||
'other_postal_code' => 'Other Postal Code',
|
||||
'other_state' => 'Other State',
|
||||
'other_street' => 'Other Street',
|
||||
// 'other_street_2' => "Other Street 2",
|
||||
// 'other_street_3' => "Other Street 3",
|
||||
'pager' => 'Pager',
|
||||
'primary_phone' => 'Primary Phone',
|
||||
// 'profession' => "Profession",
|
||||
// 'radio_phone' => "Radio Phone",
|
||||
'spouse' => 'Spouse',
|
||||
'suffix' => 'Suffix',
|
||||
'title' => 'Title',
|
||||
'web_page' => 'Web Page',
|
||||
|
||||
// Thunderbird
|
||||
'birth_day' => 'Birth Day',
|
||||
'birth_month' => 'Birth Month',
|
||||
'birth_year' => 'Birth Year',
|
||||
'display_name' => 'Display Name',
|
||||
'fax_number' => 'Fax Number',
|
||||
'home_address' => 'Home Address',
|
||||
// 'home_address_2' => "Home Address 2",
|
||||
'home_country' => 'Home Country',
|
||||
'home_zipcode' => 'Home ZipCode',
|
||||
'mobile_number' => 'Mobile Number',
|
||||
'nickname' => 'Nickname',
|
||||
'organization' => 'Organization',
|
||||
'pager_number' => 'Pager Number',
|
||||
'primary_email' => 'Primary Email',
|
||||
'secondary_email' => 'Secondary Email',
|
||||
'web_page_1' => 'Web Page 1',
|
||||
'web_page_2' => 'Web Page 2',
|
||||
'work_phone' => 'Work Phone',
|
||||
'work_address' => 'Work Address',
|
||||
// 'work_address_2' => "Work Address 2",
|
||||
'work_city' => 'Work City',
|
||||
'work_country' => 'Work Country',
|
||||
'work_state' => 'Work State',
|
||||
'work_zipcode' => 'Work ZipCode',
|
||||
|
||||
// Atmail
|
||||
'date_of_birth' => 'Date of Birth',
|
||||
'email' => 'Email',
|
||||
// 'email_2' => "Email2",
|
||||
// 'email_3' => "Email3",
|
||||
// 'email_4' => "Email4",
|
||||
// 'email_5' => "Email5",
|
||||
'home_mobile' => 'Home Mobile',
|
||||
'home_zip' => 'Home Zip',
|
||||
'info' => 'Info',
|
||||
'user_photo' => 'User Photo',
|
||||
'url' => 'URL',
|
||||
'work_company' => 'Work Company',
|
||||
'work_dept' => 'Work Dept',
|
||||
'work_fax' => 'Work Fax',
|
||||
'work_mobile' => 'Work Mobile',
|
||||
'work_title' => 'Work Title',
|
||||
'work_zip' => 'Work Zip',
|
||||
'group' => 'Group',
|
||||
|
||||
// GMail
|
||||
'groups' => 'Groups',
|
||||
'group_membership' => 'Group Membership',
|
||||
'given_name' => 'Given Name',
|
||||
'additional_name' => 'Additional Name',
|
||||
'family_name' => 'Family Name',
|
||||
'name' => 'Name',
|
||||
'name_prefix' => 'Name Prefix',
|
||||
'name_suffix' => 'Name Suffix',
|
||||
];
|
||||
protected $label_map = [];
|
||||
|
||||
/**
|
||||
* Special fields map for GMail format
|
||||
@@ -319,9 +47,9 @@ class rcube_csv2vcard
|
||||
'Value' => [
|
||||
'home' => 'phone:home',
|
||||
'homefax' => 'phone:homefax',
|
||||
'main' => 'phone:pref',
|
||||
'main' => 'phone:main',
|
||||
'pager' => 'phone:pager',
|
||||
'mobile' => 'phone:cell',
|
||||
'mobile' => 'phone:mobile',
|
||||
'work' => 'phone:work',
|
||||
'workfax' => 'phone:workfax',
|
||||
],
|
||||
@@ -374,9 +102,6 @@ class rcube_csv2vcard
|
||||
],
|
||||
];
|
||||
|
||||
/** @var array Localized labels map */
|
||||
protected $local_label_map = [];
|
||||
|
||||
/** @var rcube_vcard[] List of contacts as vCards */
|
||||
protected $vcards = [];
|
||||
|
||||
@@ -390,16 +115,14 @@ class rcube_csv2vcard
|
||||
*/
|
||||
public function __construct($lang = 'en_US')
|
||||
{
|
||||
// Localize fields map
|
||||
if ($lang && $lang != 'en_US') {
|
||||
$map = null;
|
||||
if (file_exists(RCUBE_LOCALIZATION_DIR . "{$lang}/csv2vcard.inc")) {
|
||||
include RCUBE_LOCALIZATION_DIR . "{$lang}/csv2vcard.inc";
|
||||
}
|
||||
$this->label_map = self::read_localization_file(RCUBE_LOCALIZATION_DIR . 'en_US/csv2vcard.inc');
|
||||
|
||||
// Localize fields map
|
||||
if ($lang != 'en_US' && is_dir(RCUBE_LOCALIZATION_DIR . $lang)) {
|
||||
$map = self::read_localization_file(RCUBE_LOCALIZATION_DIR . $lang . '/csv2vcard.inc');
|
||||
|
||||
// @phpstan-ignore-next-line
|
||||
if (!empty($map)) {
|
||||
$this->local_label_map = array_merge($this->label_map, $map);
|
||||
$this->label_map = array_merge($this->label_map, $map);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -458,45 +181,16 @@ class rcube_csv2vcard
|
||||
*
|
||||
* @param array $elements Field mapping
|
||||
*/
|
||||
public function set_map($elements)
|
||||
public function set_map($elements, $available)
|
||||
{
|
||||
// sanitize input
|
||||
$elements = array_filter($elements, function ($val) {
|
||||
return in_array($val, $this->csv2vcard_map);
|
||||
$elements = array_filter($elements, static function ($val) use ($available) {
|
||||
return in_array($val, $available);
|
||||
});
|
||||
|
||||
$this->map = $elements;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set field mapping info
|
||||
*
|
||||
* @return array Array of vcard fields and localized names
|
||||
*/
|
||||
public function get_fields()
|
||||
{
|
||||
// get all vcard fields
|
||||
$fields = array_unique($this->csv2vcard_map);
|
||||
$local_field_names = $this->local_label_map ?: $this->label_map;
|
||||
|
||||
// translate with the local map
|
||||
$map = [];
|
||||
foreach ($fields as $csv => $vcard) {
|
||||
if ($vcard == '_auto_') {
|
||||
continue;
|
||||
}
|
||||
|
||||
$map[$vcard] = $local_field_names[$csv];
|
||||
}
|
||||
|
||||
// small fix to prevent "Groups" displaying as "Categories"
|
||||
$map['groups'] = $local_field_names['groups'];
|
||||
|
||||
asort($map);
|
||||
|
||||
return $map;
|
||||
}
|
||||
|
||||
/**
|
||||
* Export vCards
|
||||
*
|
||||
@@ -535,56 +229,18 @@ class rcube_csv2vcard
|
||||
{
|
||||
$elements = $this->parse_line($lines[0]);
|
||||
|
||||
$label_map = array_flip($this->label_map);
|
||||
$local_label_map = array_flip($this->local_label_map);
|
||||
|
||||
if (count($lines) == 2) {
|
||||
// first line of contents needed to properly identify fields in gmail CSV
|
||||
$contents = $this->parse_line($lines[1]);
|
||||
}
|
||||
|
||||
$map1 = [];
|
||||
$map2 = [];
|
||||
$size = count($elements);
|
||||
|
||||
// check English labels
|
||||
for ($i = 0; $i < $size; $i++) {
|
||||
if (!empty($label_map[$elements[$i]])) {
|
||||
$label = $label_map[$elements[$i]];
|
||||
if (!empty($this->csv2vcard_map[$label])) {
|
||||
$map1[$i] = $this->csv2vcard_map[$label];
|
||||
}
|
||||
// check labels
|
||||
for ($i = 0; $i < count($elements); $i++) {
|
||||
if ($field = $this->label_map[$elements[$i]] ?? null) {
|
||||
$this->map[$i] = $field;
|
||||
}
|
||||
}
|
||||
|
||||
// check localized labels
|
||||
if (!empty($local_label_map)) {
|
||||
for ($i = 0; $i < $size; $i++) {
|
||||
$label = $local_label_map[$elements[$i]];
|
||||
|
||||
// special localization label
|
||||
if ($label && $label[0] == '_') {
|
||||
$label = substr($label, 1);
|
||||
}
|
||||
|
||||
if ($label && !empty($this->csv2vcard_map[$label])) {
|
||||
$map2[$i] = $this->csv2vcard_map[$label];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If nothing recognized fallback to simple non-localized labels
|
||||
if (empty($map1) && empty($map2)) {
|
||||
for ($i = 0; $i < $size; $i++) {
|
||||
$label = str_replace(' ', '_', strtolower($elements[$i]));
|
||||
if (!empty($this->csv2vcard_map[$label])) {
|
||||
$map1[$i] = $this->csv2vcard_map[$label];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->map = count($map1) >= count($map2) ? $map1 : $map2;
|
||||
|
||||
if (!empty($contents)) {
|
||||
foreach ($this->gmail_label_map as $key => $items) {
|
||||
$num = 1;
|
||||
@@ -692,4 +348,25 @@ class rcube_csv2vcard
|
||||
// add to the list
|
||||
$this->vcards[] = $vcard;
|
||||
}
|
||||
|
||||
/**
|
||||
* Load localization file
|
||||
*
|
||||
* @param string $file File location
|
||||
*
|
||||
* @return array Localization csv2vcard map
|
||||
*/
|
||||
protected static function read_localization_file($file)
|
||||
{
|
||||
$map = [];
|
||||
|
||||
if (is_file($file) && is_readable($file)) {
|
||||
// use buffering to handle empty lines/spaces after closing PHP tag
|
||||
ob_start();
|
||||
require $file;
|
||||
ob_end_clean();
|
||||
}
|
||||
|
||||
return $map;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,6 +51,10 @@ class rcube_vcard
|
||||
'IPHONE' => 'mobile',
|
||||
'CELL' => 'mobile',
|
||||
'WORK,FAX' => 'workfax',
|
||||
'WORK,CELL' => 'other',
|
||||
'HOME,FAX' => 'homefax',
|
||||
'OTHER,FAX' => 'other',
|
||||
'FAX' => 'homefax',
|
||||
];
|
||||
private $phonetypemap = [
|
||||
'HOME1' => 'HOME',
|
||||
@@ -208,6 +212,10 @@ class rcube_vcard
|
||||
$subtype = $typemap[$combined];
|
||||
} elseif (!empty($typemap[$raw['type'][++$k]])) {
|
||||
$subtype = $typemap[$raw['type'][$k]];
|
||||
} elseif ($tag == 'TEL' && $raw['type'][$k] == 'pref') {
|
||||
$subtype = 'main';
|
||||
} elseif ($tag == 'EMAIL' && $raw['type'][$k] == 'pref') {
|
||||
$subtype = 'other';
|
||||
} else {
|
||||
$subtype = $raw['type'][$k];
|
||||
}
|
||||
|
||||
@@ -16,84 +16,84 @@
|
||||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
$map = array();
|
||||
$map['anniversary'] = "Jahrestag";
|
||||
$map['assistants_name'] = "Name Assistent";
|
||||
$map['assistants_phone'] = "Telefon Assistent";
|
||||
$map['birthday'] = "Geburtstag";
|
||||
$map['business_city'] = "Ort geschäftlich";
|
||||
$map['business_countryregion'] = "Region geschäftlich";
|
||||
$map['business_fax'] = "Fax geschäftlich";
|
||||
$map['business_phone'] = "Telefon geschäftlich";
|
||||
$map['business_phone_2'] = "Telefon geschäftlich 2";
|
||||
$map['business_postal_code'] = "Postleitzahl geschäftlich";
|
||||
$map['business_state'] = "Land geschäftlich";
|
||||
$map['business_street'] = "Straße geschäftlich";
|
||||
$map['car_phone'] = "Autotelefon";
|
||||
$map['categories'] = "Kategorien";
|
||||
$map['company'] = "Firma";
|
||||
$map['department'] = "Abteilung";
|
||||
$map['email_address'] = "E-Mail-Adresse";
|
||||
$map['first_name'] = "Vorname";
|
||||
$map['gender'] = "Geschlecht";
|
||||
$map['home_city'] = "Ort privat";
|
||||
$map['home_countryregion'] = "Region privat";
|
||||
$map['home_fax'] = "Fax privat";
|
||||
$map['home_phone'] = "Telefon privat";
|
||||
$map['home_phone_2'] = "Telefon privat 2";
|
||||
$map['home_postal_code'] = "Postleitzahl privat";
|
||||
$map['home_state'] = "Land privat";
|
||||
$map['home_street'] = "Straße privat";
|
||||
$map['job_title'] = "Position";
|
||||
$map['last_name'] = "Nachname";
|
||||
$map['managers_name'] = "Manager's Name";
|
||||
$map['middle_name'] = "Weitere Vornamen";
|
||||
$map['mobile_phone'] = "Mobiltelefon";
|
||||
$map['notes'] = "Notizen";
|
||||
$map['other_city'] = "Weiterer Ort";
|
||||
$map['other_countryregion'] = "Weitere Region";
|
||||
$map['other_fax'] = "Weiteres Fax";
|
||||
$map['other_phone'] = "Weiteres Telefon";
|
||||
$map['other_postal_code'] = "Weitere Postleitzahl";
|
||||
$map['other_state'] = "Weiteres Land";
|
||||
$map['other_street'] = "Weitere Straße";
|
||||
$map['pager'] = "Pager";
|
||||
$map['primary_phone'] = "Haupttelefon";
|
||||
$map['spouse'] = "Spouse";
|
||||
$map['suffix'] = "Suffix";
|
||||
$map['title'] = "Title";
|
||||
$map['web_page'] = "Webseite";
|
||||
$map['birth_day'] = "Geburtstag";
|
||||
$map['birth_month'] = "Geburtsmonat";
|
||||
$map['birth_year'] = "Geburtsjahr";
|
||||
$map['display_name'] = "Anzeigename";
|
||||
$map['fax_number'] = "Fax-Nummer";
|
||||
$map['home_address'] = "Privat: Adresse";
|
||||
$map['home_country'] = "Privat: Land";
|
||||
$map['home_zipcode'] = "Privat: PLZ";
|
||||
$map['mobile_number'] = "Mobil-Tel.-Nr.";
|
||||
$map['nickname'] = "Spitzname";
|
||||
$map['organization'] = "Organisation";
|
||||
$map['pager_number'] = "Pager-Nummer";
|
||||
$map['primary_email'] = "Primäre E-Mail-Adresse";
|
||||
$map['secondary_email'] = "Sekundäre E-Mail-Adresse";
|
||||
$map['web_page_1'] = "Webseite 1";
|
||||
$map['web_page_2'] = "Webseite 2";
|
||||
$map['work_phone'] = "Tel. dienstlich";
|
||||
$map['work_address'] = "Dienstlich: Adresse";
|
||||
$map['work_country'] = "Dienstlich: Land";
|
||||
$map['work_zipcode'] = "Dienstlich: PLZ";
|
||||
$map['date_of_birth'] = "Date of Birth";
|
||||
$map['email'] = "Email";
|
||||
$map['home_mobile'] = "Home Mobile";
|
||||
$map['home_zip'] = "Home Zip";
|
||||
$map['info'] = "Info";
|
||||
$map['user_photo'] = "User Photo";
|
||||
$map['url'] = "URL";
|
||||
$map['work_city'] = "Work City";
|
||||
$map['work_company'] = "Work Company";
|
||||
$map['work_dept'] = "Work Dept";
|
||||
$map['work_fax'] = "Work Fax";
|
||||
$map['work_mobile'] = "Work Mobile";
|
||||
$map['work_state'] = "Work State";
|
||||
$map['work_title'] = "Work Title";
|
||||
$map['work_zip'] = "Work Zip";
|
||||
$map['Jahrestag'] = 'anniversary';
|
||||
$map['Name Assistent'] = 'assistant';
|
||||
$map['Telefon Assistent'] = 'phone:assistant';
|
||||
$map['Geburtstag'] = 'birthday';
|
||||
$map['Ort geschäftlich'] = 'locality:work';
|
||||
$map['Region geschäftlich'] = 'country:work';
|
||||
$map['Fax geschäftlich'] = 'phone:workfax';
|
||||
$map['Telefon geschäftlich'] = 'phone:work';
|
||||
$map['Telefon geschäftlich 2'] = 'phone:work2';
|
||||
$map['Postleitzahl geschäftlich'] = 'zipcode:work';
|
||||
$map['Land geschäftlich'] = 'region:work';
|
||||
$map['Straße geschäftlich'] = 'street:work';
|
||||
$map['Autotelefon'] = 'phone:car';
|
||||
$map['Kategorien'] = 'groups';
|
||||
$map['Firma'] = 'organization';
|
||||
$map['Abteilung'] = 'department';
|
||||
$map['E-Mail-Adresse'] = 'email:other';
|
||||
$map['Vorname'] = 'firstname';
|
||||
$map['Geschlecht'] = 'gender';
|
||||
$map['Ort privat'] = 'locality:home';
|
||||
$map['Region privat'] = 'country:home';
|
||||
$map['Fax privat'] = 'phone:homefax';
|
||||
$map['Telefon privat'] = 'phone:home';
|
||||
$map['Telefon privat 2'] = 'phone:home2';
|
||||
$map['Postleitzahl privat'] = 'zipcode:home';
|
||||
$map['Land privat'] = 'region:home';
|
||||
$map['Straße privat'] = 'street:home';
|
||||
$map['Position'] = 'jobtitle';
|
||||
$map['Nachname'] = 'surname';
|
||||
$map['Manager\'s Name'] = 'manager';
|
||||
$map['Weitere Vornamen'] = 'middlename';
|
||||
$map['Mobiltelefon'] = 'phone:mobile';
|
||||
$map['Notizen'] = 'notes';
|
||||
$map['Weiterer Ort'] = 'locality:other';
|
||||
$map['Weitere Region'] = 'country:other';
|
||||
$map['Weiteres Fax'] = 'phone:other';
|
||||
$map['Weiteres Telefon'] = 'phone:other';
|
||||
$map['Weitere Postleitzahl'] = 'zipcode:other';
|
||||
$map['Weiteres Land'] = 'region:other';
|
||||
$map['Weitere Straße'] = 'street:other';
|
||||
$map['Pager'] = 'phone:pager';
|
||||
$map['Haupttelefon'] = 'phone:main';
|
||||
$map['Spouse'] = 'spouse';
|
||||
$map['Suffix'] = 'suffix';
|
||||
$map['Title'] = 'prefix';
|
||||
$map['Webseite'] = 'website:homepage';
|
||||
$map['Geburtstag'] = 'birthday-d';
|
||||
$map['Geburtsmonat'] = 'birthday-m';
|
||||
$map['Geburtsjahr'] = 'birthday-y';
|
||||
$map['Anzeigename'] = 'name';
|
||||
$map['Fax-Nummer'] = 'phone:homefax';
|
||||
$map['Privat: Adresse'] = 'street:home';
|
||||
$map['Privat: Land'] = 'country:home';
|
||||
$map['Privat: PLZ'] = 'zipcode:home';
|
||||
$map['Mobil-Tel.-Nr.'] = 'phone:mobile';
|
||||
$map['Spitzname'] = 'nickname';
|
||||
$map['Organisation'] = 'organization';
|
||||
$map['Pager-Nummer'] = 'phone:pager';
|
||||
$map['Primäre E-Mail-Adresse'] = 'email:home';
|
||||
$map['Sekundäre E-Mail-Adresse'] = 'email:other';
|
||||
$map['Webseite 1'] = 'website:homepage';
|
||||
$map['Webseite 2'] = 'website:other';
|
||||
$map['Tel. dienstlich'] = 'phone:work';
|
||||
$map['Dienstlich: Adresse'] = 'street:work';
|
||||
$map['Dienstlich: Land'] = 'country:work';
|
||||
$map['Dienstlich: PLZ'] = 'zipcode:work';
|
||||
$map['Date of Birth'] = 'birthday';
|
||||
$map['Email'] = 'email:home';
|
||||
$map['Home Mobile'] = 'phone:mobile';
|
||||
$map['Home Zip'] = 'zipcode:home';
|
||||
$map['Info'] = 'notes';
|
||||
$map['User Photo'] = 'photo';
|
||||
$map['URL'] = 'website:homepage';
|
||||
$map['Work City'] = 'locality:work';
|
||||
$map['Work Company'] = 'organization';
|
||||
$map['Work Dept'] = 'department';
|
||||
$map['Work Fax'] = 'phone:workfax';
|
||||
$map['Work Mobile'] = 'phone:other';
|
||||
$map['Work State'] = 'region:work';
|
||||
$map['Work Title'] = 'jobtitle';
|
||||
$map['Work Zip'] = 'zipcode:work';
|
||||
|
||||
@@ -16,86 +16,86 @@
|
||||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
$map = array();
|
||||
$map['anniversary'] = "Jahrestag";
|
||||
$map['assistants_name'] = "Name Assistent";
|
||||
$map['assistants_phone'] = "Telefon Assistent";
|
||||
$map['birthday'] = "Geburtstag";
|
||||
$map['business_city'] = "Ort geschäftlich";
|
||||
$map['business_countryregion'] = "Region geschäftlich";
|
||||
$map['business_fax'] = "Fax geschäftlich";
|
||||
$map['business_phone'] = "Telefon geschäftlich";
|
||||
$map['business_phone_2'] = "Telefon geschäftlich 2";
|
||||
$map['business_postal_code'] = "Postleitzahl geschäftlich";
|
||||
$map['business_state'] = "Land geschäftlich";
|
||||
$map['business_street'] = "Straße geschäftlich";
|
||||
$map['car_phone'] = "Autotelefon";
|
||||
$map['categories'] = "Kategorien";
|
||||
$map['company'] = "Firma";
|
||||
$map['department'] = "Abteilung";
|
||||
$map['email_address'] = "E-Mail-Adresse";
|
||||
$map['email_2_address'] = "E-Mail 2: Adresse";
|
||||
$map['email_3_address'] = "E-Mail 3: Adresse";
|
||||
$map['first_name'] = "Vorname";
|
||||
$map['gender'] = "Geschlecht";
|
||||
$map['home_city'] = "Ort privat";
|
||||
$map['home_countryregion'] = "Region privat";
|
||||
$map['home_fax'] = "Fax privat";
|
||||
$map['home_phone'] = "Telefon privat";
|
||||
$map['home_phone_2'] = "Telefon privat 2";
|
||||
$map['home_postal_code'] = "Postleitzahl privat";
|
||||
$map['home_state'] = "Land privat";
|
||||
$map['home_street'] = "Straße privat";
|
||||
$map['job_title'] = "Position";
|
||||
$map['last_name'] = "Nachname";
|
||||
$map['managers_name'] = "Manager's Name";
|
||||
$map['middle_name'] = "Weitere Vornamen";
|
||||
$map['mobile_phone'] = "Mobiltelefon";
|
||||
$map['notes'] = "Notizen";
|
||||
$map['other_city'] = "Weiterer Ort";
|
||||
$map['other_countryregion'] = "Weitere Region";
|
||||
$map['other_fax'] = "Weiteres Fax";
|
||||
$map['other_phone'] = "Weiteres Telefon";
|
||||
$map['other_postal_code'] = "Weitere Postleitzahl";
|
||||
$map['other_state'] = "Weiteres Land";
|
||||
$map['other_street'] = "Weitere Straße";
|
||||
$map['pager'] = "Pager";
|
||||
$map['primary_phone'] = "Haupttelefon";
|
||||
$map['spouse'] = "Spouse";
|
||||
$map['suffix'] = "Suffix";
|
||||
$map['title'] = "Title";
|
||||
$map['web_page'] = "Webseite";
|
||||
$map['birth_day'] = "Geburtstag";
|
||||
$map['birth_month'] = "Geburtsmonat";
|
||||
$map['birth_year'] = "Geburtsjahr";
|
||||
$map['display_name'] = "Anzeigename";
|
||||
$map['fax_number'] = "Fax-Nummer";
|
||||
$map['home_address'] = "Privat: Adresse";
|
||||
$map['home_country'] = "Privat: Land";
|
||||
$map['home_zipcode'] = "Privat: PLZ";
|
||||
$map['mobile_number'] = "Mobil-Tel.-Nr.";
|
||||
$map['nickname'] = "Spitzname";
|
||||
$map['organization'] = "Organisation";
|
||||
$map['pager_number'] = "Pager-Nummer";
|
||||
$map['primary_email'] = "Primäre E-Mail-Adresse";
|
||||
$map['secondary_email'] = "Sekundäre E-Mail-Adresse";
|
||||
$map['web_page_1'] = "Webseite 1";
|
||||
$map['web_page_2'] = "Webseite 2";
|
||||
$map['work_phone'] = "Tel. dienstlich";
|
||||
$map['work_address'] = "Dienstlich: Adresse";
|
||||
$map['work_country'] = "Dienstlich: Land";
|
||||
$map['work_zipcode'] = "Dienstlich: PLZ";
|
||||
$map['date_of_birth'] = "Date of Birth";
|
||||
$map['email'] = "Email";
|
||||
$map['home_mobile'] = "Home Mobile";
|
||||
$map['home_zip'] = "Home Zip";
|
||||
$map['info'] = "Info";
|
||||
$map['user_photo'] = "User Photo";
|
||||
$map['url'] = "URL";
|
||||
$map['work_city'] = "Work City";
|
||||
$map['work_company'] = "Work Company";
|
||||
$map['work_dept'] = "Work Dept";
|
||||
$map['work_fax'] = "Work Fax";
|
||||
$map['work_mobile'] = "Work Mobile";
|
||||
$map['work_state'] = "Work State";
|
||||
$map['work_title'] = "Work Title";
|
||||
$map['work_zip'] = "Work Zip";
|
||||
$map['Jahrestag'] = 'anniversary';
|
||||
$map['Name Assistent'] = 'assistant';
|
||||
$map['Telefon Assistent'] = 'phone:assistant';
|
||||
$map['Geburtstag'] = 'birthday';
|
||||
$map['Ort geschäftlich'] = 'locality:work';
|
||||
$map['Region geschäftlich'] = 'country:work';
|
||||
$map['Fax geschäftlich'] = 'phone:workfax';
|
||||
$map['Telefon geschäftlich'] = 'phone:work';
|
||||
$map['Telefon geschäftlich 2'] = 'phone:work2';
|
||||
$map['Postleitzahl geschäftlich'] = 'zipcode:work';
|
||||
$map['Land geschäftlich'] = 'region:work';
|
||||
$map['Straße geschäftlich'] = 'street:work';
|
||||
$map['Autotelefon'] = 'phone:car';
|
||||
$map['Kategorien'] = 'groups';
|
||||
$map['Firma'] = 'organization';
|
||||
$map['Abteilung'] = 'department';
|
||||
$map['E-Mail-Adresse'] = 'email:other';
|
||||
$map['E-Mail 2: Adresse'] = 'email:other';
|
||||
$map['E-Mail 3: Adresse'] = 'email:other';
|
||||
$map['Vorname'] = 'firstname';
|
||||
$map['Geschlecht'] = 'gender';
|
||||
$map['Ort privat'] = 'locality:home';
|
||||
$map['Region privat'] = 'country:home';
|
||||
$map['Fax privat'] = 'phone:homefax';
|
||||
$map['Telefon privat'] = 'phone:home';
|
||||
$map['Telefon privat 2'] = 'phone:home2';
|
||||
$map['Postleitzahl privat'] = 'zipcode:home';
|
||||
$map['Land privat'] = 'region:home';
|
||||
$map['Straße privat'] = 'street:home';
|
||||
$map['Position'] = 'jobtitle';
|
||||
$map['Nachname'] = 'surname';
|
||||
$map['Manager\'s Name'] = 'manager';
|
||||
$map['Weitere Vornamen'] = 'middlename';
|
||||
$map['Mobiltelefon'] = 'phone:mobile';
|
||||
$map['Notizen'] = 'notes';
|
||||
$map['Weiterer Ort'] = 'locality:other';
|
||||
$map['Weitere Region'] = 'country:other';
|
||||
$map['Weiteres Fax'] = 'phone:other';
|
||||
$map['Weiteres Telefon'] = 'phone:other';
|
||||
$map['Weitere Postleitzahl'] = 'zipcode:other';
|
||||
$map['Weiteres Land'] = 'region:other';
|
||||
$map['Weitere Straße'] = 'street:other';
|
||||
$map['Pager'] = 'phone:pager';
|
||||
$map['Haupttelefon'] = 'phone:main';
|
||||
$map['Spouse'] = 'spouse';
|
||||
$map['Suffix'] = 'suffix';
|
||||
$map['Title'] = 'prefix';
|
||||
$map['Webseite'] = 'website:homepage';
|
||||
$map['Geburtstag'] = 'birthday-d';
|
||||
$map['Geburtsmonat'] = 'birthday-m';
|
||||
$map['Geburtsjahr'] = 'birthday-y';
|
||||
$map['Anzeigename'] = 'name';
|
||||
$map['Fax-Nummer'] = 'phone:homefax';
|
||||
$map['Privat: Adresse'] = 'street:home';
|
||||
$map['Privat: Land'] = 'country:home';
|
||||
$map['Privat: PLZ'] = 'zipcode:home';
|
||||
$map['Mobil-Tel.-Nr.'] = 'phone:mobile';
|
||||
$map['Spitzname'] = 'nickname';
|
||||
$map['Organisation'] = 'organization';
|
||||
$map['Pager-Nummer'] = 'phone:pager';
|
||||
$map['Primäre E-Mail-Adresse'] = 'email:home';
|
||||
$map['Sekundäre E-Mail-Adresse'] = 'email:other';
|
||||
$map['Webseite 1'] = 'website:homepage';
|
||||
$map['Webseite 2'] = 'website:other';
|
||||
$map['Tel. dienstlich'] = 'phone:work';
|
||||
$map['Dienstlich: Adresse'] = 'street:work';
|
||||
$map['Dienstlich: Land'] = 'country:work';
|
||||
$map['Dienstlich: PLZ'] = 'zipcode:work';
|
||||
$map['Date of Birth'] = 'birthday';
|
||||
$map['Email'] = 'email:home';
|
||||
$map['Home Mobile'] = 'phone:mobile';
|
||||
$map['Home Zip'] = 'zipcode:home';
|
||||
$map['Info'] = 'notes';
|
||||
$map['User Photo'] = 'photo';
|
||||
$map['URL'] = 'website:homepage';
|
||||
$map['Work City'] = 'locality:work';
|
||||
$map['Work Company'] = 'organization';
|
||||
$map['Work Dept'] = 'department';
|
||||
$map['Work Fax'] = 'phone:workfax';
|
||||
$map['Work Mobile'] = 'phone:other';
|
||||
$map['Work State'] = 'region:work';
|
||||
$map['Work Title'] = 'jobtitle';
|
||||
$map['Work Zip'] = 'zipcode:work';
|
||||
|
||||
@@ -19,90 +19,119 @@
|
||||
$map = [];
|
||||
|
||||
// MS Outlook 2010
|
||||
$map['anniversary'] = "Anniversary";
|
||||
$map['assistants_name'] = "Assistant's Name";
|
||||
$map['assistants_phone'] = "Assistant's Phone";
|
||||
$map['birthday'] = "Birthday";
|
||||
$map['business_city'] = "Business City";
|
||||
$map['business_countryregion'] = "Business Country/Region";
|
||||
$map['business_fax'] = "Business Fax";
|
||||
$map['business_phone'] = "Business Phone";
|
||||
$map['business_phone_2'] = "Business Phone 2";
|
||||
$map['business_postal_code'] = "Business Postal Code";
|
||||
$map['business_state'] = "Business State";
|
||||
$map['business_street'] = "Business Street";
|
||||
$map['car_phone'] = "Car Phone";
|
||||
$map['categories'] = "Categories";
|
||||
$map['company'] = "Company";
|
||||
$map['department'] = "Department";
|
||||
$map['email_address'] = "E-mail Address";
|
||||
$map['email_2_address'] = "E-mail 2 Address";
|
||||
$map['email_3_address'] = "E-mail 3 Address";
|
||||
$map['first_name'] = "First Name";
|
||||
$map['gender'] = "Gender";
|
||||
$map['home_city'] = "Home City";
|
||||
$map['home_countryregion'] = "Home Country/Region";
|
||||
$map['home_fax'] = "Home Fax";
|
||||
$map['home_phone'] = "Home Phone";
|
||||
$map['home_phone_2'] = "Home Phone 2";
|
||||
$map['home_postal_code'] = "Home Postal Code";
|
||||
$map['home_state'] = "Home State";
|
||||
$map['home_street'] = "Home Street";
|
||||
$map['job_title'] = "Job Title";
|
||||
$map['last_name'] = "Last Name";
|
||||
$map['managers_name'] = "Manager's Name";
|
||||
$map['middle_name'] = "Middle Name";
|
||||
$map['mobile_phone'] = "Mobile Phone";
|
||||
$map['notes'] = "Notes";
|
||||
$map['other_city'] = "Other City";
|
||||
$map['other_countryregion'] = "Other Country/Region";
|
||||
$map['other_fax'] = "Other Fax";
|
||||
$map['other_phone'] = "Other Phone";
|
||||
$map['other_postal_code'] = "Other Postal Code";
|
||||
$map['other_state'] = "Other State";
|
||||
$map['other_street'] = "Other Street";
|
||||
$map['pager'] = "Pager";
|
||||
$map['primary_phone'] = "Primary Phone";
|
||||
$map['spouse'] = "Spouse";
|
||||
$map['suffix'] = "Suffix";
|
||||
$map['title'] = "Title";
|
||||
$map['web_page'] = "Web Page";
|
||||
$map['Anniversary'] = 'anniversary';
|
||||
$map['Assistant\'s Name'] = 'assistant';
|
||||
$map['Assistant\'s Phone'] = 'phone:assistant';
|
||||
$map['Birthday'] = 'birthday';
|
||||
$map['Business City'] = 'locality:work';
|
||||
$map['Business Country/Region'] = 'country:work';
|
||||
$map['Business Fax'] = 'phone:workfax';
|
||||
$map['Business Phone'] = 'phone:work';
|
||||
$map['Business Phone 2'] = 'phone:work2';
|
||||
$map['Business Postal Code'] = 'zipcode:work';
|
||||
$map['Business State'] = 'region:work';
|
||||
$map['Business Street'] = 'street:work';
|
||||
$map['Car Phone'] = 'phone:car';
|
||||
$map['Categories'] = 'groups';
|
||||
$map['Company'] = 'organization';
|
||||
$map['Department'] = 'department';
|
||||
$map['E-mail Address'] = 'email:other';
|
||||
$map['E-mail 2 Address'] = 'email:other';
|
||||
$map['E-mail 3 Address'] = 'email:other';
|
||||
$map['First Name'] = 'firstname';
|
||||
$map['Gender'] = 'gender';
|
||||
$map['Home City'] = 'locality:home';
|
||||
$map['Home Country/Region'] = 'country:home';
|
||||
$map['Home Fax'] = 'phone:homefax';
|
||||
$map['Home Phone'] = 'phone:home';
|
||||
$map['Home Phone 2'] = 'phone:home2';
|
||||
$map['Home Postal Code'] = 'zipcode:home';
|
||||
$map['Home State'] = 'region:home';
|
||||
$map['Home Street'] = 'street:home';
|
||||
$map['Job Title'] = 'jobtitle';
|
||||
$map['Last Name'] = 'surname';
|
||||
$map['Manager\'s Name'] = 'manager';
|
||||
$map['Middle Name'] = 'middlename';
|
||||
$map['Mobile Phone'] = 'phone:mobile';
|
||||
$map['Notes'] = 'notes';
|
||||
$map['Other City'] = 'locality:other';
|
||||
$map['Other Country/Region'] = 'country:other';
|
||||
$map['Other Fax'] = 'phone:other';
|
||||
$map['Other Phone'] = 'phone:other';
|
||||
$map['Other Postal Code'] = 'zipcode:other';
|
||||
$map['Other State'] = 'region:other';
|
||||
$map['Other Street'] = 'street:other';
|
||||
$map['Pager'] = 'phone:pager';
|
||||
$map['Primary Phone'] = 'phone:main';
|
||||
$map['Spouse'] = 'spouse';
|
||||
$map['Suffix'] = 'suffix';
|
||||
$map['Title'] = 'prefix';
|
||||
$map['Web Page'] = 'website:homepage';
|
||||
|
||||
// Thunderbird
|
||||
$map['birth_day'] = "Birth Day";
|
||||
$map['birth_month'] = "Birth Month";
|
||||
$map['birth_year'] = "Birth Year";
|
||||
$map['display_name'] = "Display Name";
|
||||
$map['fax_number'] = "Fax Number";
|
||||
$map['home_address'] = "Home Address";
|
||||
$map['home_country'] = "Home Country";
|
||||
$map['home_zipcode'] = "Home ZipCode";
|
||||
$map['mobile_number'] = "Mobile Number";
|
||||
$map['nickname'] = "Nickname";
|
||||
$map['organization'] = "Organization";
|
||||
$map['pager_number'] = "Pager Number";
|
||||
$map['primary_email'] = "Primary Email";
|
||||
$map['secondary_email'] = "Secondary Email";
|
||||
$map['web_page_1'] = "Web Page 1";
|
||||
$map['web_page_2'] = "Web Page 2";
|
||||
$map['work_phone'] = "Work Phone";
|
||||
$map['work_address'] = "Work Address";
|
||||
$map['work_country'] = "Work Country";
|
||||
$map['work_zipcode'] = "Work ZipCode";
|
||||
$map['Birth Day'] = 'birthday-d';
|
||||
$map['Birth Month'] = 'birthday-m';
|
||||
$map['Birth Year'] = 'birthday-y';
|
||||
$map['Display Name'] = 'name';
|
||||
$map['Fax Number'] = 'phone:homefax';
|
||||
$map['Home Address'] = 'street:home';
|
||||
$map['Home Country'] = 'country:home';
|
||||
$map['Home ZipCode'] = 'zipcode:home';
|
||||
$map['Mobile Number'] = 'phone:mobile';
|
||||
$map['Nickname'] = 'nickname';
|
||||
$map['Organization'] = 'organization';
|
||||
$map['Pager Number'] = 'phone:pager';
|
||||
$map['Primary Email'] = 'email:home';
|
||||
$map['Secondary Email'] = 'email:other';
|
||||
$map['Web Page 1'] = 'website:homepage';
|
||||
$map['Web Page 2'] = 'website:other';
|
||||
$map['Work Phone'] = 'phone:work';
|
||||
$map['Work Address'] = 'street:work';
|
||||
$map['Work Country'] = 'country:work';
|
||||
$map['Work ZipCode'] = 'zipcode:work';
|
||||
|
||||
// Atmail
|
||||
$map['date_of_birth'] = "Date of Birth";
|
||||
$map['email'] = "Email";
|
||||
$map['home_mobile'] = "Home Mobile";
|
||||
$map['home_zip'] = "Home Zip";
|
||||
$map['info'] = "Info";
|
||||
$map['user_photo'] = "User Photo";
|
||||
$map['url'] = "URL";
|
||||
$map['work_city'] = "Work City";
|
||||
$map['work_company'] = "Work Company";
|
||||
$map['work_dept'] = "Work Dept";
|
||||
$map['work_fax'] = "Work Fax";
|
||||
$map['work_mobile'] = "Work Mobile";
|
||||
$map['work_state'] = "Work State";
|
||||
$map['work_title'] = "Work Title";
|
||||
$map['work_zip'] = "Work Zip";
|
||||
$map['Date of Birth'] = 'birthday';
|
||||
$map['Email'] = 'email:home';
|
||||
$map['Home Mobile'] = 'phone:mobile';
|
||||
$map['Home Zip'] = 'zipcode:home';
|
||||
$map['Info'] = 'notes';
|
||||
$map['User Photo'] = 'photo';
|
||||
$map['URL'] = 'website:homepage';
|
||||
$map['Work City'] = 'locality:work';
|
||||
$map['Work Company'] = 'organization';
|
||||
$map['Work Dept'] = 'department';
|
||||
$map['Work Fax'] = 'phone:workfax';
|
||||
$map['Work Mobile'] = 'phone:other';
|
||||
$map['Work State'] = 'region:work';
|
||||
$map['Work Title'] = 'jobtitle';
|
||||
$map['Work Zip'] = 'zipcode:work';
|
||||
$map['Group'] = 'groups';
|
||||
|
||||
// GMail
|
||||
$map['Groups'] = 'groups';
|
||||
$map['Group Membership'] = 'groups';
|
||||
$map['Given Name'] = 'firstname';
|
||||
$map['Additional Name'] = 'middlename';
|
||||
$map['Family Name'] = 'surname';
|
||||
$map['Name'] = 'name';
|
||||
$map['Name Prefix'] = 'prefix';
|
||||
$map['Name Suffix'] = 'suffix';
|
||||
|
||||
// Roundcube fields
|
||||
$map['Email Home'] = 'email:home';
|
||||
$map['Email Work'] = 'email:work';
|
||||
$map['Email Other'] = 'email:other';
|
||||
$map['Phone Video'] = 'phone:video';
|
||||
$map['Maiden Name'] = 'maidenname';
|
||||
$map['IM Aim'] = 'im:aim';
|
||||
$map['IM Icq'] = 'im:icq';
|
||||
$map['IM Jabber'] = 'im:jabber';
|
||||
$map['IM Msn'] = 'im:msn';
|
||||
$map['IM Skype'] = 'im:skype';
|
||||
$map['IM Yahoo'] = 'im:yahoo';
|
||||
$map['Website Blog'] = 'website:blog';
|
||||
$map['Website Home Page'] = 'website:homepage';
|
||||
$map['Website Other'] = 'website:other';
|
||||
$map['Website Profile'] = 'website:profile';
|
||||
$map['Website Work'] = 'website:work';
|
||||
|
||||
@@ -508,6 +508,9 @@ $labels['importmapdesc'] = 'Confirm the field mapping information below is corre
|
||||
$labels['fieldnotmapped'] = 'Field not mapped (do not import)';
|
||||
$labels['skipheader'] = 'Do not import first line (headers)';
|
||||
$labels['done'] = 'Done';
|
||||
$labels['birth_day'] = 'Birth Day';
|
||||
$labels['birth_month'] = 'Birth Month';
|
||||
$labels['birth_year'] = 'Birth Year';
|
||||
|
||||
// settings
|
||||
$labels['settingsfor'] = 'Settings for';
|
||||
|
||||
@@ -16,86 +16,86 @@
|
||||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
$map = array();
|
||||
$map['anniversary'] = "Anniversary";
|
||||
$map['assistants_name'] = "Assistant's Name";
|
||||
$map['assistants_phone'] = "Assistant's Phone";
|
||||
$map['birthday'] = "Birthday";
|
||||
$map['business_city'] = "Ciudad de trabajo";
|
||||
$map['business_countryregion'] = "Provincia o estado de trabajo";
|
||||
$map['business_fax'] = "Business Fax";
|
||||
$map['business_phone'] = "Teléfono del trabajo";
|
||||
$map['business_phone_2'] = "Business Phone 2";
|
||||
$map['business_postal_code'] = "Código postal del trabajo";
|
||||
$map['business_state'] = "País o región del trabajo";
|
||||
$map['business_street'] = "Calle del trabajo";
|
||||
$map['car_phone'] = "Car Phone";
|
||||
$map['categories'] = "Categorías";
|
||||
$map['company'] = "Organización";
|
||||
$map['department'] = "Department";
|
||||
$map['email_address'] = "E-mail Address";
|
||||
$map['email_2_address'] = "Dirección de correo electrónico 2";
|
||||
$map['email_3_address'] = "Dirección del correo electrónico 3";
|
||||
$map['first_name'] = "Nombre";
|
||||
$map['gender'] = "Género";
|
||||
$map['home_city'] = "Home City";
|
||||
$map['home_countryregion'] = "País o región del domicilio";
|
||||
$map['home_fax'] = "Home Fax";
|
||||
$map['home_phone'] = "Particular";
|
||||
$map['home_phone_2'] = "Home Phone 2";
|
||||
$map['home_postal_code'] = "Home Postal Code";
|
||||
$map['home_state'] = "Home State";
|
||||
$map['home_street'] = "Home Street";
|
||||
$map['job_title'] = "Puesto";
|
||||
$map['last_name'] = "Apellidos";
|
||||
$map['managers_name'] = "Nombre del director";
|
||||
$map['middle_name'] = "Segundo nombre";
|
||||
$map['mobile_phone'] = "Mobile Phone";
|
||||
$map['notes'] = "Notes";
|
||||
$map['other_city'] = "Otra ciudad";
|
||||
$map['other_countryregion'] = "Otra provincia o estado";
|
||||
$map['other_fax'] = "Otro fax";
|
||||
$map['other_phone'] = "Otro teléfono";
|
||||
$map['other_postal_code'] = "Otro código postal";
|
||||
$map['other_state'] = "Otro país o región";
|
||||
$map['other_street'] = "Otra calle";
|
||||
$map['pager'] = "Pager";
|
||||
$map['primary_phone'] = "Teléfono principal";
|
||||
$map['spouse'] = "Spouse";
|
||||
$map['suffix'] = "Suffix";
|
||||
$map['title'] = "Title";
|
||||
$map['web_page'] = "Página web";
|
||||
$map['birth_day'] = "Día de nacimiento";
|
||||
$map['birth_month'] = "Mes de nacimiento";
|
||||
$map['birth_year'] = "Año de nacimiento";
|
||||
$map['display_name'] = "Nombre en pantalla";
|
||||
$map['fax_number'] = "Fax";
|
||||
$map['home_address'] = "Dirección personal";
|
||||
$map['home_country'] = "País de residencia";
|
||||
$map['home_zipcode'] = "Código postal";
|
||||
$map['mobile_number'] = "Teléfono móvil";
|
||||
$map['nickname'] = "Apodo";
|
||||
$map['organization'] = "Organización";
|
||||
$map['pager_number'] = "Buscapersonas";
|
||||
$map['primary_email'] = "Dirección de correo electrónico principal";
|
||||
$map['secondary_email'] = "Dirección de correo electrónico secundaria";
|
||||
$map['web_page_1'] = "Página web 1";
|
||||
$map['web_page_2'] = "Página web 2";
|
||||
$map['work_phone'] = "Teléfono (Trabajo)";
|
||||
$map['work_address'] = "Dirección de trabajo";
|
||||
$map['work_country'] = "País (Trabajo)";
|
||||
$map['work_zipcode'] = "Código postal (Trabajo)";
|
||||
$map['date_of_birth'] = "Date of Birth";
|
||||
$map['email'] = "Email";
|
||||
$map['home_mobile'] = "Home Mobile";
|
||||
$map['home_zip'] = "Home Zip";
|
||||
$map['info'] = "Info";
|
||||
$map['user_photo'] = "User Photo";
|
||||
$map['url'] = "URL";
|
||||
$map['work_city'] = "Work City";
|
||||
$map['work_company'] = "Work Company";
|
||||
$map['work_dept'] = "Work Dept";
|
||||
$map['work_fax'] = "Work Fax";
|
||||
$map['work_mobile'] = "Work Mobile";
|
||||
$map['work_state'] = "Work State";
|
||||
$map['work_title'] = "Work Title";
|
||||
$map['work_zip'] = "Work Zip";
|
||||
$map['Anniversary'] = 'anniversary';
|
||||
$map['Assistant\'s Name'] = 'assistant';
|
||||
$map['Assistant\'s Phone'] = 'phone:assistant';
|
||||
$map['Birthday'] = 'birthday';
|
||||
$map['Ciudad de trabajo'] = 'locality:work';
|
||||
$map['Provincia o estado de trabajo'] = 'country:work';
|
||||
$map['Business Fax'] = 'phone:workfax';
|
||||
$map['Teléfono del trabajo'] = 'phone:work';
|
||||
$map['Business Phone 2'] = 'phone:work2';
|
||||
$map['Código postal del trabajo'] = 'zipcode:work';
|
||||
$map['País o región del trabajo'] = 'region:work';
|
||||
$map['Calle del trabajo'] = 'street:work';
|
||||
$map['Car Phone'] = 'phone:car';
|
||||
$map['Categorías'] = 'groups';
|
||||
$map['Organización'] = 'organization';
|
||||
$map['Department'] = 'department';
|
||||
$map['E-mail Address'] = 'email:other';
|
||||
$map['Dirección de correo electrónico 2'] = 'email:other';
|
||||
$map['Dirección del correo electrónico 3'] = 'email:other';
|
||||
$map['Nombre'] = 'firstname';
|
||||
$map['Género'] = 'gender';
|
||||
$map['Home City'] = 'locality:home';
|
||||
$map['País o región del domicilio'] = 'country:home';
|
||||
$map['Home Fax'] = 'phone:homefax';
|
||||
$map['Particular'] = 'phone:home';
|
||||
$map['Home Phone 2'] = 'phone:home2';
|
||||
$map['Home Postal Code'] = 'zipcode:home';
|
||||
$map['Home State'] = 'region:home';
|
||||
$map['Home Street'] = 'street:home';
|
||||
$map['Puesto'] = 'jobtitle';
|
||||
$map['Apellidos'] = 'surname';
|
||||
$map['Nombre del director'] = 'manager';
|
||||
$map['Segundo nombre'] = 'middlename';
|
||||
$map['Mobile Phone'] = 'phone:mobile';
|
||||
$map['Notes'] = 'notes';
|
||||
$map['Otra ciudad'] = 'locality:other';
|
||||
$map['Otra provincia o estado'] = 'country:other';
|
||||
$map['Otro fax'] = 'phone:other';
|
||||
$map['Otro teléfono'] = 'phone:other';
|
||||
$map['Otro código postal'] = 'zipcode:other';
|
||||
$map['Otro país o región'] = 'region:other';
|
||||
$map['Otra calle'] = 'street:other';
|
||||
$map['Pager'] = 'phone:pager';
|
||||
$map['Teléfono principal'] = 'phone:main';
|
||||
$map['Spouse'] = 'spouse';
|
||||
$map['Suffix'] = 'suffix';
|
||||
$map['Title'] = 'prefix';
|
||||
$map['Página web'] = 'website:homepage';
|
||||
$map['Día de nacimiento'] = 'birthday-d';
|
||||
$map['Mes de nacimiento'] = 'birthday-m';
|
||||
$map['Año de nacimiento'] = 'birthday-y';
|
||||
$map['Nombre en pantalla'] = 'name';
|
||||
$map['Fax'] = 'phone:homefax';
|
||||
$map['Dirección personal'] = 'street:home';
|
||||
$map['País de residencia'] = 'country:home';
|
||||
$map['Código postal'] = 'zipcode:home';
|
||||
$map['Teléfono móvil'] = 'phone:mobile';
|
||||
$map['Apodo'] = 'nickname';
|
||||
$map['Organización'] = 'organization';
|
||||
$map['Buscapersonas'] = 'phone:pager';
|
||||
$map['Dirección de correo electrónico principal'] = 'email:home';
|
||||
$map['Dirección de correo electrónico secundaria'] = 'email:other';
|
||||
$map['Página web 1'] = 'website:homepage';
|
||||
$map['Página web 2'] = 'website:other';
|
||||
$map['Teléfono (Trabajo)'] = 'phone:work';
|
||||
$map['Dirección de trabajo'] = 'street:work';
|
||||
$map['País (Trabajo)'] = 'country:work';
|
||||
$map['Código postal (Trabajo)'] = 'zipcode:work';
|
||||
$map['Date of Birth'] = 'birthday';
|
||||
$map['Email'] = 'email:home';
|
||||
$map['Home Mobile'] = 'phone:mobile';
|
||||
$map['Home Zip'] = 'zipcode:home';
|
||||
$map['Info'] = 'notes';
|
||||
$map['User Photo'] = 'photo';
|
||||
$map['URL'] = 'website:homepage';
|
||||
$map['Work City'] = 'locality:work';
|
||||
$map['Work Company'] = 'organization';
|
||||
$map['Work Dept'] = 'department';
|
||||
$map['Work Fax'] = 'phone:workfax';
|
||||
$map['Work Mobile'] = 'phone:other';
|
||||
$map['Work State'] = 'region:work';
|
||||
$map['Work Title'] = 'jobtitle';
|
||||
$map['Work Zip'] = 'zipcode:work';
|
||||
|
||||
@@ -16,34 +16,34 @@
|
||||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
$map = array();
|
||||
$map['display_name'] = "Näyttönimi";
|
||||
$map['first_name'] = "Etunimi";
|
||||
$map['last_name'] = "Sukunimi";
|
||||
$map['home_phone'] = "Kotipuhelin";
|
||||
$map['home_city'] = "Kotikaupunki";
|
||||
$map['home_state'] = "Kodin lääni";
|
||||
$map['business_city'] = "Työpaikan kaupunki";
|
||||
$map['business_state'] = "Työpaikan lääni";
|
||||
$map['job_title'] = "Ammattinimi";
|
||||
$map['department'] = "Osasto";
|
||||
$map['notes'] = "Muistiinpanot";
|
||||
$map['birth_day'] = "Syntymäpäivä";
|
||||
$map['birth_month'] = "Syntymäkuukausi";
|
||||
$map['birth_year'] = "Syntymävuosi";
|
||||
$map['display_name'] = "Näytettävä nimi";
|
||||
$map['fax_number'] = "Faksin numero";
|
||||
$map['nickname'] = "Lempinimi";
|
||||
$map['primary_email'] = "Ensisijainen sähköposti";
|
||||
$map['secondary_email'] = "Toissijainen sähköposti";
|
||||
$map['work_phone'] = "Työpuhelin";
|
||||
$map['pager_number'] = "Hakulaitteen numero";
|
||||
$map['mobile_number'] = "Matkapuhelinnumero";
|
||||
$map['home_address'] = "Kotiosoite";
|
||||
$map['home_zipcode'] = "Kodin postinumero";
|
||||
$map['home_country'] = "Kotimaa";
|
||||
$map['work_address'] = "Työosoite";
|
||||
$map['work_zipcode'] = "Työpaikan postinumero";
|
||||
$map['work_country'] = "Työpaikan maa";
|
||||
$map['organization'] = "Järjestö";
|
||||
$map['web_page_1'] = "Verkkosivu 1";
|
||||
$map['web_page_2'] = "Verkkosivu 2";
|
||||
$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';
|
||||
|
||||
@@ -16,70 +16,70 @@
|
||||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
$map = array();
|
||||
$map['anniversary'] = "Anniversaire de mariage ou fête";
|
||||
$map['assistants_name'] = "Nom de l''assistant(e)";
|
||||
$map['assistants_phone'] = "Téléphone de l''assistant(e)";
|
||||
$map['birthday'] = "Anniversaire";
|
||||
$map['business_city'] = "Ville (bureau)";
|
||||
$map['business_countryregion'] = "Pays/Région (bureau)";
|
||||
$map['business_fax'] = "Télécopie (bureau)";
|
||||
$map['business_phone'] = "Téléphone (bureau)";
|
||||
$map['business_phone_2'] = "Téléphone 2 (bureau)";
|
||||
$map['business_postal_code'] = "Code postal (bureau)";
|
||||
$map['business_state'] = "Dép/Région (bureau)";
|
||||
$map['business_street'] = "Rue (bureau)";
|
||||
$map['car_phone'] = "Téléphone (voiture)";
|
||||
$map['categories'] = "Catégories";
|
||||
$map['company'] = "Société";
|
||||
$map['department'] = "Service";
|
||||
$map['email_address'] = "Adresse de messagerie";
|
||||
$map['first_name'] = "Prénom";
|
||||
$map['gender'] = "Sexe";
|
||||
$map['home_city'] = "Ville (domicile)";
|
||||
$map['home_countryregion'] = "Pays/Région (domicile)";
|
||||
$map['home_fax'] = "Télécopie (domicile)";
|
||||
$map['home_phone'] = "Téléphone (domicile)";
|
||||
$map['home_phone_2'] = "Téléphone 2 (domicile)";
|
||||
$map['home_postal_code'] = "Code postal (domicile)";
|
||||
$map['home_state'] = "Dép/Région (domicile)";
|
||||
$map['home_street'] = "Rue (domicile)";
|
||||
$map['job_title'] = "Profession";
|
||||
$map['last_name'] = "Nom";
|
||||
$map['managers_name'] = "Manager's Name";
|
||||
$map['middle_name'] = "Deuxième prénom";
|
||||
$map['mobile_phone'] = "Tél. mobile";
|
||||
$map['notes'] = "Notes";
|
||||
$map['other_city'] = "Ville (autre)";
|
||||
$map['other_countryregion'] = "Pays/Région (autre)";
|
||||
$map['other_fax'] = "Télécopie (autre)";
|
||||
$map['other_phone'] = "Téléphone (autre)";
|
||||
$map['other_postal_code'] = "Code postal (autre)";
|
||||
$map['other_state'] = "Dép/Région (autre)";
|
||||
$map['other_street'] = "Rue (autre)";
|
||||
$map['pager'] = "Récepteur de radiomessagerie";
|
||||
$map['primary_phone'] = "Téléphone principal";
|
||||
$map['spouse'] = "Conjoint(e)";
|
||||
$map['suffix'] = "Suffixe";
|
||||
$map['title'] = "Titre";
|
||||
$map['web_page'] = "Page Web";
|
||||
$map['birth_day'] = "Jour";
|
||||
$map['birth_month'] = "Mois";
|
||||
$map['birth_year'] = "Année de naissance";
|
||||
$map['display_name'] = "Nom à afficher";
|
||||
$map['fax_number'] = "Fax";
|
||||
$map['home_address'] = "Adresse privée";
|
||||
$map['home_country'] = "Région";
|
||||
$map['home_zipcode'] = "Code postal";
|
||||
$map['mobile_number'] = "Portable";
|
||||
$map['nickname'] = "Surnom";
|
||||
$map['organization'] = "Société";
|
||||
$map['pager_number'] = "Pager";
|
||||
$map['primary_email'] = "Adresse électronique principale";
|
||||
$map['secondary_email'] = "Adresse électronique secondaire";
|
||||
$map['web_page_1'] = "Site Web 1";
|
||||
$map['web_page_2'] = "Site Web 2";
|
||||
$map['work_phone'] = "Tél. professionnel";
|
||||
$map['work_address'] = "Adresse professionnelle";
|
||||
$map['work_country'] = "Région";
|
||||
$map['work_zipcode'] = "Code postal";
|
||||
$map['_home_city'] = "Ville";
|
||||
$map['Anniversaire de mariage ou fête'] = 'anniversary';
|
||||
$map['Nom de l\'assistant(e)'] = 'assistant';
|
||||
$map['Téléphone de l\'assistant(e)'] = 'phone:assistant';
|
||||
$map['Anniversaire'] = 'birthday';
|
||||
$map['Ville (bureau)'] = 'locality:work';
|
||||
$map['Pays/Région (bureau)'] = 'country:work';
|
||||
$map['Télécopie (bureau)'] = 'phone:workfax';
|
||||
$map['Téléphone (bureau)'] = 'phone:work';
|
||||
$map['Téléphone 2 (bureau)'] = 'phone:work2';
|
||||
$map['Code postal (bureau)'] = 'zipcode:work';
|
||||
$map['Dép/Région (bureau)'] = 'region:work';
|
||||
$map['Rue (bureau)'] = 'street:work';
|
||||
$map['Téléphone (voiture)'] = 'phone:car';
|
||||
$map['Catégories'] = 'groups';
|
||||
$map['Société'] = 'organization';
|
||||
$map['Service'] = 'department';
|
||||
$map['Adresse de messagerie'] = 'email:other';
|
||||
$map['Prénom'] = 'firstname';
|
||||
$map['Sexe'] = 'gender';
|
||||
$map['Ville (domicile)'] = 'locality:home';
|
||||
$map['Pays/Région (domicile)'] = 'country:home';
|
||||
$map['Télécopie (domicile)'] = 'phone:homefax';
|
||||
$map['Téléphone (domicile)'] = 'phone:home';
|
||||
$map['Téléphone 2 (domicile)'] = 'phone:home2';
|
||||
$map['Code postal (domicile)'] = 'zipcode:home';
|
||||
$map['Dép/Région (domicile)'] = 'region:home';
|
||||
$map['Rue (domicile)'] = 'street:home';
|
||||
$map['Profession'] = 'jobtitle';
|
||||
$map['Nom'] = 'surname';
|
||||
$map['Manager\'s Name'] = 'manager';
|
||||
$map['Deuxième prénom'] = 'middlename';
|
||||
$map['Tél. mobile'] = 'phone:mobile';
|
||||
$map['Notes'] = 'notes';
|
||||
$map['Ville (autre)'] = 'locality:other';
|
||||
$map['Pays/Région (autre)'] = 'country:other';
|
||||
$map['Télécopie (autre)'] = 'phone:other';
|
||||
$map['Téléphone (autre)'] = 'phone:other';
|
||||
$map['Code postal (autre)'] = 'zipcode:other';
|
||||
$map['Dép/Région (autre)'] = 'region:other';
|
||||
$map['Rue (autre)'] = 'street:other';
|
||||
$map['Récepteur de radiomessagerie'] = 'phone:pager';
|
||||
$map['Téléphone principal'] = 'phone:main';
|
||||
$map['Conjoint(e)'] = 'spouse';
|
||||
$map['Suffixe'] = 'suffix';
|
||||
$map['Titre'] = 'prefix';
|
||||
$map['Page Web'] = 'website:homepage';
|
||||
$map['Jour'] = 'birthday-d';
|
||||
$map['Mois'] = 'birthday-m';
|
||||
$map['Année de naissance'] = 'birthday-y';
|
||||
$map['Nom à afficher'] = 'name';
|
||||
$map['Fax'] = 'phone:homefax';
|
||||
$map['Adresse privée'] = 'street:home';
|
||||
$map['Région'] = 'country:home';
|
||||
$map['Code postal'] = 'zipcode:home';
|
||||
$map['Portable'] = 'phone:mobile';
|
||||
$map['Surnom'] = 'nickname';
|
||||
$map['Société'] = 'organization';
|
||||
$map['Pager'] = 'phone:pager';
|
||||
$map['Adresse électronique principale'] = 'email:home';
|
||||
$map['Adresse électronique secondaire'] = 'email:other';
|
||||
$map['Site Web 1'] = 'website:homepage';
|
||||
$map['Site Web 2'] = 'website:other';
|
||||
$map['Tél. professionnel'] = 'phone:work';
|
||||
$map['Adresse professionnelle'] = 'street:work';
|
||||
$map['Région'] = 'country:work';
|
||||
$map['Code postal'] = 'zipcode:work';
|
||||
$map['_home_city'] = 'Ville';
|
||||
|
||||
@@ -16,86 +16,86 @@
|
||||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
$map = array();
|
||||
$map['anniversary'] = "Anniversario";
|
||||
$map['assistants_name'] = "Nome dell'assistente";
|
||||
$map['assistants_phone'] = "Telefono dell'assistente";
|
||||
$map['birthday'] = "Compleanno";
|
||||
$map['business_city'] = "Città di lavoro";
|
||||
$map['business_countryregion'] = "Nazione/Regione di lavoro";
|
||||
$map['business_fax'] = "Fax di Lavoro";
|
||||
$map['business_phone'] = "Telefono di Lavoro";
|
||||
$map['business_phone_2'] = "Telefono di Lavoro 2";
|
||||
$map['business_postal_code'] = "CAP di Lavoro";
|
||||
$map['business_state'] = "Provincia di lavoro";
|
||||
$map['business_street'] = "Indirizzo di lavoro";
|
||||
$map['car_phone'] = "Telefono dell'Auto";
|
||||
$map['categories'] = "Categorie";
|
||||
$map['company'] = "Società";
|
||||
$map['department'] = "Reparto";
|
||||
$map['email_address'] = "Indirizzo E-mail";
|
||||
$map['email_2_address'] = "Indirizzo E-mail 2";
|
||||
$map['email_3_address'] = "Indirizzo E-mail 3";
|
||||
$map['first_name'] = "Nome";
|
||||
$map['gender'] = "Genere";
|
||||
$map['home_city'] = "Città di residenza";
|
||||
$map['home_countryregion'] = "Nazione/Regione di casa";
|
||||
$map['home_fax'] = "Fax di casa";
|
||||
$map['home_phone'] = "Telefono di casa";
|
||||
$map['home_phone_2'] = "Telefono di casa 2";
|
||||
$map['home_postal_code'] = "CAP di casa";
|
||||
$map['home_state'] = "Provincia di residenza";
|
||||
$map['home_street'] = "Indirizzo di casa";
|
||||
$map['job_title'] = "Qualifica";
|
||||
$map['last_name'] = "Cognome";
|
||||
$map['managers_name'] = "Nome del Responsabile";
|
||||
$map['middle_name'] = "Secondo Nome";
|
||||
$map['mobile_phone'] = "Telefono Mobile";
|
||||
$map['notes'] = "Note";
|
||||
$map['other_city'] = "Città Altro";
|
||||
$map['other_countryregion'] = "Nazione/Regione Altro";
|
||||
$map['other_fax'] = "Fax Altro";
|
||||
$map['other_phone'] = "Phone Altro";
|
||||
$map['other_postal_code'] = "CAP Postale Altro";
|
||||
$map['other_state'] = "Stato Altro";
|
||||
$map['other_street'] = "Via Altro";
|
||||
$map['pager'] = "Numero cercapersone";
|
||||
$map['primary_phone'] = "Telefono Principale";
|
||||
$map['spouse'] = "Coniuge";
|
||||
$map['suffix'] = "Suffisso";
|
||||
$map['title'] = "Titolo";
|
||||
$map['web_page'] = "Pagina Web";
|
||||
$map['birth_day'] = "Giorno di nascita";
|
||||
$map['birth_month'] = "Mese di nascita";
|
||||
$map['birth_year'] = "Anno di nascita";
|
||||
$map['display_name'] = "Nome visualizzato";
|
||||
$map['fax_number'] = "Numero fax";
|
||||
$map['home_address'] = "Indirizzo di casa 2";
|
||||
$map['home_country'] = "Nazione di residenza";
|
||||
$map['home_zipcode'] = "CAP di residenza";
|
||||
$map['mobile_number'] = "Numero cellulare";
|
||||
$map['nickname'] = "Soprannome";
|
||||
$map['organization'] = "Organizzazione";
|
||||
$map['pager_number'] = "Numero Pager";
|
||||
$map['primary_email'] = "Email principale";
|
||||
$map['secondary_email'] = "Email secondaria";
|
||||
$map['web_page_1'] = "Pagina web 1";
|
||||
$map['web_page_2'] = "Pagina web 2";
|
||||
$map['work_phone'] = "Telefono lavoro";
|
||||
$map['work_address'] = "Indirizzo di lavoro 2";
|
||||
$map['work_country'] = "Nazione di lavoro";
|
||||
$map['work_zipcode'] = "CAP di lavoro";
|
||||
$map['date_of_birth'] = "Data di Nascita";
|
||||
$map['email'] = "Email";
|
||||
$map['home_mobile'] = "Cellulare di Casa";
|
||||
$map['home_zip'] = "CAP di casa";
|
||||
$map['info'] = "Info";
|
||||
$map['user_photo'] = "Foto";
|
||||
$map['url'] = "URL";
|
||||
$map['work_city'] = "Città di Lavoro";
|
||||
$map['work_company'] = "Società di lavoro";
|
||||
$map['work_dept'] = "Reparto di lavoro";
|
||||
$map['work_fax'] = "Fax di lavoro";
|
||||
$map['work_mobile'] = "Cellulare di lavoro";
|
||||
$map['work_state'] = "Nazione/Regione di lavoro";
|
||||
$map['work_title'] = "Titolo di lavoro";
|
||||
$map['work_zip'] = "CAP di lavoro";
|
||||
$map['Anniversario'] = 'anniversary';
|
||||
$map['Nome dell\'assistente'] = 'assistant';
|
||||
$map['Telefono dell\'assistente'] = 'phone:assistant';
|
||||
$map['Compleanno'] = 'birthday';
|
||||
$map['Città di lavoro'] = 'locality:work';
|
||||
$map['Nazione/Regione di lavoro'] = 'country:work';
|
||||
$map['Fax di Lavoro'] = 'phone:workfax';
|
||||
$map['Telefono di Lavoro'] = 'phone:work';
|
||||
$map['Telefono di Lavoro 2'] = 'phone:work2';
|
||||
$map['CAP di Lavoro'] = 'zipcode:work';
|
||||
$map['Provincia di lavoro'] = 'region:work';
|
||||
$map['Indirizzo di lavoro'] = 'street:work';
|
||||
$map['Telefono dell\'Auto'] = 'phone:car';
|
||||
$map['Categorie'] = 'groups';
|
||||
$map['Società'] = 'organization';
|
||||
$map['Reparto'] = 'department';
|
||||
$map['Indirizzo E-mail'] = 'email:other';
|
||||
$map['Indirizzo E-mail 2'] = 'email:other';
|
||||
$map['Indirizzo E-mail 3'] = 'email:other';
|
||||
$map['Nome'] = 'firstname';
|
||||
$map['Genere'] = 'gender';
|
||||
$map['Città di residenza'] = 'locality:home';
|
||||
$map['Nazione/Regione di casa'] = 'country:home';
|
||||
$map['Fax di casa'] = 'phone:homefax';
|
||||
$map['Telefono di casa'] = 'phone:home';
|
||||
$map['Telefono di casa 2'] = 'phone:home2';
|
||||
$map['CAP di casa'] = 'zipcode:home';
|
||||
$map['Provincia di residenza'] = 'region:home';
|
||||
$map['Indirizzo di casa'] = 'street:home';
|
||||
$map['Qualifica'] = 'jobtitle';
|
||||
$map['Cognome'] = 'surname';
|
||||
$map['Nome del Responsabile'] = 'manager';
|
||||
$map['Secondo Nome'] = 'middlename';
|
||||
$map['Telefono Mobile'] = 'phone:mobile';
|
||||
$map['Note'] = 'notes';
|
||||
$map['Città Altro'] = 'locality:other';
|
||||
$map['Nazione/Regione Altro'] = 'country:other';
|
||||
$map['Fax Altro'] = 'phone:other';
|
||||
$map['Phone Altro'] = 'phone:other';
|
||||
$map['CAP Postale Altro'] = 'zipcode:other';
|
||||
$map['Stato Altro'] = 'region:other';
|
||||
$map['Via Altro'] = 'street:other';
|
||||
$map['Numero cercapersone'] = 'phone:pager';
|
||||
$map['Telefono Principale'] = 'phone:main';
|
||||
$map['Coniuge'] = 'spouse';
|
||||
$map['Suffisso'] = 'suffix';
|
||||
$map['Titolo'] = 'prefix';
|
||||
$map['Pagina Web'] = 'website:homepage';
|
||||
$map['Giorno di nascita'] = 'birthday-d';
|
||||
$map['Mese di nascita'] = 'birthday-m';
|
||||
$map['Anno di nascita'] = 'birthday-y';
|
||||
$map['Nome visualizzato'] = 'name';
|
||||
$map['Numero fax'] = 'phone:homefax';
|
||||
$map['Indirizzo di casa 2'] = 'street:home';
|
||||
$map['Nazione di residenza'] = 'country:home';
|
||||
$map['CAP di residenza'] = 'zipcode:home';
|
||||
$map['Numero cellulare'] = 'phone:mobile';
|
||||
$map['Soprannome'] = 'nickname';
|
||||
$map['Organizzazione'] = 'organization';
|
||||
$map['Numero Pager'] = 'phone:pager';
|
||||
$map['Email principale'] = 'email:home';
|
||||
$map['Email secondaria'] = 'email:other';
|
||||
$map['Pagina web 1'] = 'website:homepage';
|
||||
$map['Pagina web 2'] = 'website:other';
|
||||
$map['Telefono lavoro'] = 'phone:work';
|
||||
$map['Indirizzo di lavoro 2'] = 'street:work';
|
||||
$map['Nazione di lavoro'] = 'country:work';
|
||||
$map['CAP di lavoro'] = 'zipcode:work';
|
||||
$map['Data di Nascita'] = 'birthday';
|
||||
$map['Email'] = 'email:home';
|
||||
$map['Cellulare di Casa'] = 'phone:mobile';
|
||||
$map['CAP di casa'] = 'zipcode:home';
|
||||
$map['Info'] = 'notes';
|
||||
$map['Foto'] = 'photo';
|
||||
$map['URL'] = 'website:homepage';
|
||||
$map['Città di Lavoro'] = 'locality:work';
|
||||
$map['Società di lavoro'] = 'organization';
|
||||
$map['Reparto di lavoro'] = 'department';
|
||||
$map['Fax di lavoro'] = 'phone:workfax';
|
||||
$map['Cellulare di lavoro'] = 'phone:other';
|
||||
$map['Nazione/Regione di lavoro'] = 'region:work';
|
||||
$map['Titolo di lavoro'] = 'jobtitle';
|
||||
$map['CAP di lavoro'] = 'zipcode:work';
|
||||
|
||||
@@ -16,40 +16,40 @@
|
||||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
$map = array();
|
||||
$map['anniversary'] = "Rocznica";
|
||||
$map['assistants_name'] = "Asystent";
|
||||
$map['assistants_phone'] = "Telefon asystenta";
|
||||
$map['birthday'] = "Urodziny";
|
||||
$map['business_city'] = "Miasto (biuro)";
|
||||
$map['business_countryregion'] = "Kraj/region (biuro)";
|
||||
$map['business_fax'] = "Faks służbowy";
|
||||
$map['business_phone'] = "Telefon służbowy";
|
||||
$map['business_phone_2'] = "Telefon służbowy 2";
|
||||
$map['business_postal_code'] = "Kod pocztowy (biuro)";
|
||||
$map['business_state'] = "Województwo (biuro)";
|
||||
$map['business_street'] = "Ulica (biuro)";
|
||||
$map['categories'] = "Kategorie";
|
||||
$map['company'] = "Firma";
|
||||
$map['department'] = "Oddział";
|
||||
$map['email_address'] = "Adres e-mail";
|
||||
$map['first_name'] = "Imię";
|
||||
$map['gender'] = "Płeć";
|
||||
$map['home_city'] = "Miasto (dom)";
|
||||
$map['home_countryregion'] = "Kraj/region (dom)";
|
||||
$map['home_fax'] = "Faks domowy";
|
||||
$map['home_phone'] = "Telefon domowy";
|
||||
$map['home_phone_2'] = "Home Phone 2";
|
||||
$map['home_postal_code'] = "Kod pocztowy (dom)";
|
||||
$map['home_state'] = "Województwo (dom)";
|
||||
$map['home_street'] = "Ulica (dom)";
|
||||
$map['job_title'] = "Stanowisko";
|
||||
$map['last_name'] = "Nazwisko";
|
||||
$map['managers_name'] = "Menadżer";
|
||||
$map['middle_name'] = "Drugie imię";
|
||||
$map['mobile_phone'] = "Telefon komórkowy";
|
||||
$map['notes'] = "Notatki";
|
||||
$map['pager'] = "Pager";
|
||||
$map['primary_phone'] = "Telefon główny";
|
||||
$map['title'] = "Tytuł";
|
||||
$map['web_page'] = "Osobista strona sieci Web";
|
||||
$map['nickname'] = "Przydomek";
|
||||
$map['Rocznica'] = 'anniversary';
|
||||
$map['Asystent'] = 'assistant';
|
||||
$map['Telefon asystenta'] = 'phone:assistant';
|
||||
$map['Urodziny'] = 'birthday';
|
||||
$map['Miasto (biuro)'] = 'locality:work';
|
||||
$map['Kraj/region (biuro)'] = 'country:work';
|
||||
$map['Faks służbowy'] = 'phone:workfax';
|
||||
$map['Telefon służbowy'] = 'phone:work';
|
||||
$map['Telefon służbowy 2'] = 'phone:work2';
|
||||
$map['Kod pocztowy (biuro)'] = 'zipcode:work';
|
||||
$map['Województwo (biuro)'] = 'region:work';
|
||||
$map['Ulica (biuro)'] = 'street:work';
|
||||
$map['Kategorie'] = 'groups';
|
||||
$map['Firma'] = 'organization';
|
||||
$map['Oddział'] = 'department';
|
||||
$map['Adres e-mail'] = 'email:other';
|
||||
$map['Imię'] = 'firstname';
|
||||
$map['Płeć'] = 'gender';
|
||||
$map['Miasto (dom)'] = 'locality:home';
|
||||
$map['Kraj/region (dom)'] = 'country:home';
|
||||
$map['Faks domowy'] = 'phone:homefax';
|
||||
$map['Telefon domowy'] = 'phone:home';
|
||||
$map['Home Phone 2'] = 'phone:home2';
|
||||
$map['Kod pocztowy (dom)'] = 'zipcode:home';
|
||||
$map['Województwo (dom)'] = 'region:home';
|
||||
$map['Ulica (dom)'] = 'street:home';
|
||||
$map['Stanowisko'] = 'jobtitle';
|
||||
$map['Nazwisko'] = 'surname';
|
||||
$map['Menadżer'] = 'manager';
|
||||
$map['Drugie imię'] = 'middlename';
|
||||
$map['Telefon komórkowy'] = 'phone:mobile';
|
||||
$map['Notatki'] = 'notes';
|
||||
$map['Pager'] = 'phone:pager';
|
||||
$map['Telefon główny'] = 'phone:main';
|
||||
$map['Tytuł'] = 'prefix';
|
||||
$map['Osobista strona sieci Web'] = 'website:homepage';
|
||||
$map['Przydomek'] = 'nickname';
|
||||
|
||||
@@ -16,86 +16,86 @@
|
||||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
$map = array();
|
||||
$map['anniversary'] = "Aniversário";
|
||||
$map['assistants_name'] = "Nome do Assistente";
|
||||
$map['assistants_phone'] = "Fone do Assistente";
|
||||
$map['birthday'] = "Aniversário";
|
||||
$map['business_city'] = "Cidade comercial";
|
||||
$map['business_countryregion'] = "Região/País comercial";
|
||||
$map['business_fax'] = "Fax comercial";
|
||||
$map['business_phone'] = "Fone comercial";
|
||||
$map['business_phone_2'] = "Fone comercial 2";
|
||||
$map['business_postal_code'] = "Código postal comercial";
|
||||
$map['business_state'] = "Estado comercial";
|
||||
$map['business_street'] = "Rua comercial";
|
||||
$map['car_phone'] = "Fone do carro";
|
||||
$map['categories'] = "Categorias";
|
||||
$map['company'] = "Empresa";
|
||||
$map['department'] = "Departamento";
|
||||
$map['email_address'] = "Endereço de E-mail";
|
||||
$map['email_2_address'] = "Endereço de E-mail 2";
|
||||
$map['email_3_address'] = "Endereço de E-mail 3";
|
||||
$map['first_name'] = "Primeiro nome";
|
||||
$map['gender'] = "Gênero";
|
||||
$map['home_city'] = "Cidade de casa";
|
||||
$map['home_countryregion'] = "Região/País de casa";
|
||||
$map['home_fax'] = "Fax de casa";
|
||||
$map['home_phone'] = "Fone de casa";
|
||||
$map['home_phone_2'] = "Fone de casa 2";
|
||||
$map['home_postal_code'] = "Código Postal de casa";
|
||||
$map['home_state'] = "Estado de casa";
|
||||
$map['home_street'] = "Rua de casa";
|
||||
$map['job_title'] = "Cargo";
|
||||
$map['last_name'] = "Último nome";
|
||||
$map['managers_name'] = "Nome do gerente";
|
||||
$map['middle_name'] = "Nome do meio";
|
||||
$map['mobile_phone'] = "Celular";
|
||||
$map['notes'] = "Notas";
|
||||
$map['other_city'] = "Outra cidade";
|
||||
$map['other_countryregion'] = "Outro País/Região";
|
||||
$map['other_fax'] = "Outro Fax";
|
||||
$map['other_phone'] = "Outro Fone";
|
||||
$map['other_postal_code'] = "Outro Código Postal";
|
||||
$map['other_state'] = "Outro Estado";
|
||||
$map['other_street'] = "Outra Rua";
|
||||
$map['pager'] = "Pager";
|
||||
$map['primary_phone'] = "Fone Primario";
|
||||
$map['spouse'] = "Spouse";
|
||||
$map['suffix'] = "Sufixo";
|
||||
$map['title'] = "Título";
|
||||
$map['web_page'] = "Página Web";
|
||||
$map['birth_day'] = "Dia de nascimento";
|
||||
$map['birth_month'] = "Mês de nascimento";
|
||||
$map['birth_year'] = "Ano de nascimento";
|
||||
$map['display_name'] = "Mostrar nome";
|
||||
$map['fax_number'] = "Número de Fax";
|
||||
$map['home_address'] = "Endereço de casa";
|
||||
$map['home_country'] = "País de casa";
|
||||
$map['home_zipcode'] = "CEP de casa";
|
||||
$map['mobile_number'] = "Celular";
|
||||
$map['nickname'] = "Apelido";
|
||||
$map['organization'] = "Organização";
|
||||
$map['pager_number'] = "Número do Pager";
|
||||
$map['primary_email'] = "E-mail primário";
|
||||
$map['secondary_email'] = "E-mail secundário";
|
||||
$map['web_page_1'] = "Web Page 1";
|
||||
$map['web_page_2'] = "Web Page 2";
|
||||
$map['work_phone'] = "Fone de trabalho";
|
||||
$map['work_address'] = "Endereço de trabalho";
|
||||
$map['work_country'] = "País de trabalho";
|
||||
$map['work_zipcode'] = "CEP de trabalho";
|
||||
$map['date_of_birth'] = "Data de nascimento";
|
||||
$map['email'] = "E-mail";
|
||||
$map['home_mobile'] = "Celular pessoal";
|
||||
$map['home_zip'] = "CEP pessoal";
|
||||
$map['info'] = "Informações";
|
||||
$map['user_photo'] = "Foto do Usuário";
|
||||
$map['url'] = "URL";
|
||||
$map['work_city'] = "Cidade de trabalho";
|
||||
$map['work_company'] = "Empresa";
|
||||
$map['work_dept'] = "Departamento";
|
||||
$map['work_fax'] = "Fax";
|
||||
$map['work_mobile'] = "Celular de trabalho";
|
||||
$map['work_state'] = "Estado";
|
||||
$map['work_title'] = "Cargo";
|
||||
$map['work_zip'] = "CEP";
|
||||
$map['Aniversário'] = 'anniversary';
|
||||
$map['Nome do Assistente'] = 'assistant';
|
||||
$map['Fone do Assistente'] = 'phone:assistant';
|
||||
$map['Aniversário'] = 'birthday';
|
||||
$map['Cidade comercial'] = 'locality:work';
|
||||
$map['Região/País comercial'] = 'country:work';
|
||||
$map['Fax comercial'] = 'phone:workfax';
|
||||
$map['Fone comercial'] = 'phone:work';
|
||||
$map['Fone comercial 2'] = 'phone:work2';
|
||||
$map['Código postal comercial'] = 'zipcode:work';
|
||||
$map['Estado comercial'] = 'region:work';
|
||||
$map['Rua comercial'] = 'street:work';
|
||||
$map['Fone do carro'] = 'phone:car';
|
||||
$map['Categorias'] = 'groups';
|
||||
$map['Empresa'] = 'organization';
|
||||
$map['Departamento'] = 'department';
|
||||
$map['Endereço de E-mail'] = 'email:other';
|
||||
$map['Endereço de E-mail 2'] = 'email:other';
|
||||
$map['Endereço de E-mail 3'] = 'email:other';
|
||||
$map['Primeiro nome'] = 'firstname';
|
||||
$map['Gênero'] = 'gender';
|
||||
$map['Cidade de casa'] = 'locality:home';
|
||||
$map['Região/País de casa'] = 'country:home';
|
||||
$map['Fax de casa'] = 'phone:homefax';
|
||||
$map['Fone de casa'] = 'phone:home';
|
||||
$map['Fone de casa 2'] = 'phone:home2';
|
||||
$map['Código Postal de casa'] = 'zipcode:home';
|
||||
$map['Estado de casa'] = 'region:home';
|
||||
$map['Rua de casa'] = 'street:home';
|
||||
$map['Cargo'] = 'jobtitle';
|
||||
$map['Último nome'] = 'surname';
|
||||
$map['Nome do gerente'] = 'manager';
|
||||
$map['Nome do meio'] = 'middlename';
|
||||
$map['Celular'] = 'phone:mobile';
|
||||
$map['Notas'] = 'notes';
|
||||
$map['Outra cidade'] = 'locality:other';
|
||||
$map['Outro País/Região'] = 'country:other';
|
||||
$map['Outro Fax'] = 'phone:other';
|
||||
$map['Outro Fone'] = 'phone:other';
|
||||
$map['Outro Código Postal'] = 'zipcode:other';
|
||||
$map['Outro Estado'] = 'region:other';
|
||||
$map['Outra Rua'] = 'street:other';
|
||||
$map['Pager'] = 'phone:pager';
|
||||
$map['Fone Primario'] = 'phone:main';
|
||||
$map['Spouse'] = 'spouse';
|
||||
$map['Sufixo'] = 'suffix';
|
||||
$map['Título'] = 'prefix';
|
||||
$map['Página Web'] = 'website:homepage';
|
||||
$map['Dia de nascimento'] = 'birthday-d';
|
||||
$map['Mês de nascimento'] = 'birthday-m';
|
||||
$map['Ano de nascimento'] = 'birthday-y';
|
||||
$map['Mostrar nome'] = 'name';
|
||||
$map['Número de Fax'] = 'phone:homefax';
|
||||
$map['Endereço de casa'] = 'street:home';
|
||||
$map['País de casa'] = 'country:home';
|
||||
$map['CEP de casa'] = 'zipcode:home';
|
||||
$map['Celular'] = 'phone:mobile';
|
||||
$map['Apelido'] = 'nickname';
|
||||
$map['Organização'] = 'organization';
|
||||
$map['Número do Pager'] = 'phone:pager';
|
||||
$map['E-mail primário'] = 'email:home';
|
||||
$map['E-mail secundário'] = 'email:other';
|
||||
$map['Web Page 1'] = 'website:homepage';
|
||||
$map['Web Page 2'] = 'website:other';
|
||||
$map['Fone de trabalho'] = 'phone:work';
|
||||
$map['Endereço de trabalho'] = 'street:work';
|
||||
$map['País de trabalho'] = 'country:work';
|
||||
$map['CEP de trabalho'] = 'zipcode:work';
|
||||
$map['Data de nascimento'] = 'birthday';
|
||||
$map['E-mail'] = 'email:home';
|
||||
$map['Celular pessoal'] = 'phone:mobile';
|
||||
$map['CEP pessoal'] = 'zipcode:home';
|
||||
$map['Informações'] = 'notes';
|
||||
$map['Foto do Usuário'] = 'photo';
|
||||
$map['URL'] = 'website:homepage';
|
||||
$map['Cidade de trabalho'] = 'locality:work';
|
||||
$map['Empresa'] = 'organization';
|
||||
$map['Departamento'] = 'department';
|
||||
$map['Fax'] = 'phone:workfax';
|
||||
$map['Celular de trabalho'] = 'phone:other';
|
||||
$map['Estado'] = 'region:work';
|
||||
$map['Cargo'] = 'jobtitle';
|
||||
$map['CEP'] = 'zipcode:work';
|
||||
|
||||
@@ -15,31 +15,31 @@
|
||||
| Author: Aleksander Machniak <alec@alec.pl> |
|
||||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
$map['birth_day'] = "День рождения";
|
||||
$map['birth_month'] = "Месяц рождения";
|
||||
$map['birth_year'] = "Год рождения";
|
||||
$map['display_name'] = "Отображаемое имя";
|
||||
$map['fax_number'] = "Номер факса";
|
||||
$map['home_address'] = "Адрес";
|
||||
$map['home_city_short'] = "Город";
|
||||
$map['home_state_short'] = "Штат";
|
||||
$map['home_country'] = "Страна";
|
||||
$map['home_zipcode'] = "Почтовый индекс";
|
||||
$map['mobile_number'] = "Номер сотового телефона";
|
||||
$map['nickname'] = "Псевдоним";
|
||||
$map['organization'] = "Организация";
|
||||
$map['pager_number'] = "Номер пейджера";
|
||||
$map['primary_email'] = "Адрес электронной почты";
|
||||
$map['secondary_email'] = "Альтернативный адрес электронной почты";
|
||||
$map['web_page_1'] = "Веб-страница 1";
|
||||
$map['web_page_2'] = "Веб-страница 2";
|
||||
$map['web_page'] = "Веб-страница";
|
||||
$map['notes'] = "Заметки";
|
||||
$map['work_phone'] = "Рабочий телефон";
|
||||
$map['work_address'] = "Адрес (раб.)";
|
||||
$map['work_country'] = "Страна (раб.)";
|
||||
$map['work_zipcode'] = "Почтовый индекс (раб.)";
|
||||
$map['last'] = "Фамилия";
|
||||
$map['first'] = "Имя";
|
||||
$map['work_city'] = "Город (раб.)";
|
||||
$map['work_state_short'] = "Штат (раб.)";
|
||||
$map['День рождения'] = 'birthday-d';
|
||||
$map['Месяц рождения'] = 'birthday-m';
|
||||
$map['Год рождения'] = 'birthday-y';
|
||||
$map['Отображаемое имя'] = 'name';
|
||||
$map['Номер факса'] = 'phone:homefax';
|
||||
$map['Адрес'] = 'street:home';
|
||||
$map['Город'] = 'locality:home';
|
||||
$map['Штат'] = 'region:home';
|
||||
$map['Страна'] = 'country:home';
|
||||
$map['Почтовый индекс'] = 'zipcode:home';
|
||||
$map['Номер сотового телефона'] = 'phone:mobile';
|
||||
$map['Псевдоним'] = 'nickname';
|
||||
$map['Организация'] = 'organization';
|
||||
$map['Номер пейджера'] = 'phone:pager';
|
||||
$map['Адрес электронной почты'] = 'email:home';
|
||||
$map['Альтернативный адрес электронной почты'] = 'email:other';
|
||||
$map['Веб-страница 1'] = 'website:homepage';
|
||||
$map['Веб-страница 2'] = 'website:other';
|
||||
$map['Веб-страница'] = 'website:homepage';
|
||||
$map['Заметки'] = 'notes';
|
||||
$map['Рабочий телефон'] = 'phone:work';
|
||||
$map['Адрес (раб.)'] = 'street:work';
|
||||
$map['Страна (раб.)'] = 'country:work';
|
||||
$map['Почтовый индекс (раб.)'] = 'zipcode:work';
|
||||
$map['Фамилия'] = 'surname';
|
||||
$map['Имя'] = 'firstname';
|
||||
$map['Город (раб.)'] = 'locality:work';
|
||||
$map['work_state_short'] = 'Штат (раб.)';
|
||||
|
||||
@@ -16,69 +16,69 @@
|
||||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
$map = array();
|
||||
$map['anniversary'] = "Výročie";
|
||||
$map['assistants_name'] = "Meno asistenta";
|
||||
$map['assistants_phone'] = "Telefón asistenta";
|
||||
$map['birthday'] = "Narodeniny";
|
||||
$map['business_city'] = "Mesto (práca)";
|
||||
$map['business_countryregion'] = "Krajina/oblasť (práca)";
|
||||
$map['business_fax'] = "Fax do práce";
|
||||
$map['business_phone'] = "Telefón do práce";
|
||||
$map['business_phone_2'] = "Telefón do práce 2";
|
||||
$map['business_postal_code'] = "PSČ (práca)";
|
||||
$map['business_state'] = "Okres (práca)";
|
||||
$map['business_street'] = "Ulica (práca)";
|
||||
$map['car_phone'] = "Autotelefón";
|
||||
$map['categories'] = "Kategórie";
|
||||
$map['company'] = "Spoločnosť";
|
||||
$map['department'] = "Oddelenie";
|
||||
$map['email_address'] = "E-mailová adresa";
|
||||
$map['first_name'] = "Krstné meno";
|
||||
$map['gender'] = "Pohlavie";
|
||||
$map['home_city'] = "Mesto (domov)";
|
||||
$map['home_countryregion'] = "Krajina/oblasť (domov)";
|
||||
$map['home_fax'] = "Fax domov";
|
||||
$map['home_phone'] = "Telefón domov";
|
||||
$map['home_phone_2'] = "Telefón domov 2";
|
||||
$map['home_postal_code'] = "PSČ (domov)";
|
||||
$map['home_state'] = "Okres (domov)";
|
||||
$map['home_street'] = "Ulica (domov)";
|
||||
$map['job_title'] = "Funkcia";
|
||||
$map['last_name'] = "Priezvisko";
|
||||
$map['managers_name'] = "Meno manažéra";
|
||||
$map['middle_name'] = "Ďalšie meno";
|
||||
$map['mobile_phone'] = "Mobilný telefón";
|
||||
$map['notes'] = "Poznámky";
|
||||
$map['other_city'] = "Iné mesto";
|
||||
$map['other_countryregion'] = "Krajina/oblasť (iné)";
|
||||
$map['other_fax'] = "Iný fax";
|
||||
$map['other_phone'] = "Iný telefón";
|
||||
$map['other_postal_code'] = "Iné PSČ";
|
||||
$map['other_state'] = "Krajina/oblasť (iné)";
|
||||
$map['other_street'] = "Iná ulica";
|
||||
$map['pager'] = "Operátor";
|
||||
$map['primary_phone'] = "Primárny telefón";
|
||||
$map['spouse'] = "Manžel(ka)";
|
||||
$map['suffix'] = "Prípona";
|
||||
$map['title'] = "Titul";
|
||||
$map['web_page'] = "Webová stránka";
|
||||
$map['birth_day'] = "Deň narodenia";
|
||||
$map['birth_month'] = "Mesiac narodenia";
|
||||
$map['birth_year'] = "Rok narodenia";
|
||||
$map['display_name'] = "Zobrazované meno";
|
||||
$map['fax_number'] = "Fax";
|
||||
$map['home_address'] = "Adresa domov";
|
||||
$map['home_country'] = "Štát domov";
|
||||
$map['home_zipcode'] = "PSČ domov";
|
||||
$map['mobile_number'] = "Mobil";
|
||||
$map['nickname'] = "Prezývka";
|
||||
$map['organization'] = "Organizácia";
|
||||
$map['pager_number'] = "Pager";
|
||||
$map['primary_email'] = "E-mailová adresa";
|
||||
$map['secondary_email'] = "Ďalšia e-mailová adresa";
|
||||
$map['web_page_1'] = "Webová stránka 1";
|
||||
$map['web_page_2'] = "Webová stránka 2";
|
||||
$map['work_phone'] = "Telefón do zamestnania";
|
||||
$map['work_address'] = "Pracovná adresa";
|
||||
$map['work_country'] = "Štát zamestnania";
|
||||
$map['work_zipcode'] = "PSČ zamestnania";
|
||||
$map['Výročie'] = 'anniversary';
|
||||
$map['Meno asistenta'] = 'assistant';
|
||||
$map['Telefón asistenta'] = 'phone:assistant';
|
||||
$map['Narodeniny'] = 'birthday';
|
||||
$map['Mesto (práca)'] = 'locality:work';
|
||||
$map['Krajina/oblasť (práca)'] = 'country:work';
|
||||
$map['Fax do práce'] = 'phone:workfax';
|
||||
$map['Telefón do práce'] = 'phone:work';
|
||||
$map['Telefón do práce 2'] = 'phone:work2';
|
||||
$map['PSČ (práca)'] = 'zipcode:work';
|
||||
$map['Okres (práca)'] = 'region:work';
|
||||
$map['Ulica (práca)'] = 'street:work';
|
||||
$map['Autotelefón'] = 'phone:car';
|
||||
$map['Kategórie'] = 'groups';
|
||||
$map['Spoločnosť'] = 'organization';
|
||||
$map['Oddelenie'] = 'department';
|
||||
$map['E-mailová adresa'] = 'email:other';
|
||||
$map['Krstné meno'] = 'firstname';
|
||||
$map['Pohlavie'] = 'gender';
|
||||
$map['Mesto (domov)'] = 'locality:home';
|
||||
$map['Krajina/oblasť (domov)'] = 'country:home';
|
||||
$map['Fax domov'] = 'phone:homefax';
|
||||
$map['Telefón domov'] = 'phone:home';
|
||||
$map['Telefón domov 2'] = 'phone:home2';
|
||||
$map['PSČ (domov)'] = 'zipcode:home';
|
||||
$map['Okres (domov)'] = 'region:home';
|
||||
$map['Ulica (domov)'] = 'street:home';
|
||||
$map['Funkcia'] = 'jobtitle';
|
||||
$map['Priezvisko'] = 'surname';
|
||||
$map['Meno manažéra'] = 'manager';
|
||||
$map['Ďalšie meno'] = 'middlename';
|
||||
$map['Mobilný telefón'] = 'phone:mobile';
|
||||
$map['Poznámky'] = 'notes';
|
||||
$map['Iné mesto'] = 'locality:other';
|
||||
$map['Krajina/oblasť (iné)'] = 'country:other';
|
||||
$map['Iný fax'] = 'phone:other';
|
||||
$map['Iný telefón'] = 'phone:other';
|
||||
$map['Iné PSČ'] = 'zipcode:other';
|
||||
$map['Krajina/oblasť (iné)'] = 'region:other';
|
||||
$map['Iná ulica'] = 'street:other';
|
||||
$map['Operátor'] = 'phone:pager';
|
||||
$map['Primárny telefón'] = 'phone:main';
|
||||
$map['Manžel(ka)'] = 'spouse';
|
||||
$map['Prípona'] = 'suffix';
|
||||
$map['Titul'] = 'prefix';
|
||||
$map['Webová stránka'] = 'website:homepage';
|
||||
$map['Deň narodenia'] = 'birthday-d';
|
||||
$map['Mesiac narodenia'] = 'birthday-m';
|
||||
$map['Rok narodenia'] = 'birthday-y';
|
||||
$map['Zobrazované meno'] = 'name';
|
||||
$map['Fax'] = 'phone:homefax';
|
||||
$map['Adresa domov'] = 'street:home';
|
||||
$map['Štát domov'] = 'country:home';
|
||||
$map['PSČ domov'] = 'zipcode:home';
|
||||
$map['Mobil'] = 'phone:mobile';
|
||||
$map['Prezývka'] = 'nickname';
|
||||
$map['Organizácia'] = 'organization';
|
||||
$map['Pager'] = 'phone:pager';
|
||||
$map['E-mailová adresa'] = 'email:home';
|
||||
$map['Ďalšia e-mailová adresa'] = 'email:other';
|
||||
$map['Webová stránka 1'] = 'website:homepage';
|
||||
$map['Webová stránka 2'] = 'website:other';
|
||||
$map['Telefón do zamestnania'] = 'phone:work';
|
||||
$map['Pracovná adresa'] = 'street:work';
|
||||
$map['Štát zamestnania'] = 'country:work';
|
||||
$map['PSČ zamestnania'] = 'zipcode:work';
|
||||
|
||||
@@ -16,75 +16,75 @@
|
||||
+-----------------------------------------------------------------------+
|
||||
*/
|
||||
$map = array();
|
||||
$map['anniversary'] = "紀念日";
|
||||
$map['assistants_name'] = "助理";
|
||||
$map['assistants_phone'] = "助理電話";
|
||||
$map['birthday'] = "生日";
|
||||
$map['business_city'] = "商務 - 市/鎮";
|
||||
$map['business_countryregion'] = "商務 - 國家/地區";
|
||||
$map['business_fax'] = "商務傳真";
|
||||
$map['business_phone'] = "商務電話";
|
||||
$map['business_phone_2'] = "商務電話 2";
|
||||
$map['business_postal_code'] = "商務 - 郵遞區號";
|
||||
$map['business_state'] = "商務 - 縣市";
|
||||
$map['business_street'] = "商務 - 街";
|
||||
$map['car_phone'] = "汽車電話";
|
||||
$map['categories'] = "類別";
|
||||
$map['company'] = "公司";
|
||||
$map['department'] = "部門";
|
||||
$map['email_address'] = "電子郵件地址";
|
||||
$map['first_name'] = "名字";
|
||||
$map['gender'] = "性別";
|
||||
$map['home_city'] = "住家 - 市/鎮";
|
||||
$map['home_countryregion'] = "住家 - 國家/地區";
|
||||
$map['home_fax'] = "住家傳真";
|
||||
$map['home_phone'] = "住家電話";
|
||||
$map['home_phone_2'] = "住家電話 2";
|
||||
$map['home_postal_code'] = "住家 - 郵遞區號";
|
||||
$map['home_state'] = "住家 - 縣/市";
|
||||
$map['home_street'] = "住家 - 街";
|
||||
$map['job_title'] = "職稱";
|
||||
$map['last_name'] = "姓氏";
|
||||
$map['managers_name'] = "主管名稱";
|
||||
$map['middle_name'] = "中間名";
|
||||
$map['mobile_phone'] = "行動電話";
|
||||
$map['notes'] = "記事";
|
||||
$map['other_city'] = "其他 - 市/鎮";
|
||||
$map['other_countryregion'] = "其他 - 國家/地區";
|
||||
$map['other_fax'] = "其他傳真";
|
||||
$map['other_phone'] = "其他電話";
|
||||
$map['other_postal_code'] = "其他 - 郵遞區號";
|
||||
$map['other_state'] = "其他 - 縣/市";
|
||||
$map['other_street'] = "其他 - 街";
|
||||
$map['pager'] = "呼叫器";
|
||||
$map['primary_phone'] = "代表電話";
|
||||
$map['spouse'] = "配偶";
|
||||
$map['suffix'] = "稱謂";
|
||||
$map['title'] = "頭銜";
|
||||
$map['web_page'] = "網頁";
|
||||
$map['last'] = "姓";
|
||||
$map['first'] = "名";
|
||||
$map['birth_day'] = "生日 (日)";
|
||||
$map['birth_month'] = "生日 (月)";
|
||||
$map['birth_year'] = "生日 (年)";
|
||||
$map['display_name'] = "顯示名稱";
|
||||
$map['fax_number'] = "傳真號碼";
|
||||
$map['home_address'] = "住家住址";
|
||||
$map['home_country'] = "居住國家";
|
||||
$map['home_zipcode'] = "住址郵遞區號";
|
||||
$map['mobile_number'] = "手機號碼";
|
||||
$map['nickname'] = "暱稱";
|
||||
$map['organization'] = "Organization";
|
||||
$map['pager_number'] = "呼叫器號碼";
|
||||
$map['primary_email'] = "主要 Email";
|
||||
$map['secondary_email'] = "次要 Email";
|
||||
$map['web_page_1'] = "網頁 1";
|
||||
$map['web_page_2'] = "網頁 2";
|
||||
$map['work_phone'] = "商務電話";
|
||||
$map['work_address'] = "商務地址";
|
||||
$map['work_country'] = "商務國家";
|
||||
$map['work_zipcode'] = "商務郵遞區號";
|
||||
$map['work_city'] = "商務市鎮";
|
||||
$map['work_state'] = "商務縣市";
|
||||
$map['home_city_short'] = "居住市鎮";
|
||||
$map['home_state_short'] = "居住縣市";
|
||||
$map['紀念日'] = 'anniversary';
|
||||
$map['助理'] = 'assistant';
|
||||
$map['助理電話'] = 'phone:assistant';
|
||||
$map['生日'] = 'birthday';
|
||||
$map['商務 - 市/鎮'] = 'locality:work';
|
||||
$map['商務 - 國家/地區'] = 'country:work';
|
||||
$map['商務傳真'] = 'phone:workfax';
|
||||
$map['商務電話'] = 'phone:work';
|
||||
$map['商務電話 2'] = 'phone:work2';
|
||||
$map['商務 - 郵遞區號'] = 'zipcode:work';
|
||||
$map['商務 - 縣市'] = 'region:work';
|
||||
$map['商務 - 街'] = 'street:work';
|
||||
$map['汽車電話'] = 'phone:car';
|
||||
$map['類別'] = 'groups';
|
||||
$map['公司'] = 'organization';
|
||||
$map['部門'] = 'department';
|
||||
$map['電子郵件地址'] = 'email:other';
|
||||
$map['名字'] = 'firstname';
|
||||
$map['性別'] = 'gender';
|
||||
$map['住家 - 市/鎮'] = 'locality:home';
|
||||
$map['住家 - 國家/地區'] = 'country:home';
|
||||
$map['住家傳真'] = 'phone:homefax';
|
||||
$map['住家電話'] = 'phone:home';
|
||||
$map['住家電話 2'] = 'phone:home2';
|
||||
$map['住家 - 郵遞區號'] = 'zipcode:home';
|
||||
$map['住家 - 縣/市'] = 'region:home';
|
||||
$map['住家 - 街'] = 'street:home';
|
||||
$map['職稱'] = 'jobtitle';
|
||||
$map['姓氏'] = 'surname';
|
||||
$map['主管名稱'] = 'manager';
|
||||
$map['中間名'] = 'middlename';
|
||||
$map['行動電話'] = 'phone:mobile';
|
||||
$map['記事'] = 'notes';
|
||||
$map['其他 - 市/鎮'] = 'locality:other';
|
||||
$map['其他 - 國家/地區'] = 'country:other';
|
||||
$map['其他傳真'] = 'phone:other';
|
||||
$map['其他電話'] = 'phone:other';
|
||||
$map['其他 - 郵遞區號'] = 'zipcode:other';
|
||||
$map['其他 - 縣/市'] = 'region:other';
|
||||
$map['其他 - 街'] = 'street:other';
|
||||
$map['呼叫器'] = 'phone:pager';
|
||||
$map['代表電話'] = 'phone:main';
|
||||
$map['配偶'] = 'spouse';
|
||||
$map['稱謂'] = 'suffix';
|
||||
$map['頭銜'] = 'prefix';
|
||||
$map['網頁'] = 'website:homepage';
|
||||
$map['姓'] = 'surname';
|
||||
$map['名'] = 'firstname';
|
||||
$map['生日 (日)'] = 'birthday-d';
|
||||
$map['生日 (月)'] = 'birthday-m';
|
||||
$map['生日 (年)'] = 'birthday-y';
|
||||
$map['顯示名稱'] = 'name';
|
||||
$map['傳真號碼'] = 'phone:homefax';
|
||||
$map['住家住址'] = 'street:home';
|
||||
$map['居住國家'] = 'country:home';
|
||||
$map['住址郵遞區號'] = 'zipcode:home';
|
||||
$map['手機號碼'] = 'phone:mobile';
|
||||
$map['暱稱'] = 'nickname';
|
||||
$map['Organization'] = 'organization';
|
||||
$map['呼叫器號碼'] = 'phone:pager';
|
||||
$map['主要 Email'] = 'email:home';
|
||||
$map['次要 Email'] = 'email:other';
|
||||
$map['網頁 1'] = 'website:homepage';
|
||||
$map['網頁 2'] = 'website:other';
|
||||
$map['商務電話'] = 'phone:work';
|
||||
$map['商務地址'] = 'street:work';
|
||||
$map['商務國家'] = 'country:work';
|
||||
$map['商務郵遞區號'] = 'zipcode:work';
|
||||
$map['商務市鎮'] = 'locality:work';
|
||||
$map['商務縣市'] = 'region:work';
|
||||
$map['居住市鎮'] = 'locality:home';
|
||||
$map['居住縣市'] = 'region:home';
|
||||
|
||||
@@ -101,4 +101,22 @@ class Csv2vcardTest extends TestCase
|
||||
|
||||
$this->assertSame($vcf_text, $vcard);
|
||||
}
|
||||
|
||||
public function test_import_all()
|
||||
{
|
||||
$csv_text = file_get_contents(TESTS_DIR . '/src/Csv2vcard/all.csv');
|
||||
$vcf_text = file_get_contents(TESTS_DIR . '/src/Csv2vcard/all.vcf');
|
||||
|
||||
$csv = new \rcube_csv2vcard();
|
||||
$csv->import($csv_text);
|
||||
$result = $csv->export();
|
||||
|
||||
$this->assertCount(1, $result);
|
||||
|
||||
$vcard = $result[0]->export(false);
|
||||
$vcf_text = trim(str_replace("\r\n", "\n", $vcf_text));
|
||||
$vcard = trim(str_replace("\r\n", "\n", $vcard));
|
||||
|
||||
$this->assertSame($vcf_text, $vcard);
|
||||
}
|
||||
}
|
||||
|
||||
2
tests/src/Csv2vcard/all.csv
Normal file
2
tests/src/Csv2vcard/all.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
Display Name,Title,First Name,Middle Name,Last Name,Suffix,Nickname,Company,Department,Job Title,Email Home,Email Work,Email Other,Home Phone,Home Phone 2,Business Phone,Business Phone 2,Home Mobile,Primary Phone,Home Fax,Business Fax,Car Phone,Pager,Phone Video,Assistant's Phone,Other Phone,Home Street,Home City,Home State,Home Zip,Home Country,Business Street,Work City,Work State,Work Zip,Work Country,Other Street,Other City,Other State,Other Postal Code,Other Country/Region,Gender,Birthday,Maiden Name,Anniversary,Manager's Name,Assistant's Name,Spouse,Notes,IM Aim,IM Icq,IM Jabber,IM Msn,IM Skype,IM Yahoo,Website Blog,Website Home Page,Website Other,Website Profile,Website Work,Categories
|
||||
Display Name,Prefix,First Name,Middle Name,Last Name,Suffix,Nickname,Company,Department,Job Title,home@example.com,work@example.com,other@example.com,100,200,300,400,500,600,700,800,900,111,222,333,444,Home Street,Home City,Home State,Home Zip,Home Country,Work Street,Work City,Work State,Work Zip,Work Country,Other Street,Other City,Other State,Other Zip,Other Country,female,20/01/1991,Maiden Name,20/02/1992,Manager,Assistant,Spouse,Notes,aim,icq,jabber,msn,skype,yahoo,https://blog,https://home,https://other,https://profile,https://work,test
|
||||
|
48
tests/src/Csv2vcard/all.vcf
Normal file
48
tests/src/Csv2vcard/all.vcf
Normal file
@@ -0,0 +1,48 @@
|
||||
BEGIN:VCARD
|
||||
VERSION:3.0
|
||||
FN:Display Name
|
||||
N:Last Name;First Name;Middle Name;Prefix;Suffix
|
||||
NICKNAME:Nickname
|
||||
ORG:Company
|
||||
X-DEPARTMENT:Department
|
||||
TITLE:Job Title
|
||||
EMAIL;TYPE=home:home@example.com
|
||||
EMAIL;TYPE=work:work@example.com
|
||||
EMAIL:other@example.com
|
||||
TEL;TYPE=home:100
|
||||
TEL;TYPE=home2:200
|
||||
TEL;TYPE=work:300
|
||||
TEL;TYPE=work2:400
|
||||
TEL;TYPE=cell:500
|
||||
TEL;TYPE=main:600
|
||||
TEL;TYPE=homefax:700
|
||||
TEL;TYPE=workfax:800
|
||||
TEL;TYPE=car:900
|
||||
TEL;TYPE=pager:111
|
||||
TEL;TYPE=video:222
|
||||
TEL;TYPE=assistant:333
|
||||
TEL:444
|
||||
X-GENDER:female
|
||||
BDAY;VALUE=date:1991-01-20
|
||||
X-MAIDENNAME:Maiden Name
|
||||
X-ANNIVERSARY;VALUE=date:1992-02-20
|
||||
X-MANAGER:Manager
|
||||
X-ASSISTANT:Assistant
|
||||
X-SPOUSE:Spouse
|
||||
NOTE:Notes
|
||||
X-AIM:aim
|
||||
X-ICQ:icq
|
||||
X-JABBER:jabber
|
||||
X-MSN:msn
|
||||
X-SKYPE-USERNAME:skype
|
||||
X-YAHOO:yahoo
|
||||
URL;TYPE=blog:https://blog
|
||||
URL;TYPE=homepage:https://home
|
||||
URL:https://other
|
||||
URL;TYPE=profile:https://profile
|
||||
URL;TYPE=work:https://work
|
||||
CATEGORIES:test
|
||||
ADR;TYPE=home:;;Home Street;Home City;Home State;Home Zip;Home Country
|
||||
ADR;TYPE=work:;;Work Street;Work City;Work State;Work Zip;Work Country
|
||||
ADR:;;Other Street;Other City;Other State;Other Zip;Other Country
|
||||
END:VCARD
|
||||
@@ -2,23 +2,23 @@ BEGIN:VCARD
|
||||
VERSION:3.0
|
||||
FN:test1@domain.tld
|
||||
N:;;;;
|
||||
EMAIL;TYPE=pref:test1@domain.tld
|
||||
EMAIL;TYPE=home:test1@domain.tld
|
||||
END:VCARD
|
||||
BEGIN:VCARD
|
||||
VERSION:3.0
|
||||
FN:test2@domain.tld
|
||||
N:;;;;
|
||||
EMAIL;TYPE=pref:test2@domain.tld
|
||||
EMAIL;TYPE=home:test2@domain.tld
|
||||
END:VCARD
|
||||
BEGIN:VCARD
|
||||
VERSION:3.0
|
||||
FN:test3@domain.tld
|
||||
N:;;;;
|
||||
EMAIL;TYPE=pref:test3@domain.tld
|
||||
EMAIL;TYPE=home:test3@domain.tld
|
||||
END:VCARD
|
||||
BEGIN:VCARD
|
||||
VERSION:3.0
|
||||
FN:test4@domain.tld
|
||||
N:;;;;
|
||||
EMAIL;TYPE=pref:test4@domain.tld
|
||||
EMAIL;TYPE=home:test4@domain.tld
|
||||
END:VCARD
|
||||
|
||||
@@ -11,7 +11,7 @@ EMAIL;TYPE=work:work@email.pl
|
||||
EMAIL:unknown@email.com
|
||||
EMAIL:other@email.com
|
||||
TEL;TYPE=pager:pager
|
||||
TEL;TYPE=pref:mainphone
|
||||
TEL;TYPE=main:mainphone
|
||||
TEL;TYPE=home:homephone
|
||||
TEL;TYPE=homefax:homefax
|
||||
TEL;TYPE=cell:mobile
|
||||
|
||||
@@ -2,7 +2,7 @@ BEGIN:VCARD
|
||||
VERSION:3.0
|
||||
FN:test1@domain.tld
|
||||
N:;;;;
|
||||
EMAIL;TYPE=pref:test1@domain.tld
|
||||
EMAIL:test1@domain.tld
|
||||
EMAIL:test2@domain.tld
|
||||
EMAIL:test3@domain.tld
|
||||
END:VCARD
|
||||
|
||||
@@ -3,11 +3,11 @@ VERSION:3.0
|
||||
FN:Displayname
|
||||
N:Lastname;Firstname;;;
|
||||
NICKNAME:Nick
|
||||
EMAIL;TYPE=pref:test@domain.tld
|
||||
EMAIL;TYPE=home:test@domain.tld
|
||||
EMAIL:next@domain.tld
|
||||
TEL;TYPE=work:phone work
|
||||
TEL;TYPE=home:phone home
|
||||
TEL;TYPE=fax:fax
|
||||
TEL;TYPE=homefax:fax
|
||||
TEL;TYPE=pager:pager
|
||||
TEL;TYPE=cell:mobile
|
||||
TITLE:title
|
||||
|
||||
Reference in New Issue
Block a user