我知道,有時它與錯誤抑制要做,但我看Drupal的代碼,我可以」噸識別語法:
實施例1:
$batch = array(
'operations' => $operations,
'finished' => '_install_profile_batch_finished',
'title' => st('Installing @drupal', array('@drupal' => drupal_install_profile_name())),
'error_message' => st('The installation has encountered an error.'),
);
實施例2:
drupal_set_title(st('@drupal installation complete', array('@drupal' => drupal_install_profile_name())));
實施例3:
$output .= '<p>'. (isset($messages['error']) ? st('Please review the messages above before continuing on to <a href="@url">your new site</a>.', array('@url' => url(''))) : st('You may now visit <a href="@url">your new site</a>.', array('@url' => url('')))) .'</p>';
我不知道在哪裏,但我100%確定這是重複的。 – 2010-10-12 20:51:36
@Stefano:我發現一個愚蠢 - [@(在標誌)在Drupal](http://stackoverflow.com/questions/3674689/at-sign-in-drupal) – BoltClock 2010-10-12 20:57:23