diff --git a/e107_admin/comment.php b/e107_admin/comment.php index 90ca39d84..d0a2b1b76 100644 --- a/e107_admin/comment.php +++ b/e107_admin/comment.php @@ -40,7 +40,7 @@ class comments_admin extends e_admin_dispatcher // 'main/create' => array('caption'=> LAN_CREATE, 'perm' => '0'), 'main/prefs' => array('caption'=> LAN_PREFS, 'perm' => '0'), // 'main/custom' => array('caption'=> 'Custom Page', 'perm' => '0') - 'main/tools' => array('caption'=> 'Tools', 'perm' => '0'), + 'main/tools' => array('caption'=> ADLAN_CL_6, 'perm' => '0'), ); protected $adminMenuAliases = array( @@ -191,7 +191,7 @@ class comments_admin_ui extends e_admin_ui $this->toolsProcessPage(); $text = "
"; return $text; @@ -225,7 +225,7 @@ class comments_admin_ui extends e_admin_ui } } } - $mes->addSuccess('Comment count successfully recalculated!'); + $mes->addSuccess(LAN_SUCC_RECALCULATE_COMMENT_COUNT); } } diff --git a/e107_languages/English/admin/lan_admin.php b/e107_languages/English/admin/lan_admin.php index 115eab3c7..e05332eb3 100644 --- a/e107_languages/English/admin/lan_admin.php +++ b/e107_languages/English/admin/lan_admin.php @@ -551,3 +551,5 @@ define("LAN_UI_FILTER_NEXT_WEEK", "Next Week"); define("LAN_UI_FILTER_NEXT_MONTH", "Next Month"); define("LAN_UI_FILTER_NEXT_YEAR", "Next Year"); define("LAN_UI_FILTER_IS_EMPTY", "Is Empty"); +define("LAN_RECALCULATE_COMMENT_COUNT", "Recalculate comment count"); +define("LAN_SUCC_RECALCULATE_COMMENT_COUNT", "Comment count successfully recalculated!");