在Drupal中,
使用node_delete函数删除节点
默认情况下删除后,它会以绿色文本和白色背景
如何更改默认删除邮件
删除成功
答案 0 :(得分:1)
您可以在settings.php文件中为站点设置字符串覆盖。
见这里:
/**
* String overrides:
*
* To override specific strings on your site with or without enabling locale
* module, add an entry to this list. This functionality allows you to change
* a small number of your site's default English language interface strings.
*
* Remove the leading hash signs to enable.
*/
# $conf['locale_custom_strings_en'] = array(
# 'forum' => 'Discussion board',
# '@count min' => '@count minutes',
# );
我认为你需要
$conf['locale_custom_strings_en'] = array(
'@type %title has been deleted.' => 'Delete Success',
);