Changeset 3069 in subversion
- Timestamp:
- Oct 28, 2009 12:16:09 PM (4 years ago)
- Location:
- trunk/roundcubemail/plugins
- Files:
-
- 6 added
- 1 edited
-
archive/localization/ru_RU.inc (added)
-
vcard_attachments/localization (added)
-
vcard_attachments/localization/de_CH.inc (added)
-
vcard_attachments/localization/de_DE.inc (added)
-
vcard_attachments/localization/en_US.inc (added)
-
vcard_attachments/localization/ru_RU.inc (added)
-
vcard_attachments/vcard_attachments.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/plugins/vcard_attachments/vcard_attachments.php
r2847 r3069 36 36 $this->vcard_part = $attachment->mime_id; 37 37 } 38 39 if ($this->vcard_part) 40 $this->add_texts('localization'); 38 41 } 39 42 … … 58 61 'href' => "#", 59 62 'onclick' => "return plugin_vcard_save_contact('".JQ($this->vcard_part)."')", 60 'title' => "Save contact in local address book"), // TODO: localize this title63 'title' => $this->gettext('addvardmsg')), 61 64 html::img(array('src' => $this->url('vcard_add_contact.png'), 'align' => "middle"))) 62 65 . ' ' . html::span(null, Q($display))); … … 74 77 function save_vcard() 75 78 { 79 $this->add_texts('localization', true); 80 76 81 $uid = get_input_value('_uid', RCUBE_INPUT_POST); 77 82 $mbox = get_input_value('_mbox', RCUBE_INPUT_POST); … … 81 86 $part = $uid && $mime_id ? $rcmail->imap->get_message_part($uid, $mime_id) : null; 82 87 83 $error_msg = 'Failed to saved vcard'; // TODO: localize this text88 $error_msg = $this->gettext('vcardsavefailed'); 84 89 85 90 if ($part && ($vcard = new rcube_vcard($part)) && $vcard->displayname && $vcard->email) { … … 112 117 $rcmail->output->send(); 113 118 } 114 115 119 }
Note: See TracChangeset
for help on using the changeset viewer.
