This commit is contained in:
Rivelle 2025-01-04 16:03:20 +08:00
commit 8514ac29fc
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -892,7 +892,7 @@ async function setDefaultPersona(e) {
}
delete power_user.default_persona;
} else {
const confirm = await Popup.show.confirm(t`Are you sure you want to set "${personaName}" as the default persona?`, t`This name and avatar will be used for all new chats, as well as existing chats where the user persona is not locked.`);
const confirm = await Popup.show.confirm(t`Are you sure you want to set \"${personaName}\" as the default persona?`, t`This name and avatar will be used for all new chats, as well as existing chats where the user persona is not locked.`);
if (!confirm) {
console.debug('User cancelled setting default persona');