1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

Duplicate LANs Replaced with Common Phrases - Page & Menus

LANS found on PAGE and MENU replaced with common terms - plus other odd
instances of same terms.
This commit is contained in:
MikeyGMT 2015-07-02 14:33:04 +01:00
parent 142d31768c
commit ea79550e83
29 changed files with 39 additions and 39 deletions

View File

@ -159,7 +159,7 @@ class page_chapters_ui extends e_admin_ui
'chapter_template' => array('title'=> LAN_TEMPLATE, 'type' => 'dropdown', 'width' => 'auto','filter' => true, 'batch'=>true, 'inline'=>true, 'writeParms'=>''),
'chapter_meta_description' => array('title'=> LAN_DESCRIPTION, 'type' => 'textarea', 'width' => 'auto', 'thclass' => 'left','readParms' => 'expand=...&truncate=150&bb=1', 'readonly'=>FALSE),
'chapter_meta_keywords' => array('title'=> CUSLAN_54, 'type' => 'tags', 'inline'=>true, 'width' => 'auto', 'thclass' => 'left', 'readonly'=>FALSE),
'chapter_meta_keywords' => array('title'=> LAN_KEYWORDS, 'type' => 'tags', 'inline'=>true, 'width' => 'auto', 'thclass' => 'left', 'readonly'=>FALSE),
'chapter_sef' => array('title'=> LAN_SEFURL, 'type' => 'text', 'width' => 'auto', 'readonly'=>FALSE, 'inline'=>true, 'writeParms'=>'size=xxlarge&inline-empty=1'), // Display name
'chapter_manager' => array('title'=> CUSLAN_55, 'type' => 'userclass', 'inline'=>true, 'width' => 'auto', 'data' => 'int','batch'=>TRUE, 'filter'=>TRUE),
'chapter_order' => array('title'=> LAN_ORDER, 'type' => 'text', 'width' => 'auto', 'thclass' => 'right', 'class'=> 'right' ),
@ -485,7 +485,7 @@ class page_admin_ui extends e_admin_ui
'page_class' => array('title'=> LAN_VISIBILITY, 'tab' => 1, 'type' => 'userclass', 'data'=>'int', 'inline'=>true, 'width' => 'auto', 'filter' => true, 'batch' => true),
'page_rating_flag' => array('title'=> LAN_RATING, 'tab' => 1, 'type' => 'boolean', 'data'=>'int', 'width' => '5%', 'thclass' => 'center', 'class' => 'center' ),
'page_comment_flag' => array('title'=> ADLAN_114, 'tab' => 1, 'type' => 'boolean', 'data'=>'int', 'width' => '5%', 'thclass' => 'center', 'class' => 'center' ),
'page_password' => array('title'=> LAN_PAGE_9, 'tab' => 1, 'type' => 'text', 'data'=>'str', 'width' => 'auto', 'writeParms'=>array('password'=>1, 'nomask'=>1, 'size' => 40, 'class' => 'tbox e-password', 'generate' => 1, 'strength' => 1, 'required'=>0)),
'page_password' => array('title'=> LAN_PASSWORD, 'tab' => 1, 'type' => 'text', 'data'=>'str', 'width' => 'auto', 'writeParms'=>array('password'=>1, 'nomask'=>1, 'size' => 40, 'class' => 'tbox e-password', 'generate' => 1, 'strength' => 1, 'required'=>0)),
'page_sef' => array('title'=> LAN_SEFURL, 'tab' => 1, 'type' => 'text', 'inline'=>true, 'width' => 'auto', 'writeParms'=>'size=xxlarge'),
'page_metakeys' => array('title'=> LAN_KEYWORDS, 'tab' => 1, 'type' => 'tags', 'width' => 'auto'),
'page_metadscr' => array('title'=> CUSLAN_11, 'tab' => 1, 'type' => 'text', 'width' => 'auto', 'writeParms'=>'size=xxlarge'),

View File

