From 1e53d62081d8d3e4a7dc515f3e979b11467b085b Mon Sep 17 00:00:00 2001 From: Wruczek Date: Fri, 27 Jan 2017 05:43:17 +0100 Subject: [PATCH] Added Spanish language (thanks Vinanrra!) --- config/languages/lang.es.php | 103 +++++++++++++++++++++++++++++++++++ include/header.php | 1 + 2 files changed, 104 insertions(+) create mode 100644 config/languages/lang.es.php diff --git a/config/languages/lang.es.php b/config/languages/lang.es.php new file mode 100644 index 0000000..5e2ddb1 --- /dev/null +++ b/config/languages/lang.es.php @@ -0,0 +1,103 @@ + + */ + +$lang = array(); + +/************* General *************/ + +$lang["general"]["langcode"] = "es-ES"; +$lang["general"]["scripterror"] = "Ha ocurrido un error {0}: {1}"; + +/************* Navbar *************/ + +$lang["navbar"]["navigation"] = "Navegación"; + +$lang["navbar"]["viewer"] = "Server Viewer"; +$lang["navbar"]["bans"] = "Lista de baneados"; +$lang["navbar"]["rules"] = "Reglas del servidor"; + +$lang["navbar"]["connect"] = "Conectar al ts3"; +$lang["navbar"]["connecttooltip"] = "Click para conectar a {0}"; + + +/************* Footer *************/ + +$lang["footer"]["css"] = "CSS by"; +$lang["footer"]["background"] = "background"; + + +/************* Server status *************/ + +$lang["serverstatus"]["title"] = "Estado del servidor"; +$lang["serverstatus"]["address"] = "Direción"; +$lang["serverstatus"]["loading"] = "Cargando..."; + +$lang["serverstatus"]["online"] = "En linea"; +$lang["serverstatus"]["offline"] = "Desconectado"; +$lang["serverstatus"]["uptime"] = "Tiempo activo"; +$lang["serverstatus"]["version"] = "Versión"; +$lang["serverstatus"]["avgping"] = "Ping promedio"; +$lang["serverstatus"]["avgpl"] = "Pérdida de paquetes"; + + +/************* Admin list *************/ + +$lang["adminlist"]["title"] = "Lista de ADM/MOD"; +$lang["adminlist"]["emptygroup"] = "Grupo vacio"; +$lang["adminlist"]["status"]["online"] = "En linea"; +$lang["adminlist"]["status"]["away"] = "AFK"; +$lang["adminlist"]["status"]["offline"] = "Desconectado"; +$lang["adminlist"]["lastupdate"] = "Última actualización: {0}"; + + +/************* Server viewer promo box (under adminlist and contact) *************/ + +$lang["svpb"]["title"] = "Ver servidor"; +$lang["svpb"]["takealook"] = "Echar un vistazo »"; + + +/************************************/ +/************* SUBPAGES *************/ +/************************************/ + + +/************* News - index.php *************/ + +$lang["index"]["title"] = "Noticias"; +$lang["index"]["showmore"] = "Leer más"; +$lang["index"]["showless"] = "Mostar menos"; + +$lang["index"]["errortitle"] = "Error: news directory has not been found!"; +$lang["index"]["errorsubtitle"] = "Please make sure that directory location set in config/config.php is valid."; + + +/************* Server viewer - viewer.php *************/ + +$lang["viewer"]["title"] = "Ver servidor"; +$lang["viewer"]["lastupdate"] = "Última actualización: {0}"; + + +/************* Ban List - bans.php *************/ + +$lang["banlist"]["title"] = "Lista de baneados"; +$lang["banlist"]["datatablesurl"] = "//cdn.datatables.net/plug-ins/1.10.12/i18n/Spanish.json"; +$lang["banlist"]["emptylist"] = "La lista de baneados está vacia"; +$lang["banlist"]["lastupdate"] = "Última actualización: {0}"; + +$lang["banlist"]["table"]["emptyreason"] = "(sin razón)"; +$lang["banlist"]["table"]["permaban"] = "Nunca"; + +$lang["banlist"]["table"]["nickname"] = "Usuario"; +$lang["banlist"]["table"]["reason"] = "Razón"; +$lang["banlist"]["table"]["bannedby"] = "Baneado por"; +$lang["banlist"]["table"]["bandate"] = "Fecha de baneo"; +$lang["banlist"]["table"]["expires"] = "Expiración"; + +/************* Rules - rules.php *************/ + +$lang["rules"]["title"] = "Reglas del servidor"; +$lang["rules"]["filenotfound"] = "Error: file config/rules.md has not been found!"; +$lang["rules"]["readerror"] = "Error: cannot access the file config/rules.md!"; diff --git a/include/header.php b/include/header.php index 1154e78..da1a38e 100644 --- a/include/header.php +++ b/include/header.php @@ -109,6 +109,7 @@ $htalink = $config["general"]["enablehta"] ? "" : ".php";
  • Português
  • Français
  • Українська
  • +
  • Español