diff --git a/README.md b/README.md index f1d8f88..6a977f5 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Dont worry about privacy or security: all data is stored in your browser offline * Colors supported, for both Windows and Linux hosts. (Colors are represented different in each platform). * Real-time connected players, machine CPU and server RAM usage information. * Capable of keeping active connections to more than one server to keep retrieving console log in the background for them all. -* English, Spanish, Russian (thanks to Stashenko), Portuguese (thanks to AlexandreMuassab and Connect500BR), French (thanks to pickatchou999) and Chinese (thanks to Neubulae and OPhantomO) supported. +* English, Spanish, Russian (thanks to Stashenko), Portuguese (thanks to AlexandreMuassab and Connect500BR), French (thanks to pickatchou999), Czech (thanks to Tada) and Chinese (thanks to Neubulae and OPhantomO) supported. * Free, updated regularly, and many more! ![Screenshot](https://i.imgur.com/sN1sYju.png) @@ -35,7 +35,7 @@ Dont worry about privacy or security: all data is stored in your browser offline Fill `host`, `port` and `password` values. They are, respectively, your server IP, a port where to run this plugin (cannot be the port you are using for Minecraft) and the login password. Password will be asked every time you connect to WebConsole. -Also, you can modify `language` to view console and command messages in your preferred language. Valid languages are English (`en`), Spanish (`es`), Portuguese (`pt`), Russian (`ru`) and Chinese (`zh`). **IMPORTANT: There is a known issue with Microsoft Windows cmd that shows weird characters when using a language different than English. If you are using Windows to host your server, check [this wiki page](https://github.com/mesacarlos/WebConsole/wiki/Show-local-characters-in-Windows-Console) to solve the problem**. +Also, you can modify `language` to view console and command messages in your preferred language. Valid languages are English (`en`), Spanish (`es`), Portuguese (`pt`), Russian (`ru`), French (`fr`), Czech (`cs`) and Chinese (`zh`). **IMPORTANT: There is a known issue with Microsoft Windows cmd that shows weird characters when using a language different than English. If you are using Windows to host your server, check [this wiki page](https://github.com/mesacarlos/WebConsole/wiki/Show-local-characters-in-Windows-Console) to solve the problem**. You can see a tutorial on how to activate SSL [in this link](https://github.com/mesacarlos/WebConsole/wiki/SSL-Configuration). SSL **is not** required for WebConsole to work, you can still use it without encription, unless you are hosting your client in a HTTPS server, in this case is mandatory to enable SSL in all your servers due to web browsers restrictions. diff --git a/client/index.html b/client/index.html index 8500573..82d7e96 100644 --- a/client/index.html +++ b/client/index.html @@ -213,7 +213,7 @@ @@ -223,11 +223,11 @@ - - - - - - + + + + + + diff --git a/client/scripts/WebConsoleLanguage.js b/client/scripts/WebConsoleLanguage.js index 28a5877..1a73332 100644 --- a/client/scripts/WebConsoleLanguage.js +++ b/client/scripts/WebConsoleLanguage.js @@ -201,6 +201,38 @@ function setLanguage(locale){ "sendCommandButton": "Envoyer" } break; + case "cs_CZ": + lang = { + "navbarHomeLink": "Domov", + "home_header": "Vyberte server z nabídky", + "home_description": "Pomocí navigačního panelu přidejte nový server Minecraft nebo se připojte k dříve přidanému.", + "serversDropdown": "Vaše servery", + "add_server": "Přidat server", + "noServersAdded": "Nebyly přidány žádné servery", + "lang_dropdown": "Jazyk", + "addServerModalLongTitle": "Přidejte nový server", + "addServerModalSvName": "Název serveru:", + "addServerModalSvIp": "IP serveru:", + "addServerModalSvPort": "WebConsole port:", + "addServerModalSvSsl": "SSL je povoleno na straně serveru", + "addServerModalSslAdvice": "Pro připojení klienta HTTPS je vyžadován protokol SSL", + "addServerModalClose": "Zavřít", + "saveAndConnectServerButton": "Uložte a připojte se", + "passwordModalLongTitle": "Je vyžadováno heslo", + "passwordModalLabel": "Heslo:", + "passwordModalRememberLabel": "Pamatuj si heslo", + "passwordModalCloseButton": "Zavřít", + "passwordSendButton": "Přihlásit se", + "disconnectionModalLongTitle": "Odpojeno", + "disconnectionModalDescription": "Připojení se ztratilo se serverem, ke kterému jste byli připojeni, pravděpodobně způsobené zastavením serveru. Vrátil se zpět na uvítací obrazovku.", + "disconnectionModalCloseButton": "Zavřít", + "players_online": "Hráči online", + "cpu_title": "CPU", + "ram_title": "Využití RAM", + "deleteServerButton": "Smazat server", + "sendCommandButton": "Poslat" + } + break; default: console.error("No language set"); }