Make WordPress Core


Ignore:
Timestamp:
04/22/2005 12:16:48 AM (21 years ago)
Author:
ryan
Message:

Mark strings for localization. http://mosquito.wordpress.org/view.php?id=1272 Props: nbachiyski

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/index.php

    r2471 r2570  
    4040    if ($post->post_title == '')
    4141        $post->post_title = sprintf(__('Post #%s'), $post->ID);
    42     echo "<li><a href='post.php?action=edit&amp;post=$post->ID' title='" . __('Edit this post') . "'>$post->post_title</a> in " . human_time_diff( current_time('timestamp', 1), strtotime($post->post_date_gmt. ' GMT') )  . "</li>";
     42    echo "<li>" . sprintf(__('%1$s in %2$s'), "<a href='post.php?action=edit&amp;post=$post->ID' title='" . __('Edit this post') . "'>$post->post_title</a>", human_time_diff( current_time('timestamp', 1), strtotime($post->post_date_gmt. ' GMT') ))  . "</li>";
    4343}
    4444?>
Note: See TracChangeset for help on using the changeset viewer.