diff options
Diffstat (limited to 'admin/panes/unchained.php')
-rw-r--r-- | admin/panes/unchained.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/admin/panes/unchained.php b/admin/panes/unchained.php index 8f3133f..5f29406 100644 --- a/admin/panes/unchained.php +++ b/admin/panes/unchained.php @@ -36,19 +36,19 @@ <img src="/static/apps/unchainedtech.png" width="96px">
</p>
<br>
- <h2 style="text-align:center;">You already have access to UnchainedTech Admin</h2>
+ <h2 style="text-align:center;"><?= l("You already have access to UnchainedTech Admin", "Vous avez déjà accès à l'administration de UnchainedTech") ?></h2>
- <h4 style="text-align:center;">We automatically logged you into UnchainedTech Admin when you logged in to Minteck Admin</h4><br>
+ <h4 style="text-align:center;"><?= l("We automatically logged you into UnchainedTech Admin when you logged in to Minteck Cloud Admin Console", "Nous vous avons automatiquement connecté à l'administration d'UnchainedTech lorsque vous vous êtes connecté à Minteck Cloud Admin Console") ?></h4><br>
<div style="text-align: center;width:max-content;margin-left:auto;margin-right:auto;">
<p class="btn-group">
- <a href="https://unchainedtech.minteck.ro.lt/articles" target="_blank" class="btn btn-outline-light">All Articles</a>
- <a href="https://unchainedtech.minteck.ro.lt/admin" target="_blank" class="btn btn-outline-light">Admin Tasks</a>
+ <a href="https://unchainedtech.minteck.ro.lt/articles" target="_blank" class="btn btn-outline-light"><?= l("All Articles", "Tous les articles") ?></a>
+ <a href="https://unchainedtech.minteck.ro.lt/admin" target="_blank" class="btn btn-outline-light"><?= l("Admin Tasks", "Tâches d'administration") ?></a>
</p>
</div>
<small><p style="text-align: center;">
- v<?= trim(file_get_contents("/mnt/blogchain/version.txt")) ?> • <a href="#" onclick="document.getElementById('main').style.display='none';document.getElementById('secondary').style.display='';">Manage drafts</a>
+ v<?= trim(file_get_contents("/mnt/blogchain/version.txt")) ?> • <a href="#" onclick="document.getElementById('main').style.display='none';document.getElementById('secondary').style.display='';"><?= l("Manage drafts", "Gérer les brouillons") ?></a>
</p></small>
</div>
</div>
@@ -56,10 +56,10 @@ <div class="container" style="color:white;padding-top:15vh;padding-bottom:15vh;display:none;" id="secondary">
<div>
<h2 style="text-align:center;">UnchainedTech</h2>
- <h4 style="text-align:center;">Drafts List</h4>
+ <h4 style="text-align:center;"><?= l("Drafts List", "Liste des brouillons") ?></h4>
<small><p style="text-align: center;">
- v<?= trim(file_get_contents("/mnt/blogchain/version.txt")) ?> • <a href="#" onclick="document.getElementById('main').style.display='flex';document.getElementById('secondary').style.display='none';">Hide drafts list</a>
+ v<?= trim(file_get_contents("/mnt/blogchain/version.txt")) ?> • <a href="#" onclick="document.getElementById('main').style.display='flex';document.getElementById('secondary').style.display='none';"><?= l("Hide drafts list", "Masquer la liste des brouillons") ?></a>
</p></small>
<ul class="list-group">
@@ -69,7 +69,7 @@ foreach (scandir("/mnt/blogchain/_posts/_drafts") as $draft) {
if ($draft !== "." && $draft !== ".." && $draft !== ".gitkeep" && $draft !== "_template.md") {
$drafts = true;
- echo('<li class="list-group-item">' . substr($draft, 0, -3) . '<span style="float:right;"><a href="https://unchainedtech.minteck.ro.lt/admin/article/' . substr($draft, 0, -3) . '" target="_blank">Preview</a> · <a href="https://github.com/Minteck/UnchainedTech-Content/edit/production/_drafts/' . $draft . '" target="_blank">Edit</a> · <a href="https://github.com/Minteck/UnchainedTech-Content/delete/production/_drafts/' . $draft . '" target="_blank">Delete</a></span></li>');
+ echo('<li class="list-group-item">' . substr($draft, 0, -3) . '<span style="float:right;"><a href="https://unchainedtech.minteck.ro.lt/admin/article/' . substr($draft, 0, -3) . '" target="_blank">' . l("Preview", "Prévisualiser") . '</a> · <a href="https://github.com/Minteck/UnchainedTech-Content/edit/production/_drafts/' . $draft . '" target="_blank">' . l("Edit", "Modifier") . '</a> · <a href="https://github.com/Minteck/UnchainedTech-Content/delete/production/_drafts/' . $draft . '" target="_blank">' . l("Delete", "Supprimer") . '</a></span></li>');
}
}
|