[DOC-WEB] [web-doc] master: fixed "RevTagProblem" problem

1 view
Skip to first unread message

Nilgün Belma Bugüner

unread,
Jan 24, 2022, 5:32:11 AM1/24/22
to doc...@lists.php.net
Author: Nilgün Belma Bugüner (nilgun)
Date: 2022-01-24T13:31:53+03:00

Commit: https://github.com/php/web-doc/commit/ccd7d7d19e7924ef1e7fe9e60df9c42f0596b072
Raw diff: https://github.com/php/web-doc/commit/ccd7d7d19e7924ef1e7fe9e60df9c42f0596b072.diff

fixed "RevTagProblem" problem

Changed paths:
M scripts/rev.php


Diff:

diff --git a/scripts/rev.php b/scripts/rev.php
index 2d21520..9cc13e8 100644
--- a/scripts/rev.php
+++ b/scripts/rev.php
@@ -511,7 +511,15 @@ function captureGitValues( & $output )
{
$SQL_BUFF .= "INSERT INTO Untranslated VALUES ($id, '$lang',
'$en->name', $size);\n";
- } else {
+ }
+ else if ($trFile->syncStatus == FileStatusEnum::RevTagProblem)
+ {
+ $SQL_BUFF .= "INSERT INTO translated VALUES ($id, '$lang',
+ '$en->name', '$trFile->hash', $size, '$trFile->maintainer',
+ '$trFile->completion', '$trFile->syncStatus', 0, 0);\n";
+ }
+ else
+ {
$additions = $deletions = -1;
if ( $en->hash == $trFile->hash ){
$trFile->syncStatus = FileStatusEnum::TranslatedOk;

--
Documentation Website Mailing List (http://doc.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply all
Reply to author
Forward
0 new messages