mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-23 15:37:50 +01:00
Merge branch 'i18n' of https://github.com/RivelleDays/SillyTavern into i18n
This commit is contained in:
commit
8514ac29fc
@ -3335,7 +3335,7 @@ async function getStatusOpen() {
|
|||||||
chat_completion_sources.GROQ,
|
chat_completion_sources.GROQ,
|
||||||
];
|
];
|
||||||
if (noValidateSources.includes(oai_settings.chat_completion_source)) {
|
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);
|
setOnlineStatus(status);
|
||||||
return resultCheckStatus();
|
return resultCheckStatus();
|
||||||
}
|
}
|
||||||
@ -3813,7 +3813,7 @@ function onLogitBiasPresetExportClick() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function onDeletePresetClick() {
|
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) {
|
if (!confirm) {
|
||||||
return;
|
return;
|
||||||
|
@ -892,7 +892,7 @@ async function setDefaultPersona(e) {
|
|||||||
}
|
}
|
||||||
delete power_user.default_persona;
|
delete power_user.default_persona;
|
||||||
} else {
|
} 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) {
|
if (!confirm) {
|
||||||
console.debug('User cancelled setting default persona');
|
console.debug('User cancelled setting default persona');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user