1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Issue #6: Remove and optimize (hardcoded) LANS

This commit is contained in:
Lóna Lore
2015-05-01 12:46:46 +02:00
parent 9fb268e7e4
commit f48ca466e9
10 changed files with 157 additions and 74 deletions

View File

@@ -411,7 +411,7 @@ class banlist_form_ui extends e_admin_form_ui
}
elseif($this->getController()->getAction() == 'create')
{
return $this->hidden('banlist_bantype',eIPHandler::BAN_TYPE_MANUAL)."<span class='label label-important'>Blacklist entry</span>"; //TODO LAN
return $this->hidden('banlist_bantype',eIPHandler::BAN_TYPE_MANUAL)."<span class='label label-important'>".BANLAN_121."</span>";
}

View File

@@ -175,10 +175,10 @@ class cron_admin_ui extends e_admin_ui
if(is_dir(e_BASE.".git"))
{
$cronDefaults['_system'][7] = array(
'name' => "Update this Git repository", //TODO LAN
'name' => LAN_CRON_20_4,
'category' => 'update',
'function' => 'gitrepo',
'description' => "Update this e107 installation with the very latest files from github.<br />Recommended for developers only.<br /><span class='label label-warning'>Warning!</span> May cause site instability!", //TODO LAN
'description' => LAN_CRON_20_5."<br />".LAN_CRON_20_6."<br /><span class='label label-warning'>".LAN_CRON_20_7."</span> ".LAN_CRON_20_8,
// 'available' => e107::getPref('ban_retrigger')
);

View File

@@ -264,7 +264,7 @@ if(isset($_POST['fp_save_new']))
if($ind)
{
$mes->addDebug(print_a($fp_settings,true));
$mes->addError( "duplicate definition for class: ".$ind); //TODO LAN
$mes->addError(FRTLAN_56." ".$ind);
unset($fp_settings[$ind]); // Knock out duplicate definition for class
}
@@ -282,7 +282,7 @@ if(isset($_POST['fp_save_new']))
}
else
{ // Someone playing games
$mes->addError('Software error'); // TODO LAN
$mes->addError(FRTLAN_57);
}
}
@@ -318,8 +318,8 @@ if($fp_update_prefs)
$corePrefs->set('frontpage', $fp_list);
$corePrefs->set('frontpage_force', $fp_force);
$result = $corePrefs->save(FALSE, TRUE);
$mes->addDebug("<h4>Home</h4>".print_a($fp_list, true));
$mes->addDebug("<h4>Post-Login</h4>".print_a($fp_force, true));
$mes->addDebug("<h4>".FRTLAN_58."</h4>".print_a($fp_list, true));
$mes->addDebug("<h4>".FRTLAN_59."</h4>".print_a($fp_force, true));
}

View File

