Make WordPress Core

Changeset 16121


Ignore:
Timestamp:
10/31/2010 11:21:56 PM (16 years ago)
Author:
scribu
Message:

make not_found puctuation translatable. See #14579

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/list-table-posts.php

    r16119 r16121  
    123123
    124124                if ( isset( $_REQUEST['post_status'] ) && 'trash' == $_REQUEST['post_status'] )
    125                         echo $post_type_object->labels->not_found_in_trash . '.';
     125                        echo $post_type_object->labels->not_found_in_trash;
    126126                else
    127                         echo $post_type_object->labels->not_found . '.';
     127                        echo $post_type_object->labels->not_found;
    128128        }
    129129
    … …  
    314314                global $post, $mode;
    315315
    316                 add_filter( 'the_title','esc_html' );
     316                add_filter( 'the_title', 'esc_html' );
    317317
    318318                // Create array of post IDs.
  • trunk/wp-includes/post.php

    r16104 r16121  
    11411141                'view_item' => array( __('View Post'), __('View Page') ),
    11421142                'search_items' => array( __('Search Posts'), __('Search Pages') ),
    1143                 'not_found' => array( __('No posts found'), __('No pages found') ),
    1144                 'not_found_in_trash' => array( __('No posts found in Trash'), __('No pages found in Trash') ),
     1143                'not_found' => array( __('No posts found.'), __('No pages found.') ),
     1144                'not_found_in_trash' => array( __('No posts found in Trash.'), __('No pages found in Trash.') ),
    11451145                'parent_item_colon' => array( null, __('Parent Page:') )
    11461146        );
Note: See TracChangeset for help on using the changeset viewer.