0
<strong>
태그에 단어를 싸서 싶습니다. t()
전화에서 해당 작업을 수행하는 것이 맞습니까? 아니면 다른 방법으로해야합니까?Drupal : t()의 잘못된 사용?
$help = '<p>' . t("Does this sample data look right for node type %node_type? If not, use your browser's <strong>back</strong> button to fix it on the previous page.", array('%node_type' => $_SESSION[NODE_TYPE_KEY])) . '</p>';
또한 변수를 t()
에 직접 입력하면 어떻습니까?
foreach ($term_info['term_fields'] as $vocab) {
$options[$vocab] = t($vocab); // TODO: incorrect use of t()?
}