[DOC-CVS] [doc-base] translatable-acronyms: update acronym file and prefix
[email protected] (Jordi Kroon) Wed, 22 Jul 2026 18:54:05 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
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) {