@ -2289,7 +2289,7 @@ class media_admin_ui extends e_admin_ui
<th class='center'>".LAN_FILE."</th>
<th>".IMALAN_115."</th>
<th>".IMALAN_116."</th>
<th>".IMALAN_117."</th>
<th>".LAN_AUTHOR."</th>
<th>".IMALAN_118."</th>
<th>".IMALAN_119."</th>
<th>".LAN_DATESTAMP."</th>

View File

@ -869,13 +869,13 @@ class e_layout
$text .= "<a href='#' class='menuOption menu-btn menu-btn-mini menu-btn-danger deleteMenu pull-right' data-area='area-".$area."' data-delete='".$uniqueId."'>&times;</a>"; // $('.hello').remove();
$text .= '<a class="menuOption e-menumanager-option menu-btn pull-right" data-modal-caption="'.MENLAN_20.'" href="'.$visibilityLink.'" title="'.MENLAN_20.'"><i class="icon-search"></i></a>';
$text .= '<a class="menuOption e-menumanager-option menu-btn pull-right" data-modal-caption="'.LAN_VISIBILITY.'" href="'.$visibilityLink.'" title="'.LAN_VISIBILITY.'"><i class="icon-search"></i></a>';
/*
$text .= '<span class="menu-options-buttons">
<a class="e-menumanager-option menu-btn" data-modal-caption="'.MENLAN_20.'" href="'.$visibilityLink.'" title="'.MENLAN_20.'"><i class="S16 e-search-16"></i></a>';
<a class="e-menumanager-option menu-btn" data-modal-caption="'.LAN_VISIBILITY.'" href="'.$visibilityLink.'" title="'.LAN_VISIBILITY.'"><i class="S16 e-search-16"></i></a>';
if($conf)
{

View File

@ -156,7 +156,7 @@ else
</tr>";
}
$text .= "
<tr><td colspan='5' class='fcaption'>".MDCLAN_10."</td></tr>
<tr><td colspan='5' class='fcaption'>".LAN_OPTIONS."</td></tr>
<tr>
<td class='forumheader3' style='text-align:right' colspan='4'>".MDCLAN_14.":</td>
<td style='width:25%;' class='forumheader3'>

View File

@ -219,7 +219,7 @@ class pluginManager{
"plugin_folder" => array("title" => EPL_ADLAN_64, "type"=>"text", "width" => "10%", "thclass" => "middle"),
"plugin_category" => array("title" => LAN_CATEGORY, "type"=>"text", "width" => "auto", "thclass" => "middle"),
"plugin_author" => array("title" => EPL_ADLAN_12, "type"=>"text", "width" => "10%", "thclass" => "middle"),
"plugin_author" => array("title" => LAN_AUTHOR, "type"=>"text", "width" => "10%", "thclass" => "middle"),
"plugin_license" => array("title" => "License", 'nolist'=>true, "forced"=>true, "type"=>"text", "width" => "5%", "thclass" => "left"),
// "plugin_price" => array("title" => "Price", 'nolist'=>true, "forced"=>true, "type"=>"text", "width" => "5%", "thclass" => "left"),
"plugin_compatible" => array("title" => EPL_ADLAN_13, "type"=>"text", "width" => "5%", "thclass" => "middle"),
@ -2946,7 +2946,7 @@ TEMPLATE;
"number" => EPL_ADLAN_182,
"dropdown" => EPL_ADLAN_183,
"userclass" => EPL_ADLAN_184,
"datestamp" => EPL_ADLAN_185,
"datestamp" => LAN_DATE,
"method" => EPL_ADLAN_186,
"hidden" => EPL_ADLAN_187,
"user" => EPL_ADLAN_188,

View File

@ -93,7 +93,7 @@ else
</td>
</tr>
<tr>
<td>".UDALAN_5.":</td>
<td>".LAN_PASSWORD.":</td>
<td>".$frm->password('a_password','',20,'generate=1&strength=1')."
</td>

View File

@ -1427,7 +1427,7 @@ class users_admin_ui extends e_admin_ui
//if (isset($_POST['generatepassword']))
{
$mes->addSuccess(USRLAN_62.': <strong>'.htmlspecialchars($savePassword, ENT_QUOTES, CHARSET).'</strong>');
$mes->addSuccess(LAN_PASSWORD.': <strong>'.htmlspecialchars($savePassword, ENT_QUOTES, CHARSET).'</strong>');
}
return;
}
@ -1482,7 +1482,7 @@ class users_admin_ui extends e_admin_ui
</tr>
<tr>
<td>".USRLAN_62."</td>
<td>".LAN_PASSWORD."</td>
<td>".$frm->password('password', '', 20, array('size' => 40, 'class' => 'tbox e-password', 'generate' => 1, 'strength' => 1))."
</td>
</tr>";

View File

@ -120,7 +120,7 @@ class comment
$sc_style['AUTHOR_INPUT']['pre'] = "<tr><td style='width:20%; vertical-align:top;'>".COMLAN_16."</td><td style='width:80%'>";
$sc_style['AUTHOR_INPUT']['post'] = "</td></tr>";
$sc_style['RATE_INPUT']['pre'] = "<tr><td style='width:20%; vertical-align:top;'>".COMLAN_327.":</td><td style='width:80%;'>";
$sc_style['RATE_INPUT']['pre'] = "<tr><td style='width:20%; vertical-align:top;'>".LAN_RATING.":</td><td style='width:80%;'>";
$sc_style['RATE_INPUT']['post'] = "</td></tr>";
$sc_style['COMMENT_INPUT']['pre'] = "<tr><td style='width:20%; vertical-align:top;'>".COMLAN_8.":</td><td id='commentform' style='width:80%;'>";

View File

@ -964,7 +964,7 @@ class mailoutAdminClass extends e107MailManager
$tList = self::getEmailTemplateNames('user');
foreach($tList as $key => $val)
{
$emFormat[$key] = LAN_MAILOUT_258 . $val;
$emFormat[$key] = LAN_TEMPLATE . $val;
}
}

View File

@ -1498,7 +1498,7 @@ class e_menuManager {
$visibilityLink = e_SELF."?enc=".base64_encode('lay='.$this->curLayout.'&vis='.$menu_id.'&iframe=1');
$text .= '<span class="menu-options-buttons">
<a class="e-menumanager-option menu-btn" data-modal-caption="'.MENLAN_20.'" href="'.$visibilityLink.'" title="'.MENLAN_20.'"><i class="S16 e-search-16"></i></a>';
<a class="e-menumanager-option menu-btn" data-modal-caption="'.LAN_VISIBILITY.'" href="'.$visibilityLink.'" title="'.LAN_VISIBILITY.'"><i class="S16 e-search-16"></i></a>';
if($conf)
{

View File

@ -17,6 +17,6 @@
if (!defined('e107_INIT')) { exit; }
/*
$advanced['date']['type'] = 'date';
$advanced['date']['text'] = LAN_SEARCH_68.':';
$advanced['date']['text'] = LAN_DATE.':';
*/
?>

