From bb8dda37bd7c1b197c3f1f0bfc822f6aa0a9096f Mon Sep 17 00:00:00 2001 From: Wruczek Date: Fri, 25 Nov 2016 00:56:10 +0100 Subject: [PATCH] Code reformat for Czech language (#14) --- config/languages/lang.cz.php | 36 +++++++++++++++++++++++++++++++++++- include/header.php | 1 - 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/config/languages/lang.cz.php b/config/languages/lang.cz.php index 884b259..c285d23 100644 --- a/config/languages/lang.cz.php +++ b/config/languages/lang.cz.php @@ -3,53 +3,85 @@ * Czech language for ts-website * @copy Najsr */ + $lang = array(); + /************* General *************/ + $lang["general"]["langcode"] = "cs_CZ"; $lang["general"]["scripterror"] = "Nastala chyba! {0}: {1}"; + /************* Navbar *************/ + $lang["navbar"]["navigation"] = "Navigace"; + $lang["navbar"]["viewer"] = "Prohlížeč serveru"; $lang["navbar"]["bans"] = "Banlist"; $lang["navbar"]["rules"] = "Pravidla"; + $lang["navbar"]["connect"] = "Připojit"; $lang["navbar"]["connecttooltip"] = "Klikněte pro připojení na {0}"; + + /************* Footer *************/ + $lang["footer"]["css"] = "CSS od"; $lang["footer"]["background"] = "pozadí"; + + /************* Server status *************/ + $lang["serverstatus"]["title"] = "Status"; $lang["serverstatus"]["address"] = "Adresa"; $lang["serverstatus"]["loading"] = "Načítání..."; + $lang["serverstatus"]["online"] = "Online"; $lang["serverstatus"]["offline"] = "Offline"; $lang["serverstatus"]["uptime"] = "Doba zapnutí"; $lang["serverstatus"]["version"] = "Verze"; $lang["serverstatus"]["avgping"] = "Průměrný ping"; $lang["serverstatus"]["avgpl"] = "Průměrná ztrátovost paketů"; + + /************* Admin list *************/ + $lang["adminlist"]["title"] = "Seznam adminů"; $lang["adminlist"]["emptygroup"] = "Tato skupina je prázdná"; $lang["adminlist"]["status"]["online"] = "Online"; $lang["adminlist"]["status"]["away"] = "Pryč"; $lang["adminlist"]["status"]["offline"] = "Offline"; $lang["adminlist"]["lastupdate"] = "Poslední aktualizace: {0}"; + + /************* Server viewer promo box (under adminlist and contact) *************/ + $lang["svpb"]["title"] = "Prohlížeč serveru"; $lang["svpb"]["takealook"] = "Otevřít »"; + + /************************************/ /************* SUBPAGES *************/ /************************************/ + + /************* News - index.php *************/ + $lang["index"]["title"] = "Novinky"; $lang["index"]["showmore"] = "Zobrazit více"; $lang["index"]["showless"] = "Zobrazit méně"; + $lang["index"]["errortitle"] = "Error: stránka s novinkami nenalezena!"; $lang["index"]["errorsubtitle"] = "Ujistěte se, že cesta zadaná v config/config.php je správná."; + + /************* Server viewer - viewer.php *************/ + $lang["viewer"]["title"] = "Prohlížeč serveru"; $lang["viewer"]["lastupdate"] = "Poslední aktualizace: {0}"; + + /************* Ban List - bans.php *************/ + $lang["banlist"]["title"] = "Banlist"; $lang["banlist"]["datatablesurl"] = "//cdn.datatables.net/plug-ins/1.10.12/i18n/Czech.json"; $lang["banlist"]["emptylist"] = "Banlist je prázdný"; @@ -61,7 +93,9 @@ $lang["banlist"]["table"]["reason"] = "Důvod"; $lang["banlist"]["table"]["bannedby"] = "Zabanován od"; $lang["banlist"]["table"]["bandate"] = "Datum"; $lang["banlist"]["table"]["expires"] = "Vyprší"; + /************* Rules - rules.php *************/ + $lang["rules"]["title"] = "Pravidla serveru"; $lang["rules"]["filenotfound"] = "Error: soubor config/rules.md nebyl nalezen!"; -$lang["rules"]["readerror"] = "Error: nemám přístup k config/rules.md!"; \ No newline at end of file +$lang["rules"]["readerror"] = "Error: nemám přístup k config/rules.md!"; diff --git a/include/header.php b/include/header.php index 6e5fd84..9e5a18d 100644 --- a/include/header.php +++ b/include/header.php @@ -102,7 +102,6 @@ $htalink = $config["general"]["enablehta"] ? "" : ".php";
  • Русский
  • Türkçe
  • Česky
  • -