Added danish language (#47)

* Added danish language

* Added Danish Translation

* Updated translation

* Update header.php
pull/48/head
Noer09 8 years ago committed by Wruczek
parent 5fb7b98a37
commit 569e1c2c07

@ -0,0 +1,103 @@
<?php
/*
* Danish language for ts-website
* @copy Cadmium
*/
$lang = array();
/************* General *************/
$lang["general"]["langcode"] = "da_DK";
$lang["general"]["scripterror"] = "En fejl opstod! {0}: {1}";
/************* Navbar *************/
$lang["navbar"]["navigation"] = "Navigation";
$lang["navbar"]["viewer"] = "Server Fremvisning";
$lang["navbar"]["bans"] = "Ban Liste";
$lang["navbar"]["rules"] = "Server Regler";
$lang["navbar"]["connect"] = "Forbind til server";
$lang["navbar"]["connecttooltip"] = "Klik for at fobinde til {0}";
/************* Footer *************/
$lang["footer"]["css"] = "CSS af";
$lang["footer"]["background"] = "baggrund";
/************* Server status *************/
$lang["serverstatus"]["title"] = "Server status";
$lang["serverstatus"]["address"] = "Adresse";
$lang["serverstatus"]["loading"] = "Indlæser...";
$lang["serverstatus"]["online"] = "Online";
$lang["serverstatus"]["offline"] = "Offline";
$lang["serverstatus"]["uptime"] = "Oppetid";
$lang["serverstatus"]["version"] = "Version";
$lang["serverstatus"]["avgping"] = "Gennemsnitlig ping";
$lang["serverstatus"]["avgpl"] = "Gennemsnitlig pakketab";
/************* Admin list *************/
$lang["adminlist"]["title"] = "Admin Liste";
$lang["adminlist"]["emptygroup"] = "Denne gruppe er tom";
$lang["adminlist"]["status"]["online"] = "Online";
$lang["adminlist"]["status"]["away"] = "Borte";
$lang["adminlist"]["status"]["offline"] = "Offline";
$lang["adminlist"]["lastupdate"] = "Sidste opdatering: {0}";
/************* Server viewer promo box (under adminlist and contact) *************/
$lang["svpb"]["title"] = "Server Fremvisning";
$lang["svpb"]["takealook"] = "Tag et kig &raquo;";
/************************************/
/************* SUBPAGES *************/
/************************************/
/************* News - index.php *************/
$lang["index"]["title"] = "Nyheder";
$lang["index"]["showmore"] = "Læs mere";
$lang["index"]["showless"] = "Vis mindre";
$lang["index"]["errortitle"] = "Fejl: nyheden kunne ikke findes!";
$lang["index"]["errorsubtitle"] = "Tjek venligst, at den angivne lokation i filen <b><code>config/config.php</code></b> findes.";
/************* Server viewer - viewer.php *************/
$lang["viewer"]["title"] = "Server Fremvisning";
$lang["viewer"]["lastupdate"] = "Sidst opdateret: {0}";
/************* Ban List - bans.php *************/
$lang["banlist"]["title"] = "Ban Liste";
$lang["banlist"]["datatablesurl"] = "//cdn.datatables.net/plug-ins/1.10.12/i18n/Danish.json";
$lang["banlist"]["emptylist"] = "BAN LISTEN ER TOM";
$lang["banlist"]["lastupdate"] = "Sidst opdateret: {0}";
$lang["banlist"]["table"]["emptyreason"] = "(ingen grund givet)";
$lang["banlist"]["table"]["permaban"] = "Aldrig";
$lang["banlist"]["table"]["nickname"] = "Navn";
$lang["banlist"]["table"]["reason"] = "Grund";
$lang["banlist"]["table"]["bannedby"] = "Banlyst af";
$lang["banlist"]["table"]["bandate"] = "Dato for ban";
$lang["banlist"]["table"]["expires"] = "Udløber";
/************* Rules - rules.php *************/
$lang["rules"]["title"] = "Server Regler";
$lang["rules"]["filenotfound"] = "Fejl: filen <code>config/rules.md</code> kunne ikke findes!";
$lang["rules"]["readerror"] = "Fejl: adgang til filen <code>config/rules.md</code> nægtet!";

@ -117,6 +117,7 @@ $htalink = $config["general"]["enablehta"] ? "" : ".php";
<li><a href="?lang=gr"><i class="famfamfam-flags gr" aria-hidden="true"></i> Ελληνικά</a></li> <!-- Greek : 13,134 --> <li><a href="?lang=gr"><i class="famfamfam-flags gr" aria-hidden="true"></i> Ελληνικά</a></li> <!-- Greek : 13,134 -->
<li><a href="?lang=se"><i class="famfamfam-flags se" aria-hidden="true"></i> Svenska</a></li> <!-- Swedish : 12 --> <li><a href="?lang=se"><i class="famfamfam-flags se" aria-hidden="true"></i> Svenska</a></li> <!-- Swedish : 12 -->
<li><a href="?lang=bg"><i class="famfamfam-flags bg" aria-hidden="true"></i> български</a></li> <!-- Bulgarian : 8 --> <li><a href="?lang=bg"><i class="famfamfam-flags bg" aria-hidden="true"></i> български</a></li> <!-- Bulgarian : 8 -->
<li><a href="?lang=da"><i class="famfamfam-flags da" aria-hidden="true"></i> Dansk</a></li> <!-- Danish : 6 -->
<li><a href="?lang=by"><i class="famfamfam-flags by" aria-hidden="true"></i> Беларуская мова</a></li> <!-- Belarusian : 3 --> <li><a href="?lang=by"><i class="famfamfam-flags by" aria-hidden="true"></i> Беларуская мова</a></li> <!-- Belarusian : 3 -->
</ul> </ul>
</li> </li>

Loading…
Cancel
Save