1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Language file cleanup continued.

This commit is contained in:
Cameron 2015-01-31 01:09:25 -08:00
parent cee4ffd235
commit a78f6ae14e
20 changed files with 46 additions and 51 deletions

View File

@ -312,7 +312,7 @@ class auth
{
$text .= "
<div class='field'>
<label for='code_verify'>".ADLAN_152."</label>"
<label for='code_verify'>".LAN_ENTER_CODE."</label>"
.$sec_img->renderImage().
$sec_img->renderInput()."
</div>";

View File

@ -1622,7 +1622,7 @@ class pluginLanguage
return $this->step1();
// return $this->step1();
}
@ -1679,7 +1679,7 @@ class pluginLanguage
similar_text($v['value'], $data['value'], $percentSimilar);
if((($v['value'] == $data['value'] || $percentSimilar > 80) && $data['file'] != $v['file']))
if((($v['value'] == $data['value'] || $percentSimilar > 89) && $data['file'] != $v['file']))
{
if(strpos($v['lan'],'LAN')===false) // Defined constants that don't contain 'LAN'.
{
@ -1857,7 +1857,7 @@ class pluginLanguage
<th>File</th>
<th>Detected LAN</th>
<th>LAN Value</th>
<th>Found on Line</th>
<th class='right'>Found on Line</th>
<th style='width:10%'>Status</th>
<th>Duplicates / Possible Substitions</th>
</tr>
@ -1875,7 +1875,7 @@ class pluginLanguage
<td>".$this->shortPath($v['file'],'script')."</td>
<td >".$v['lan']."</td>
<td ><small>".$this->lanDefsRaw[$v['lan']]."</small></td>
<td>".$v['line']."</td>
<td class='right'>".$v['line']."</td>
<td>".$this->renderStatus($status,'script')."</td>
<td>".$this->renderSimilar($v,'script')."</td>
</tr>";

View File

@ -59,8 +59,8 @@ define("ADLAN_49", "main site administrator");
define("ADLAN_51", "Please log in to gain access to administration area");
define("ADLAN_52", "Admin Front Page");
define("ADLAN_53", "Leave Admin");
define("ADLAN_54", "Banners");
define("ADLAN_55", "Configure banners");
// define("ADLAN_54", "Banners");
// define("ADLAN_55", "Configure banners");
//define("ADLAN_56", "Chatbox");
//define("ADLAN_57", "Configure chatbox");
define("ADLAN_58", "Emoticons");
@ -167,7 +167,7 @@ define("ADLAN_149", "Notify");
define("ADLAN_150", "Admin Email Notifications");
define("ADLAN_151", "Main");
define("ADLAN_152", "Enter Code");
// define("ADLAN_152", "Enter Code");
define("ADLAN_153", "Administration Area");
define("ADLAN_154", "Error contacting Sourceforge to check for new version");

View File

@ -42,7 +42,7 @@ $tp = e107::getParser();
e107::lan('banner',false,'front');
e107::lan('banner','admin_banner',true); // e_PLUGIN.'banner/languages/'.e_LANGUAGE.'_admin_banner.php'
e107::lan('banner',true,true); // e_PLUGIN.'banner/languages/'.e_LANGUAGE.'_admin_banner.php'
if(e_QUERY)

View File

@ -10,12 +10,12 @@ define("BNRLAN_00", "No banners created yet."); // 15
define("BNRLAN_01", "Banner ID not found.");
// define("BNRLAN_1", "Client"); //27
define("BNRLAN_2", "Clickthroughs");
define("BNRLAN_3", "Click %");
define("BNRLAN_4", "Impressions");
define("BNRLAN_5", "Impressions Left");
// define("BNRLAN_2", "Clickthroughs");
// define("BNRLAN_3", "Click %");
// define("BNRLAN_4", "Impressions");
// define("BNRLAN_5", "Impressions Left");
define("BNRLAN_6", "Unlimited"); // 35
// define("BNRLAN_6", "Unlimited"); // 35
define("BNRLAN_7", "Stats"); // 65
define("BNRLAN_8", "N/A"); // 66
define("BNRLAN_9", "Starts"); // 45
@ -33,8 +33,8 @@ define("BNRLAN_18", "End Date"); //37
// 19 - 24 extra space
define("BNRLAN_25", "Add new or choose existing campaign");
define("BNRLAN_26", "Enter new campaign");
define("BNRLAN_27", "New Campaign"); // 26a
// define("BNRLAN_26", "Enter new campaign");
// define("BNRLAN_27", "New Campaign"); // 26a
define("BNRLAN_28", "Add new or choose existing client");
define("BNRLAN_29", "Enter new client");
define("BNRLAN_30", "New Client"); // 29a
@ -61,6 +61,6 @@ define("BNRLAN_43", "How to show the campaigns?"); // BANNER_MENU_L10
define("BNRLAN_44", "Choose render type ..."); // BANNER_MENU_L11
define("BNRLAN_45", "One campaign in a single menu"); // BANNER_MENU_L12
define("BNRLAN_46", "All selected campaigns in one single menu"); // BANNER_MENU_L13
define("BNRLAN_47", "All selected campaigns in separate menus"); // BANNER_MENU_L14
// define("BNRLAN_47", "All selected campaigns in separate menus"); // BANNER_MENU_L14
?>

View File

@ -115,7 +115,7 @@ class featurebox_shortcodes// must match the plugin's folder name. ie. [PLUGIN_F
return $ret;
}
return e107::getRender()->tablerender(FBLAN_01, $ret, vartrue($parm['tablestyle'], 'featurebox'), true);
return e107::getRender()->tablerender(LAN_PLUGIN_FEATUREBOX_NAME, $ret, vartrue($parm['tablestyle'], 'featurebox'), true);
}
/**

View File

@ -13,7 +13,7 @@ LAN file needs working from scratch after development is stabilized
*/
//define("FBLAN_01", "Feature Box");
//define("LAN_PLUGIN_FEATUREBOX_NAME", "Feature Box");
//define("FBLAN_02", "Displays an animated area on the top of your page with news-items and other content you would like to feature.");
//define("FBLAN_03", "Configure feature box"); //FIXME LAN - use generic.
//define("FBLAN_04", "Feature Box plugin has been successfully installed. To add messages and configure, return to the main admin page and click on the feature box icon in the plugin section.");

