[doc-base] translatable-acronyms: update acronym file and prefix

From: Date: Wed, 22 Jul 2026 18:54:05 +0000
Subject: [doc-base] translatable-acronyms: update acronym file and prefix
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23474@lists.php.net to get a copy of this message
Author: Jordi Kroon (jordikroon) Date: 2026-07-22T20:53:40+02:00 Commit: https://github.com/php/doc-base/commit/86def241f7b6c5bc0ee50a22abbb39a0804275e6 Raw diff: https://github.com/php/doc-base/commit/86def241f7b6c5bc0ee50a22abbb39a0804275e6.diff update acronym file and prefix Changed paths: M scripts/qa/check-acronyms.php Diff: diff --git a/scripts/qa/check-acronyms.php b/scripts/qa/check-acronyms.php index e8c69bb04d..1b98aa46ce 100755 --- a/scripts/qa/check-acronyms.php +++ b/scripts/qa/check-acronyms.php @@ -37,7 +37,7 @@ echo " --help, -help, -h, -? - to get this help\n"; echo " -v - verbose\n"; echo "\n"; - echo "The acronyms file usually is doc-en/entities/acronyms.ent\n"; + echo "The acronyms file usually is doc-en/entities/entities.acronyms.ent\n"; exit(1); @@ -101,7 +101,7 @@ // complete with information about definition $content = file_get_contents($acronyms_file); -if (preg_match_all('#<entity name="acronym\.([^"]+)">(.*?)</entity>#s', $content, $matches)) { +if (preg_match_all('#<entity name="acronym\.expansion\.([^"]+)">(.*?)</entity>#s', $content, $matches)) { foreach($matches[1] as $id => $acronym) {

« previous php.doc.cvs (#23474) next »