View File

@ -819,7 +819,7 @@ class themeHandler
$text = "<table class='table table-striped'>";
// $text .= "<tr><th colspan='2'><h3>".$theme['name']." ".$theme['version']."</h3></th></tr>";
$text .= $author ? "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_4."</b>:</td><td style='vertical-align:top'>".$author."</td></tr>" : "";
$text .= $author ? "<tr><td style='vertical-align:top; width:24%'><b>".LAN_AUTHOR."</b>:</td><td style='vertical-align:top'>".$author."</td></tr>" : "";
$text .= $website ? "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_5."</b>:</td><td style='vertical-align:top'>".$website."</td></tr>" : "";
$text .= $theme['date'] ? "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_6."</b>:</td><td style='vertical-align:top'>".$theme['date']."</td></tr>" : "";
$text .= $compat ? "<tr><td style='vertical-align:top; width:24%'><b>".TPVLAN_57."</b>:</td><td style='vertical-align:top'>".$compat."</td></tr>" : "";
@ -1209,7 +1209,7 @@ class themeHandler
<td class='well center middle' rowspan='6' style='text-align:center; vertical-align:middle;width:25%'>".$thumbnail."</td>
</tr>";
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".TPVLAN_4."</b>:</td><td style='vertical-align:top'>".$author."</td></tr>";
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".LAN_AUTHOR."</b>:</td><td style='vertical-align:top'>".$author."</td></tr>";
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".TPVLAN_5."</b>:</td><td style='vertical-align:top'>".$website."</td></tr>";
$text .= "<tr><td style='vertical-align:top; width:25%'><b>".TPVLAN_6."</b>:</td><td style='vertical-align:top'>".$theme['date']."</td></tr>";

