mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 03:54:09 +02:00
Update lancheck.php
This commit is contained in:
@@ -1317,16 +1317,16 @@ class lancheck
|
|||||||
|
|
||||||
if($eng_line == $trans_line && !empty($eng_line))
|
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))
|
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))
|
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))
|
if((strpos($eng_line,"--LINK--")!==false && strpos($trans_line,"--LINK--")===false))
|
||||||
@@ -1351,7 +1351,7 @@ class lancheck
|
|||||||
if(($stripped == $trans_line))
|
if(($stripped == $trans_line))
|
||||||
{
|
{
|
||||||
// echo "<br /><br />".$def. "<br />".$stripped."<br />".$trans_line;
|
// echo "<br /><br />".$def. "<br />".$stripped."<br />".$trans_line;
|
||||||
$error[] = $def. ": Missing HTML tags" ;
|
$error[] = $def. ": ".LAN_CHECK_32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user