v 1.3.0 - i18n

This commit is contained in:
Wruczek
2016-07-25 16:14:04 +02:00
parent d084b8a1e2
commit b2aaff63a2
22 changed files with 278 additions and 88 deletions

View File

@ -1,65 +1,65 @@
<?php
/*
Autor: Wruczek
Kontakt:
Author: Wruczek
Contact me:
TeamSpeak: ts.wruczek.top
E-mail: wruczekk@gmail.com
Prześlij dotację: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9PL5J7ULZQYJQ
Email: wruczekk@gmail.com
Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9PL5J7ULZQYJQ
*/
/************* Konfiguracja generalna strony *************/
/************* General configuration *************/
$config["general"]["title"] = "TwojTS.PL"; // Tytuł strony - wyświetlany np. w menu i na pasku nawigacji
$config["general"]["theme"] = "superhero"; // Motyw strony - http://bootswatch.com/ (ALPHA)
$config["general"]["icon"] = "img/icon/icon-32.png"; // Ikona używana na pasku nawigacji
$config["general"]["subtitle"] = " - Najlepszy serwer Teamspeak!"; // Dodatkowy tekst dodawany do tytułu na pasku przeglądarki
$config["general"]["desc"] = "Polski serwer TeamSpeak! Zapraszamy :)"; // Opis strony - wyświetlany np. w wynikach wyszukiwarki Google
$config["general"]["newsDir"] = "config/news"; // Folder z newsami (relatywnie do głównego folderu)
$config["general"]["title"] = "BestTS.NET"; // Website title - displayed in the menu
$config["general"]["icon"] = "img/icon/icon-32.png"; // Website icon
$config["general"]["subtitle"] = " - Best TeamSpeak server!"; // Website subtitle
$config["general"]["desc"] = "Polski serwer TeamSpeak! Zapraszamy :)"; // Website description - displayed in Google search engine
$config["general"]["newsDir"] = "config/news"; // News folder (relative to project folder)
$config["general"]["enablehta"] = false; // Właczenie / wyłączenie dodatkowych usprawnień strony w htaccess (zalecane,
// wymaga jednak aktualnej wersji Apache oraz włączenia htaccess oraz mod_rewrite)
$config["general"]["enablehta"] = false; // Enable / Disable additional website features (recommended, but
// you need to have up-to-date version of Apache and install mod_rewrite)
// After setting to true, go into .htaccess file and uncomment 19 line
/********* Konfiguracja serwera TeamSpeak *********/
/********* TeamSpeak configuration *********/
$config['teamspeak']['host'] = '127.0.0.1'; // Adres serwera TeamSpeak
$config['teamspeak']['login'] = 'serveradmin'; // Login konta Query
$config['teamspeak']['password'] = 'pa$$word'; // Hasło konta Query
$config['teamspeak']['server_port'] = 9987; // Port serwera TeamSpeak
$config['teamspeak']['query_port'] = 10011; // Port Query
$config['teamspeak']['displayip'] = 'ts.serwer.pl'; // IP wyświetlane na stronie i używane do połączeń
$config['teamspeak']['host'] = '127.0.0.1'; // TeamSpeak host address
$config['teamspeak']['login'] = 'serveradmin'; // Login
$config['teamspeak']['password'] = 'pa$$word'; // Password
$config['teamspeak']['server_port'] = 9987; // TeamSpeak server port
$config['teamspeak']['query_port'] = 10011; // Query port
$config['teamspeak']['displayip'] = 'ts.server.net'; // IP shown to users and used for connections
/************* Dodatkowe linki na pasku nawigacji *************/
/************* Additional navigation links - you can link to your stuff *************/
$config["navlinks"] = array(
// WZÓR: array("ikona", "tekst", "link") GDZIE ikona to nazwa ikony ze strony: http://fontawesome.io/icons/
array("fa-facebook-official", "Facebook", "https://facebook.com/najlepszytsXd"),
// TEMPLATE: array("icon", "displayed text", "link"), ICON is an icon name from: http://fontawesome.io/icons/
array("fa-facebook-official", "Facebook", "https://facebook.com/bestteamspeakXd"),
array("fa-comments", "Forum", "forum"),
array("fa-shopping-cart", "Sklep", "sklep")
array("fa-shopping-cart", "Shop", "shop")
);
/************* Konfiguracja listy administratorow *************/
/************* Adminlist configuration *************/
// ID grup wyświetlanych na liście administracji. Kolejność grup decyduje o kolejności wyświetlania na stronie
// ID of servergroups displayed as admins in Adminlist. Put it in the same way you want it to be displayed.
$config["adminlist"] = array(6, 17, 19);
/************* Konfiguracja panelu "kontakt" *************/
/************* Contact panel configuration *************/
// Ustaw $config['contact']['text'] = ''; by kompletnie wyłączyć wyświetlanie panelu
$config['contact']['title'] = 'Kontakt z właścicielem';
// Set $config['contact']['text'] = ''; to hide this panel
$config['contact']['title'] = 'Contact the staff';
$config['contact']['text'] = '
<ul class="list-unstyled">
<li>TeamSpeak: <span class="pullright">kanał <a href="ts3server://ts.wruczek.top?channel=Kana%C5%82y%20publiczne%2FPogaduchy%2FPogaduchy%205">Pomoc</a></span></li>
<li>TeamSpeak: <span class="pullright">channel <a href="ts3server://ts.wruczek.top?channel=Kana%C5%82y%20publiczne%2FPogaduchy%2FPogaduchy%205">Pomoc</a></span></li>
<li>Email: <span class="pullright"><a href="mailto:kontakt@email.com">konakt@email.com</a></span></li>
<li>GaduGadu: <span class="pullright"><a href="gg:49568758">49568758 <img src="https://status.gadu-gadu.pl/users/status.asp?id=49568758&styl=1"></a></span></li>
<li>GaduGadu: <span class="pullright"><a href="gg:123456789">123456789 <img src="https://status.gadu-gadu.pl/users/status.asp?id=49568758&styl=1"></a></span></li>
<li>Steam: <span class="pullright"><a href="http://steamcommunity.com/id/wruczek">Wruczek</a></span></li>
</ul>
';

