Make WordPress Core

Ticket #26244: 26244.3.diff

File 26244.3.diff, 5.8 KB (added by Hanni, 13 years ago)
  • wp-admin/widgets.php

     
    335335                <div class="sidebar-name-arrow"><br /></div>
    336336                <h3><?php _e('Available Widgets'); ?> <span id="removing-widget"><?php _ex('Deactivate', 'removing-widget'); ?> <span></span></span></h3></div>
    337337                <div class="widget-holder">
    338                 <p class="description"><?php _e('Drag widgets from here to a sidebar on the right to activate them. Drag widgets back here to deactivate them and delete their settings.'); ?></p>
     338                <p class="description"><?php _e('To activate a widget drag it to a sidebar. To deactivate it and delete its settings, drag it back.'); ?></p>
    339339                <div id="widget-list">
    340340                <?php wp_list_widgets(); ?>
    341341                </div>
  • wp-includes/default-widgets.php

     
    1414class WP_Widget_Pages extends WP_Widget {
    1515
    1616        function __construct() {
    17                 $widget_ops = array('classname' => 'widget_pages', 'description' => __( 'Your site&#8217;s WordPress Pages') );
     17                $widget_ops = array('classname' => 'widget_pages', 'description' => __( 'A list of your site&#8217;s Pages.') );
    1818                parent::__construct('pages', __('Pages'), $widget_ops);
    1919        }
    2020
     
    190190class WP_Widget_Search extends WP_Widget {
    191191
    192192        function __construct() {
    193                 $widget_ops = array('classname' => 'widget_search', 'description' => __( "A search form for your site") );
     193                $widget_ops = array('classname' => 'widget_search', 'description' => __( "A search form for your site.") );
    194194                parent::__construct('search', __('Search'), $widget_ops);
    195195        }
    196196
     
    233233class WP_Widget_Archives extends WP_Widget {
    234234
    235235        function __construct() {
    236                 $widget_ops = array('classname' => 'widget_archive', 'description' => __( 'A monthly archive of your site&#8217;s posts') );
     236                $widget_ops = array('classname' => 'widget_archive', 'description' => __( 'A monthly archive of your site&#8217;s Posts.') );
    237237                parent::__construct('archives', __('Archives'), $widget_ops);
    238238        }
    239239
     
    298298class WP_Widget_Meta extends WP_Widget {
    299299
    300300        function __construct() {
    301                 $widget_ops = array('classname' => 'widget_meta', 'description' => __( "Log in/out, admin, feed and WordPress links") );
     301                $widget_ops = array('classname' => 'widget_meta', 'description' => __( "Login, RSS, &amp; WordPress.org links.") );
    302302                parent::__construct('meta', __('Meta'), $widget_ops);
    303303        }
    304304
     
    350350class WP_Widget_Calendar extends WP_Widget {
    351351
    352352        function __construct() {
    353                 $widget_ops = array('classname' => 'widget_calendar', 'description' => __( 'A calendar of your site&#8217;s posts') );
     353                $widget_ops = array('classname' => 'widget_calendar', 'description' => __( 'A calendar of your site&#8217;s Posts.') );
    354354                parent::__construct('calendar', __('Calendar'), $widget_ops);
    355355        }
    356356
     
    391391class WP_Widget_Text extends WP_Widget {
    392392
    393393        function __construct() {
    394                 $widget_ops = array('classname' => 'widget_text', 'description' => __('Arbitrary text or HTML'));
     394                $widget_ops = array('classname' => 'widget_text', 'description' => __('Arbitrary text or HTML.'));
    395395                $control_ops = array('width' => 400, 'height' => 350);
    396396                parent::__construct('text', __('Text'), $widget_ops, $control_ops);
    397397        }
     
    441441class WP_Widget_Categories extends WP_Widget {
    442442
    443443        function __construct() {
    444                 $widget_ops = array( 'classname' => 'widget_categories', 'description' => __( "A list or dropdown of categories" ) );
     444                $widget_ops = array( 'classname' => 'widget_categories', 'description' => __( "A list or dropdown of categories." ) );
    445445                parent::__construct('categories', __('Categories'), $widget_ops);
    446446        }
    447447
     
    533533class WP_Widget_Recent_Posts extends WP_Widget {
    534534
    535535        function __construct() {
    536                 $widget_ops = array('classname' => 'widget_recent_entries', 'description' => __( "The most recent posts on your site") );
     536                $widget_ops = array('classname' => 'widget_recent_entries', 'description' => __( "Your site&#8217;s most recent Posts.") );
    537537                parent::__construct('recent-posts', __('Recent Posts'), $widget_ops);
    538538                $this->alt_option_name = 'widget_recent_entries';
    539539
     
    635635class WP_Widget_Recent_Comments extends WP_Widget {
    636636
    637637        function __construct() {
    638                 $widget_ops = array('classname' => 'widget_recent_comments', 'description' => __( 'The most recent comments' ) );
     638                $widget_ops = array('classname' => 'widget_recent_comments', 'description' => __( 'Your site&#8217;s most recent comments.' ) );
    639639                parent::__construct('recent-comments', __('Recent Comments'), $widget_ops);
    640640                $this->alt_option_name = 'widget_recent_comments';
    641641
     
    742742class WP_Widget_RSS extends WP_Widget {
    743743
    744744        function __construct() {
    745                 $widget_ops = array( 'description' => __('Entries from any RSS or Atom feed') );
     745                $widget_ops = array( 'description' => __('Entries from any RSS or Atom feed.') );
    746746                $control_ops = array( 'width' => 400, 'height' => 200 );
    747747                parent::__construct( 'rss', __('RSS'), $widget_ops, $control_ops );
    748748        }
     
    10331033class WP_Widget_Tag_Cloud extends WP_Widget {
    10341034
    10351035        function __construct() {
    1036                 $widget_ops = array( 'description' => __( "Your most used tags in cloud format") );
     1036                $widget_ops = array( 'description' => __( "A cloud of your most used tags.") );
    10371037                parent::__construct('tag_cloud', __('Tag Cloud'), $widget_ops);
    10381038        }
    10391039
     
    11001100 class WP_Nav_Menu_Widget extends WP_Widget {
    11011101
    11021102        function __construct() {
    1103                 $widget_ops = array( 'description' => __('Use this widget to add one of your custom menus as a widget.') );
     1103                $widget_ops = array( 'description' => __('Add a custom menu to your sidebar.') );
    11041104                parent::__construct( 'nav_menu', __('Custom Menu'), $widget_ops );
    11051105        }
    11061106