From cee4ffd235ffc3832e2f4bfca7e8b3afa39bdaac Mon Sep 17 00:00:00 2001 From: Cameron Date: Fri, 30 Jan 2015 23:43:15 -0800 Subject: [PATCH] Language-file cleanup --- e107_handlers/search/advanced_comment.php | 2 +- e107_plugins/chatbox_menu/chatbox_menu.php | 2 +- e107_plugins/chatbox_menu/e_search.php | 2 +- .../chatbox_menu/languages/English/admin_chatbox_menu.php | 2 +- e107_plugins/download/e_search.php | 2 +- e107_plugins/forum/search/search_advanced.php | 2 +- e107_plugins/news/e_search.php | 2 +- e107_plugins/page/e_search.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/e107_handlers/search/advanced_comment.php b/e107_handlers/search/advanced_comment.php index f19b4db4f..a786d1ff7 100644 --- a/e107_handlers/search/advanced_comment.php +++ b/e107_handlers/search/advanced_comment.php @@ -33,7 +33,7 @@ foreach ($search_prefs['comments_handlers'] as $h_key => $value) { } $advanced['date']['type'] = 'date'; -$advanced['date']['text'] = LAN_SEARCH_50.':'; +$advanced['date']['text'] = LAN_DATE_POSTED.':'; $advanced['author']['type'] = 'author'; $advanced['author']['text'] = LAN_SEARCH_61.':'; diff --git a/e107_plugins/chatbox_menu/chatbox_menu.php b/e107_plugins/chatbox_menu/chatbox_menu.php index 4138ea887..524eb6a8a 100644 --- a/e107_plugins/chatbox_menu/chatbox_menu.php +++ b/e107_plugins/chatbox_menu/chatbox_menu.php @@ -346,7 +346,7 @@ if(!$text = $e107cache->retrieve("nq_chatbox")) -$caption = (file_exists(THEME."images/chatbox_menu.png") ? " ".LAN_PLUGIN_CHATBOX_MENU_NAME : CHATBOX_L2); +$caption = (file_exists(THEME."images/chatbox_menu.png") ? " ".LAN_PLUGIN_CHATBOX_MENU_NAME : LAN_PLUGIN_CHATBOX_MENU_NAME); if($pref['cb_layer'] == 1) { diff --git a/e107_plugins/chatbox_menu/e_search.php b/e107_plugins/chatbox_menu/e_search.php index f9e5ff629..6d3213f3b 100644 --- a/e107_plugins/chatbox_menu/e_search.php +++ b/e107_plugins/chatbox_menu/e_search.php @@ -25,7 +25,7 @@ class chatbox_menu_search extends e_search // include plugin-folder in the name. 'table' => 'chatbox', 'advanced' => array( - 'date' => array('type' => 'date', 'text' => LAN_SEARCH_50), + 'date' => array('type' => 'date', 'text' => LAN_DATE_POSTED), 'author'=> array('type' => 'author', 'text' => LAN_SEARCH_61) ), diff --git a/e107_plugins/chatbox_menu/languages/English/admin_chatbox_menu.php b/e107_plugins/chatbox_menu/languages/English/admin_chatbox_menu.php index 53169b8c1..e2e20aa26 100644 --- a/e107_plugins/chatbox_menu/languages/English/admin_chatbox_menu.php +++ b/e107_plugins/chatbox_menu/languages/English/admin_chatbox_menu.php @@ -39,7 +39,7 @@ define("CHBLAN_27", "- Delete all posts -"); // define("CHBLAN_28", "Chatbox pruned."); define("CHBLAN_29", "Display chatbox inside scrolling layer with height [x]"); // [x] will be replaced automatically -define("CHBLAN_30", "Layer height"); +// define("CHBLAN_30", "Layer height"); define("CHBLAN_31", "Show emoticons"); define("CHBLAN_32", "Moderator userclass"); diff --git a/e107_plugins/download/e_search.php b/e107_plugins/download/e_search.php index 86e602273..4afe14adb 100644 --- a/e107_plugins/download/e_search.php +++ b/e107_plugins/download/e_search.php @@ -42,7 +42,7 @@ class download_search extends e_search // include plugin-folder in the name. 'advanced' => array( 'cat' => array('type' => 'dropdown', 'text' => LAN_SEARCH_55, 'list'=>$catList), - 'date' => array('type' => 'date', 'text' => LAN_SEARCH_50), + 'date' => array('type' => 'date', 'text' => LAN_DATE_POSTED), 'author'=> array('type' => 'author', 'text' => LAN_SEARCH_61) ), diff --git a/e107_plugins/forum/search/search_advanced.php b/e107_plugins/forum/search/search_advanced.php index fb01a78fd..5d3b193bf 100644 --- a/e107_plugins/forum/search/search_advanced.php +++ b/e107_plugins/forum/search/search_advanced.php @@ -31,7 +31,7 @@ if ($sql -> db_Select_gen("SELECT f.forum_id, f.forum_name FROM #forum AS f LEFT } $advanced['date']['type'] = 'date'; -$advanced['date']['text'] = LAN_SEARCH_50.':'; +$advanced['date']['text'] = LAN_DATE_POSTED.':'; $advanced['author']['type'] = 'author'; $advanced['author']['text'] = LAN_SEARCH_61.':'; diff --git a/e107_plugins/news/e_search.php b/e107_plugins/news/e_search.php index 5455db3cd..192aa05ee 100644 --- a/e107_plugins/news/e_search.php +++ b/e107_plugins/news/e_search.php @@ -48,7 +48,7 @@ class news_search extends e_search // include plugin-folder in the name. 'advanced' => array( 'cat' => array('type' => 'dropdown', 'text' => LAN_SEARCH_55, 'list'=>$catList), - 'date'=> array('type' => 'date', 'text' => LAN_SEARCH_50), + 'date'=> array('type' => 'date', 'text' => LAN_DATE_POSTED), 'match'=> array('type' => 'dropdown', 'text' => LAN_SEARCH_52, 'list'=>$matchList) ), diff --git a/e107_plugins/page/e_search.php b/e107_plugins/page/e_search.php index 58c229984..976e95841 100644 --- a/e107_plugins/page/e_search.php +++ b/e107_plugins/page/e_search.php @@ -80,7 +80,7 @@ class page_search extends e_search // include plugin-folder in the name. 'advanced' => array( 'cat' => array('type' => 'dropdown', 'text' => "Search in Book/Chapter", 'list'=>$catList), - // 'date'=> array('type' => 'date', 'text' => LAN_SEARCH_50), + // 'date'=> array('type' => 'date', 'text' => LAN_DATE_POSTED), // 'match'=> array('type' => 'dropdown', 'text' => LAN_SEARCH_52, 'list'=>$matchList) ),