<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[13771] trunk/wp-admin: MS admin string improvements.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/13771">13771</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2010-03-19 22:09:34 +0000 (Fri, 19 Mar 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>MS admin string improvements. fixes <a href="http://trac.wordpress.org/ticket/12436">#12436</a>, props mrmist.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminmsoptionsphp">trunk/wp-admin/ms-options.php</a></li>
<li><a href="#trunkwpadminmsthemesphp">trunk/wp-admin/ms-themes.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminmsoptionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-options.php (13770 => 13771)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-options.php        2010-03-19 21:29:21 UTC (rev 13770)
+++ trunk/wp-admin/ms-options.php        2010-03-19 22:09:34 UTC (rev 13771)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> if ( !is_multisite() )
</span><span class="cx">         wp_die( __('Multisite support is not enabled.') );
</span><span class="cx"> 
</span><del>-$title = __('Options');
</del><ins>+$title = __('Network Options');
</ins><span class="cx"> $parent_file = 'ms-admin.php';
</span><span class="cx"> 
</span><span class="cx"> include('admin-header.php');
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx">                                 &lt;td&gt;
</span><span class="cx">                                         &lt;input name=&quot;admin_email&quot; type=&quot;text&quot; id=&quot;admin_email&quot; style=&quot;width: 95%&quot; value=&quot;&lt;?php echo esc_attr( get_site_option('admin_email') ) ?&gt;&quot; size=&quot;45&quot; /&gt;
</span><span class="cx">                                         &lt;br /&gt;
</span><del>-                                        &lt;?php printf( __( 'Registration and support mails will come from this address. Make it generic like &quot;support@%s&quot;' ), $current_site-&gt;domain ); ?&gt;
</del><ins>+                                        &lt;?php printf( __( 'Registration and support emails will come from this address. An address such as &quot;support@%s&quot; is recommended.' ), $current_site-&gt;domain ); ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><span class="cx">                         &lt;/tr&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -67,7 +67,7 @@
</span><span class="cx">                                         &lt;input name=&quot;dashboard_blog_orig&quot; type=&quot;hidden&quot; id=&quot;dashboard_blog_orig&quot; value=&quot;&lt;?php echo esc_attr($blogname); ?&gt;&quot; /&gt;
</span><span class="cx">                                         &lt;input name=&quot;dashboard_blog&quot; type=&quot;text&quot; id=&quot;dashboard_blog&quot; value=&quot;&lt;?php echo esc_attr($blogname); ?&gt;&quot; size=&quot;30&quot; /&gt;
</span><span class="cx">                                         &lt;br /&gt;
</span><del>-                                        &lt;?php _e( &quot;Blogname ('dashboard', 'control', 'manager', etc) or blog id.&lt;br /&gt;New users are added to this site as subscribers (or the user role defined below) if they don't have a site. Leave blank for the main site. 'Subscriber' users on old site will be moved to the new site if changed. New site will be created if it does not exist.&quot; ); ?&gt;
</del><ins>+                                        &lt;?php _e( &quot;Blogname ('dashboard', 'control', 'manager', etc) or blog id.&lt;br /&gt;New users are added to this site as subscribers (or the user role defined below) if they don't have a site. Leave blank for the main site. 'Subscriber' users on old site will be moved to the new site if changed. The new site will be created if it does not exist.&quot; ); ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><span class="cx">                         &lt;/tr&gt;
</span><span class="cx">                         &lt;tr valign=&quot;top&quot;&gt;
</span><span class="lines">@@ -78,7 +78,7 @@
</span><span class="cx">                                         ?&gt;
</span><span class="cx">                                         &lt;/select&gt;
</span><span class="cx">                                         &lt;br /&gt;
</span><del>-                                        &lt;?php _e( &quot;The default role for new users on the Dashboard site. This should probably be 'Subscriber' or maybe 'Contributor'.&quot; ); ?&gt;
</del><ins>+                                        &lt;?php _e( &quot;The default role for new users on the Dashboard site. 'Subscriber' or 'Contributor' roles are recommended.&quot; ); ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><span class="cx">                         &lt;/tr&gt;
</span><span class="cx">                         &lt;tr valign=&quot;top&quot;&gt;
</span><span class="lines">@@ -128,7 +128,7 @@
</span><span class="cx">                                         &lt;a name='addnewusers'&gt;&lt;/a&gt;
</span><span class="cx">                                         &lt;input name=&quot;add_new_users&quot; type=&quot;radio&quot; id=&quot;add_new_users1&quot; value='1' &lt;?php checked( get_site_option('add_new_users'), 1 ) ?&gt; /&gt; &lt;?php _e('Yes'); ?&gt;&lt;br /&gt;
</span><span class="cx">                                         &lt;input name=&quot;add_new_users&quot; type=&quot;radio&quot; id=&quot;add_new_users2&quot; value='0' &lt;?php checked( get_site_option('add_new_users'), 0 ) ?&gt; /&gt; &lt;?php _e('No'); ?&gt;&lt;br /&gt;
</span><del>-                                        &lt;?php _e('Allow site administrators to add new users to their site via the Users-&gt;Add New page.') ?&gt;
</del><ins>+                                        &lt;?php _e('Allow site administrators to add new users to their site via the &quot;Users-&gt;Add New&quot; page.') ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><span class="cx">                         &lt;/tr&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -148,7 +148,7 @@
</span><span class="cx">                                         $limited_email_domains = str_replace( ' ', &quot;\n&quot;, $limited_email_domains ); ?&gt;
</span><span class="cx">                                         &lt;textarea name=&quot;limited_email_domains&quot; id=&quot;limited_email_domains&quot; cols='40' rows='5'&gt;&lt;?php echo $limited_email_domains == '' ? '' : @implode( &quot;\n&quot;, $limited_email_domains ); ?&gt;&lt;/textarea&gt;
</span><span class="cx">                                         &lt;br /&gt;
</span><del>-                                        &lt;?php _e('If you want to limit site registrations to certain domains. One domain per line.') ?&gt;
</del><ins>+                                        &lt;?php _e('If you want to limit site registrations to certain domains. Enter one domain per line.') ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><span class="cx">                         &lt;/tr&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -157,7 +157,7 @@
</span><span class="cx">                                 &lt;td&gt;
</span><span class="cx">                                         &lt;textarea name=&quot;banned_email_domains&quot; id=&quot;banned_email_domains&quot; cols='40' rows='5'&gt;&lt;?php echo get_site_option('banned_email_domains') == '' ? '' : @implode( &quot;\n&quot;, get_site_option('banned_email_domains') ); ?&gt;&lt;/textarea&gt;
</span><span class="cx">                                         &lt;br /&gt;
</span><del>-                                        &lt;?php _e('If you want to ban certain email domains from site registrations. One domain per line.') ?&gt;
</del><ins>+                                        &lt;?php _e('If you want to ban domains from site registrations. Enter one domain per line.') ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><span class="cx">                         &lt;/tr&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -186,7 +186,7 @@
</span><span class="cx">                                 &lt;td&gt;
</span><span class="cx">                                         &lt;textarea name=&quot;first_post&quot; id=&quot;first_post&quot; rows='5' cols='45' style=&quot;width: 95%&quot;&gt;&lt;?php echo stripslashes( get_site_option('first_post') ) ?&gt;&lt;/textarea&gt;
</span><span class="cx">                                         &lt;br /&gt;
</span><del>-                                        &lt;?php _e('First post on a new site.') ?&gt;
</del><ins>+                                        &lt;?php _e('The first post on a new site.') ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><span class="cx">                         &lt;/tr&gt;
</span><span class="cx">                         &lt;tr valign=&quot;top&quot;&gt;
</span><span class="lines">@@ -194,7 +194,7 @@
</span><span class="cx">                                 &lt;td&gt;
</span><span class="cx">                                         &lt;textarea name=&quot;first_page&quot; id=&quot;first_page&quot; rows='5' cols='45' style=&quot;width: 95%&quot;&gt;&lt;?php echo stripslashes( get_site_option('first_page') ) ?&gt;&lt;/textarea&gt;
</span><span class="cx">                                         &lt;br /&gt;
</span><del>-                                        &lt;?php _e('First page on a new site.') ?&gt;
</del><ins>+                                        &lt;?php _e('The first page on a new site.') ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><span class="cx">                         &lt;/tr&gt;
</span><span class="cx">                         &lt;tr valign=&quot;top&quot;&gt;
</span><span class="lines">@@ -202,7 +202,7 @@
</span><span class="cx">                                 &lt;td&gt;
</span><span class="cx">                                         &lt;textarea name=&quot;first_comment&quot; id=&quot;first_comment&quot; rows='5' cols='45' style=&quot;width: 95%&quot;&gt;&lt;?php echo stripslashes( get_site_option('first_comment') ) ?&gt;&lt;/textarea&gt;
</span><span class="cx">                                         &lt;br /&gt;
</span><del>-                                        &lt;?php _e('First comment on a new site.') ?&gt;
</del><ins>+                                        &lt;?php _e('The first comment on a new site.') ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><span class="cx">                         &lt;/tr&gt;
</span><span class="cx">                         &lt;tr valign=&quot;top&quot;&gt;
</span><span class="lines">@@ -210,7 +210,7 @@
</span><span class="cx">                                 &lt;td&gt;
</span><span class="cx">                                         &lt;input type=&quot;text&quot; size='40' name=&quot;first_comment_author&quot; id=&quot;first_comment_author&quot; value=&quot;&lt;?php echo get_site_option('first_comment_author') ?&gt;&quot; /&gt;
</span><span class="cx">                                         &lt;br /&gt;
</span><del>-                                        &lt;?php _e('Author of first comment on a new site.') ?&gt;
</del><ins>+                                        &lt;?php _e('The author of the first comment on a new site.') ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><span class="cx">                         &lt;/tr&gt;
</span><span class="cx">                         &lt;tr valign=&quot;top&quot;&gt;
</span><span class="lines">@@ -218,7 +218,7 @@
</span><span class="cx">                                 &lt;td&gt;
</span><span class="cx">                                         &lt;input type=&quot;text&quot; size='40' name=&quot;first_comment_url&quot; id=&quot;first_comment_url&quot; value=&quot;&lt;?php echo esc_attr(get_site_option('first_comment_url')) ?&gt;&quot; /&gt;
</span><span class="cx">                                         &lt;br /&gt;
</span><del>-                                        &lt;?php _e('URL on first comment on a new site.') ?&gt;
</del><ins>+                                        &lt;?php _e('The URL for the first comment on a new site.') ?&gt;
</ins><span class="cx">                                 &lt;/td&gt;
</span><span class="cx">                         &lt;/tr&gt;
</span><span class="cx">                 &lt;/table&gt;
</span></span></pre></div>
<a id="trunkwpadminmsthemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/ms-themes.php (13770 => 13771)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/ms-themes.php        2010-03-19 21:29:21 UTC (rev 13770)
+++ trunk/wp-admin/ms-themes.php        2010-03-19 22:09:34 UTC (rev 13771)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> require_once('admin.php');
</span><span class="cx"> 
</span><del>-$title = __('WordPress &amp;rsaquo; Admin &amp;rsaquo; Themes');
</del><ins>+$title = __('Network Themes');
</ins><span class="cx"> $parent_file = 'ms-admin.php';
</span><span class="cx"> require_once('admin-header.php');
</span><span class="cx"> 
</span><span class="lines">@@ -20,8 +20,8 @@
</span><span class="cx"> &lt;div class=&quot;wrap&quot;&gt;
</span><span class="cx">         &lt;form action='ms-edit.php?action=updatethemes' method='post'&gt;
</span><span class="cx">                 &lt;?php screen_icon(); ?&gt;
</span><del>-                &lt;h2&gt;&lt;?php _e('Site Themes') ?&gt;&lt;/h2&gt;
-                &lt;p&gt;&lt;?php _e('Disable themes site-wide. You can enable themes on a site by site basis.') ?&gt;&lt;/p&gt;
</del><ins>+                &lt;h2&gt;&lt;?php _e('Network Themes') ?&gt;&lt;/h2&gt;
+                &lt;p&gt;&lt;?php _e('Disable themes network-wide. You can enable themes on a site by site basis.') ?&gt;&lt;/p&gt;
</ins><span class="cx">                 &lt;table class=&quot;widefat&quot;&gt;
</span><span class="cx">                         &lt;thead&gt;
</span><span class="cx">                                 &lt;tr&gt;
</span></span></pre>
</div>
</div>

</body>
</html>