Mark strings for localization. http://mosquito.wordpress.org/view.php?id=1272 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9d12ebaed3
commit
db7f896a2f
|
@ -39,7 +39,7 @@ if ( $scheduled = $wpdb->get_results("SELECT ID, post_title, post_date_gmt FROM
|
||||||
foreach ($scheduled as $post) {
|
foreach ($scheduled as $post) {
|
||||||
if ($post->post_title == '')
|
if ($post->post_title == '')
|
||||||
$post->post_title = sprintf(__('Post #%s'), $post->ID);
|
$post->post_title = sprintf(__('Post #%s'), $post->ID);
|
||||||
echo "<li><a href='post.php?action=edit&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>";
|
echo "<li>" . sprintf(__('%1$s in %2$s'), "<a href='post.php?action=edit&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>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -17,7 +17,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<title>WordPress › Installation</title>
|
<title><?php _e('WordPress › Installation'); ?></title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<style media="screen" type="text/css">
|
<style media="screen" type="text/css">
|
||||||
<!--
|
<!--
|
||||||
|
|
Loading…
Reference in New Issue