diff --git a/e107_handlers/admin_ui.php b/e107_handlers/admin_ui.php index 755a43a5e..7c6922621 100644 --- a/e107_handlers/admin_ui.php +++ b/e107_handlers/admin_ui.php @@ -4512,8 +4512,8 @@ class e_admin_ui extends e_admin_controller_ui { $this->getTreeModel()->setMessages(); // FIXME lan - if($delcount) e107::getMessage()->addSuccess($tp->lanVars(RL_LAN_085, $delcount, true)); - if($nfcount) e107::getMessage()->addError($tp->lanVars(RL_LAN_086, $nfcount,true)); + if($delcount) e107::getMessage()->addSuccess($tp->lanVars(LAN_UI_DELETED, $delcount, true)); + if($nfcount) e107::getMessage()->addError($tp->lanVars(LAN_UI_DELETED_FAILED, $nfcount,true)); } //$this->redirect(); diff --git a/e107_languages/English/admin/lan_admin.php b/e107_languages/English/admin/lan_admin.php index ff969500e..caffc75c5 100644 --- a/e107_languages/English/admin/lan_admin.php +++ b/e107_languages/English/admin/lan_admin.php @@ -432,6 +432,8 @@ define("LAN_UI_PREF_LABEL", "Settings"); define("LAN_UI_DELETE_LABEL", "Confirm Delete"); define("LAN_UI_DELETE_WARNING", "You are about to delete [x] records. Please confirm to continue."); define("LAN_UI_BATCH_CREATELINK", "Create Link"); +define("LAN_UI_DELETED", "[x] record(s) successfully deleted!"); +define("LAN_UI_DELETED_FAILED", "[x] records not found and not deleted!"); define("LAN_UI_USING_DATABASE_TABLE", "Using [x] database table"); define("LAN_UI_TOTAL_RECORDS", "Total Records: [x]"); diff --git a/e107_languages/English/admin/lan_admin_log.php b/e107_languages/English/admin/lan_admin_log.php index 39219a69c..28f9f1e7b 100644 --- a/e107_languages/English/admin/lan_admin_log.php +++ b/e107_languages/English/admin/lan_admin_log.php @@ -82,8 +82,6 @@ define("RL_LAN_081", "Mail bounces"); define("RL_LAN_082", "User bans"); define("RL_LAN_083", "Mail bounce resets"); define("RL_LAN_084", "Temporary accounts"); -define("RL_LAN_085", "[x] record(s) successfully deleted!"); -define("RL_LAN_086", "[x] records not found and not deleted!"); define("RL_LAN_087", "Details"); // Intentional gap