diff --git a/en/translations.php b/en/translations.php index 31c2ed8..ad8254d 100644 --- a/en/translations.php +++ b/en/translations.php @@ -26,7 +26,7 @@ $sum = shell_exec('cd /var/www/website; echo "$(($(diff 2>/dev/null -y --suppress-common-lines en/ '.$tl.'/ | grep "|" | wc -l)+$(diff 2>/dev/null -y --suppress-common-lines en/ '.$tl.'/ | grep "^Only in en/" | awk '."'".'{print $NF}'."'".' | while read -r line; do wc -l < en/"$line";printf "+"; done)0))"'); $percent = intdiv(($sum * 100), $const); - return "
/$tl/
)$percent% complete
\n/$tl/
)