View File

@ -87,7 +87,7 @@ class e107_user_extended
4 => UE_LAN_4,
5 => UE_LAN_5,
6 => UE_LAN_6,
7 => UE_LAN_7,
7 => LAN_DATE,
8 => UE_LAN_8,
9 => UE_LAN_9,
10=> UE_LAN_10

View File

@ -18,7 +18,7 @@ define("CUSLAN_50", "List Books/Chapters");
define("CUSLAN_51", "Add Book/Chapter");
define("CUSLAN_52", "Book");
define("CUSLAN_53", "Book or Chapter Title");
define("CUSLAN_54", "Meta Keywords");
//define("CUSLAN_54", "Meta Keywords");//LAN_KEYWORDS
define("CUSLAN_55", "Can be edited by");
define("CUSLAN_56", "Parent");
define("CUSLAN_57", 'Please choose unique SEF URL string for this entry.');

View File

@ -151,7 +151,7 @@ define('IMALAN_113', "Scanning for new media (images, videos, files) in folder:"
define('IMALAN_114', "No media Found! Please upload some files.");
define('IMALAN_115', "Title (internal use)");
define('IMALAN_116', "Caption (seen by public)");
define('IMALAN_117', "Author"); // use LAN_AUTHOR
//define('IMALAN_117', "Author"); // use LAN_AUTHOR
define('IMALAN_118', "Mime Type");
define('IMALAN_119', "File Size");
define('IMALAN_120', "Dimensions");

View File

@ -69,7 +69,7 @@ define("LANG_LAN_106", "Language by Domain Name");
define("LANG_LAN_107", "Domain determines the site's language. Enter domain without the 'www.'");
define("LANG_LAN_108", "Name");
define("LANG_LAN_109", "Version");
define("LANG_LAN_110", "Author");
//define("LANG_LAN_110", "Author");//LAN_AUTHOR
define("LANG_LAN_111", "Release-date");
define("LANG_LAN_112", "Compatible");
define("LANG_LAN_113", "Download");

View File

@ -60,7 +60,7 @@ define("LAN_MAILOUT_46", "User-Match");
define("LAN_MAILOUT_47", "contains");
define("LAN_MAILOUT_48", "equals");
//define("LAN_MAILOUT_49", "Id");//LAN_ID
define("LAN_MAILOUT_50", "Author");
//define("LAN_MAILOUT_50", "Author");//LAN_AUTHOR
define("LAN_MAILOUT_51", "Subject");
define("LAN_MAILOUT_52", "Last mod");
define("LAN_MAILOUT_53", "Admins");
@ -90,7 +90,7 @@ define("LAN_MAILOUT_76", "Include email info in log");
define("LAN_MAILOUT_77", "Email address sources");
define("LAN_MAILOUT_78", "Mailshot Status");
define("LAN_MAILOUT_79", "No mailshots to display");
define("LAN_MAILOUT_80", "Date");
//define("LAN_MAILOUT_80", "Date");//LAN_DATE
define("LAN_MAILOUT_81", "The email has been successfully sent, please check your inbox.");
define("LAN_MAILOUT_82", "Mails sent");
define("LAN_MAILOUT_83", "Mails to go");
@ -273,7 +273,7 @@ define("LAN_MAILOUT_254", "View templated email");
define("LAN_MAILOUT_255", "Templated Email, ID: ");
define("LAN_MAILOUT_256", "Return");
define("LAN_MAILOUT_257", "Generated template");
define("LAN_MAILOUT_258", "Template: ");
//define("LAN_MAILOUT_258", "Template: ");//LAN_TEMPLATE
define("LAN_MAILOUT_259", "");

View File

@ -25,7 +25,7 @@ define("MENLAN_15", "Deactivate");
define("MENLAN_17", "Move Up");
define("MENLAN_18", "Move Down");
define("MENLAN_19", "Move to Area");
define("MENLAN_20", "Visibility");
//define("MENLAN_20", "Visibility");//LAN_VISIBILITY
// define("MENLAN_21", "Visible to Guests only");
define("MENLAN_22", "Inactive Menus");

View File

@ -16,7 +16,7 @@ define("MDCLAN_6", "block");
define("MDCLAN_8", "Moderate Comments");
define("MDCLAN_9", "Warning! Deleting Parent comments will also delete all replies!");
define("MDCLAN_10", "options");
//define("MDCLAN_10", "options");//LAN_OPTIONS
define("MDCLAN_11", "comment");
define("MDCLAN_12", "comments");
define("MDCLAN_13", "blocked");

View File

@ -20,7 +20,7 @@ define("EPL_ADLAN_8", "Preference settings successfully created.");
define("EPL_ADLAN_9", "SQL commands failed. Check to be sure all upgrade changes are ok.");
define("EPL_ADLAN_10", "Name");
define("EPL_ADLAN_11", "Version");
define("EPL_ADLAN_12", "Author");
//define("EPL_ADLAN_12", "Author"); //LAN_AUTHOR
define("EPL_ADLAN_13", "Compatible");
define("EPL_ADLAN_14", "Description");
define("EPL_ADLAN_15", "Read the README file for more information");
@ -212,7 +212,7 @@ define ('EPL_ADLAN_181',"True/False");
define ('EPL_ADLAN_182',"Text Box (number)");
define ('EPL_ADLAN_183',"DropDown");
define ('EPL_ADLAN_184',"DropDown (userclasses)");
define ('EPL_ADLAN_185',"Date");
//define ('EPL_ADLAN_185',"Date");//LAN_DATE
define ('EPL_ADLAN_186',"Custom Function");
define ('EPL_ADLAN_187',"Hidden");
define ('EPL_ADLAN_188',"User");

View File

@ -8,11 +8,11 @@
define("TPVLAN_1", "You are looking at a preview of the <b>'".PREVIEWTHEMENAME."'</b> theme. It has not been set as the main theme for your site, it has been activated to provide a preview of how the theme looks.<br />To set this theme as your site theme, <a href='".e_ADMIN."theme.php?choose'>return to your theme manager</a> and select 'Set As Site Theme'.<br />To preview more themes please <a href='".e_ADMIN."theme.php'>click here</a>");
define("TPVLAN_2", "Theme Preview");
define("TPVLAN_3", "Site theme changed.");
define("TPVLAN_4", "Author");
//define("TPVLAN_4", "Author");//LAN_AUTHOR
define("TPVLAN_5", "Website");
define("TPVLAN_6", "Release date");
define("TPVLAN_7", "Information");
define("TPVLAN_8", "Options");
//define("TPVLAN_8", "Options");
define("TPVLAN_9", "Preview Theme");
define("TPVLAN_10", "Set as Site Theme");
define("TPVLAN_11", "Version");

View File

@ -11,7 +11,7 @@ define("UDALAN_1", "Error - please re-submit.");
define("UDALAN_2", "Admin Settings updated");
define("UDALAN_3", "Settings updated for");
define("UDALAN_4", "Name");
define("UDALAN_5", "Password");
//define("UDALAN_5", "Password");//LAN_PASSWORD
define("UDALAN_6", "Re-type password");
define("UDALAN_7", "Change password");
define("UDALAN_8", "Password updated for");

View File

@ -72,7 +72,7 @@ define("USRLAN_58", "file uploads are disabled in php.ini");
define("USRLAN_59", "Quick add user"); // FIXME duplicate?
define("USRLAN_60", "Add user");
define("USRLAN_61", "Display name");
define("USRLAN_62", "Password");
//define("USRLAN_62", "Password");//LAN_PASSWORD
define("USRLAN_63", "Re-type Password");
define("USRLAN_64", "Email Address");
define("USRLAN_65", "That display name cannot be accepted as valid, please choose a different display name");

View File

@ -51,7 +51,7 @@ define("COMLAN_323", "Error!");
define("COMLAN_324", "Subject");
define("COMLAN_325", "Re:");
define("COMLAN_326", "Reply to this");
define("COMLAN_327", "Rating");
//define("COMLAN_327", "Rating");//LAN_RATING
define("COMLAN_328", "Comments are locked");
define("COMLAN_329", "Unauthorized");
define("COMLAN_330", "IP:");

View File

@ -18,7 +18,7 @@ define("LAN_PAGE_5", "Thank you for rating this page");
define("LAN_PAGE_6", "You do not have permission to view this page");
define("LAN_PAGE_7", "Incorrect password");
define("LAN_PAGE_8", "Password Protected Page");
define("LAN_PAGE_9", "Password");
//define("LAN_PAGE_9", "Password");//LAN_PASSWORD
define("LAN_PAGE_10", "Submit");
define("LAN_PAGE_11", "Page List");
define("LAN_PAGE_12", "Invalid page");

View File

@ -95,7 +95,7 @@ define("LAN_SEARCH_64", "All Download Categories");
define("LAN_SEARCH_65", "Downloads");
define("LAN_SEARCH_66", "Date added");
define("LAN_SEARCH_67", "All downloads details");
define("LAN_SEARCH_68", "Date");
//define("LAN_SEARCH_68", "Date");//LAN_DATE
define("LAN_SEARCH_69", "Relevance");
define("LAN_SEARCH_70", "Posted to download item");

View File

@ -88,7 +88,7 @@ define('LAN_USER_57', 'Order: '); // LAN_139
define('LAN_USER_58', 'Member'); // LAN_142
define('LAN_USER_59', 'Joined'); // LAN_145
define('LAN_USER_60', 'Email Address: '); // LAN_112
define('LAN_USER_61', 'Rating'); // LAN_406
//define('LAN_USER_61', 'Rating'); // LAN_406 now LAN_RATING
define('LAN_USER_62', 'Send Private Message'); // LAN_425
define('LAN_USER_63', 'Real Name: '); // LAN_308
define('LAN_USER_64', 'Site Stats'); // LAN_403
@ -156,7 +156,7 @@ define("LAN_149", "Forum posts");
define("LAN_308", "Real Name");
define("LAN_403", "Site Stats");
define("LAN_404", "Last visit");
define("LAN_406", "Rating");
//define("LAN_406", "Rating");//LAN_RATING
define("LAN_419", "Show");
define("LAN_425", "Send Private Message");

View File

@ -16,7 +16,7 @@ define("UE_LAN_3", "Drop-Down Menu");
define("UE_LAN_4", "DB Table Field");
define("UE_LAN_5", "Textarea");
define("UE_LAN_6", "Integer");
define("UE_LAN_7", "Date");
//define("UE_LAN_7", "Date");//LAN_DATE
define("UE_LAN_8", "Language");
define('UE_LAN_9', 'Predefined list');
define('UE_LAN_10', 'Checkboxes');

View File

@ -742,7 +742,7 @@ class pageClass
case 'pw':
$frm = e107::getForm();
$extend->caption = LAN_PAGE_8;
$extend->label = LAN_PAGE_9;
$extend->label = LAN_PASSWORD;
$extend->password = $frm->password('page_pw','',50,'size=xlarge&required=1');
$extend->icon = e_IMAGE_ABS.'generic/password.png';
$extend->submit = $frm->submit('submit_page_pw', LAN_PAGE_10);