diff options
Diffstat (limited to 'includes/system/species.inc')
-rw-r--r-- | includes/system/species.inc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/system/species.inc b/includes/system/species.inc index fb1ba69..45a0178 100644 --- a/includes/system/species.inc +++ b/includes/system/species.inc @@ -1,4 +1,4 @@ -<?php global $system; global $systemCommonName; global $systemID; $pages = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/pages.json"), true); $title = $pages["s:species"]["name"] . " · " . $systemCommonName; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; global $travelling; +<?php global $system; global $systemCommonName; global $lang; global $pages; global $systemID; $pages = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/pages.json"), true); $title = $pages["s:species"]["name"][$lang["_name"]] . " · " . $systemCommonName; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.inc'; global $travelling; $members = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/data/$systemID/members.json"), true); $members = scoreOrder($members, $systemID); @@ -36,7 +36,7 @@ function species(array $members, string $id, string $name) { global $systemID; g <br> <div class="container" id="page-content"> - <h2><?= $systemCommonName ?> members by species</h2> + <h2><?= str_replace("%1", $systemCommonName, $lang["species_compare"]["title"]) ?></h2> <?php $earth = []; @@ -59,12 +59,12 @@ function species(array $members, string $id, string $name) { global $systemID; g ?> - <?php species($earth, "earth", "Earth ponies"); ?> - <?php species($pegasus, "pegasus", "Pegasi"); ?> - <?php species($unicorn, "unicorn", "Unicorns"); ?> - <?php species($alicorn, "alicorn", "Alicorns"); ?> - <?php species($batpony, "batpony", "Bat ponies"); ?> - <?php species($crystal, "crystal", "Crystal ponies"); ?> + <?php species($earth, "earth", $lang["species"]["earth"][3]); ?> + <?php species($pegasus, "pegasus", $lang["species"]["pegasus"][3]); ?> + <?php species($unicorn, "unicorn", $lang["species"]["unicorn"][3]); ?> + <?php species($alicorn, "alicorn", $lang["species"]["alicorn"][3]); ?> + <?php species($batpony, "batpony", $lang["species"]["batpony"][3]); ?> + <?php species($crystal, "crystal", $lang["species"]["crystal"][3]); ?> </div> <?php require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.inc'; ?>
\ No newline at end of file |