More Mexican Spanish Translation (#1184)

* More spanish translation, fixed typo on index

Praying that typo fix won't mess with the other translations. Changed "idel" for "idle".

* Changed "es-spa" to "es-mx"

For Mexican Spanish. Spanish has a ridiculous amount of variants and the wording that might seem fine to me might be weird or maybe offensive in other variants.

* Trying to translate the View API key pop up

I'm also failing badly

* "Mirostat Mode" was repeated twice. Not anymore.

Also more Mexican Spanish translation.

* Mirostat Tau and Mirostat Era aren't repeated anymore.

* Partially translated AI Response Formatting to es-MX
This commit is contained in:
Call me Jim
2023-09-27 00:52:49 -06:00
committed by GitHub
parent 0569b706dc
commit 02418d2d97
3 changed files with 427 additions and 391 deletions

View File

@ -26,6 +26,8 @@ const INPUT_MAP = {
[SECRET_KEYS.PALM]: '#api_key_palm',
}
const forbiddenMessage = `<h3 data-i18n=\"forbiddenHeading\">Forbidden</h3><p>To view your API keys here, set the value of allowKeysExposure to true in config.conf file and restart the SillyTavern server.</p>`
async function clearSecret() {
const key = $(this).data('key');
await writeSecret(key, '');
@ -50,7 +52,7 @@ async function viewSecrets() {
});
if (response.status == 403) {
callPopup('<h3>Forbidden</h3><p>To view your API keys here, set the value of allowKeysExposure to true in config.conf file and restart the SillyTavern server.</p>', 'text');
callPopup(forbiddenMessage, 'text');
return;
}