From 8aa648dcb08bd67625637899c179c7d33f6f923c Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 31 Oct 2017 20:29:02 +0100 Subject: [PATCH] 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 --- README.md | 1 + bans.php | 4 ++-- config/languages/lang.de.php | 4 ++-- include/adminlist.php | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 43c3cfa..c44db7d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +

Für ein Deutsches Readme klicke hier

diff --git a/bans.php b/bans.php index 1f4ffdc..c662096 100644 --- a/bans.php +++ b/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 .= "$user$reason$invokername$created$expires"; } diff --git a/config/languages/lang.de.php b/config/languages/lang.de.php index c94d2ce..edbfb8d 100644 --- a/config/languages/lang.de.php +++ b/config/languages/lang.de.php @@ -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 config/rules.md wurde nicht gefunden!"; +$lang["rules"]["filenotfound"] = "Fehler: Die Datei config/rules.md wurde nicht gefunden!"; $lang["rules"]["readerror"] = "Fehler: Nicht genügend Rechte um auf config/rules.md zuzugreifen!"; diff --git a/include/adminlist.php b/include/adminlist.php index 3c7d882..25baf31 100644 --- a/include/adminlist.php +++ b/include/adminlist.php @@ -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();