Remove the need to add the language twice
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
f37c8c2e96
commit
5d1508e8b0
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue