Skip to content

Commit 2f4cc77

Browse files
author
André L F S Bacci
committed
Fix and complement the message
1 parent 3b95176 commit 2f4cc77

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎scripts/text-entities.php‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,12 +251,12 @@ static function checkReplaces( bool $debug )
251251

252252
function loadDirEntities( string $dir )
253253
{
254-
$dir = realpath( $dir );
255-
if ( $dir === false || ! is_dir( $dir ) )
254+
if ( realpath( $dir ) === false || ! is_dir( $dir ) )
256255
{
257256
if ( PARTIAL_IMPL )
258257
{
259-
print "(skip) ";
258+
global $lang;
259+
print "(skiped $lang/entities) ";
260260
return;
261261
}
262262
else
@@ -266,6 +266,7 @@ function loadDirEntities( string $dir )
266266
}
267267
}
268268

269+
$dir = realpath( $dir );
269270
$files = scandir( $dir );
270271
foreach( $files as $file )
271272
{

0 commit comments

Comments
 (0)