Make WordPress Core


Ignore:
Timestamp:
05/05/2009 04:28:05 AM (16 years ago)
Author:
azaozz
Message:

Banishing ASCII quotes and apostrophes, props demetris, fixes #9655

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r11178 r11190  
    22402240
    22412241        $trans = array();
    2242         $trans['update']['attachment'] = array( __( 'Your attempt to edit this attachment: "%s" has failed.' ), 'get_the_title' );
     2242        $trans['update']['attachment'] = array( __( 'Your attempt to edit this attachment: “%s” has failed.' ), 'get_the_title' );
    22432243
    22442244        $trans['add']['category']      = array( __( 'Your attempt to add this category has failed.' ), false );
    2245         $trans['delete']['category']   = array( __( 'Your attempt to delete this category: "%s" has failed.' ), 'get_cat_name' );
    2246         $trans['update']['category']   = array( __( 'Your attempt to edit this category: "%s" has failed.' ), 'get_cat_name' );
    2247 
    2248         $trans['delete']['comment']    = array( __( 'Your attempt to delete this comment: "%s" has failed.' ), 'use_id' );
    2249         $trans['unapprove']['comment'] = array( __( 'Your attempt to unapprove this comment: "%s" has failed.' ), 'use_id' );
    2250         $trans['approve']['comment']   = array( __( 'Your attempt to approve this comment: "%s" has failed.' ), 'use_id' );
    2251         $trans['update']['comment']    = array( __( 'Your attempt to edit this comment: "%s" has failed.' ), 'use_id' );
     2245        $trans['delete']['category']   = array( __( 'Your attempt to delete this category: “%s” has failed.' ), 'get_cat_name' );
     2246        $trans['update']['category']   = array( __( 'Your attempt to edit this category: “%s” has failed.' ), 'get_cat_name' );
     2247
     2248        $trans['delete']['comment']    = array( __( 'Your attempt to delete this comment: “%s” has failed.' ), 'use_id' );
     2249        $trans['unapprove']['comment'] = array( __( 'Your attempt to unapprove this comment: “%s” has failed.' ), 'use_id' );
     2250        $trans['approve']['comment']   = array( __( 'Your attempt to approve this comment: “%s” has failed.' ), 'use_id' );
     2251        $trans['update']['comment']    = array( __( 'Your attempt to edit this comment: “%s” has failed.' ), 'use_id' );
    22522252        $trans['bulk']['comments']     = array( __( 'Your attempt to bulk modify comments has failed.' ), false );
    22532253        $trans['moderate']['comments'] = array( __( 'Your attempt to moderate comments has failed.' ), false );
    22542254
    22552255        $trans['add']['bookmark']      = array( __( 'Your attempt to add this link has failed.' ), false );
    2256         $trans['delete']['bookmark']   = array( __( 'Your attempt to delete this link: "%s" has failed.' ), 'use_id' );
    2257         $trans['update']['bookmark']   = array( __( 'Your attempt to edit this link: "%s" has failed.' ), 'use_id' );
     2256        $trans['delete']['bookmark']   = array( __( 'Your attempt to delete this link: “%s” has failed.' ), 'use_id' );
     2257        $trans['update']['bookmark']   = array( __( 'Your attempt to edit this link: “%s” has failed.' ), 'use_id' );
    22582258        $trans['bulk']['bookmarks']    = array( __( 'Your attempt to bulk modify links has failed.' ), false );
    22592259
    22602260        $trans['add']['page']          = array( __( 'Your attempt to add this page has failed.' ), false );
    2261         $trans['delete']['page']       = array( __( 'Your attempt to delete this page: "%s" has failed.' ), 'get_the_title' );
    2262         $trans['update']['page']       = array( __( 'Your attempt to edit this page: "%s" has failed.' ), 'get_the_title' );
    2263 
    2264         $trans['edit']['plugin']       = array( __( 'Your attempt to edit this plugin file: "%s" has failed.' ), 'use_id' );
    2265         $trans['activate']['plugin']   = array( __( 'Your attempt to activate this plugin: "%s" has failed.' ), 'use_id' );
    2266         $trans['deactivate']['plugin'] = array( __( 'Your attempt to deactivate this plugin: "%s" has failed.' ), 'use_id' );
    2267         $trans['upgrade']['plugin']    = array( __( 'Your attempt to upgrade this plugin: "%s" has failed.' ), 'use_id' );
     2261        $trans['delete']['page']       = array( __( 'Your attempt to delete this page: “%s” has failed.' ), 'get_the_title' );
     2262        $trans['update']['page']       = array( __( 'Your attempt to edit this page: “%s” has failed.' ), 'get_the_title' );
     2263
     2264        $trans['edit']['plugin']       = array( __( 'Your attempt to edit this plugin file: “%s” has failed.' ), 'use_id' );
     2265        $trans['activate']['plugin']   = array( __( 'Your attempt to activate this plugin: “%s” has failed.' ), 'use_id' );
     2266        $trans['deactivate']['plugin'] = array( __( 'Your attempt to deactivate this plugin: “%s” has failed.' ), 'use_id' );
     2267        $trans['upgrade']['plugin']    = array( __( 'Your attempt to upgrade this plugin: “%s” has failed.' ), 'use_id' );
    22682268
    22692269        $trans['add']['post']          = array( __( 'Your attempt to add this post has failed.' ), false );
    2270         $trans['delete']['post']       = array( __( 'Your attempt to delete this post: "%s" has failed.' ), 'get_the_title' );
    2271         $trans['update']['post']       = array( __( 'Your attempt to edit this post: "%s" has failed.' ), 'get_the_title' );
     2270        $trans['delete']['post']       = array( __( 'Your attempt to delete this post: “%s” has failed.' ), 'get_the_title' );
     2271        $trans['update']['post']       = array( __( 'Your attempt to edit this post: “%s” has failed.' ), 'get_the_title' );
    22722272
    22732273        $trans['add']['user']          = array( __( 'Your attempt to add this user has failed.' ), false );
    22742274        $trans['delete']['users']      = array( __( 'Your attempt to delete users has failed.' ), false );
    22752275        $trans['bulk']['users']        = array( __( 'Your attempt to bulk modify users has failed.' ), false );
    2276         $trans['update']['user']       = array( __( 'Your attempt to edit this user: "%s" has failed.' ), 'get_author_name' );
    2277         $trans['update']['profile']    = array( __( 'Your attempt to modify the profile for: "%s" has failed.' ), 'get_author_name' );
     2276        $trans['update']['user']       = array( __( 'Your attempt to edit this user: “%s” has failed.' ), 'get_author_name' );
     2277        $trans['update']['profile']    = array( __( 'Your attempt to modify the profile for: “%s” has failed.' ), 'get_author_name' );
    22782278
    22792279        $trans['update']['options']    = array( __( 'Your attempt to edit your settings has failed.' ), false );
    22802280        $trans['update']['permalink']  = array( __( 'Your attempt to change your permalink structure to: %s has failed.' ), 'use_id' );
    2281         $trans['edit']['file']         = array( __( 'Your attempt to edit this file: "%s" has failed.' ), 'use_id' );
    2282         $trans['edit']['theme']        = array( __( 'Your attempt to edit this theme file: "%s" has failed.' ), 'use_id' );
    2283         $trans['switch']['theme']      = array( __( 'Your attempt to switch to this theme: "%s" has failed.' ), 'use_id' );
     2281        $trans['edit']['file']         = array( __( 'Your attempt to edit this file: “%s” has failed.' ), 'use_id' );
     2282        $trans['edit']['theme']        = array( __( 'Your attempt to edit this theme file: “%s” has failed.' ), 'use_id' );
     2283        $trans['switch']['theme']      = array( __( 'Your attempt to switch to this theme: “%s” has failed.' ), 'use_id' );
    22842284
    22852285        $trans['log']['out']           = array( sprintf( __( 'You are attempting to log out of %s' ), get_bloginfo( 'sitename' ) ), false );
Note: See TracChangeset for help on using the changeset viewer.