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:
Ryan Boren
2008-03-14 20:17:17 +00:00
parent 4252c3d93a
commit 85c1122db2
2 changed files with 8 additions and 90 deletions

View File

@@ -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 );
}