Make WordPress Core


Ignore:
Timestamp:
02/20/2009 07:22:34 PM (17 years ago)
Author:
ryan
Message:

Use _n(). Props mrmist. fixes #9190

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/widgets.php

    r10150 r10605  
    193193// This is sort of lame since "widget" won't be converted to "widgets" in the JS
    194194if ( 1 < $sidebars_count = count($wp_registered_sidebars) )
    195         $sidebar_info_text = __ngettext( 'You are using %1$s widget in the "%2$s" sidebar.', 'You are using %1$s widgets in the "%2$s" sidebar.', $sidebar_widget_count );
     195        $sidebar_info_text = _n( 'You are using %1$s widget in the "%2$s" sidebar.', 'You are using %1$s widgets in the "%2$s" sidebar.', $sidebar_widget_count );
    196196else
    197         $sidebar_info_text = __ngettext( 'You are using %1$s widget in the sidebar.', 'You are using %1$s widgets in the sidebar.', $sidebar_widget_count );
     197        $sidebar_info_text = _n( 'You are using %1$s widget in the sidebar.', 'You are using %1$s widgets in the sidebar.', $sidebar_widget_count );
    198198
    199199
Note: See TracChangeset for help on using the changeset viewer.