aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/index.php b/index.php
index 0c6e073..971db6b 100644
--- a/index.php
+++ b/index.php
@@ -43,7 +43,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/private/session.php";
<div>
<img src="/favicon.svg" width="128px" height="128px">
<h1 style="color:white !important;font-size: 48px;">Familine</h1>
- <p style="color:white !important;">Familine soutient la population ukrainienne. <a href="/ukraine" style="color:white;">En savoir plus.</a><br>
+ <p style="color:white !important;"><?= l("Familine soutient la population ukrainienne.", "Familine supports people in Ukraine.") ?> <a href="/ukraine" style="color:white;"><?= l("En savoir plus.", "Learn More.") ?></a><br>
<?php
$list = array_reverse(scandir($_SERVER["DOCUMENT_ROOT"] . "/private/news"));
@@ -58,22 +58,22 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/private/session.php";
}
}
- ?><a href="/news/<?= substr($article, 0, -5) ?>" style="color:white;">En ce moment : <?= $data["title"] ?></a></p>
+ ?><a href="/news/<?= substr($article, 0, -5) ?>" style="color:white;"><?= l("En ce moment :", "Right Now:") ?> <?= $data["title"] ?></a></p>
<div id="explore-list" class="container">
<a href="https://docs.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-docs.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Pages</span>
- <span class="explore-description">Une encyclopédie de toutes les personnes de la famille</span>
+ <span><?= l("Pages", "Docs") ?></span>
+ <span class="explore-description"><?= l("Une encyclopédie de toutes les personnes de la famille", "An encyclopedia with everyone in the family") ?></span>
</a>
<a href="https://support.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-help.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Aide</span>
- <span class="explore-description">Votre point d'accès à l'aide de Familine</span>
+ <span><?= l("Aide", "Help") ?></span>
+ <span class="explore-description"><?= l("Votre point d'accès à l'aide de Familine", "Your access point to help from Familine") ?></span>
</a>
<a href="https://media.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-media.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Média</span>
- <span class="explore-description">Musique, photos et vidéos de la famille au même endroit</span>
+ <span><?= l("Média", "Media") ?></span>
+ <span class="explore-description"><?= l("Musique, photos et vidéos de la famille au même endroit", "Music, photos and videos from the family all in the same place") ?></span>
</a>
<!-- <a href="https://planning.--><?//= $_CONFIG["Global"]["domain"] ?><!--" class="explore-btn">-->
<!-- <img src="/icns/familine-planning.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">-->
@@ -82,13 +82,13 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/private/session.php";
<!-- </a>-->
<a href="https://genealogy.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-recall.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Généalogie</span>
- <span class="explore-description">Un accès plus simple à la généalogie</span>
+ <span><?= l("Généalogie", "Genealogy") ?></span>
+ <span class="explore-description"><?= l("Un accès plus simple à la généalogie", "A simpler access to genealogy") ?></span>
</a>
<a href="https://share.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-share.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Partage</span>
- <span class="explore-description">Partagez des fichiers avec qui vous voulez</span>
+ <span><?= l("Partage", "Share") ?></span>
+ <span class="explore-description"><?= l("Partagez des fichiers avec qui vous voulez", "Share files with whoever you want") ?></span>
</a>
<!-- <a href="https://chat.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-you.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
@@ -97,7 +97,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/private/session.php";
</a> -->
</div>
<div style="color: white;text-align: center;margin-top: 10px;opacity: .5;font-size: 14px;">
- <?php if ($_ADMIN): ?><a style="color:white;display:inline-block;" href="https://console.familine.minteck.org">Familine Camera</a> · <?php endif; ?><a style="color:white;display:inline-block;" href="https://app.familine.minteck.org/known">Problèmes connus</a> · <a target="_blank" style="color:white;display:inline-block;" href="https://gitlab.minteck.org/familine">Code source</a> · version <?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/version.txt") ?>
+ <a style="color:white;display:inline-block;" href="https://app.familine.minteck.org/known"><?= l("Problèmes connus", "Known Issues") ?></a> · <a target="_blank" style="color:white;display:inline-block;" href="https://gitlab.minteck.org/familine"><?= l("Code source", "Source Code") ?></a> · version <?= str_replace("%ea%", l("accès anticipé", "early access"), file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/version.txt")) ?>
</div>
<br>
<br>