Skip to content

Commit 8aa648d

Browse files
derrobin154Wruczek
authored andcommitted
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
1 parent 24c321a commit 8aa648d

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<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>
12
<p align="center">
23
<a href="https://github.com/Wruczek/ts-website/issues/36">
34
<img src="https://i.imgur.com/iffB2sa.png">

bans.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
$cacheutils = new CacheUtils('banlist');
88

99
if($cacheutils->isExpired()) {
10-
$cacheutils->setValue([getBanlist(), date('d-m-Y H:i:s')], 300);
10+
$cacheutils->setValue([getBanlist(), date('d.m.Y H:i:s')], 300);
1111
}
1212

1313
$banlist = $cacheutils->getValue();
@@ -87,7 +87,7 @@ function getBanlist() {
8787
if ($duration == 0)
8888
$expires = translate($lang["banlist"]["table"]["permaban"]);
8989
else
90-
$expires = date('d-m-Y H:i:s', $expiresepoch);
90+
$expires = date('d.m.Y H:i:s', $expiresepoch);
9191

9292
$output .= "<tr><td>$user</td><td>$reason</td><td>$invokername</td><td data-order=\"$createdepoch\">$created</td><td data-order=\"$expiresepoch\">$expires</td></tr>";
9393
}

config/languages/lang.de.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
/************* Server viewer promo box (under adminlist and contact) *************/
5858

5959
$lang["svpb"]["title"] = "Server Viewer";
60-
$lang["svpb"]["takealook"] = "Riskier einen Blick &raquo;";
60+
$lang["svpb"]["takealook"] = "Riskier 'n Blick &raquo;";
6161

6262

6363
/************************************/
@@ -100,5 +100,5 @@
100100
/************* Rules - rules.php *************/
101101

102102
$lang["rules"]["title"] = "Server Regeln";
103-
$lang["rules"]["filenotfound"] = "Error: Die Datei <code>config/rules.md</code> wurde nicht gefunden!";
103+
$lang["rules"]["filenotfound"] = "Fehler: Die Datei <code>config/rules.md</code> wurde nicht gefunden!";
104104
$lang["rules"]["readerror"] = "Fehler: Nicht genügend Rechte um auf <code>config/rules.md</code> zuzugreifen!";

include/adminlist.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
$cacheutils = new CacheUtils('adminlist');
66

77
if($cacheutils->isExpired()) {
8-
$cacheutils->setValue([getAdminList(), date('d-m-Y H:i:s')], 120);
8+
$cacheutils->setValue([getAdminList(), date('d.m.Y H:i:s')], 120);
99
}
1010

1111
$adminlist = $cacheutils->getValue();

0 commit comments

Comments
 (0)