1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Issue #5465 Converted remaining English language file.

This commit is contained in:
camer0n
2025-04-29 08:25:29 -07:00
parent 45d9f48580
commit 85a65281b2
2 changed files with 139 additions and 144 deletions

View File

@@ -557,35 +557,34 @@ if(!empty($pref['multilanguage']) && (e_LANGUAGE !== $pref['sitelanguage']))
//do it only once and with the proper function
// e107_include_once(e_LANGUAGEDIR.e_LANGUAGE.'/'.e_LANGUAGE.'.php');
// e107_include_once(e_LANGUAGEDIR.e_LANGUAGE.'/'.e_LANGUAGE.'_custom.php');
// v1 Custom language File Path. // v1 Custom language File Path.
if(!isset($_E107['no_lan'])) if(!isset($_E107['no_lan']))
{ {
$dbg->logTime('Include Global Core Language Files'); $dbg->logTime('Include Global Core Language Files');
if((e_ADMIN_AREA === true) && !empty($pref['adminlanguage'])) if((e_ADMIN_AREA === true) && !empty($pref['adminlanguage']))
{ {
include(e_LANGUAGEDIR.$pref['adminlanguage'].'/'.$pref['adminlanguage'].'.php'); e107::includeLan(e_LANGUAGEDIR.$pref['adminlanguage'].'/'.$pref['adminlanguage'].'.php');
} }
else else
{ {
include(e_LANGUAGEDIR.e_LANGUAGE.'/'.e_LANGUAGE.'.php'); // FASTEST - ALWAYS load e107::includeLan(e_LANGUAGEDIR.e_LANGUAGE.'/'.e_LANGUAGE.'.php'); // FASTEST - ALWAYS load
} }
$customLan = e_LANGUAGEDIR.e_LANGUAGE.'/'.e_LANGUAGE.'_custom.php'; $customLan = e_LANGUAGEDIR.e_LANGUAGE.'/'.e_LANGUAGE.'_custom.php';
if(is_readable($customLan)) // FASTER - if exist, should be done 'once' by the core if(is_readable($customLan)) // FASTER - if exist, should be done 'once' by the core
{ {
include($customLan); e107::includeLan($customLan);
} }
// v2 Custom language File Path. // v2 Custom language File Path.
$customLan2 = e_SYSTEM.'/lans/'.e_LANGUAGE.'_custom.php'; $customLan2 = e_SYSTEM.'/lans/'.e_LANGUAGE.'_custom.php';
if(is_readable($customLan2)) // FASTER - if exist, should be done 'once' by the core if(is_readable($customLan2)) // FASTER - if exist, should be done 'once' by the core
{ {
include($customLan2); e107::includeLan($customLan2);
} }
unset($customLan, $customLan2); unset($customLan, $customLan2);
$lng->bcDefs(); // defined v1.x definitions for old templates. $lng->bcDefs(); // defined v1.x definitions for old templates.

View File

@@ -2,151 +2,147 @@
/* /*
* e107 website system * e107 website system
* *
* Copyright (C) 2008-2017 e107 Inc (e107.org) * Copyright (C) 2008-2025 e107 Inc (e107.org)
* Released under the terms and conditions of the * Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
* *
* English language file - generic terms and system LAN * English language file - generic terms and system LAN
* *
*/ */
setlocale(LC_ALL, 'en_GB.UTF-8', 'en_GB.utf8', 'eng_eng.utf8', 'en'); setlocale(LC_ALL, 'en_GB.UTF-8', 'en_GB.utf8', 'eng_eng.utf8', 'en');
define("CORE_LC", "en"); const CORE_LC = "en";
define("CORE_LC2", "gb"); const CORE_LC2 = "gb";
// define("TEXTDIRECTION","rtl");
// deprecated: all language packs must be UTF-8
//define("CHARSET", "utf-8"); // for a true multi-language site. :)
define("CORE_LAN1", "Error : theme is missing.\\n\\nChange the used themes in your preferences (admin area) or upload files for the current theme to the server.");
//obsolete define("CORE_LAN2'," \\1 wrote:");// "\\1" represents the username.
//obsolete define("CORE_LAN3", "file attachment disabled"); // Not used in 0.8
define("CORE_LAN4", "Please delete install.php from your server");
define("CORE_LAN5", "if you do not there is a potential security risk to your website");
define("CORE_LAN6", "The flood protection on this site has been activated and you are warned that if you carry on requesting pages you could be banned.");
define("CORE_LAN7", "Core is attempting to restore prefs from automatic backup.");
define("CORE_LAN8", "Core Prefs Error");
define("CORE_LAN9", "Core could not restore from automatic backup. Execution halted.");
define("CORE_LAN10", "Corrupted cookie detected - logged out.");
// Footer return [
define("CORE_LAN11", "Render time: "); // "TEXTDIRECTION" => "rtl",
define("CORE_LAN12", " sec ("); // "CHARSET" => "utf-8", // deprecated: all language packs must be UTF-8
define("CORE_LAN13", "% of that for queries) "); "CORE_LAN1" => "Error : theme is missing.\\n\\nChange the used themes in your preferences (admin area) or upload files for the current theme to the server.",
define("CORE_LAN14", "%2.3f cpu sec (%2.2f%% load, %2.3f startup). Clock: "); // "CORE_LAN2" => " \\1 wrote:", // obsolete, "\\1" represents the username.
define("CORE_LAN15", "DB queries: "); // "CORE_LAN3" => "file attachment disabled", // obsolete, Not used in 0.8
define("CORE_LAN16", "Memory: "); "CORE_LAN4" => "Please delete install.php from your server",
"CORE_LAN5" => "if you do not there is a potential security risk to your website",
"CORE_LAN6" => "The flood protection on this site has been activated and you are warned that if you carry on requesting pages you could be banned.",
"CORE_LAN7" => "Core is attempting to restore prefs from automatic backup.",
"CORE_LAN8" => "Core Prefs Error",
"CORE_LAN9" => "Core could not restore from automatic backup. Execution halted.",
"CORE_LAN10" => "Corrupted cookie detected - logged out.",
"CORE_LAN11" => "Render time: ",
"CORE_LAN12" => " sec (",
"CORE_LAN13" => "% of that for queries) ",
"CORE_LAN14" => "%2.3f cpu sec (%2.2f%% load, %2.3f startup). Clock: ",
"CORE_LAN15" => "DB queries: ",
"CORE_LAN16" => "Memory: ",
"CORE_LAN17" => "[ image disabled ]",
"CORE_LAN18" => "Image: ",
// img.bb "CORE_LAN_B" => "B",
define("CORE_LAN17", "[ image disabled ]"); "CORE_LAN_KB" => "kB",
define("CORE_LAN18", "Image: "); "CORE_LAN_MB" => "MB",
"CORE_LAN_GB" => "GB",
"CORE_LAN_TB" => "TB",
define("CORE_LAN_B", "B"); "EMESSLAN_TITLE_INFO" => "System Information",
define("CORE_LAN_KB", "kB"); "EMESSLAN_TITLE_ERROR" => "Error",
define("CORE_LAN_MB", "MB"); "EMESSLAN_TITLE_SUCCESS" => "Success",
define("CORE_LAN_GB", "GB"); "EMESSLAN_TITLE_WARNING" => "Warning",
define("CORE_LAN_TB", "TB"); "EMESSLAN_TITLE_DEBUG" => "System Debug",
define("EMESSLAN_TITLE_INFO", "System Information"); "LAN_NO_PERMISSIONS" => "You do not have permission to view this page.",
define("EMESSLAN_TITLE_ERROR", "Error"); "LAN_EDIT" => "Edit",
define("EMESSLAN_TITLE_SUCCESS", "Success"); "LAN_DELETE" => "Delete",
define("EMESSLAN_TITLE_WARNING", "Warning"); "LAN_DEFAULT" => "Default",
define("EMESSLAN_TITLE_DEBUG", "System Debug"); "LAN_MORE" => "More..",
"LAN_LESS" => "..Less",
define("LAN_NO_PERMISSIONS", "You do not have permission to view this page."); "LAN_READ_MORE" => "Read more..",
define("LAN_EDIT","Edit"); "LAN_GOPAGE" => "Go to page",
define("LAN_DELETE","Delete"); "LAN_GOTOPAGEX" => "Go to page [x]",
define("LAN_DEFAULT","Default"); "LAN_GO" => "Go",
define("LAN_MORE", "More.."); "LAN_SUBMIT" => "Submit",
define("LAN_LESS", "..Less"); "LAN_NONE" => "None",
define("LAN_READ_MORE", "Read more.."); "LAN_WARNING" => "Warning!",
define("LAN_GOPAGE", "Go to page"); "LAN_ERROR" => "Error",
define("LAN_GOTOPAGEX", "Go to page [x]"); "LAN_ANONYMOUS" => "Anonymous",
define("LAN_GO", "Go"); "LAN_EMAIL_SUBS" => "-email-",
define("LAN_SUBMIT", "Submit"); "LAN_ACTIVE" => "Active",
define("LAN_NONE", "None"); "LAN_YES" => "Yes",
define("LAN_WARNING", "Warning!"); "LAN_NO" => "No",
define("LAN_ERROR", "Error"); "LAN_OK" => "OK",
define("LAN_ANONYMOUS", "Anonymous"); "LAN_ACTIONS" => "Actions",
define("LAN_EMAIL_SUBS", "-email-"); "LAN_THANK_YOU" => "Thank you",
define("LAN_ACTIVE","Active"); "LAN_CONTINUE" => "Continue",
define("LAN_YES", "Yes"); "LAN_ENTER" => "Enter",
define("LAN_NO", "No"); "LAN_ENTER_CODE" => "Enter code",
define("LAN_OK", "OK"); "LAN_INVALID_CODE" => "Incorrect code entered.",
define("LAN_ACTIONS", "Actions"); "LAN_SEARCH" => "Search",
define("LAN_THANK_YOU", "Thank you"); "LAN_VIEW" => "View",
define("LAN_CONTINUE", "Continue"); "LAN_CLICK_TO_VIEW" => "Click to View",
define("LAN_ENTER", "Enter"); "LAN_SORT" => "Sort",
define("LAN_ENTER_CODE", "Enter code"); "LAN_ORDER_BY" => "Order By",
define("LAN_INVALID_CODE", "Incorrect code entered."); "LAN_ASCENDING" => "Ascending",
define("LAN_SEARCH", "Search"); "LAN_DESCENDING" => "Descending",
define("LAN_VIEW", "View"); "LAN_SHARE" => "Share",
define("LAN_CLICK_TO_VIEW", "Click to View");//TODO elsewhere "LAN_BACK" => "Back",
define("LAN_SORT", "Sort"); "LAN_NAME" => "Name",
define("LAN_ORDER_BY", "Order By"); "LAN_DESCRIPTION" => "Description",
define("LAN_ASCENDING", "Ascending"); "LAN_CANCEL" => "Cancel",
define("LAN_DESCENDING", "Descending"); "LAN_DATE" => "Date",
define("LAN_SHARE", "Share"); "LAN_DATE_POSTED" => "Date posted",
define("LAN_BACK", "Back"); "LAN_POSTED_BY" => "Posted by",
define("LAN_NAME", "Name"); "LAN_JSCONFIRM" => "Are you sure?",
define("LAN_DESCRIPTION", "Description"); "LAN_IP" => "IP",
define("LAN_CANCEL","Cancel"); "LAN_IP_ADDRESS" => "IP Address",
define("LAN_DATE","Date"); "LAN_AUTHOR" => "Author",
define("LAN_DATE_POSTED", "Date posted"); "LAN_CATEGORY" => "Category",
define("LAN_POSTED_BY", "Posted by"); "LAN_CATEGORIES" => "Categories",
define("LAN_JSCONFIRM","Are you sure?"); "LAN_GUEST" => "Guest",
define("LAN_IP","IP"); "LAN_NEXT" => "Next",
define("LAN_IP_ADDRESS","IP Address"); "LAN_PREVIOUS" => "Previous",
define("LAN_AUTHOR","Author"); "LAN_LOGIN" => "Login",
define("LAN_CATEGORY", "Category"); "LAN_LOGOUT" => "Logout",
define("LAN_CATEGORIES", "Categories"); "LAN_VERIFY" => "Verify",
define("LAN_GUEST", "Guest"); "LAN_SETTINGS" => "Settings",
define("LAN_NEXT", "Next"); "LAN_PASSWORD" => "Password",
define("LAN_PREVIOUS", "Previous"); "LAN_INCORRECT_PASSWORD" => "Incorrect Password",
define("LAN_LOGIN", "Login"); "LAN_TYPE" => "Type",
define("LAN_LOGOUT", "Logout"); "LAN_SCREENSHOT" => "Screenshot",
define("LAN_VERIFY", "Verify"); "LAN_FILE" => "File",
define("LAN_SETTINGS", "Settings"); "LAN_YOUTUBE_VIDEO" => "Youtube Video",
define("LAN_PASSWORD", "Password"); "LAN_YOUTUBE_PLAYLIST" => "Youtube Playlist",
define("LAN_INCORRECT_PASSWORD", "Incorrect Password"); "LAN_FILETYPES" => "Filetypes",
define("LAN_TYPE", "Type"); "LAN_FILE_NOT_FOUND" => "File Not Found",
define("LAN_SCREENSHOT", "Screenshot"); "LAN_FILES" => "Files",
define("LAN_FILE", "File"); "LAN_SIZE" => "Size",
define("LAN_YOUTUBE_VIDEO", "Youtube Video"); "LAN_VERSION" => "Version",
define("LAN_YOUTUBE_PLAYLIST", "Youtube Playlist"); "LAN_DOWNLOAD" => "Download",
define("LAN_FILETYPES", "Filetypes"); "LAN_DOWNLOAD_NO_PERMISSION" => "File not found or you have no permission to download this file!",
define("LAN_FILE_NOT_FOUND", "File Not Found"); "LAN_WEBSITE" => "Website",
define("LAN_FILES","Files"); "LAN_COMMENTS" => "Comments",
define("LAN_SIZE", "Size"); "LAN_LOCATION" => "Location",
define("LAN_VERSION", "Version"); "LAN_NO_RECORDS_FOUND" => "No Records Found",
define("LAN_DOWNLOAD", "Download"); "LAN_RATING" => "Rating",
define("LAN_DOWNLOAD_NO_PERMISSION", "File not found or you have no permission to download this file!"); "LAN_IMAGE" => "Image",
define("LAN_WEBSITE", "Website"); "LAN_ABOUT" => "About",
define("LAN_COMMENTS", "Comments"); "LAN_TITLE" => "Title",
define("LAN_LOCATION", "Location"); "LAN_MESSAGE" => "Message",
define("LAN_NO_RECORDS_FOUND","No Records Found"); "LAN_USER" => "User",
define("LAN_RATING", "Rating"); "LAN_EMAIL" => "Email address",
define("LAN_IMAGE","Image"); "LAN_WROTE" => "wrote",
define("LAN_ABOUT", "About"); "LAN_RE_ORDER" => "Re-order",
define("LAN_TITLE", "Title"); "LAN_RELATED" => "Related",
define("LAN_MESSAGE", "Message"); "LAN_CLOSE" => "Close",
define("LAN_USER", "User"); "LAN_EXPAND" => "Expand",
define("LAN_EMAIL","Email address"); "LAN_LIST" => "List",
define("LAN_WROTE", "wrote"); // as in John wrote.." "; "LAN_DATESTAMP" => "Date stamp",
define("LAN_RE_ORDER", "Re-order"); "LAN_SUBJECT" => "Subject",
define("LAN_RELATED", "Related"); "LAN_ENTER_USRNAME_EMAIL" => "Please enter your username or email",
define("LAN_CLOSE", "Close"); "LAN_PWD_REQUIRED" => "Password is required",
define("LAN_EXPAND", "Expand"); "LAN_SHOW" => "Show",
define("LAN_LIST", "List"); "LAN_GENERATE" => "Generate",
define("LAN_DATESTAMP","Date stamp"); "LAN_SUMMARY" => "Summary",
define("LAN_SUBJECT","Subject"); "LAN_REQUIRED_BLANK" => "Required field(s) were left blank.",
"LAN_PLEASEWAIT" => "Please Wait",
define("LAN_ENTER_USRNAME_EMAIL", "Please enter your username or email"); // admin php hover field admin name "LAN_CHOOSE_FILE" => "Choose a file",
define("LAN_PWD_REQUIRED", "Password is required"); // admin php hover field admin password "LAN_REQUIRED" => "Required",
define("LAN_SHOW", "Show"); "LAN_DEVELOPERMODE_CHECK" => "[b]Developer mode is currently enabled. Use this mode only when developing![/b] [br]Please disable developer mode when using your website in live production. When developer mode is enabled, sensitive information may be shown to the public!"
define("LAN_GENERATE", "Generate"); ];
define("LAN_SUMMARY", "Summary"); // TODO more files use summary replace
define("LAN_REQUIRED_BLANK", "Required field(s) were left blank.");
define("LAN_PLEASEWAIT", "Please Wait");
define("LAN_CHOOSE_FILE", "Choose a file");
define("LAN_REQUIRED", "Required");
define("LAN_DEVELOPERMODE_CHECK", "[b]Developer mode is currently enabled. Use this mode only when developing![/b] [br]Please disable developer mode when using your website in live production. When developer mode is enabled, sensitive information may be shown to the public!");