Added spanish translation

pull/9/head
Lord_Friky 2018-05-24 12:57:20 -05:00
parent 98320b5ad8
commit 0f064d2690
7 changed files with 53 additions and 17 deletions

11
i18n.js
View File

@ -5,7 +5,7 @@ function setPageLanguage(lang) {
if (lang === "en-US")
langObj = enUS;
else if (lang === "it-IT")
else if (lang === "it-IT")
langObj = itIT;
else if (lang === "pt-BR")
@ -13,10 +13,13 @@ function setPageLanguage(lang) {
else if (lang === "de-DE")
langObj = deDE;
else
else if (lang === "es-MX")
langObj = esMX;
else
langObj = enUS;
document.getElementById("pageTitle").innerHTML = langObj.pageTitle;
document.getElementById("pageSubtitle").innerHTML = langObj.pageSubtitle;

View File

@ -27,5 +27,5 @@ let deDE = {
"disclaimer1" :'Der Quellcode kann hier gefunden werden: <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (oder indem man sich den Quellcode direkt ankuckt, da kein Backend existiert!).',
"disclaimer2" :'Portiert von <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'Danke an ktemkin und ReSwitched, aber auch <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 und seine Webseite</a>, als einen Startpunkt für dieses Projekt.',
"disclaimer4" :'Zuletzt danke an <a href="https://github.com/falquinho">falquinho</a> für sein Bootstraplayout und Übersetzung in Portugiesisch, <a href="https://github.com/Filo97">Filo97</a> für die italienische Übersetzung und <a href="https://github.com/tumGER"> tumGER </a>für seine deutsche Übersetzung!.'
}
"disclaimer4" :'Zuletzt danke an <a href="https://github.com/falquinho">falquinho</a> für sein Bootstraplayout und Übersetzung in Portugiesisch, <a href="https://github.com/Filo97">Filo97</a> für die italienische Übersetzung, <a href="https://github.com/tumGER"> tumGER </a>für seine deutsche Übersetzung und <a href="https://github.com/lordfriky">Lord_Friky</a> für die spanisch Übersetzung!.'
}

View File

@ -27,5 +27,5 @@ let enUS = {
"disclaimer1" :'Source can be found on <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (or by hitting view source, there is no backend!).',
"disclaimer2" :'Ported from <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'Thanks to ktemkin and ReSwitched, as well as <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 and his website</a> as a beginning point for this one.',
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, and <a href="https://github.com/tumGER">tumGER</a> for his german translation.'
}
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, and <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation.'
}

31
i18n/es-MX.js 100644
View File

@ -0,0 +1,31 @@
let esMX = {
"pageTitle" : "Nintendo Switch Payload Loader",
"pageSubtitle" : "Fusee Launcher portado a JavaScript usando WebUSB.",
"dangerUpload" :"Por alguna razón, los payloads subidos no funcionan. actualmente estoy intentando corregirlo.",
"dangerDanger" :"Esto ha sido probado moderadamente. aunque no se han descubierto problemas, no soy responsable si pasa algo malo!",
"warningWindows" :"Esto NO funciona en Windows debido a una limitación de la implementación de WebUSB en Chrome (y probablemente otras razones!)",
"warningBrowser" :"Actualmente esto NO funciona en cualquier navegador a excepción de Chrome, porque los otros no implementan WebUSB.",
"warningLinux" :"En Linux, podrías obtener un error de 'Acceso Denegado' o 'Dispositivo No Compatible'! Si lo tienes, puedes intentar creando un archivo en <code>/etc/udev/rules.d/50-switch.rules</code> con el siguiente contenido:<br><code>SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0955\", MODE=\"0664\", GROUP=\"plugdev\"</code>.",
"warningTested" :"Esto ha sido probado y parece que funciona en Linux, OSX, Android (sin root) y Chromebooks. La experiencia puede variar.",
"labelInstructions" :"Instrucciones:",
"liRCM" :"Pon el Switch en RCM, y conéctalo a tu dispositivo.",
"liSelect" :"Selecciona entre los payloads de ejemplo, o sube uno.",
"liPress" :"Presiona 'Enviar Payload!'",
"liAPX" :"En la pantalla que aparece, selecciona 'APX' y presiona 'Conectar'.",
"liLaunch" :"Si todo va bien, el payload arrancará!",
"h1SetupDelivery" :"Configurar Payload a Enviar",
"h4SelectPayload" :"Seleccionar Payload:",
"optionInstantV5" :"Arrancar CFW instantáneamente (5.0.x)",
"optionInstantV4" :"Arrancar CFW instantáneamente (4.0.x)",
"optionHekateV5" :"Hekate para Switch 5.0.x",
"optionHekateV4" :"Hekate para Switch 4.0.x",
"optionFusee" :"Payload de prueba de (Re)Switched (fusee)",
"optionUpload" :"Subir Payload",
"h4GetByteArray" :"Obtener matriz de bytes del payload (sin exploit)",
"goButton" :"Enviar Payload!",
"clearlogsbutton" :"Borrar registro",
"disclaimer1" :'El código fuente puede ser encontrado en <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (o presionando ver código fuente, no hay backend!).',
"disclaimer2" :'Portado de <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'Gracias a ktemkin y ReSwitched, tanto como <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 y su sitio web</a> como punto de partida para este.',
"disclaimer4" :'Finalmente, gracias a <a href="https://github.com/falquinho">falquinho</a> por el nuevo diseño y la traducción en portugués, <a href="https://github.com/Filo97">Filo97</a> por la traducción en italiano,<a href="https://github.com/tumGER">tumGER</a> por la traducción en alemán, y href="https://github.com/lordfriky">Lord_Friky</a> por la traducción en español.'
}

