diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-08 22:31:51 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-08 22:31:51 +0200 |
commit | 94c57fa247ba107fce8fc1d1fc355191229dbddc (patch) | |
tree | 865048aa574ef63ad322ed8e5057eb7629e03c29 /admin/panes/telemetry.php | |
parent | e255736e3f2a95ee82cadc01b0c70749ab946226 (diff) | |
download | main-94c57fa247ba107fce8fc1d1fc355191229dbddc.tar.gz main-94c57fa247ba107fce8fc1d1fc355191229dbddc.tar.bz2 main-94c57fa247ba107fce8fc1d1fc355191229dbddc.zip |
Permissions system
Diffstat (limited to 'admin/panes/telemetry.php')
-rw-r--r-- | admin/panes/telemetry.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/admin/panes/telemetry.php b/admin/panes/telemetry.php index e87be24..3a589cc 100644 --- a/admin/panes/telemetry.php +++ b/admin/panes/telemetry.php @@ -50,12 +50,12 @@ function urlize($scheme) { </style>
<div class="container" style="color:white;padding-top:15vh;padding-bottom:15vh;">
- <h2 style="text-align:center;">Telemetry Information</h2>
+ <h2 style="text-align:center;"><?= l("Telemetry Information", "Informations de télémétrie") ?></h2>
<?php $db = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/telemetry.json")); ?>
<ul class="list-group" style="margin-top:20px;">
- <li class="list-group-item">Lifetime Visitors <span style="float:right;"><?php
+ <li class="list-group-item"><?= l("Lifetime Visitors", "Visiteurs depuis toujours") ?> <span style="float:right;"><?php
$uniques = [];
@@ -76,7 +76,7 @@ function urlize($scheme) { echo (count($uniques));
?></span></li>
- <li class="list-group-item">Most Viewed Page <span style="float:right;"><?php
+ <li class="list-group-item"><?= l("Most Viewed Page", "Page la plus vue") ?> <span style="float:right;"><?php
$record = 0;
$recname = "-";
@@ -103,7 +103,7 @@ function urlize($scheme) { echo ($recname);
?></span></li>
- <li class="list-group-item">Least Viewed Page <span style="float:right;"><?php
+ <li class="list-group-item"><?= l("Least Viewed Page", "Page la moins vue") ?> <span style="float:right;"><?php
$record = 2;
$recname = "-";
@@ -133,7 +133,7 @@ function urlize($scheme) { </ul>
<ul class="list-group" style="margin-top:20px;">
- <li class="list-group-item text-muted">Tomorrow <span style="float:right;"><?php
+ <li class="list-group-item text-muted"><?= l("Tomorrow", "Demain") ?> <span style="float:right;"><?php
$uniques = [];
$totalDays = 0;
@@ -193,7 +193,7 @@ function urlize($scheme) { }
?></span></li>
- <li class="list-group-item">Today <span style="float:right;"><?php
+ <li class="list-group-item"><?= l("Today", "Aujourd'hui") ?> <span style="float:right;"><?php
$uniques = [];
@@ -253,7 +253,7 @@ function urlize($scheme) { }
?></span></li>
- <li class="list-group-item">Yesterday <span style="float:right;"><?php
+ <li class="list-group-item"><?= l("Yesterday", "Hier") ?> <span style="float:right;"><?php
$uniques = [];
@@ -873,19 +873,19 @@ function urlize($scheme) { <ul class="list-group">
<li class="list-group-item">
<details>
- <summary>Kartik downloads</summary>
+ <summary><?= l("Kartik downloads", "Téléchargements de Kartik") ?></summary>
<ul class="list-group">
- <li class="list-group-item"><b>All update channels <span style="float:right;"><?= (int)trim(file_get_contents("/mnt/kartik-cdn/stats/stable")) + (int)trim(file_get_contents("/mnt/kartik-cdn/stats/eap")) + (int)trim(file_get_contents("/mnt/kartik-cdn/stats/beta")) + (int)trim(file_get_contents("/mnt/kartik-cdn/stats/nightly")) ?> downloads</span></b></li>
+ <li class="list-group-item"><b><?= l("All update channels", "Tous les canaux de mise à jour") ?> <span style="float:right;"><?= (int)trim(file_get_contents("/mnt/kartik-cdn/stats/stable")) + (int)trim(file_get_contents("/mnt/kartik-cdn/stats/eap")) + (int)trim(file_get_contents("/mnt/kartik-cdn/stats/beta")) + (int)trim(file_get_contents("/mnt/kartik-cdn/stats/nightly")) ?> downloads</span></b></li>
<li class="list-group-item"><img alt="" src="https://github.com/Minteck-Projects/Kartik-Core/raw/trunk/logo/logo.png" width="24px"> Kartik Stable <span style="float:right;"><?= trim(file_get_contents("/mnt/kartik-cdn/stats/stable")) ?> downloads</span></li>
- <li class="list-group-item"><img alt="" src="https://github.com/Minteck-Projects/Kartik-Core/raw/trunk/logo/logo-eap.png" width="24px"> Kartik EAP <span style="float:right;"><?= trim(file_get_contents("/mnt/kartik-cdn/stats/eap")) ?> downloads</span></li>
- <li class="list-group-item"><img alt="" src="https://github.com/Minteck-Projects/Kartik-Core/raw/trunk/logo/logo-beta.png" width="24px"> Kartik Beta <span style="float:right;"><?= trim(file_get_contents("/mnt/kartik-cdn/stats/beta")) ?> downloads</span></li>
- <li class="list-group-item"><img alt="" src="https://github.com/Minteck-Projects/Kartik-Core/raw/trunk/logo/logo-nightly.png" width="24px"> Kartik Nightly <span style="float:right;"><?= trim(file_get_contents("/mnt/kartik-cdn/stats/nightly")) ?> downloads</span></li>
+ <li class="list-group-item"><img alt="" src="https://github.com/Minteck-Projects/Kartik-Core/raw/trunk/logo/logo-eap.png" width="24px"> Kartik EAP <span style="float:right;"><?= trim(file_get_contents("/mnt/kartik-cdn/stats/eap")) ?> <?= l("downloads", "téléchargements") ?></span></li>
+ <li class="list-group-item"><img alt="" src="https://github.com/Minteck-Projects/Kartik-Core/raw/trunk/logo/logo-beta.png" width="24px"> Kartik Beta <span style="float:right;"><?= trim(file_get_contents("/mnt/kartik-cdn/stats/beta")) ?> <?= l("downloads", "téléchargements") ?></span></li>
+ <li class="list-group-item"><img alt="" src="https://github.com/Minteck-Projects/Kartik-Core/raw/trunk/logo/logo-nightly.png" width="24px"> Kartik Nightly <span style="float:right;"><?= trim(file_get_contents("/mnt/kartik-cdn/stats/nightly")) ?> <?= l("downloads", "téléchargements") ?></span></li>
</ul>
</details>
</li>
<li class="list-group-item">
<details>
- <summary>Page-specific statistics</summary>
+ <summary><?= l("Page-specific statistics", "Statistiques par page") ?></summary>
<p>
<?php
|