mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update openai.js: fix i18n
This commit is contained in:
@ -3335,7 +3335,7 @@ async function getStatusOpen() {
|
||||
chat_completion_sources.GROQ,
|
||||
];
|
||||
if (noValidateSources.includes(oai_settings.chat_completion_source)) {
|
||||
let status = 'Unable to verify key; press "Test Message" to validate.';
|
||||
let status = t`Unable to verify key; press \"Test Message\" to validate.`;
|
||||
setOnlineStatus(status);
|
||||
return resultCheckStatus();
|
||||
}
|
||||
@ -3813,7 +3813,7 @@ function onLogitBiasPresetExportClick() {
|
||||
}
|
||||
|
||||
async function onDeletePresetClick() {
|
||||
const confirm = await callPopup('Delete the preset? This action is irreversible and your current settings will be overwritten.', 'confirm');
|
||||
const confirm = await callPopup(t`Delete the preset? This action is irreversible and your current settings will be overwritten.`, 'confirm');
|
||||
|
||||
if (!confirm) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user