View File

@ -27,5 +27,5 @@ let itIT = {
"disclaimer1" :'Il source puo essere trovato a <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (o premendo guarda source, ma non c\'è backend!).',
"disclaimer2" :'Portato da <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'Grazie tante a ktemkin e ReSwitched, e non dimentichiamoci <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 e il suo sito</a> come punto di inizio per questo.',
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, and <a href="https://github.com/tumGER">tumGER</a> for his german translation.'
}
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, and <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation.'
}

View File

@ -27,5 +27,5 @@ let ptBR = {
"disclaimer1" :'Código fonte disponível em <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (ou simplesmente clicando "ver código", não há backend).',
"disclaimer2" :'Um port do <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
"disclaimer3" :'Muito obrigado a Ktemkin e time (Re)Switched, bem como <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 e seu website</a> que é a base deste.',
"disclaimer4" :'Por último, obrigado <a href="https://github.com/falquinho">falquinho</a> pelo novo layout Bootstrap e tradução para português, <a href="https://github.com/Filo97">Filo97</a> pela tradução para italiano, e <a href="https://github.com/tumGER">tumGER</a> pela tradução para alemão.'
}
"disclaimer4" :'Por último, obrigado <a href="https://github.com/falquinho">falquinho</a> pelo novo layout Bootstrap e tradução para português, <a href="https://github.com/Filo97">Filo97</a> pela tradução para italiano, <a href="https://github.com/tumGER">tumGER</a> pela tradução para alemão, e <a href="https://github.com/lordfriky">Lord_Friky</a> pela tradução para espanhol.'
}

View File

@ -11,6 +11,7 @@
<script src="./i18n/it-IT.js"></script>
<script src="./i18n/pt-BR.js"></script>
<script src="./i18n/de-DE.js"></script>
<script src="./i18n/es-MX.js"></script>
<script src="./i18n.js"></script>
<!-- JQuery: needed for some Bootstrap Components -->
@ -39,6 +40,7 @@
<a class="btn btn-info" href="#" onclick="setPageLanguage('it-IT')">Italiano</a>
<a class="btn btn-info" href="#" onclick="setPageLanguage('pt-BR')">Português</a>
<a class="btn btn-info" href="#" onclick="setPageLanguage('de-DE')">Deutsch</a>
<a class="btn btn-info" href="#" onclick="setPageLanguage('es-MX')">Español</a>
</div>
</div>
</div>
@ -84,7 +86,7 @@
</div>
</div>
<div class="row">
<div class="col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3">
<h1 id="h1SetupDelivery">Setup Payload Delivery</h1>
@ -122,15 +124,15 @@
<input class="pull-right" type="checkbox" name="shouldDebug" id="shouldDebug">
</div>
</div>
<div class="row divider-line"></div>
<div class="row divider-line"></div>
</form>
<div class="row margin-top-md">
<div class="col-xs-6 col-xs-offset-6 col-md-4 col-md-offset-8">
<button class="btn btn-primary btn-lg btn-block" id="goButton">Deliver Payload!</button>
</div>
</div>
</div>
</div>
@ -139,7 +141,7 @@
<div class="col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3">
<h3 id="h3Log">Log:</h3>
<div id="output"></div>
<button class="btn btn-primary pull-right margin-top-md" id="clearlogsbutton" onclick="clearLog();">Clear Logs</button><br><br>
<button class="btn btn-primary pull-right margin-top-md" id="clearlogsbutton" onclick="clearLog();">Clear Logs</button><br><br>
</div>
</div>