@@ -511,11 +511,11 @@ class media_form_ui extends e_admin_form_ui
$pref = e107::getPref();
$options = array(
"news-image" => "News Images", // TODO LAN.
"news-bbcode" => "News [img] bbcode",
"page-bbcode" => "Page [img] bbcode",
// "featurebox-image" => "Featurebox Images",
// "featurebox-bbcode" => "Featurebox [img] bbcode",
"news-image" => LAN_IMA_O_001,
"news-bbcode" => LAN_IMA_O_002,
"page-bbcode" => LAN_IMA_O_003,
// "featurebox-image" => LAN_IMA_O_004,
// "featurebox-bbcode" => LAN_IMA_O_005,
);
if(vartrue($pref['e_imageresize']) && is_array($pref['e_imageresize']))
@@ -523,7 +523,7 @@ class media_form_ui extends e_admin_form_ui
foreach($pref['e_imageresize'] as $k=>$val)
{
$options[$k] = ucfirst($k). " [img] bbcode";
$options[$k] = ucfirst($k)." ".LAN_IMA_O_006;
}
}
@@ -724,33 +724,33 @@ class media_admin_ui extends e_admin_ui
'image_post_class' => array('title'=> IMALAN_10, 'type' => 'userclass', 'data'=>'int', 'writeParms'=>'help=IMALAN_11&classlist=public,guest,nobody,member,admin,main,classes' ),
'image_post_disabled_method' => array('title'=> IMALAN_12, 'type' => 'boolean','writeParms'=>'enabled=IMALAN_15&disabled=IMALAN_14'),
'resize_method' => array('title'=> IMALAN_3, 'type'=>'method', 'data'=>'str'),
'thumbnail_quality' => array('title'=> "Thumbnail Quality", 'type'=>'number', 'data'=>'int', 'writeParms'=>'help=Set this as low as possible before quality loss is apparent. Max. 100'), //TODO LAN
'thumbnail_quality' => array('title'=> IMALAN_73, 'type'=>'number', 'data'=>'int', 'writeParms'=>'help=IMALAN_74'),
'im_width' => array('title'=> "Avatar Width", 'type'=>'number', 'data'=>'int', 'writeParms'=>'help=Avatar images will be constrained to these dimensions (in pixels)'), //TODO LAN
'im_height' => array('title'=> "Avatar Height", 'type'=>'number', 'data'=>'int', 'writeParms'=>'help=Avatar images will be constrained to these dimensions (in pixels)'),
'resize_dimensions' => array('title'=> "Resize-Image Dimensions", 'type'=>'method', 'data'=>'str'),
'im_width' => array('title'=> IMALAN_75, 'type'=>'number', 'data'=>'int', 'writeParms'=>'help=IMALAN_76'),
'im_height' => array('title'=> IMALAN_77, 'type'=>'number', 'data'=>'int', 'writeParms'=>'help=IMALAN_78'),
'resize_dimensions' => array('title'=> IMALAN_79, 'type'=>'method', 'data'=>'str'),
'watermark_activate' => array('title'=> 'Watermark Activation', 'tab'=>1, 'type' => 'number', 'data' => 'str', 'help'=>'All images with a width or height greater than this value will be given a watermark during resizing.'), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_text' => array('title'=> 'Watermark Text','tab'=>1, 'type' => 'text', 'data' => 'str', 'help'=>'Optional Watermark Text'), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_font' => array('title'=> 'Watermark Font','tab'=>1, 'type' => 'dropdown', 'data' => 'str', 'help'=>'Optional Watermark Font. Upload more .ttf fonts to the /fonts folder in your theme directory.'), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_size' => array('title'=> 'Watermark Size', 'tab'=>1,'type' => 'number', 'data' => 'int', 'help'=>'Size of the font in pts'), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_activate' => array('title'=> IMALAN_80, 'tab'=>1, 'type' => 'number', 'data' => 'str', 'help'=>IMALAN_81), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_text' => array('title'=> IMALAN_82,'tab'=>1, 'type' => 'text', 'data' => 'str', 'help'=>IMALAN_83), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_font' => array('title'=> IMALAN_84,'tab'=>1, 'type' => 'dropdown', 'data' => 'str', 'help'=>IMALAN_85), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_size' => array('title'=> IMALAN_86, 'tab'=>1,'type' => 'number', 'data' => 'int', 'help'=>IMALAN_87), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_pos' => array('title'=> 'Watermark Position','tab'=>1, 'type' => 'dropdown', 'data' => 'str', 'help'=>'Watermark Position'), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_margin' => array('title'=> 'Watermark Margin', 'tab'=>1,'type' => 'number', 'data' => 'int', 'help'=>'The distance that watermark will appear from the edge of the image.'), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_pos' => array('title'=> IMALAN_88,'tab'=>1, 'type' => 'dropdown', 'data' => 'str', 'help'=>IMALAN_89), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_margin' => array('title'=> IMALAN_90, 'tab'=>1,'type' => 'number', 'data' => 'int', 'help'=>IMALAN_91), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_color' => array('title'=> 'Watermark Color', 'tab'=>1, 'type' => 'text', 'data' => 'str', 'help'=>'Color of the watermark eg. 000000'), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_shadowcolor' => array('title'=> 'Watermark Shadow-Color', 'tab'=>1,'type' => 'text', 'data' => 'str', 'help'=>'Shadow Color of the watermark eg. ffffff '), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_color' => array('title'=> IMALAN_92, 'tab'=>1, 'type' => 'text', 'data' => 'str', 'help'=>IMALAN_93), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_shadowcolor' => array('title'=> IMALAN_94, 'tab'=>1,'type' => 'text', 'data' => 'str', 'help'=>IMALAN_95), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_opacity' => array('title'=> 'Watermark Opacity', 'tab'=>1, 'type' => 'number', 'data' => 'int', 'help'=>'Enter a number between 1 and 100'), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
'watermark_opacity' => array('title'=> IMALAN_96, 'tab'=>1, 'type' => 'number', 'data' => 'int', 'help'=>IMALAN_97), // 'validate' => 'regex', 'rule' => '#^[\d]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore')),
// https://developers.google.com/youtube/player_parameters
'youtube_default_account' => array('title'=> "Default YouTube account", 'tab'=>2, 'type' => 'text', 'data'=>'str', 'help'=>'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc'),
'youtube_default_account' => array('title'=> IMALAN_98, 'tab'=>2, 'type' => 'text', 'data'=>'str', 'help'=>IMALAN_99),
'youtube_rel' => array('title'=> "Show Related Videos", 'tab'=>2, 'type' => 'boolean', 'data'=>'int', 'help'=>''),
'youtube_showinfo' => array('title'=> "Show Video Info", 'tab'=>2, 'type' => 'boolean', 'data'=>'int', 'help'=>''),
'youtube_cc_load_policy' => array('title'=> "Show Closed-Captions by default", 'tab'=>2, 'type' => 'boolean', 'data'=>'int', 'help'=>''),
'youtube_modestbranding' => array('title'=> "Use Modest Branding", 'tab'=>2, 'type' => 'boolean', 'data'=>'int', 'help'=>''),
'youtube_bbcode_responsive' => array('title'=> "Make the YouTube bbcode responsive", 'tab'=>2, 'type' => 'boolean', 'data'=>'int', 'help'=>''),
'youtube_rel' => array('title'=> IMALAN_100, 'tab'=>2, 'type' => 'boolean', 'data'=>'int', 'help'=>''),
'youtube_showinfo' => array('title'=> IMALAN_101, 'tab'=>2, 'type' => 'boolean', 'data'=>'int', 'help'=>''),
'youtube_cc_load_policy' => array('title'=> IMALAN_102, 'tab'=>2, 'type' => 'boolean', 'data'=>'int', 'help'=>''),
'youtube_modestbranding' => array('title'=> IMALAN_103, 'tab'=>2, 'type' => 'boolean', 'data'=>'int', 'help'=>''),
'youtube_bbcode_responsive' => array('title'=> IMALAN_104, 'tab'=>2, 'type' => 'boolean', 'data'=>'int', 'help'=>''),
//
@@ -797,10 +797,9 @@ class media_admin_ui extends e_admin_ui
list($img_import_w,$img_import_h) = explode("x",$pref['img_import_resize']);
//TODO LANS
$text .= "
<tr>
<td>Resize images during media import<div class='label-note'>Leave empty to disable</div></td>
<td>".IMALAN_105."<div class='label-note'>".IMALAN_106."</div></td>
<td>
".$frm->text('img_import_resize_w', $img_import_w,4)."px X ".$frm->text('img_import_resize_h', $img_import_h,4)."px
</td>
@@ -1622,10 +1621,9 @@ class media_admin_ui extends e_admin_ui
list($img_import_w,$img_import_h) = explode("x",$pref['img_import_resize']);
//TODO LANS
$text .= "
<tr>
<td>Resize images during media import<div class='label-note'>Leave empty to disable</div></td>
<td>".IMALAN_105."<div class='label-note'>".IMALAN_106."</div></td>
<td>
".$frm->text('img_import_resize_w', $img_import_w,4)."px X ".$frm->text('img_import_resize_h', $img_import_h,4)."px
</td>

