Revert "More Mexican Spanish Translation (#1184)" (#1190)

This reverts commit 02418d2d97.
This commit is contained in:
Cohee
2023-09-27 09:53:56 +03:00
committed by GitHub
parent 02418d2d97
commit 5857823c3b
3 changed files with 391 additions and 427 deletions

View File

@@ -26,8 +26,6 @@ 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, '');
@@ -52,7 +50,7 @@ async function viewSecrets() {
});
if (response.status == 403) {
callPopup(forbiddenMessage, 'text');
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');
return;
}