WordPress.org

Make WordPress Core

Ticket #22546: dashboard-missing-i18n.patch

File dashboard-missing-i18n.patch, 1.2 KB (added by xibe, 17 months ago)

First quick patch. Could be made better with proper %1$s tags, though.

  • wp-admin/includes/dashboard.php

     
    12681268        <div class="welcome-panel-column welcome-panel-last"> 
    12691269                <h4><?php _e( 'More Actions' ); ?></h4> 
    12701270                <ul> 
    1271                         <li><?php printf( '<div class="welcome-icon welcome-widgets-menus">Manage <a href="%s">' . __( 'widgets' ) . '</a> or <a href="%s">' . __( 'menus' ) . '</a></div>', admin_url( 'widgets.php' ), admin_url( 'nav-menus.php' ) ); ?></li> 
     1271                        <li><?php printf( '<div class="welcome-icon welcome-widgets-menus">' . __('Manage <a href="%s">%s</a> or <a href="%s">%s</a></div>'), admin_url( 'widgets.php' ), __( 'widgets' ), admin_url( 'nav-menus.php' ), __( 'menus' ) ); ?></li> 
    12721272                        <li><?php printf( '<a href="%s" class="welcome-icon welcome-comments">' . __( 'Turn comments on or off' ) . '</a>', admin_url( 'options-discussion.php' ) ); ?></li> 
    12731273                        <li><?php printf( '<a href="%s" class="welcome-icon welcome-learn-more">' . __( 'Learn more about getting started' ) . '</a>', 'http://codex.wordpress.org/First_Steps_With_WordPress' ); ?></li> 
    12741274                </ul>