WordPress.org

Make WordPress Core

Ticket #22451: 22451-appearance.diff

File 22451-appearance.diff, 14.5 KB (added by DrewAPicture, 17 months ago)
  • wp-admin/theme-editor.php

     
    2222 
    2323get_current_screen()->add_help_tab( array( 
    2424'id'            => 'overview', 
    25 'title'         => __('Overview'), 
     25'title'         => __( 'Overview' ), 
    2626'content'       => 
    27         '<p>' . __('You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme.') . '</p> 
    28         <p>' . __('Begin by choosing a theme to edit from the dropdown menu and clicking Select. A list then appears of all the template files. Clicking once on any file name causes the file to appear in the large Editor box.') . '</p> 
    29         <p>' . __('For PHP files, you can use the Documentation dropdown to select from functions recognized in that file. Lookup takes you to a web page with reference material about that particular function.') . '</p> 
    30         <p id="newcontent-description">' . __('In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key.') . '</p> 
    31         <p>' . __('After typing in your edits, click Update File.') . '</p> 
    32         <p>' . __('<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.') . '</p> 
    33         <p>' . __('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="http://codex.wordpress.org/Child_Themes" target="_blank">child theme</a> instead.') . '</p>' . 
    34         ( is_network_admin() ? '<p>' . __('Any edits to files from this screen will be reflected on all sites in the network.') . '</p>' : '' ) 
     27        '<p>' . __( 'You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme.') . '</p>' . 
     28        '<p>' . __( 'Begin by choosing a theme to edit from the dropdown menu and clicking Select. A list then appears of all the template files. Clicking once on any file name causes the file to appear in the large Editor box.' ) . '</p>' . 
     29        '<p>' . __( 'For PHP files, you can use the Documentation dropdown to select from functions recognized in that file. Lookup takes you to a Web page with reference material about that particular function.' ) . '</p>' . 
     30        '<p id="newcontent-description">' . __( 'In the editing area, the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key.' ) . '</p>' . 
     31        '<p>' . __( 'After typing in your edits, click Update File.' ) . '</p>' . 
     32        '<p>' . __( '<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.' ) . '</p>' . 
     33        '<p>' . __( 'Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="http://codex.wordpress.org/Child_Themes" target="_blank">child theme</a> instead.' ) . '</p>' . 
     34        ( is_network_admin() ? '<p>' . __( 'Any edits to files from this screen will be reflected on all sites in the network.' ) . '</p>' : '' ) 
    3535) ); 
    3636 
    3737get_current_screen()->set_help_sidebar( 
  • wp-admin/custom-header.php

     
    127127 
    128128                get_current_screen()->add_help_tab( array( 
    129129                        'id'      => 'set-header-text', 
    130                         'title'   => __('Header Text'), 
     130                        'title'   => __( 'Header Text' ), 
    131131                        'content' => 
    132132                                '<p>' . sprintf( __( 'For most themes, the header text is your Site Title and Tagline, as defined in the <a href="%1$s">General Settings</a> section.' ), admin_url( 'options-general.php' ) ) . '<p>' . 
    133133                                '<p>' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. &#8220;#ff0000&#8221; for red, or by choosing a color using the color picker.' ) . '</p>' . 
    134                                 '<p>' . __( 'Don&#8217;t forget to Save Changes when you&#8217;re done!') . '</p>' 
     134                                '<p>' . __( 'Don&#8217;t forget to click &#8220;Save Changes&#8221; when you&#8217;re done!') . '</p>' 
    135135                ) ); 
    136136 
    137137                get_current_screen()->set_help_sidebar( 
  • wp-admin/nav-menus.php

     
    436436 
    437437get_current_screen()->add_help_tab( array( 
    438438'id'            => 'overview', 
    439 'title'         => __('Overview'), 
     439'title'         => __( 'Overview' ), 
    440440'content'       => 
    441         '<p>' . __('This feature allows you to use a custom menu in place of your theme&#8217;s default menus.') . '</p>' . 
    442         '<p>' . __('Custom menus may contain links to pages, categories, custom links or other content types (use the Screen Options tab to decide which ones to show on the screen). You can specify a different navigation label for a menu item as well as other attributes. You can create multiple menus. If your theme includes more than one menu, you can choose which custom menu to associate with each. You can also use custom menus in conjunction with the Custom Menus widget.') . '</p>' . 
    443         '<p>' . __('If your theme does not support the custom menus feature yet (the default themes, Twenty Eleven and Twenty Ten, do), you can learn about adding this support by following the Documentation link to the side.') . '</p>' 
     441        '<p>' . __( 'This feature allows you to use a custom menu in place of your theme&#8217;s default menus.' ) . '</p>' . 
     442        '<p>' . __( 'Custom menus may contain links to pages, categories, custom links or other content types (use the Screen Options tab to decide which ones to show on the screen). You can specify a different navigation label for a menu item as well as other attributes. You can create multiple menus. If your theme includes more than one menu location, you can choose which custom menu to associate with each. You can also use custom menus in conjunction with the Custom Menus widget.' ) . '</p>' . 
     443        '<p>' . __( 'If your theme does not support the custom menus feature yet (the default themes, Twenty Twelve and Twenty Eleven, do), you can learn about adding this support by following the Documentation link to the side.' ) . '</p>' 
    444444) ); 
    445445get_current_screen()->add_help_tab( array( 
    446446'id'            => 'create-menus', 
    447 'title'         => __('Create Menus'), 
     447'title'         => __( 'Create Menus' ), 
    448448'content'       => 
    449         '<p>' . __('To create a new custom menu, click on the + tab, give the menu a name, and click Create Menu. Next, add menu items from the appropriate boxes. You&#8217;ll be able to edit the information for each menu item, and can drag and drop to put them in order. You can also drag a menu item a little to the right to make it a submenu, to create menus with hierarchy. Drop the item into its new nested placement when the dotted rectangle target shifts over, also a little to the right. Don&#8217;t forget to click Save when you&#8217;re finished.') . '</p>' 
     449        '<p>' . __( 'To create a new custom menu, click on the + tab, give the menu a name, and click Create Menu. Next, add menu items from the appropriate boxes. You&#8217;ll be able to edit the information for each menu item, and can drag and drop to put them in order. You can also drag a menu item a little to the right to make it a submenu, to create menus with hierarchy. Drop the item into its new nested placement when the dotted rectangle target shifts over, also a little to the right. Don&#8217;t forget to click Save Menu when you&#8217;re finished.' ) . '</p>' 
    450450) ); 
    451451 
    452452get_current_screen()->set_help_sidebar( 
  • wp-admin/widgets.php

     
    5656) ); 
    5757get_current_screen()->add_help_tab( array( 
    5858'id'            => 'missing-widgets', 
    59 'title'         => __('Missing Widgets'), 
     59'title'         => __( 'Missing Widgets' ), 
    6060'content'       => 
    61         '<p>' . __('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.') . '</p>' . 
    62                 '<p>' . __('When changing themes, there is often some variation in the number and setup of widget areas/sidebars and sometimes these conflicts make the transition a bit less smooth. If you changed themes and seem to be missing widgets, scroll down on this screen to the Inactive area, where all your widgets and their settings will have been saved.') . '</p>' 
     61        '<p>' . __( '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.' ) . '</p>' . 
     62                '<p>' . __( 'When changing themes, there is often some variation in the number and setup of widget areas/sidebars and sometimes these conflicts make the transition a bit less smooth. If you changed themes and seem to be missing widgets, scroll down on this screen to the Inactive Widgets area, where all of your widgets and their settings will have been saved.' ) . '</p>' 
    6363) ); 
    6464 
    6565get_current_screen()->set_help_sidebar( 
  • wp-admin/themes.php

     
    4141 
    4242if ( current_user_can( 'switch_themes' ) ) : 
    4343 
    44 $help_manage = '<p>' . __('Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.') . '</p>' . 
    45         '<p>' . __('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 Live Preview link (see "Previewing and Customizing" help tab). To change themes, click the Activate link.') . '</p>'; 
     44$help_manage = '<p>' . __( 'Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.' ) . '</p>' . 
     45        '<p>' . __( '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 Live Preview link (see &#8220;Previewing and Customizing&#822; help tab). To change themes, click the Activate link.' ) . '</p>'; 
    4646 
    4747get_current_screen()->add_help_tab( array( 
    4848        'id'      => 'overview', 
    49         'title'   => __('Overview'), 
     49        'title'   => __( 'Overview' ), 
    5050        'content' => $help_manage 
    5151) ); 
    5252 
     
    7070 
    7171if ( current_user_can( 'edit_theme_options' ) ) { 
    7272        $help_customize = 
    73                 '<p>' . __('Click on the "Live Preview" link under any theme to preview that theme and change theme options in a separate, full-screen view. Any installed theme can be previewed and customized in this way.') . '</p>'. 
    74                 '<p>' . __('The theme being previewed is fully interactive &mdash; navigate to different pages to see how the theme handles posts, archives, and other page templates.') . '</p>' . 
    75                 '<p>' . __('In the left-hand pane you can edit the theme settings. The settings will differ, depending on what theme features the theme being previewed supports. To accept the new settings and activate the theme all in one step, click the "Save &amp; Activate" button at the top of the left-hand pane.') . '</p>' . 
    76                 '<p>' . __('When previewing on smaller monitors, you can use the "Collapse" icon at the bottom of the left-hand pane. This will hide the pane, giving you more room to preview your site in the new theme. To bring the pane back, click on the Collapse icon again.') . '</p>'; 
     73                '<p>' . __( 'Click on the Live Preview link under any theme to preview that theme and change theme options in a separate, full-screen view. Any installed theme can be previewed and customized in this way.' ) . '</p>'. 
     74                '<p>' . __( 'The theme being previewed is fully interactive &mdash; navigate to different pages to see how the theme handles posts, archives, and other page templates.' ) . '</p>' . 
     75                '<p>' . __( 'In the left-hand pane you can edit the theme settings. The settings will differ, depending on what theme features the theme being previewed supports. To accept the new settings and activate the theme all in one step, click the Save &amp; Activate button at the top of the left-hand pane.' ) . '</p>' . 
     76                '<p>' . __( 'When previewing on smaller monitors, you can use the &#8220;Collapse menu&#8221; icon at the bottom of the left-hand pane. This will hide the pane, giving you more room to preview your site in the new theme. To bring the pane back, click on the Collapse icon again.' ) . '</p>'; 
    7777 
    7878        get_current_screen()->add_help_tab( array( 
    7979                'id'            => 'customize-preview-themes', 
    80                 'title'         => __('Previewing and Customizing'), 
     80                'title'         => __( 'Previewing and Customizing' ), 
    8181                'content'       => $help_customize 
    8282        ) ); 
    8383} 
  • wp-admin/custom-background.php

     
    9494                        'title'   => __('Overview'), 
    9595                        'content' => 
    9696                                '<p>' . __( 'You can customize the look of your site without touching any of your theme&#8217;s code by using a custom background. Your background can be an image or a color.' ) . '</p>' . 
    97                                 '<p>' . __( 'To use a background image, simply upload it, then choose your display options below. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' . 
     97                                '<p>' . __( 'To use a background image, simply upload it or choose an image that has already been uploaded to your Media Library by clicking the &#8220;Choose Image&#8221; button. You can display a single instance of your image, or tile it to fill the screen. You can have your background fixed in place, so your site content moves on top of it, or you can have it scroll with your site.' ) . '</p>' . 
    9898                                '<p>' . __( 'You can also choose a background color by clicking the Select Color button and either typing in a legitimate HTML hex value, e.g. &#8220;#ff0000&#8221; for red, or by choosing a color using the color picker.' ) . '</p>' . 
    9999                                '<p>' . __( 'Don&#8217;t forget to click on the Save Changes button when you are finished.' ) . '</p>' 
    100100                ) );