From f7428fc146ba812c5976f13af8930fd0d996510e Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 3 Jun 2010 13:37:51 +0000 Subject: [PATCH] Help text cleanup. Props zeo. fixes #13467 git-svn-id: http://svn.automattic.com/wordpress/trunk@15126 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/index.php | 4 ++-- wp-admin/media-upload.php | 2 +- wp-admin/network.php | 4 ++-- wp-admin/options-permalink.php | 6 +++--- wp-admin/options-reading.php | 2 +- wp-admin/plugin-install.php | 2 +- wp-admin/plugins.php | 4 ++-- wp-admin/theme-install.php | 2 +- wp-admin/themes.php | 10 +++++----- wp-admin/widgets.php | 2 +- 10 files changed, 19 insertions(+), 19 deletions(-) diff --git a/wp-admin/index.php b/wp-admin/index.php index 40b8a4330e..a44ad416f5 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -35,8 +35,8 @@ add_contextual_help($current_screen, '

' . __('Incoming Links - Shows links to your site found by Google Blog Search.') . '

' . '

' . __('QuickPress - Allows you to create a new post and either publish it or save it as a draft.') . '

' . '

' . __('Recent Drafts - Displays links to the 5 most recent draft posts you’ve started.') . '

' . - '

' . __('Other WordPress News - Shows the feed from http://planet.wordpress.org. You can configure it to show a different feed of your choosing.') . '

' . - '

' . __('Plugins - Features the most popular, newest, and recently updated plugins from the WordPress.org plugin repository.') . '

' . + '

' . sprintf(__('Other WordPress News - Shows the feed from WordPress Planet. You can configure it to show a different feed of your choosing.'), 'http://planet.wordpress.org') . '

' . + '

' . __('Plugins - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '

' . '

' . __('For more information:') . '

' . '

' . __('Dashboard Documentation') . '

' . '

' . __('Support Forums') . '

' diff --git a/wp-admin/media-upload.php b/wp-admin/media-upload.php index ceef92b8a8..381eadb2e6 100644 --- a/wp-admin/media-upload.php +++ b/wp-admin/media-upload.php @@ -61,7 +61,7 @@ if ( isset($_GET['inline']) ) { '

' . __('You can upload media files here without creating a post first. This allows you to upload files to use with posts and pages later and/or to get a web link for a particular file that you can share.') . '

' . '

' . __('There are two options for uploading files: Select Files will open the Flash-based uploader (multiple file upload allowed), or you can use the Browser Uploader. Clicking Select Files opens a navigation window showing you files in your operating system. Selecting Open after clicking on the file you want activates a progress bar on the uploader screen. Basic image editing is available after upload is complete. Make sure you click Save before leaving this screen.') . '

' . '

' . __('For more information:') . '

' . - '

' . __('Documentaion on Uploading Media Files') . '

' . + '

' . __('Documentation on Uploading Media Files') . '

' . '

' . __('Support Forums') . '

' ); diff --git a/wp-admin/network.php b/wp-admin/network.php index 05325ae6c7..300c992b3d 100644 --- a/wp-admin/network.php +++ b/wp-admin/network.php @@ -90,10 +90,10 @@ $title = __( 'Create a Network of WordPress Sites' ); $parent_file = 'tools.php'; add_contextual_help($current_screen, - '

' . __('This screen allows you to configure a network as having subdomains (site1.example.com) or subdirectories (example.com/site1). Subdomains require wildcard subdomains to be enabled in Apache and DNS records, if your host allows it.') . '

' . + '

' . __('This screen allows you to configure a network as having subdomains (site1.example.com) or subdirectories (example.com/site1). Subdomains require wildcard subdomains to be enabled in Apache and DNS records, if your host allows it.') . '

' . '

' . __('Choose subdomains or subdirectories; this can only be switched afterwards by reconfiguring your install. Fill out the network details, and click install. If this does not work, you may have to add a wildcard DNS record (for subdomains) or change to another setting in Permalinks (for subdirectories).') . '

