我正在尝试使用 codeigniter 表单验证库同时以两种不同的语言显示两条不同的行,但它会引发错误:
$this -> form_validation -> set_message('required', 'Warning %s should not be empty! <br /> Dikkat %s alanı boş bırakılmamalıdır.');
有没有办法像这样使用该功能而不会遇到该错误:
A PHP Error was encountered
Severity: Warning
Message: sprintf(): Too few arguments
Filename: libraries/Form_validation.php
Line Number: 525