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:
Robin 2017-10-31 20:29:02 +01:00 committed by Wruczek
parent 24c321a26f
commit 8aa648dcb0
4 changed files with 6 additions and 5 deletions

View File

@ -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"> <p align="center">
<a href="https://github.com/Wruczek/ts-website/issues/36"> <a href="https://github.com/Wruczek/ts-website/issues/36">
<img src="https://i.imgur.com/iffB2sa.png"> <img src="https://i.imgur.com/iffB2sa.png">

View File

@ -7,7 +7,7 @@ require_once __DIR__ . "/include/cacheutils.class.php";
$cacheutils = new CacheUtils('banlist'); $cacheutils = new CacheUtils('banlist');
if($cacheutils->isExpired()) { 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(); $banlist = $cacheutils->getValue();
@ -87,7 +87,7 @@ function getBanlist() {
if ($duration == 0) if ($duration == 0)
$expires = translate($lang["banlist"]["table"]["permaban"]); $expires = translate($lang["banlist"]["table"]["permaban"]);
else 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>"; $output .= "<tr><td>$user</td><td>$reason</td><td>$invokername</td><td data-order=\"$createdepoch\">$created</td><td data-order=\"$expiresepoch\">$expires</td></tr>";
} }

View File

@ -57,7 +57,7 @@ $lang["adminlist"]["lastupdate"] = "Letzte Aktualisierung: {0}";
/************* Server viewer promo box (under adminlist and contact) *************/ /************* Server viewer promo box (under adminlist and contact) *************/
$lang["svpb"]["title"] = "Server Viewer"; $lang["svpb"]["title"] = "Server Viewer";
$lang["svpb"]["takealook"] = "Riskier einen Blick &raquo;"; $lang["svpb"]["takealook"] = "Riskier 'n Blick &raquo;";
/************************************/ /************************************/
@ -100,5 +100,5 @@ $lang["banlist"]["table"]["expires"] = "Läuft ab am";
/************* Rules - rules.php *************/ /************* Rules - rules.php *************/
$lang["rules"]["title"] = "Server Regeln"; $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!"; $lang["rules"]["readerror"] = "Fehler: Nicht genügend Rechte um auf <code>config/rules.md</code> zuzugreifen!";

View File

@ -5,7 +5,7 @@ require_once __DIR__ . "/cacheutils.class.php";
$cacheutils = new CacheUtils('adminlist'); $cacheutils = new CacheUtils('adminlist');
if($cacheutils->isExpired()) { 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(); $adminlist = $cacheutils->getValue();