Skip to content

Commit

Permalink
remove unwanted label
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoh committed Jun 16, 2024
1 parent 9c051f8 commit d0e46b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions program/actions/contacts/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,10 +381,10 @@ public static function import_map($attrib)
for ($i = 0; $i < count($field['subtypes']); $i++) {
if (!empty($field['childs'])) {
foreach ($field['childs'] as $cid => $child) {
$available_fields[$cid . ':' . $field['subtypes'][$i]] = $rcmail->gettext(['name' => 'contactaddressfieldtype', 'vars' => ['field' => $child['label'], 'subtype' => $subtype_names[$i]]]);
$available_fields[$cid . ':' . $field['subtypes'][$i]] = $child['label'] . ' - ' . $subtype_names[$i];
}
} else {
$available_fields[$id . ':' . $field['subtypes'][$i]] = $rcmail->gettext(['name' => 'contactfieldsubtype', 'vars' => ['field' => $field['label'], 'subtype' => $subtype_names[$i]]]);
$available_fields[$id . ':' . $field['subtypes'][$i]] = $field['label'] . ' - ' . $subtype_names[$i];
}
}
} else {
Expand Down
2 changes: 0 additions & 2 deletions program/localization/en_US/labels.inc
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,6 @@ $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['contactfieldsubtype'] = '$field $subtype';
$labels['contactaddressfieldtype'] = '$subtype $field';
$labels['birth_day'] = 'Birth Day';
$labels['birth_month'] = 'Birth Month';
$labels['birth_year'] = 'Birth Year';
Expand Down

0 comments on commit d0e46b7

Please sign in to comment.