View File

@ -0,0 +1,104 @@
<?php
/*
* The english language for ts-website
* @copy Wruczek <wruczekk@gmail.com>
*/
$lang = array();
/************* General *************/
$lang["general"]["langcode"] = "en_GB";
$lang["general"]["scripterror"] = "An error occured! {0}: {1}";
/************* Navbar *************/
$lang["navbar"]["navigation"] = "Navigation";
$lang["navbar"]["viewer"] = "Server Viewer";
$lang["navbar"]["bans"] = "Ban List";
$lang["navbar"]["rules"] = "Server Rules";
$lang["navbar"]["connect"] = "Connect to server";
$lang["navbar"]["connecttooltip"] = "Click to connect to {0}";
/************* Footer *************/
$lang["footer"]["website"] = "Website";
$lang["footer"]["css"] = "CSS thanks to courtesy of";
$lang["footer"]["background"] = "background";
/************* Server status *************/
$lang["serverstatus"]["title"] = "Server status";
$lang["serverstatus"]["address"] = "Address";
$lang["serverstatus"]["loading"] = "Loading...";
$lang["serverstatus"]["online"] = "Online";
$lang["serverstatus"]["offline"] = "Offline";
$lang["serverstatus"]["uptime"] = "Uptime";
$lang["serverstatus"]["version"] = "Version";
$lang["serverstatus"]["avgping"] = "Average ping";
$lang["serverstatus"]["avgpl"] = "Average packet loss";
/************* Admin list *************/
$lang["adminlist"]["title"] = "Adminlist";
$lang["adminlist"]["emptygroup"] = "This group is empty";
$lang["adminlist"]["status"]["online"] = "Online";
$lang["adminlist"]["status"]["away"] = "Away";
$lang["adminlist"]["status"]["offline"] = "Offline";
$lang["adminlist"]["lastupdate"] = "Last update: {0}";
/************* Server viewer promo box (under adminlist and contact) *************/
$lang["svpb"]["title"] = "Server Viewer";
$lang["svpb"]["takealook"] = "Take a look &raquo;";
/************************************/
/************* SUBPAGES *************/
/************************************/
/************* News - index.php *************/
$lang["index"]["title"] = "News";
$lang["index"]["showmore"] = "Read more";
$lang["index"]["showless"] = "Show less";
$lang["index"]["errortitle"] = "Error: news directory has not been found!";
$lang["index"]["errorsubtitle"] = "Please make sure that directory location set in <code>config/config.php</code> is valid.";
/************* Server viewer - viewer.php *************/
$lang["viewer"]["title"] = "Server Viewer";
$lang["viewer"]["lastupdate"] = "Last update: {0}";
/************* Ban List - bans.php *************/
$lang["banlist"]["title"] = "Ban List";
$lang["banlist"]["datatablesurl"] = "//cdn.datatables.net/plug-ins/1.10.12/i18n/English.json";
$lang["banlist"]["emptylist"] = "BAN LIST IS EMPTY";
$lang["banlist"]["lastupdate"] = "Last update: {0}";
$lang["banlist"]["table"]["emptyreason"] = "(no reason set)";
$lang["banlist"]["table"]["permaban"] = "Never";
$lang["banlist"]["table"]["nickname"] = "Nick";
$lang["banlist"]["table"]["reason"] = "Reason";
$lang["banlist"]["table"]["bannedby"] = "Banned by";
$lang["banlist"]["table"]["bandate"] = "Ban date";
$lang["banlist"]["table"]["expires"] = "Expires";
/************* Rules - rules.php *************/
$lang["rules"]["title"] = "Server Rules";
$lang["rules"]["filenotfound"] = "Error: file <code>config/rules.md</code> has not been found!";
$lang["rules"]["readerror"] = "Error: cannot access the file <code>config/rules.md</code>!";

View File

@ -1,4 +1,4 @@
Readme od jQuery - do testów systemu
jQuery Readme - system test
jQuery, 2016-06-24, 21:00
[jQuery](https://jquery.com/) — New Wave JavaScript

View File

@ -1,4 +1,4 @@
Readme od Bootstrap - do testów systemu
Bootstrap Readme - system test
Bootstrap, 2016-06-24, 21:00
# [Bootstrap](http://getbootstrap.com)

View File

@ -1,5 +1,9 @@
### Regulamin serwera
This is a dedicated file to keep your server rules. Its loaded and displayed on "rules.php" page. To change it, go to the <code>config</code> directory and edit file <code>rules.md</code>
<br>
Oto dedykowany plik na regulamin twojego Teamspeaka wyświetlany na podstronie "regulamin". Plik z regulaminem znajdziesz w folderze <code>config</code> pod nazwą <code>rules.md</code>. Edytuje się go podobnie jak newsy.
<br>