mirror of
https://github.com/php/web-doc.git
synced 2025-08-10 02:56:24 +00:00
entities.* are in other directories aside from /reference none of which are translated
This commit is contained in:
@ -289,7 +289,7 @@ function do_revcheck($dir = '') {
|
|||||||
while (($file = readdir($dh)) !== false) {
|
while (($file = readdir($dh)) !== false) {
|
||||||
if (
|
if (
|
||||||
(!is_dir($DOCS . 'en' . $dir.'/' .$file) && !in_array(substr($file, -3), array('xml','ent')) && substr($file, -13) != 'PHPEditBackup' )
|
(!is_dir($DOCS . 'en' . $dir.'/' .$file) && !in_array(substr($file, -3), array('xml','ent')) && substr($file, -13) != 'PHPEditBackup' )
|
||||||
|| (strpos($file, 'entities.') === 0 && $dir == '/reference')
|
|| strpos($file, 'entities.') === 0
|
||||||
|| $dir == '/chmonly' || $dir == '/internals' || $dir == '/internals2'
|
|| $dir == '/chmonly' || $dir == '/internals' || $dir == '/internals2'
|
||||||
|| $file == 'contributors.ent' || $file == 'contributors.xml'
|
|| $file == 'contributors.ent' || $file == 'contributors.xml'
|
||||||
|| ($dir == '/appendices' && ($file == 'reserved.constants.xml' || $file == 'extensions.xml'))
|
|| ($dir == '/appendices' && ($file == 'reserved.constants.xml' || $file == 'extensions.xml'))
|
||||||
@ -375,7 +375,7 @@ function check_old_files($dir = '', $lang) {
|
|||||||
while (($file = readdir($dh)) !== false) {
|
while (($file = readdir($dh)) !== false) {
|
||||||
if (
|
if (
|
||||||
(!is_dir($DOCS . $lang . $dir.'/' .$file) && !in_array(substr($file, -3), array('xml','ent')) && substr($file, -13) != 'PHPEditBackup' )
|
(!is_dir($DOCS . $lang . $dir.'/' .$file) && !in_array(substr($file, -3), array('xml','ent')) && substr($file, -13) != 'PHPEditBackup' )
|
||||||
|| (strpos($file, 'entities.') === 0 && $dir == '/reference')
|
|| strpos($file, 'entities.') === 0
|
||||||
|| $dir == '/chmonly' || $dir == '/internals' || $dir == '/internals2'
|
|| $dir == '/chmonly' || $dir == '/internals' || $dir == '/internals2'
|
||||||
|| $file == 'contributors.ent' || $file == 'contributors.xml'
|
|| $file == 'contributors.ent' || $file == 'contributors.xml'
|
||||||
|| ($dir == '/appendices' && ($file == 'reserved.constants.xml' || $file == 'extensions.xml'))
|
|| ($dir == '/appendices' && ($file == 'reserved.constants.xml' || $file == 'extensions.xml'))
|
||||||
|
Reference in New Issue
Block a user