• Resolved r16n

    (@r16n)


    The minimum password length string under the strength indicator can’t be translated (‘Minimum length of 8 characters’).

    Please fix this translation string. The mistake is in the function wppb_password_length_text() in file features/functions.php on line 482:

    return __( 'Minimum length of '. $wppb_generalSettings['minimum_password_length'] .' characters', 'profilebuilder' );

    This is wrong, but because it would be mean there need to be a translation for every possible number. Please correct it to the following:

    return sprintf(__('Minimum length of %d characters', 'profilebuilder'), $wppb_generalSettings['minimum_password_length']);

    Thanks in advance!

    https://wordpress.org/plugins/profile-builder/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author adispiac

    (@adispiac)

    Well spotted, thanks for pointing this out. We missed it somehow during the code review.

    I’ve already made the change in the development version, so it will be fixed in the next release.

    Thread Starter r16n

    (@r16n)

    Thank you!

    I’m looking forward to the new version. For now I’ll just disable the minimum length setting.

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

The topic ‘Translation impossible for minimum password length’ is closed to new replies.