mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
@@ -1317,16 +1317,16 @@ class lancheck
|
||||
|
||||
if($eng_line == $trans_line && !empty($eng_line))
|
||||
{
|
||||
$warning[] = "<span class='text-warning'>".$def. ": Identical string (warning only) </span>";
|
||||
$warning[] = "<span class='text-warning'>".$def. ": ".LAN_CHECK_29."</span>";
|
||||
}
|
||||
|
||||
if((strpos($eng_line,"[link=")!==FALSE && strpos($trans_line,"[link=")===FALSE) || (strpos($eng_line,"[b]")!==FALSE && strpos($trans_line,"[b]")===FALSE))
|
||||
{
|
||||
$error[] = $def. ": Missing bbcodes";
|
||||
$error[] = $def. ": ".LAN_CHECK_30;
|
||||
}
|
||||
elseif((strpos($eng_line,"[")!==FALSE && strpos($trans_line,"[")===FALSE) || (strpos($eng_line,"]")!==FALSE && strpos($trans_line, "]")===FALSE))
|
||||
{
|
||||
$error[] = $def. ": Missing [ and/or ] character(s)";
|
||||
$error[] = $def. ": ".LAN_CHECK_31;
|
||||
}
|
||||
|
||||
if((strpos($eng_line,"--LINK--")!==false && strpos($trans_line,"--LINK--")===false))
|
||||
@@ -1351,7 +1351,7 @@ class lancheck
|
||||
if(($stripped == $trans_line))
|
||||
{
|
||||
// echo "<br /><br />".$def. "<br />".$stripped."<br />".$trans_line;
|
||||
$error[] = $def. ": Missing HTML tags" ;
|
||||
$error[] = $def. ": ".LAN_CHECK_32;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -322,7 +322,7 @@ class plugin_ui extends e_admin_ui
|
||||
|
||||
|
||||
|
||||
return array('caption'=>"Updates to be Installed", 'text'=>$text);
|
||||
return array('caption'=>EPL_ADLAN_247, 'text'=>$text);
|
||||
|
||||
}
|
||||
|
||||
|
@@ -25,7 +25,10 @@ define("LAN_CHECK_26", "Front");
|
||||
define("LAN_CHECK_PAGE_TITLE", "Languages");
|
||||
define("LAN_CHECK_27", "Number of language-pack errors found");
|
||||
define("LAN_CHECK_28", "Identical");
|
||||
//define("LAN_CHECK_29", "Missing");
|
||||
define("LAN_CHECK_29", "Identical string (warning only)");
|
||||
define("LAN_CHECK_30", "Missing bbcodes");
|
||||
define("LAN_CHECK_31", "Missing [ and/or ] character(s)");
|
||||
define("LAN_CHECK_32", "Missing HTML tags");
|
||||
|
||||
define("LANG_LAN_23", "Create Language-Pack (zip)");
|
||||
define("LANG_LAN_30", "Release Date");
|
||||
|
@@ -288,6 +288,7 @@ define ("EPL_ADLAN_244","Only 5 Media Categories are permitted during installati
|
||||
|
||||
define ("EPL_ADLAN_245","Adding Media Category: [x]");
|
||||
define ("EPL_ADLAN_246","Deleting All Media Categories owned by : [x]");
|
||||
define ("EPL_ADLAN_247","Updates to be Installed");
|
||||
|
||||
define ("EPL_ADLAN_249","Adding Extended Field: ");
|
||||
define ("EPL_ADLAN_250","Removing Extended Field: ");
|
||||
|
Reference in New Issue
Block a user