diff --git a/code/TextTargetLengthExtension.php b/code/TextTargetLengthExtension.php index 7bb81be..e0ce788 100755 --- a/code/TextTargetLengthExtension.php +++ b/code/TextTargetLengthExtension.php @@ -35,7 +35,7 @@ public function setTargetLength($idealCharCount, $minCharCount = null, $maxCharC $field->setAttribute('data-target-min-length', $minCharCount); $field->setAttribute('data-target-max-length', $maxCharCount); - $field->setAttribute('data-hint-length-target', _t('TextTargetLength.LengthTarget', 'Length target: %s% %s')); + $field->setAttribute('data-hint-length-target', _t('TextTargetLength.LengthTarget', 'Length target: {value}% {remark}')); $field->setAttribute('data-hint-length-tooshort', _t('TextTargetLength.LengthTooShort', 'Keep going!')); $field->setAttribute('data-hint-length-toolong', _t('TextTargetLength.LengthTooLong', 'Too long')); $field->setAttribute('data-hint-length-adequate', _t('TextTargetLength.LengthAdequate', 'Okay'));