summaryrefslogtreecommitdiffstats
path: root/wp-admin/wpmu-users.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-19 15:43:50 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-19 15:43:50 +0000
commitc4f2b6b421f317f1f28251512dfc67035f63397e (patch)
tree5ff05214cd4810974f2eac747454fd17da666b38 /wp-admin/wpmu-users.php
parentf11e46062c5d7ff9d0aee8947fd5978d39e7119c (diff)
downloadwordpress-mu-c4f2b6b421f317f1f28251512dfc67035f63397e.tar.gz
wordpress-mu-c4f2b6b421f317f1f28251512dfc67035f63397e.tar.xz
wordpress-mu-c4f2b6b421f317f1f28251512dfc67035f63397e.zip
Language strings (#18)
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@687 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-users.php')
-rw-r--r--wp-admin/wpmu-users.php38
1 files changed, 19 insertions, 19 deletions
diff --git a/wp-admin/wpmu-users.php b/wp-admin/wpmu-users.php
index 78204e0..f9ccb13 100644
--- a/wp-admin/wpmu-users.php
+++ b/wp-admin/wpmu-users.php
@@ -48,7 +48,7 @@ if (isset($_GET['updated'])) {
print '<div class="wrap">';
switch( $_GET[ 'action' ] ) {
case "edit":
- print "<h2>Edit User</h2>";
+ print "<h2>".__('Edit User')."</h2>";
$options_table_name = $wpmuBaseTablePrefix . $_GET[ 'id' ] ."_options";
$query = "SELECT *
FROM ".$wpdb->users."
@@ -77,7 +77,7 @@ switch( $_GET[ 'action' ] ) {
</table>
</td><td valign='top'>
<table width="100%" cellspacing="2" cellpadding="5" class="editform">
- <tr><th style='text-align: left'>Name</th><th style='text-align: left'>Value</th><th style='text-align: left'>Delete</th></tr>
+ <tr><th style='text-align: left'><?php _e('Name') ?></th><th style='text-align: left'><?php _e('Value') ?></th><th style='text-align: left'><?php _e('Delete') ?></th></tr>
<?php
while( list( $key, $val ) = each( $usermetadetails ) ) {
if( substr( $val[ 'meta_key' ], -12 ) == 'capabilities' )
@@ -155,7 +155,7 @@ switch( $_GET[ 'action' ] ) {
</fieldset>
<?php
if( isset($_GET[ 's' ]) && $_GET[ 's' ] != '' ) {
- ?><a href="/wp-admin/wpmu-blogs.php?action=blogs&s=<?php echo wp_specialchars($_GET[ 's' ], 1) ?>">Search Blogs: <?php echo wp_specialchars($_GET[ 's' ], 1) ?></a><?php
+ ?><a href="/wp-admin/wpmu-blogs.php?action=blogs&s=<?php echo wp_specialchars($_GET[ 's' ], 1) ?>"><?php _e('Search Blogs:') ?> <?php echo wp_specialchars($_GET[ 's' ], 1) ?></a><?php
}
?>
</td><td>
@@ -166,16 +166,16 @@ switch( $_GET[ 'action' ] ) {
$url2 = "order=" . $_GET[ 'order' ] . "&sortby=" . $_GET[ 'sortby' ] . "&s=" .$_GET[ 's' ];
if( $start == 0 ) {
- echo 'Previous&nbsp;Users';
+ _e('Previous&nbsp;Users');
} elseif( $start <= 30 ) {
- echo '<a href="wpmu-users.php?start=0' . $url2 . '">Previous&nbsp;Users</a>';
+ echo '<a href="wpmu-users.php?start=0' . $url2 . '">'.__('Previous&nbsp;Users').'</a>';
} else {
- echo '<a href="wpmu-users.php?start=' . ( $start - $num ) . '&' . $url2 . '">Previous&nbsp;Users</a>';
+ echo '<a href="wpmu-users.php?start=' . ( $start - $num ) . '&' . $url2 . '">'.__('Previous&nbsp;Users').'</a>';
}
if ( $next ) {
- echo '&nbsp;||&nbsp;<a href="wpmu-users.php?start=' . ( $start + $num ) . '&' . $url2 . '">Next&nbsp;Users</a>';
+ echo '&nbsp;||&nbsp;<a href="wpmu-users.php?start=' . ( $start + $num ) . '&' . $url2 . '">'.__('Next&nbsp;Users').'</a>';
} else {
- echo '&nbsp;||&nbsp;Next&nbsp;Users';
+ echo '&nbsp;||&nbsp;'.__('Next&nbsp;Users');
}
?>
</fieldset>
@@ -212,20 +212,20 @@ function check_all_rows() {
if( field[i].name == 'allusers[]' )
field[i].checked = true;}
checkflag = "true";
- return "Uncheck All";
+ return "<?php _e('Uncheck All') ?>";
} else {
for (i = 0; i < field.length; i++) {
if( field[i].name == 'allusers[]' )
field[i].checked = false; }
checkflag = "false";
- return "Check All";
+ return "<?php _e('Check All') ?>";
}
}
// -->
</script>
<form name='formlist' action='wpmu-users.php?action=allusers' method='POST'>
-<input type=button value="Check All" onClick="this.value=check_all_rows()">
+<input type=button value="<?php _e('Check All') ?>" onClick="this.value=check_all_rows()">
<table width="100%" cellpadding="3" cellspacing="3">
<tr>
@@ -287,7 +287,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
print '<a href="wpmu-blogs.php?action=editblog&id=' . $val->userblog_id . '">' . str_replace( '.' . $current_site->domain, '', $val->domain ) . '</a> (<a ';
if( get_blog_status( $val->userblog_id, 'spam' ) == 1 )
print 'style="background-color: #f66" ';
- print 'target="_new" href="http://'.$val->domain . $val->path.'">View</a>)<BR>';
+ print 'target="_new" href="http://'.$val->domain . $val->path.'">' . __('View') . '</a>)<BR>';
} ?></td>
<?php
break;
@@ -324,11 +324,11 @@ foreach($posts_columns as $column_name=>$column_display_name) {
} // end if ($users)
?>
</table>
-<p>Selected Users:<ul>
-<li><input type='radio' name='userfunction' id='delete' value='delete'> <label for='delete'>Delete</label></li>
-<li><input type='radio' name='userfunction' id='spam' value='spam'> <label for='spam'>Mark as Spammers</label></li>
+<p><?php _e('Selected Users:') ?><ul>
+<li><input type='radio' name='userfunction' id='delete' value='delete'> <label for='delete'><?php _e('Delete') ?></label></li>
+<li><input type='radio' name='userfunction' id='spam' value='spam'> <label for='spam'><?php _e('Mark as Spammers') ?></label></li>
</ul>
-<input type='submit' value='Apply Changes'></p>
+<input type='submit' value='<?php __('Apply Changes') ?>'></p>
</form>
<?php
@@ -340,10 +340,10 @@ foreach($posts_columns as $column_name=>$column_display_name) {
<h2><?php _e('Add User') ?></h2>
<?php wp_nonce_field('add-user') ?>
<table>
-<tr><th scope='row'>Username</th><td><input type="text" name="user[username]" /></td></tr>
-<tr><th scope='row'>Email</th><td><input type="text" name="user[email]" /></td></tr>
+<tr><th scope='row'><?php _e('Username') ?></th><td><input type="text" name="user[username]" /></td></tr>
+<tr><th scope='row'><?php _e('Email') ?></th><td><input type="text" name="user[email]" /></td></tr>
</table>
-<input type="submit" name="Add user" value="Add user" />
+<input type="submit" name="Add user" value="<?php _e('Add user') ?>" />
</form>
</div>
<?php include('admin-footer.php'); ?>