Translation impossible for minimum password length
-
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 filefeatures/functions.phpon 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!
The topic ‘Translation impossible for minimum password length’ is closed to new replies.