Changeset a3b9e4e in github
- Timestamp:
- Feb 27, 2011 8:51:46 AM (2 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 7835e2d
- Parents:
- 0fbadeb
- Files:
-
- 4 edited
-
CHANGELOG (modified) (1 diff)
-
program/localization/de_CH/messages.inc (modified) (1 diff)
-
program/localization/en_US/messages.inc (modified) (1 diff)
-
program/steps/addressbook/import.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
re6bb836 ra3b9e4e 2 2 =========================== 3 3 4 - Better display of vcard import results (#1485457) 5 - Improved vcard import 4 6 - Interactive update script with improved DB schema check 5 7 - jQuery 1.5.1 -
program/localization/de_CH/messages.inc
rea23df6 ra3b9e4e 108 108 $messages['importwait'] = 'Daten werden importiert, bitte warten...'; 109 109 $messages['importerror'] = 'Import fehlgeschlagen! Die hochgeladene Datei ist nicht im vCard-Format.'; 110 $messages['importconfirm'] = '<b>Es wurden $inserted Adressen erfolgreich importiert und $skipped bestehende EintrÀge Ìbersprungen</b>:<p><em>$names</em></p>'; 110 $messages['importconfirm'] = '<b>Es wurden $inserted Adressen erfolgreich importiert</b>'; 111 $messages['importconfirmskipped'] = '<b>$skipped bestehende EintrÀge wurden Ìbersprungen</b>'; 111 112 $messages['opnotpermitted'] = 'Operation nicht erlaubt!'; 112 113 $messages['nofromaddress'] = 'Fehlende E-Mail-Adresse in ausgewÀhlter IdentitÀt'; -
program/localization/en_US/messages.inc
r0501b63 ra3b9e4e 108 108 $messages['importwait'] = 'Importing, please wait...'; 109 109 $messages['importerror'] = 'Import failed! The uploaded file is not a valid vCard file.'; 110 $messages['importconfirm'] = '<b>Successfully imported $inserted contacts, $skipped existing entries skipped</b>:<p><em>$names</em></p>'; 110 $messages['importconfirm'] = '<b>Successfully imported $inserted contacts</b>'; 111 $messages['importconfirmskipped'] = '<b>Skipped $skipped existing entries</b>'; 111 112 $messages['opnotpermitted'] = 'Operation not permitted!'; 112 113 $messages['nofromaddress'] = 'Missing e-mail address in selected identity'; -
program/steps/addressbook/import.inc
r0fbadeb ra3b9e4e 63 63 64 64 $vars = get_object_vars($IMPORT_STATS); 65 $vars['names'] = join(', ', array_map('Q', $IMPORT_STATS->names)); 66 67 return html::p($attrib, Q(rcube_label(array( 68 'name' => 'importconfirm', 69 'nr' => $IMORT_STATS->inserted, 70 'vars' => $vars, 71 )), 'show')); 65 $vars['names'] = $vars['skipped_names'] = ''; 66 67 $content = html::p(null, rcube_label(array( 68 'name' => 'importconfirm', 69 'nr' => $IMORT_STATS->inserted, 70 'vars' => $vars, 71 )) . ($IMPORT_STATS->names ? ':' : '.')); 72 73 if ($IMPORT_STATS->names) 74 $content .= html::p('em', join(', ', array_map('Q', $IMPORT_STATS->names))); 75 76 if ($IMPORT_STATS->skipped) { 77 $content .= html::p(null, rcube_label(array( 78 'name' => 'importconfirmskipped', 79 'nr' => $IMORT_STATS->skipped, 80 'vars' => $vars, 81 )) . ':'); 82 $content .= html::p('em', join(', ', array_map('Q', $IMPORT_STATS->skipped_names))); 83 } 84 85 return html::div($attrib, $content); 72 86 } 73 87 … … 121 135 $IMPORT_STATS = new stdClass; 122 136 $IMPORT_STATS->names = array(); 137 $IMPORT_STATS->skipped_names = array(); 123 138 $IMPORT_STATS->count = count($vcards); 124 139 $IMPORT_STATS->inserted = $IMPORT_STATS->skipped = $IMPORT_STATS->nomail = $IMPORT_STATS->errors = 0; … … 147 162 if ($existing->count) { 148 163 $IMPORT_STATS->skipped++; 164 $IMPORT_STATS->skipped_names[] = $vcard->displayname; 149 165 continue; 150 166 }
Note: See TracChangeset
for help on using the changeset viewer.
