Make WordPress Core


Ignore:
Timestamp:
03/14/2008 08:17:17 PM (18 years ago)
Author:
ryan
Message:

i18n fixes from nbachiyski. fixes #6226

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r7291 r7302  
    2323        jQuery(res).removeClass('short bad good strong');
    2424
    25         if ( strength == 'Bad' ) {
     25        if ( strength == pwsL10n.bad ) {
    2626            jQuery(res).addClass('bad');
    2727            jQuery(res).html( pwsL10n.bad );
    2828        }
    29         else if ( strength == 'Good' ) {
     29        else if ( strength == pwsL10n.good ) {
    3030            jQuery(res).addClass('good');
    3131            jQuery(res).html( pwsL10n.good );
    3232        }
    33         else if ( strength == 'Strong' ) {
     33        else if ( strength == pwsL10n.strong ) {
    3434            jQuery(res).addClass('strong');
    3535            jQuery(res).html( pwsL10n.strong );
Note: See TracChangeset for help on using the changeset viewer.