Updates to German lang, changed date format
* Update README.md * Update README.md * Update lang.de.php Changed "Error" to "Fehler" * Update readme.md - Added the German Readme URL * Update README.md * Update lang.de.php - Changed the "takealook" Thanks to @Bluscream * Update adminlist.php Change the Date Format from xx-xx-xxxx to xx.xx.xxxx * Update bans.php Changed the Dateformat from xx-xx-xxxx to xx.xx.xxxx * Update bans.php Changed the Dateformat from xx-xx-xxxx to xx.xx.xxxx * Update README.md
This commit is contained in:
parent
24c321a26f
commit
8aa648dcb0
|
@ -1,3 +1,4 @@
|
|||
<p align="center">Für ein Deutsches Readme klicke<a href="https://github.com/Wruczek/ts-website/wiki/%5BDE%5D-Readme-%7C-Liesmich"> hier</a> </p>
|
||||
<p align="center">
|
||||
<a href="https://github.com/Wruczek/ts-website/issues/36">
|
||||
<img src="https://i.imgur.com/iffB2sa.png">
|
||||
|
|
4
bans.php
4
bans.php
|
@ -7,7 +7,7 @@ require_once __DIR__ . "/include/cacheutils.class.php";
|
|||
$cacheutils = new CacheUtils('banlist');
|
||||
|
||||
if($cacheutils->isExpired()) {
|
||||
$cacheutils->setValue([getBanlist(), date('d-m-Y H:i:s')], 300);
|
||||
$cacheutils->setValue([getBanlist(), date('d.m.Y H:i:s')], 300);
|
||||
}
|
||||
|
||||
$banlist = $cacheutils->getValue();
|
||||
|
@ -87,7 +87,7 @@ function getBanlist() {
|
|||
if ($duration == 0)
|
||||
$expires = translate($lang["banlist"]["table"]["permaban"]);
|
||||
else
|
||||
$expires = date('d-m-Y H:i:s', $expiresepoch);
|
||||
$expires = date('d.m.Y H:i:s', $expiresepoch);
|
||||
|
||||
$output .= "<tr><td>$user</td><td>$reason</td><td>$invokername</td><td data-order=\"$createdepoch\">$created</td><td data-order=\"$expiresepoch\">$expires</td></tr>";
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ $lang["adminlist"]["lastupdate"] = "Letzte Aktualisierung: {0}";
|
|||
/************* Server viewer promo box (under adminlist and contact) *************/
|
||||
|
||||
$lang["svpb"]["title"] = "Server Viewer";
|
||||
$lang["svpb"]["takealook"] = "Riskier einen Blick »";
|
||||
$lang["svpb"]["takealook"] = "Riskier 'n Blick »";
|
||||
|
||||
|
||||
/************************************/
|
||||
|
@ -100,5 +100,5 @@ $lang["banlist"]["table"]["expires"] = "Läuft ab am";
|
|||
/************* Rules - rules.php *************/
|
||||
|
||||
$lang["rules"]["title"] = "Server Regeln";
|
||||
$lang["rules"]["filenotfound"] = "Error: Die Datei <code>config/rules.md</code> wurde nicht gefunden!";
|
||||
$lang["rules"]["filenotfound"] = "Fehler: Die Datei <code>config/rules.md</code> wurde nicht gefunden!";
|
||||
$lang["rules"]["readerror"] = "Fehler: Nicht genügend Rechte um auf <code>config/rules.md</code> zuzugreifen!";
|
||||
|
|
|
@ -5,7 +5,7 @@ require_once __DIR__ . "/cacheutils.class.php";
|
|||
$cacheutils = new CacheUtils('adminlist');
|
||||
|
||||
if($cacheutils->isExpired()) {
|
||||
$cacheutils->setValue([getAdminList(), date('d-m-Y H:i:s')], 120);
|
||||
$cacheutils->setValue([getAdminList(), date('d.m.Y H:i:s')], 120);
|
||||
}
|
||||
|
||||
$adminlist = $cacheutils->getValue();
|
||||
|
|
Loading…
Reference in New Issue