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