Remove the need to add the language twice
ci/woodpecker/push/woodpecker Pipeline was successful Details

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2024-01-26 20:02:57 -05:00
parent f37c8c2e96
commit 5d1508e8b0
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 2 additions and 2 deletions

View File

@ -22,6 +22,7 @@
$langs['por-BR'] = array("Brazilian Portuguese", "Português Brasileiro");
$langs['tur'] = array("Turkish", "Türkçe");
function style($tl) {
global $const;
global $langs;
@ -34,8 +35,7 @@
<!--#include file="nav.php" -->
<div class=h><h1 id=translations>Translations</h1> <a aria-hidden=true href=#translations>#translations</a></div>
<ul>
<?php echo style('por-BR'); ?>
<?php echo style('tur'); ?>
<?php foreach($_ as $tl => $__) { echo style($tl); } ?>
</ul>
<!--#include file="footer.cgi" -->
</body>