Home Forums Plugin Support Others Translation of strength indicator

This topic contains 1 reply, has 2 voices, and was last updated by  Mahi 5 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9843

    Gian Mauro
    Participant
    Post count: 8

    I have modified ‘class/render-form.php' from line 1101 to line 1106 to enable translation of strength indicator.
    I suggest you include the code in the next update

    <script type="text/javascript">
                      var pwsL10n = {
                            empty: "<?php _e( 'Strength indicator' ); ?>",
                            short: "<?php _e( 'Very weak' ); ?>",
                            bad: "<?php _e( 'Weak' ); ?>",
                            good: "<?php _e( 'Medium' ); ?>",
                            strong: "<?php _e( 'Strong' ); ?>",
                            mismatch: "<?php _e( 'Mismatch' ); ?>"
                        };
                        try{convertEntities(pwsL10n);}catch(e){};
                    </script>
    #9852

    Mahi
    Member
    Post count: 1555

    Thank you Gian. Will forward to developer team.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Translation of strength indicator’ is closed to new replies.