Make WordPress Core

Changeset 13135


Ignore:
Timestamp:
02/14/2010 03:24:25 AM (15 years ago)
Author:
nacin
Message:

Manual L10n JS strings in install.php. Remove stray line, see #13134

File:
1 edited

Legend:

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

    r13134 r13135  
    221221try{convertEntities(commonL10n);}catch(e){};
    222222var pwsL10n = {
    223  empty: "Strength indicator",
    224  short: "Very weak",
    225  bad: "Weak",
    226  good: "Medium",
    227  strong: "Strong"
     223 empty: "<?php echo esc_js( __( 'Strength indicator' ) ); ?>",
     224 short: "<?php echo esc_js( __( 'Very weak' ) ); ?>",
     225 bad: "<?php echo esc_js( __( 'Weak' ) ); ?>",
     226 good: "<?php echo esc_js( __( 'Medium' ) ); ?>",
     227 strong: "<?php echo esc_js( __( 'Strong' ) ); ?>"
    228228};
    229229try{convertEntities(pwsL10n);}catch(e){};
Note: See TracChangeset for help on using the changeset viewer.