' . '

' . __('The next screen for Network will give you individually-generated lines of code to add to your wp-config.php and .htaccess files. Make sure the settings of your FTP client make files starting with a dot visible, so that you can find .htaccess; you may have to create this file if it really is not there. Make backup copies of those two files.') . '

' . - '

' . __('Add a blogs.dir directory under /wp-content/ and add the designated lines of code to wp-config.php (just before /*...stop editing...*/) and .htaccess (replacing the existing WordPress rules).') . '

' . + '

' . __('Add a blogs.dir directory under /wp-content and add the designated lines of code to wp-config.php (just before /*...stop editing...*/) and .htaccess (replacing the existing WordPress rules).') . '

' . '

' . __('Refreshing your browser will take you to a screen with an archive of those added lines of code. A set of six links under Super Admin will appear at the top of the main left navigation menu. The multisite network is now enabled.') . '

' . '

' . __('The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with “/blog/” from the main site. This disabling will be addressed soon in a future version.') . '

' . '

' . __('For more information:') . '

' . diff --git a/wp-admin/options-permalink.php b/wp-admin/options-permalink.php index ac27b83f5c..1dfd6c7fe5 100644 --- a/wp-admin/options-permalink.php +++ b/wp-admin/options-permalink.php @@ -17,10 +17,10 @@ $parent_file = 'options-general.php'; add_contextual_help($current_screen, '

' . __('This screen provides some common options for your default permalinks URL structure.') . '

' . - '

' . __('If you pick an option other than Default, your general URL path with structure tags, terms surrounded by %, will also appear in the custom structure field and your path can be further modified there.') . '

' . - '

' . __('When you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes %category% or %tag%.') . '

' . + '

' . __('If you pick an option other than Default, your general URL path with structure tags, terms surrounded by %, will also appear in the custom structure field and your path can be further modified there.') . '

' . + '

' . __('When you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes %category% or %tag%.') . '

' . '

' . __('Note that permalinks beginning with the category, tag, author or postname structure tags require more advanced server resources. Double-check your hosting details to make sure those are in place or start your permalinks with other structure tags.') . '

' . - '

' . __('The Optional fields let you customize the “category” and “tag” base names that will appear in archive URLs. For example, the page listing all posts in the “Uncategorized” category could be /topics/uncategorized instead of /category/uncategorized.') . '

' . + '

' . __('The Optional fields let you customize the “category” and “tag” base names that will appear in archive URLs. For example, the page listing all posts in the “Uncategorized” category could be /topics/uncategorized instead of /category/uncategorized.') . '

' . '

' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

' . '

' . __('For more information:') . '

' . '

' . __('Permalinks Settings Documentation') . '

' . diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 00acb717d9..92564f26b3 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -17,7 +17,7 @@ $parent_file = 'options-general.php'; add_contextual_help($current_screen, '

' . __('This screen contains the settings that affect the display of your content.') . '

' . - '

' . __('You can choose what’s displayed on the front page of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static home page, you first need to create two Pages. One will become the front page, and the other will be where your posts are displayed.') . '

' . + '

' . sprintf(__('You can choose what’s displayed on the front page of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static home page, you first need to create two Pages. One will become the front page, and the other will be where your posts are displayed.'), 'post-new.php?post_type=page') . '

' . '

' . __('You can also control the display of your content in RSS feeds, including the maximum numbers of posts to display, whether to show full text or a summary, and the character set encoding.') . '

' . '

' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

' . '

' . __('For more information:') . '

' . diff --git a/wp-admin/plugin-install.php b/wp-admin/plugin-install.php index 68d65f7d4c..a8c3af41f1 100644 --- a/wp-admin/plugin-install.php +++ b/wp-admin/plugin-install.php @@ -53,7 +53,7 @@ $body_id = $tab; do_action('install_plugins_pre_' . $tab); //Used to override the general interface, Eg, install or plugin information. add_contextual_help($current_screen, - '

