Changeset 1501:6885aa3f7dc2
- Timestamp:
- 08/21/13 00:47:49 (10 years ago)
- Branch:
- default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
locales/en/plugins.po
r1499 r1501 280 280 msgstr "" 281 281 282 msgid "Attachments (%d)" 283 msgstr "" 284 282 285 msgid "remove" 283 286 msgstr "" -
locales/fr/plugins.po
r1499 r1501 301 301 msgstr "Annexes" 302 302 303 msgid "Attachments (%d)" 304 msgstr "Annexes (%s)" 305 303 306 msgid "remove" 304 307 msgstr "supprimer" -
plugins/attachments/_admin.php
r1468 r1501 29 29 $core =& $GLOBALS['core']; 30 30 $post_media = $core->media->getPostMedia($post->post_id); 31 $item = '<h5 class="clear s-attachments">'.__('Attachments').'</h5>'; 31 $nb_media = count($post_media); 32 $title = !$nb_media ? __('Attachments') : sprintf(__('Attachments (%d)'),$nb_media); 33 $item = '<h5 class="clear s-attachments">'.$title.'</h5>'; 32 34 foreach ($post_media as $f) 33 35 {
Note: See TracChangeset
for help on using the changeset viewer.