Mark strings for translation.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-04-24 00:16:27 +00:00
parent f04f67cadd
commit 5a7df4bc27
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<p align="center" style="width: 100%" class="tabletoprow"><?php printf(__('<strong><a href="%s">WordPress</a></strong> %s &#8212; <a href="%s">Support Forums</a><br />'), 'http://wordpress.org', $wp_version, 'http://wordpress.org/support/') ?>
<p align="center" style="width: 100%" class="tabletoprow"><?php printf(__('<strong><a href="%1$s">WordPress</a></strong> %2$s &#8212; <a href="%3$s">Support Forums</a><br />'), 'http://wordpress.org', $wp_version, 'http://wordpress.org/support/') ?>
<?php
printf(__('%s seconds'), number_format(timer_stop(), 2));
?>

View File

@ -528,7 +528,7 @@ When you&#8217;re promoted, just reload this page and you&#8217;ll be able to bl
$authordata = get_userdata($postdata['Author_ID']);
if ($user_level < $authordata->user_level)
die (sprintf(__('You don&#8217;t have the right to delete <strong>%s</strong>&#8217;s post comments. <a href="%s">Go back</a>!'), $authordata->user_nickname, 'post.php'));
die (sprintf(__('You don&#8217;t have the right to delete <strong>%1$s</strong>&#8217;s post comments. <a href="%2$s">Go back</a>!'), $authordata->user_nickname, 'post.php'));
wp_set_comment_status($comment, "delete");
do_action('delete_comment', $comment);

View File

@ -39,7 +39,7 @@ case '':
}
$i = implode(', ', $type_tags);
?>
<p><?php printf(__('You can upload files with the extension %s as long as they are no larger than %s <abbr title="Kilobytes">KB</abbr>. If you&#8217;re an admin you can configure these values under <a href="%s">options</a>.'), $i, get_settings('fileupload_maxk'), 'options-misc.php') ?></p>
<p><?php printf(__('You can upload files with the extension %1$s as long as they are no larger than %2$s <abbr title="Kilobytes">KB</abbr>. If you&#8217;re an admin you can configure these values under <a href="%3$s">options</a>.'), $i, get_settings('fileupload_maxk'), 'options-misc.php') ?></p>
<form action="upload.php" method="post" enctype="multipart/form-data">
<p>
<label for="img1"><?php _e('File:') ?></label>
@ -94,7 +94,7 @@ case 'upload':
$imgtype = strtolower($imgtype[count($imgtype)-1]);
if (in_array($imgtype, $allowed_types) == false) {
die(sprintf(__("File %s of type %s is not allowed.") , $img1_name, $imgtype));
die(sprintf(__('File %1$s of type %2$s is not allowed.') , $img1_name, $imgtype));
}
if (strlen($imgalt)) {
@ -140,7 +140,7 @@ case 'upload':
?>
<p><strong><?php __('Duplicate File?') ?></strong></p>
<p><b><em><?php printf(__("The filename '%s' already exists!"), $img1_name); ?></em></b></p>
<p> <?php printf(__("Filename '%s' moved to '%s'"), $img1, "$pathtofile2 - $img2_name") ?></p>
<p> <?php printf(__("Filename '%1\$s' moved to '%2\$s'"), $img1, "$pathtofile2 - $img2_name") ?></p>
<p><?php _e('Confirm or rename:') ?></p>
<form action="upload.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo get_settings('fileupload_maxk') *1024 ?>" />