' . __('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from WordPress core by thousands of developers all over the world. All plugins in the official WordPress.org Plugin Directory are compatible with the WordPress GPL v2 license. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section.') . '

' . + '

' . sprintf(__('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from WordPress core by thousands of developers all over the world. All plugins in the official WordPress.org Plugin Directory are compatible with the WordPress GPL v2 license. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section.'), 'http://wordpress.org/extend/plugins/') . '

' . '

' . __('If you know what you’re looking for, Search is your best bet. The Search screen has options to search the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting a popular tags. Tags in larger type mean more plugins have been labeled with that tag.') . '

' . '

' . __('If you just want to get an idea of what’s available, you can browse Featured, Popular, Newest, and Recently Updated plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '

' . '

' . __('If you want to install a plugin that you’ve downloaded elsewhere, click Upload in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '

' . diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index aea38ec8a1..e21e4698f7 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -735,9 +735,9 @@ unset( $status_links );

' . __( 'Files in the wp-content/mu-plugins directory are executed automatically.' ) . '

'; + echo '

' . __( 'Files in the /wp-content/mu-plugins directory are executed automatically.' ) . '

'; elseif ( 'dropins' == $status ) - echo '

' . __( 'Drop-ins are advanced plugins in the wp-content directory that replace WordPress functionality when present.' ) . '

'; + echo '

' . __( 'Drop-ins are advanced plugins in the /wp-content directory that replace WordPress functionality when present.' ) . '

'; if ( !empty( $plugins ) && ( ! in_array( $status, array( 'mustuse', 'dropins' ) ) || $page_links ) ) : ?> diff --git a/wp-admin/theme-install.php b/wp-admin/theme-install.php index 0a1fcfd5aa..eb49d58e69 100644 --- a/wp-admin/theme-install.php +++ b/wp-admin/theme-install.php @@ -53,7 +53,7 @@ $body_id = $tab; do_action('install_themes_pre_' . $tab); //Used to override the general interface, Eg, install or theme information. -$help = '

' . __('You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the WordPress.org theme repository. These themes are designed and developed by third parties, are available free of charge, and are licensed under the GNU General Public License, version 2, just like WordPress.') . '

'; +$help = '

' . sprintf(__('You can find additional themes for your site by using the Theme Browser/Installer on this screen, which will display themes from the WordPress.org Theme Directory. These themes are designed and developed by third parties, are available free of charge, and are licensed under the GNU General Public License, version 2, just like WordPress.'), 'http://wordpress.org/extend/themes/') . '

'; $help .= '

' . __('You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter. Alternately, you can browse the themes that are Featured, Newest, or Recently Updated. When you find a theme you like, you can preview it or install it.') . '

'; $help .= '

' . __('You can Upload a theme manually if you have already downloaded its ZIP archive onto your computer (make sure it is from a trusted and original source). You can also do it the old-fashioned way and copy a downloaded theme’s folder via FTP into your /wp-content/themes directory.') . '

'; $help .= '

' . __('For more information:') . '

'; diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 7a56d2e7ca..a303f81107 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -36,7 +36,7 @@ if ( current_user_can( 'switch_themes' ) ) : $help = '

' . __('Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.') . '

'; $help .= '

' . __('You can see your active theme at the top of the screen. Below are the other themes you have installed that are not currently in use. You can see what your site would look like with one of these themes by clicking the Preview link. To change themes, click the Activate link.') . '

'; if ( current_user_can('install_themes') ) - $help .= '

' . sprintf(__('If you would like to see more themes to choose from, click on the “Install Themes” tab and you will be able to browse or search for additional themes from the WordPress.org theme repository. Themes in the WordPress.org theme repository are designed and developed by third parties, and are licensed under the GNU General Public License, version 2, just like WordPress. Oh, and they’re free!'), 'http://wordpress.org/extend/themes/') . '

'; + $help .= '

