mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user