mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
i18n fixes from nbachiyski. fixes #6226
git-svn-id: https://develop.svn.wordpress.org/trunk@7302 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -22,15 +22,15 @@ function profile_js ( ) {
|
||||
|
||||
jQuery(res).removeClass('short bad good strong');
|
||||
|
||||
if ( strength == 'Bad' ) {
|
||||
if ( strength == pwsL10n.bad ) {
|
||||
jQuery(res).addClass('bad');
|
||||
jQuery(res).html( pwsL10n.bad );
|
||||
}
|
||||
else if ( strength == 'Good' ) {
|
||||
else if ( strength == pwsL10n.good ) {
|
||||
jQuery(res).addClass('good');
|
||||
jQuery(res).html( pwsL10n.good );
|
||||
}
|
||||
else if ( strength == 'Strong' ) {
|
||||
else if ( strength == pwsL10n.strong ) {
|
||||
jQuery(res).addClass('strong');
|
||||
jQuery(res).html( pwsL10n.strong );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user