diff --git a/en/translations.php b/en/translations.php
index 5223bfc..21eb036 100644
--- a/en/translations.php
+++ b/en/translations.php
@@ -16,7 +16,7 @@
/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))"');
- return "" . $langs[$tl][0] . " (" . $langs[$tl][1] . ", /" . $tl . "/
)" . "\n
\n
";
+ $percent = intdiv(($sum * 100), $const);
+ return "" . $langs[$tl][0] . " (" . $langs[$tl][1] . ", /$tl/
)\n$percent
\n
";
}
?>
diff --git a/media/style.css b/media/style.css
index 939ee90..f74a306 100644
--- a/media/style.css
+++ b/media/style.css
@@ -76,9 +76,9 @@ input[type=submit] {
}
progress {
- height: 30px;
+ height: 20px;
width: 70%;
- border-radius: 15px;
+ border-radius: 10px;
border: 1px solid transparent;
background: #bbc2cf;
color: #ff6c6b;
@@ -86,7 +86,7 @@ progress {
progress::-moz-progress-bar {
color: transparent;
- background: #bbc2cf;
+ background: currentColor;
accent-color: currentColor;
}