У меня есть переводимая строка в common / messages / en-Us / frontend / quicksignup как:
return [
'AcceptTermsAndConditionLabel' => 'I confirm that I am more than 13 years old and accept the {terms and condition}, and {privacy policy} of this website',
];
Моя модель QuickSignupForm выглядит так:
public function attributeLabels()
{
return [
'AcceptTermsAndCondition' => Yii::t('frontend/quicksignup','AcceptTermsAndConditionLabel'),
];
}
Он отображает следующий контент:
I confirm that I am more than 13 years old and accept the {terms and condition}, and {privacy policy} of this website
Я хочу заменить {terms and condition}
и {privacy policy}
ссылками. Но когда я пытаюсь сделать это в моем переводимом файле, то есть common / messages / en-Us / frontend / quicksignup, он отображается в виде строки.
Ниже приведен снимок экрана с результатами. Как я могу отобразить ссылки? Любые идеи?