' . sprintf(__('If you would like to see more themes to choose from, click on the “Install Themes” tab and you will be able to browse or search for additional themes from the WordPress.org Theme Directory. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are licensed under the GNU General Public License, version 2, just like WordPress. Oh, and they’re free!'), 'http://wordpress.org/extend/themes/') . '

'; $help .= '

' . __('For more information:') . '

'; $help .= '

' . __('Documentation on Using Themes') . '

'; @@ -108,7 +108,7 @@ $themes = array_slice( $themes, $start, $per_page ); printf(__('%1$s %2$s by %3$s'), $ct->title, $ct->version, $ct->author) ; ?>

description; ?>

parent_theme ) { ?> -

%2$s. The stylesheet files are located in %3$s. %4$s uses templates from %5$s. Changes made to the templates will affect both themes.'), $ct->title, str_replace( WP_CONTENT_DIR, '', $ct->template_dir ), str_replace( WP_CONTENT_DIR, '', $ct->stylesheet_dir ), $ct->title, $ct->parent_theme); ?>

+

%2$s. The stylesheet files are located in %3$s. %4$s uses templates from %5$s. Changes made to the templates will affect both themes.'), $ct->title, str_replace( WP_CONTENT_DIR, '', $ct->template_dir ), str_replace( WP_CONTENT_DIR, '', $ct->stylesheet_dir ), $ct->title, $ct->parent_theme); ?>

%2$s.'), $ct->title, str_replace( WP_CONTENT_DIR, '', $ct->template_dir ), str_replace( WP_CONTENT_DIR, '', $ct->stylesheet_dir ) ); ?>

@@ -211,7 +211,7 @@ foreach ( $cols as $col => $theme_name ) { -

%2$s. The stylesheet files are located in %3$s. %4$s uses templates from %5$s. Changes made to the templates will affect both themes.'), $title, str_replace( WP_CONTENT_DIR, '', $template_dir ), str_replace( WP_CONTENT_DIR, '', $stylesheet_dir ), $title, $parent_theme); ?>

+

%2$s. The stylesheet files are located in %3$s. %4$s uses templates from %5$s. Changes made to the templates will affect both themes.'), $title, str_replace( WP_CONTENT_DIR, '', $template_dir ), str_replace( WP_CONTENT_DIR, '', $stylesheet_dir ), $title, $parent_theme); ?>

%2$s.'), $title, str_replace( WP_CONTENT_DIR, '', $template_dir ), str_replace( WP_CONTENT_DIR, '', $stylesheet_dir ) ); ?>

@@ -228,7 +228,7 @@ foreach ( $cols as $col => $theme_name ) {

Install Themes tab above.'); + printf(__('You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress.org Theme Directory at any time: just click on the Install Themes tab above.'), 'theme-install.php'); else printf(__('Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes.'), get_site_option('site_name')); ?>

@@ -251,7 +251,7 @@ if ( current_user_can('edit_themes') && count( $broken_themes ) ) { ?>

-

+

diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index e8247a8e29..fb4ab8130a 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -39,7 +39,7 @@ $help = '

' . __('If you want to remove the widget but save its setting for possible future use, just drag it into the Inactive Widgets area. You can add them back anytime from there. This is especially helpful when you switch to a theme with fewer or different widget areas.') . '

' . __('Widgets may be used multiple times. You can give each widget a title, to display on your site, but it’s not required.') . '

' . __('Enabling Accessibility Mode, via Screen Options, allows you to use Add and Edit buttons instead of using drag and drop.') . '

-

' . __('Many themes show some sidebar widgets by default until you edit your sidebars, but they are not automatically displayed in your sidebar management tool. After you make your first widget change, you can re-add the default widgets by adding them from the Available Widgets area. ') . '

+

' . __('Many themes show some sidebar widgets by default until you edit your sidebars, but they are not automatically displayed in your sidebar management tool. After you make your first widget change, you can re-add the default widgets by adding them from the Available Widgets area.') . '

'; $help .= '

' . __('For more information:') . '

'; $help .= '

' . __('Widgets Documentation') . '

';