View File

@@ -738,12 +738,12 @@ function multilang_prefs()
if($opt)
{
//TODO LANs and class2.php check.
//TODO class2.php check.
$text .= "
<tr>
<td>
Language by Domain Name
<div class='label-note'>Domain determines the site's language. Enter domain without the 'www.'</div>
".LANG_LAN_106."
<div class='label-note'>".LANG_LAN_107."</div>
</td>
<td><table style='margin-left:0px;width:400px'>".$opt."</table></td>
</tr>";
@@ -1309,16 +1309,14 @@ function available_langpacks()
ksort($languages);
//TODO LANs
$text .= "<thead>
<tr>
<th>Name</th>
<th>Version</th>
<th>Author</th>
<th>Release-date</th>
<th>Compatible</th>
<th>Download</th>
<th>".LANG_LAN_108."</th>
<th>".LANG_LAN_109."</th>
<th>".LANG_LAN_110."</th>
<th>".LANG_LAN_111."</th>
<th>".LANG_LAN_112."</th>
<th>".LANG_LAN_113."</th>
</tr>
</thead>
<tbody>";
@@ -1332,7 +1330,7 @@ function available_langpacks()
<td>".$value['date']."</td>
<td>".$value['compatibility']."</td>
<td><a href='".$value['url']."'>Download Pack</a></td>
<td><a href='".$value['url']."'>".LANG_LAN_114."</a></td>
</tr>";
}
$text .= "</tbody></table>";
@@ -1396,7 +1394,7 @@ function zip_up_lang($language)
{
$ret = array();
$ret['error'] = TRUE;
$message = (defined('LANG_LAN_34')) ? LANG_LAN_34 : "Please verify and correct the remaining [x] error(s) before attempting to create a language-pack.";
$message = (defined('LANG_LAN_34')) ? LANG_LAN_34 : LANG_LAN_115;
$ret['message'] = str_replace("[x]",$_SESSION['lancheck'][$language]['total'],$message);
return $ret;
}
@@ -1405,16 +1403,16 @@ function zip_up_lang($language)
{
$ret = array();
$ret['error'] = TRUE;
$ret['message'] = (defined('LANG_LAN_27')) ? LANG_LAN_27 : "Please verify your language files ('Verify') then try again.";
$ret['message'] = (defined('LANG_LAN_27')) ? LANG_LAN_27 : LANG_LAN_116;
return $ret;
}
if(varset($_POST['contribute_pack']) && varset($_SESSION['lancheck'][$language]['total']) !='0')
{
$ret['error'] = TRUE;
$ret['message'] = (defined("LANG_LAN_29")) ? LANG_LAN_29 : "You should correct the remaining errors before contributing your language pack.";
$ret['message'] = (defined("LANG_LAN_29")) ? LANG_LAN_29 : LANG_LAN_117;
$ret['message'] .= "<br />";
$ret['message'] .= (defined('LANG_LAN_27')) ? LANG_LAN_27 : "Please verify your language files ('Verify') then try again.";
$ret['message'] .= (defined('LANG_LAN_27')) ? LANG_LAN_27 : LANG_LAN_118;
return $ret;
}
@@ -1448,7 +1446,7 @@ function zip_up_lang($language)
{
$ret['error'] = TRUE;
$file = "e107_languages/{$language}/{$language}.php";
$def = (defined('LANG_LAN_25')) ? LANG_LAN_25 : "Please check that CORE_LC and CORE_LC2 have values in [lcpath] and try again.";
$def = (defined('LANG_LAN_25')) ? LANG_LAN_25 : LANG_LAN_119;
$ret['message'] = str_replace("[lcpath]",$file,$def); //
return $ret;
}
@@ -1459,7 +1457,7 @@ function zip_up_lang($language)
if(($HANDLERS_DIRECTORY != "e107_handlers/") || ( $LANGUAGES_DIRECTORY != "e107_languages/") || ($THEMES_DIRECTORY != "e107_themes/") || ($HELP_DIRECTORY != "e107_docs/help/") || ($PLUGINS_DIRECTORY != "e107_plugins/"))
{
$ret['error'] = TRUE;
$ret['message'] = (defined('LANG_LAN_26')) ? LANG_LAN_26 : "Please make sure you are using default folder names in e107_config.php (eg. e107_languages/, e107_plugins/ etc.) and try again.";
$ret['message'] = (defined('LANG_LAN_26')) ? LANG_LAN_26 : LANG_LAN_120;
return $ret;
}
@@ -1632,19 +1630,19 @@ function unused($lanfile,$script,$reverse=false)
}
$mes->addDebug("Script: ".$script);
$mes->addDebug(LANG_LAN_122." ".$script);
$tmp = explode(",", $lanfile);
foreach($tmp as $scr)
{
if(!file_exists($scr))
{
$mes->addError("Couldn't Load: ".$scr);
$mes->addError(LANG_LAN_121." ".$scr);
continue;
}
$compare[$scr] = file_get_contents($scr);
$mes->addDebug("LanFile: ".$scr);
$mes->addDebug(LANG_LAN_123." ".$scr);
}
@@ -1653,18 +1651,18 @@ function unused($lanfile,$script,$reverse=false)
else
{
$lanDefines = file_get_contents($lanfile);
$mes->addDebug("LanFile: ".$lanfile);
$mes->addDebug(LANG_LAN_123." ".$lanfile);
$tmp = explode(",",$script);
foreach($tmp as $scr)
{
if(!file_exists($scr))
{
$mes->addError("Couldn't Load: ".$scr);
$mes->addError(LANG_LAN_121." ".$scr);
continue;
}
$compare[$scr] = file_get_contents($scr);
$mes->addDebug("Script: ".$scr);
$mes->addDebug(LANG_LAN_122." ".$scr);
}
}
@@ -1675,12 +1673,12 @@ function unused($lanfile,$script,$reverse=false)
if(!$compare)
{
$mes->addError("Couldn't read ".$script);
$mes->addError(LANG_LAN_121." ".$script);
}
if(!$lanDefines)
{
$mes->addError("Couldn't read ".$lanfile);
$mes->addError(LANG_LAN_121." ".$lanfile);
}
$srch = array("<?php","<?","?>");
@@ -1706,7 +1704,7 @@ function unused($lanfile,$script,$reverse=false)
if($reverse == true)
{
$text .= "<th>Definition</th>";
$text .= "<th>".LANG_LAN_124."</th>";
}
$text .= "
@@ -1721,7 +1719,7 @@ function unused($lanfile,$script,$reverse=false)
{
if(trim($line) !="")
{
$disabled = (preg_match("#^//#i",$line)) ? " (disabled)" : FALSE;
$disabled = (preg_match("#^//#i",$line)) ? " ".LANG_LAN_125 : FALSE;
if($match = getDefined($line,$reverse))
{
$text .= compareit($match['define'],$compare,$match['value'],$disabled,$reverse);
@@ -1738,7 +1736,7 @@ function unused($lanfile,$script,$reverse=false)
if(count($_SESSION['language-tools-unused'])>0 && $reverse == false)
{
$text .= "<div class='buttons-bar center'>".$frm->admin_button('disabled-unused','Disable All Unused','delete').
$text .= "<div class='buttons-bar center'>".$frm->admin_button('disabled-unused',LANG_LAN_126,'delete').
$frm->hidden('disable-unused-lanfile',$lanfile).
$frm->hidden('deprecatedLans',$script).
@@ -1749,11 +1747,11 @@ function unused($lanfile,$script,$reverse=false)
if($reverse != true)
{
$mes->addInfo("<b>Pink items are likely to be unused LANs.<br />Comment out and test thoroughly.</b>");
$mes->addInfo("<b>".LANG_LAN_127."<br />".LANG_LAN_128."</b>");
}
$ret['text'] = $mes->render().$text;
$ret['caption'] = "Deprecated LAN Check (experimental!)";
$ret['caption'] = LANG_LAN_129;
return $ret;
}
@@ -1872,13 +1870,13 @@ function compareit($needle,$haystack,$value='',$disabled=FALSE, $reverse=false){
{
$color = "background-color:#E9EAF2";
$text .= ADMIN_TRUE_ICON;
$value = "Common Term";
$value = LANG_LAN_130;
}
else
{
$color = "background-color:yellow";
$text .= "<a href='#' title=\"Missing\">".ADMIN_WARNING_ICON."</a>";
$value = "Missing from language file";
$value = LANG_LAN_131;
}
}
@@ -1903,7 +1901,7 @@ function compareit($needle,$haystack,$value='',$disabled=FALSE, $reverse=false){
if($foundCommon && $found)
{
$color = "background-color:yellow";
$disabled .= "<br /><i>".$common."</i> is a common phrase.<br />(Use <b>".$def."</b> instead.)";
$disabled .= "<br /><i>".$common."</i> ".LANG_LAN_132."<br />(".LANG_LAN_133." <b>".$def."</b> ".LANG_LAN_134.")";
// return "<tr><td style='width:25%;'>".$needle .$disabled. "</td><td></td></tr>";
}
@@ -1915,7 +1913,7 @@ function compareit($needle,$haystack,$value='',$disabled=FALSE, $reverse=false){
// $disabled .= " <a class='e-tip' href='#' title=\"".$common."\">" . $def."</a>"; // $common;
}
if($disabled == " (disabled)")
if($disabled == " ".LANG_LAN_125)
{
$color = "background-color:#DFFFDF";
}

View File

@@ -124,5 +124,6 @@ define("BANLAN_118", "Spare reason");
define("BANLAN_119", "Indicates an import error - previously imported bans");
define("BANLAN_120", "Whitelist entry");
define("BANLAN_121", "Blacklist entry");
?>

View File

@@ -60,6 +60,11 @@ define("LAN_CRON_16", "Using your server control panel (eg. cPanel, DirectAdmin,
define("LAN_CRON_20_1", "Check for e107 Update");
define("LAN_CRON_20_2", "Check e107.org for Core updates"); // [eml] is automatically replaced by head admin e-mail address.
define("LAN_CRON_20_3", "Recommended to keep system up to date.");
define("LAN_CRON_20_4", "Update this Git repository");
define("LAN_CRON_20_5", "Update this e107 installation with the very latest files from github.");
define("LAN_CRON_20_6", "Recommended for developers only.");
define("LAN_CRON_20_7", "Warning!");
define("LAN_CRON_20_8", "May cause site instability!");
define("LAN_CRON_30", "Every Minute");
define("LAN_CRON_31", "Every Other Minute");

View File

@@ -41,5 +41,10 @@ define("FRTLAN_53", "User Class");
define("FRTLAN_PAGE_TITLE", "Front Page");
//define("FRTLAN_54", "Are you sure?");
//define("FRTLAN_55", "Confirm delete rule?");
define("FRTLAN_56", "duplicate definition for class:");
define("FRTLAN_57", "Software error");
define("FRTLAN_58", "Home");
define("FRTLAN_59", "Post-Login");
define("FRTLAN_60", "Front");
?>

View File

@@ -20,6 +20,14 @@ define("LAN_IMA_002", "Not enough memory available to rotate");
define("LAN_IMA_003", "Rotated");
define("LAN_IMA_004", "Resizing");
// Options
define("LAN_IMA_O_001", "News Images");
define("LAN_IMA_O_002", "News [img] bbcode");
define("LAN_IMA_O_003", "Page [img] bbcode");
define("LAN_IMA_O_004", "Featurebox Images");
define("LAN_IMA_O_005", "Featurebox [img] bbcode");
define("LAN_IMA_O_006", "[img] bbcode");
// Work in progress (Moc)
define("IMALAN_1", "Enable image display");
@@ -99,5 +107,43 @@ define('IMALAN_70', 'Non-system folder is found!');
// define("IMALAN_72", "Icons");
define('IMALAN_73', 'Thumbnail Quality');
define('IMALAN_74', 'Set this as low as possible before quality loss is apparent. Max. 100');
define('IMALAN_75', 'Avatar Width');
define('IMALAN_76', 'Avatar images will be constrained to these dimensions (in pixels)');
define('IMALAN_77', 'Avatar Height');
define('IMALAN_78', 'Avatar images will be constrained to these dimensions (in pixels)');
define('IMALAN_79', 'Resize-Image Dimensions');
define('IMALAN_80', 'Watermark Activation');
define('IMALAN_81', 'All images with a width or height greater than this value will be given a watermark during resizing.');
define('IMALAN_82', 'Watermark Text');
define('IMALAN_83', 'Optional Watermark Text');
define('IMALAN_84', 'Watermark Font');
define('IMALAN_85', 'Optional Watermark Font. Upload more .ttf fonts to the /fonts folder in your theme directory.');
define('IMALAN_86', 'Watermark Size');
define('IMALAN_87', 'Size of the font in pts');
define('IMALAN_88', 'Watermark Position');
define('IMALAN_89', 'Watermark Position');
define('IMALAN_90', 'Watermark Margin');
define('IMALAN_91', 'The distance that watermark will appear from the edge of the image.');
define('IMALAN_92', 'Watermark Color');
define('IMALAN_93', 'Color of the watermark eg. 000000');
define('IMALAN_94', 'Watermark Shadow-Color');
define('IMALAN_95', 'Shadow Color of the watermark eg. ffffff');
define('IMALAN_96', 'Watermark Opacity');
define('IMALAN_97', 'Enter a number between 1 and 100');
define('IMALAN_98', 'Default YouTube account');
define('IMALAN_99', 'Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc');
define('IMALAN_100', 'Show Related Videos');
define('IMALAN_101', 'Show Video Info');
define('IMALAN_102', 'Show Closed-Captions by default');
define('IMALAN_103', 'Use Modest Branding');
define('IMALAN_104', 'Make the YouTube bbcode responsive');
define('IMALAN_105', 'Resize images during media import');
define('IMALAN_106', 'Leave empty to disable');
define('IMALAN_107', 'Watermark');
define('IMALAN_108', 'Watermark');
define('IMALAN_109', 'Watermark');
define('IMALAN_110', 'Watermark');
?>

View File

@@ -65,4 +65,34 @@ define("LANG_LAN_103", "[x] created.");
define("LANG_LAN_104", "[x] was disabled but left intact.");
define("LANG_LAN_105", "Delete all tables in [x]?");
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_111", "Release-date");
define("LANG_LAN_112", "Compatible");
define("LANG_LAN_113", "Download");
define("LANG_LAN_114", "Download Pack");
define("LANG_LAN_115", "Please verify and correct the remaining [x] error(s) before attempting to create a language-pack.");
define("LANG_LAN_116", "Please verify your language files ('Verify') then try again.");
define("LANG_LAN_117", "You should correct the remaining errors before contributing your language pack.");
define("LANG_LAN_118", "Please verify your language files ('Verify') then try again.");
define("LANG_LAN_119", "Please check that CORE_LC and CORE_LC2 have values in [lcpath] and try again.");
define("LANG_LAN_120", "Please make sure you are using default folder names in e107_config.php (eg. e107_languages/, e107_plugins/ etc.) and try again.");
define("LANG_LAN_121", "Couldn't Load:");
define("LANG_LAN_122", "Script:");
define("LANG_LAN_123", "LanFile:");
define("LANG_LAN_124", "Definition");
define("LANG_LAN_125", "(disabled)");
define("LANG_LAN_126", "Disable All Unused");
define("LANG_LAN_127", "Pink items are likely to be unused LANs.");
define("LANG_LAN_128", "Comment out and test thoroughly.");
define("LANG_LAN_129", "Deprecated LAN Check (experimental!)");
define("LANG_LAN_130", "Common Term");
define("LANG_LAN_131", "Missing from language file");
define("LANG_LAN_132", "is a common phrase.");
define("LANG_LAN_133", "Use");
define("LANG_LAN_134", "instead.");
?>