View File

@ -6,6 +6,6 @@
* Featurebox front-end language defines
*/
define("FBLAN_01", "Feature Box");
// define("FBLAN_01", "Feature Box");
// define("FBLAN_02", "read more"); // Already used in admin area.
?>

View File

@ -675,7 +675,7 @@ function fadminoptions($thread_info)
$tp = e107::getParser();
// $text = "<form method='post' action='".e_REQUEST_URI."' id='frmMod_{$forumId}_{$threadId}' style='margin:0;'>";
$text .= '<div class="btn-group"><button class="btn btn-mini dropdown-toggle" data-toggle="dropdown">
$text .= '<div class="btn-group"><button class="btn btn-default btn-sm btn-mini dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu pull-right">

View File

@ -200,9 +200,9 @@ $forum->set_crumb(true, '', $tVars); // Set $BREADCRUMB (and BACKLINK)
//$tVars->BACKLINK = $tVars->BREADCRUMB;
//$tVars->FORUM_CRUMB = $crumbs['forum_crumb'];
$tVars->THREADNAME = $tp->toHTML($thread->threadInfo['thread_name'], true, 'no_hook, emotes_off');
$tVars->NEXTPREV = "<a class='btn btn-small' href='" . $e107->url->create('forum/thread/prev', array('id' => $thread->threadId)) . "'>&laquo; " . LAN_FORUM_2001 . "</a>";
$tVars->NEXTPREV = "<a class='btn btn-default btn-small' href='" . $e107->url->create('forum/thread/prev', array('id' => $thread->threadId)) . "'>&laquo; " . LAN_FORUM_2001 . "</a>";
$tVars->NEXTPREV .= ' | '; // enabled to make it look better on v1 templates
$tVars->NEXTPREV .= "<a class='btn btn-small' href='" . $e107->url->create('forum/thread/prev', array('id' => $thread->threadId)) . "'>" . LAN_FORUM_2002 . " &raquo;</a>";
$tVars->NEXTPREV .= "<a class='btn btn-default btn-small' href='" . $e107->url->create('forum/thread/prev', array('id' => $thread->threadId)) . "'>" . LAN_FORUM_2002 . " &raquo;</a>";
if ($forum->prefs->get('track') && USER)
{
@ -210,7 +210,7 @@ if ($forum->prefs->get('track') && USER)
$url = $e107->url->create('forum/thread/view', array('id' => $thread->threadId), 'encode=0'); // encoding could break AJAX call
$tVars->TRACK .= "
<span id='forum-track-trigger-container'>
<a class='btn btn-small' href='{$url}' id='forum-track-trigger'>{$img}</a>
<a class='btn btn-default btn-small' href='{$url}' id='forum-track-trigger'>{$img}</a>
</span>
<script type='text/javascript'>
e107.runOnLoad(function(){

View File

@ -430,8 +430,8 @@ class plugin_forum_view_shortcodes extends e_shortcode
$text = '<div class="btn-group ">
<a class="btn btn-small" href="'.e_BASE.'user.php?id.'.$this->postInfo['post_user'].'">'.$username.'</a>
<button class="btn btn-small dropdown-toggle" data-toggle="dropdown">
<a class="btn btn-default btn-small" href="'.e_BASE.'user.php?id.'.$this->postInfo['post_user'].'">'.$username.'</a>
<button class="btn btn-default btn-small dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu left">
@ -474,7 +474,7 @@ class plugin_forum_view_shortcodes extends e_shortcode
// {EMAILITEM} {PRINTITEM} {REPORTIMG}{EDITIMG}{QUOTEIMG}
$text = '<div class="btn-group pull-right">
<button class="btn btn-small dropdown-toggle" data-toggle="dropdown">
<button class="btn btn-default btn-small dropdown-toggle" data-toggle="dropdown">
Options
<span class="caret"></span>
</button>

View File

@ -17,21 +17,19 @@ $FORUM_POLL_TEMPLATE = array();
$FORUM_POLL_TEMPLATE['form']['start'] = "
<div class='clearfix'>
<div class='well span6'>
<div class='control-group'>
<ul class='nav nav-list'>
<li class='nav-header'>
Poll: {QUESTION}
</li>
<div class='well col-md-8 span6'>
<div class='form-group control-group'>
Poll: {QUESTION}
";
$FORUM_POLL_TEMPLATE['form']['item'] = "
<li>
<div class='radio'>
{ANSWER}
</li>";
</div>";
$FORUM_POLL_TEMPLATE['form']['end'] = "
</ul>
</div>
<div class='control-group'>
<div class='controls text-center'>
@ -42,8 +40,6 @@ $FORUM_POLL_TEMPLATE['form']['end'] = "
</div>
";
/* v2.x template for forum polls when user HAS voted */
$FORUM_POLL_TEMPLATE['results']['start'] = "

View File

@ -117,7 +117,7 @@ class gsitemap
$mes->addInfo($text);
$ns -> tablerender(GSLAN_40, $mes->render());
$ns -> tablerender(GSLAN_24, $mes->render());
return;
}
else
@ -564,7 +564,7 @@ function admin_config_adminmenu()
$var['import']['link'] = e_SELF."?import";
$var['import']['perm'] = "0";
show_admin_menu(GSLAN_19, $action, $var);
show_admin_menu(LAN_PLUGIN_GSITEMAP_NAME, $action, $var);
}
?>

View File

@ -28,7 +28,7 @@ define("GSLAN_15", "monthly");
define("GSLAN_16", "yearly");
define("GSLAN_18", "Import ticked links");
define("GSLAN_19", "Google Sitemap");
// define("GSLAN_19", "Google Sitemap");
define("GSLAN_20", "Listing");
define("GSLAN_21", "Instructions");
define("GSLAN_22", "Create New Entry");
@ -47,7 +47,7 @@ define("GSLAN_36", "You can also enter individual links manually by clicking 'Cr
define("GSLAN_37", "Once you have some entries, go to [URL] and enter the following URL -> <b>".SITEURL."gsitemap.php</b> - if this url doesn't look right to you, please make sure your site url is correct in admin -> preferences");
define("GSLAN_38", "For more information on Google Sitemap protocol, go to [URL].");
define("GSLAN_39", "No links in sitemap - import sitelinks?");
define("GSLAN_40", "Google Sitemap Entries");
// define("GSLAN_40", "Google Sitemap Entries");
//define("GSLAN_Name", "Sitemap");
// define("GSLAN_17", "never");

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: plugin.xml,v 1.7 2009-10-22 04:14:45 e107coders Exp $ -->
<e107Plugin name="LAN_PLUGIN_GSITEMAP_NAME" lan="GSLAN_19" version="1.0" date="2012-08-01" compatibility="2.0" installRequired="true">
<e107Plugin name="Google Sitemap" lan="LAN_PLUGIN_GSITEMAP_NAME" version="1.0" date="2012-08-01" compatibility="2.0" installRequired="true">
<author name="e107 Inc." url="http://e107.org" email="security@e107.org" />
<description lan="LAN_PLUGIN_GSITEMAP_DESCRIPTION">Generates a Google Sitemap</description>
<copyright>Copyright e107 Inc e107.org, Licensed under GPL (http://www.gnu.org/licenses/gpl.txt)</copyright>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<e107Plugin name="Import into e107" lan="LAN_PLUGIN_IMPORT_NAME" version="1.0" date="2012-08-01" compatibility="2.0" installRequired="true">
<author name="e107 Inc." url="http://e107.org" email="devs@e107.org" />
<description lan="LAN_PLUGIN_IMPORT_DIZ">Import data from Wordpress, Joomla, Drupal, Blogpost, RSS and other formats.</description>
<description lan="LAN_PLUGIN_IMPORT_DESCRIPTION">Import data from Wordpress, Joomla, Drupal, Blogpost, RSS and other formats.</description>
<category>tools</category>
<copyright>Copyright e107 Inc e107.org, Licensed under GPL (http://www.gnu.org/licenses/gpl.txt)</copyright>
<adminLinks>

View File

@ -41,7 +41,7 @@ $lw_context_areas = array(
);
// Yes, I know its a silly order - but that's history!
$lwaction_vals = array(1=>LWLAN_51, 0=>LWLAN_52, 2=>LWLAN_53, 3=>LWLAN_54);
$lwaction_vals = array(1=>LAN_INACTIVE, 0=>LWLAN_52, 2=>LWLAN_53, 3=>LWLAN_54);
$frm = e107::getForm();
// Generate dropdown for possible actions on finding a linkword
function lw_act_opts($curval)

View File

@ -50,7 +50,7 @@ define('ADLAN_PM_54', "Main settings");
define('ADLAN_PM_55', "Limits");
//define('ADLAN_PM_57', "This plugin is a fully featured Private Messaging system.");
define('ADLAN_PM_58', "Private Messenger");
// define('ADLAN_PM_58', "Private Messenger");
define('ADLAN_PM_59', 'Maintenance');
define('ADLAN_PM_60', 'PM Maintenance');
//define('ADLAN_PM_61', 'Execute');

View File

@ -75,7 +75,7 @@ define("POLLAN_45", "Poll successfully updated");
// TODO NEED TO BE RENAMED!
// define("LAN_FORUM_3029", "If you do not wish to add a poll to your topic, leave the fields blank."); // LAN_386
define("LAN_FORUM_3029", "If you do not wish to add a poll to your topic, leave the fields blank."); // LAN_386
define("LAN_FORUM_3030", "Poll question"); // LAN_5
define("LAN_FORUM_3031", "Poll answer"); // LAN_391
define("LAN_FORUM_3032", "Add another answer"); // LAN_6

View File

@ -661,8 +661,8 @@ class poll
$text .= "</div>"; // end pollsection div
$text .= "<div class='control-group'>
<input class='btn' type='button' id='addoption' name='addoption' value='".LAN_FORUM_3032."' />
$text .= "<div class='form-group control-group'>
<input class='btn btn-default' type='button' id='addoption' name='addoption' value='".LAN_FORUM_3032."' />
</div>
</form>";
@ -798,7 +798,7 @@ class poll
$text .= "</span><br />";
}
$text .="</div><input class='btn' type='button' name='addoption' value='".POLLAN_8."' onclick=\"duplicateHTML('pollopt','pollsection')\" /><br />
$text .="</div><input class='btn btn-default' type='button' name='addoption' value='".POLLAN_8."' onclick=\"duplicateHTML('pollopt','pollsection')\" /><br />
</td></tr>
<tr>