From 3b95176f6953c453dde73d4540e0f30750def1ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20L=20F=20S=20Bacci?= Date: Mon, 22 Jun 2026 19:00:02 -0300 Subject: [PATCH 1/2] Fix a warning message --- scripts/text-entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/text-entities.php b/scripts/text-entities.php index 43f7dfce4f..86fb65ae48 100644 --- a/scripts/text-entities.php +++ b/scripts/text-entities.php @@ -256,7 +256,7 @@ function loadDirEntities( string $dir ) { if ( PARTIAL_IMPL ) { - print "\n Skiped $lang/entities\n"; + print "(skip) "; return; } else From 2f4cc772388c22cc8a7f80e7a42e564d3d1fdee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20L=20F=20S=20Bacci?= Date: Tue, 23 Jun 2026 11:28:17 -0300 Subject: [PATCH 2/2] Fix and complement the message --- scripts/text-entities.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/text-entities.php b/scripts/text-entities.php index 86fb65ae48..44be5ed20b 100644 --- a/scripts/text-entities.php +++ b/scripts/text-entities.php @@ -251,12 +251,12 @@ static function checkReplaces( bool $debug ) function loadDirEntities( string $dir ) { - $dir = realpath( $dir ); - if ( $dir === false || ! is_dir( $dir ) ) + if ( realpath( $dir ) === false || ! is_dir( $dir ) ) { if ( PARTIAL_IMPL ) { - print "(skip) "; + global $lang; + print "(skiped $lang/entities) "; return; } else @@ -266,6 +266,7 @@ function loadDirEntities( string $dir ) } } + $dir = realpath( $dir ); $files = scandir( $dir ); foreach( $files as $file ) {