Merge branch 'i18n' of https://github.com/RivelleDays/SillyTavern into i18n
| @@ -3335,7 +3335,7 @@ async function getStatusOpen() { | |||
| 3335 | chat_completion_sources.GROQ, | 3335 | chat_completion_sources.GROQ, |
| 3336 | ]; | 3336 | ]; |
| 3337 | if (noValidateSources.includes(oai_settings.chat_completion_source)) { | 3337 | if (noValidateSources.includes(oai_settings.chat_completion_source)) { |
| 3338 | let status = 'Unable to verify key; press "Test Message" to validate.'; | 3338 | let status = t`Unable to verify key; press \"Test Message\" to validate.`; |
| 3339 | setOnlineStatus(status); | 3339 | setOnlineStatus(status); |
| 3340 | return resultCheckStatus(); | 3340 | return resultCheckStatus(); |
| 3341 | } | 3341 | } |
| @@ -3813,7 +3813,7 @@ function onLogitBiasPresetExportClick() { | |||
| 3813 | } | 3813 | } |
| 3814 | 3814 | ||
| 3815 | async function onDeletePresetClick() { | 3815 | async function onDeletePresetClick() { |
| 3816 | const confirm = await callPopup('Delete the preset? This action is irreversible and your current settings will be overwritten.', 'confirm'); | 3816 | const confirm = await callPopup(t`Delete the preset? This action is irreversible and your current settings will be overwritten.`, 'confirm'); |
| 3817 | 3817 | ||
| 3818 | if (!confirm) { | 3818 | if (!confirm) { |
| 3819 | return; | 3819 | return; |
| @@ -892,7 +892,7 @@ async function setDefaultPersona(e) { | |||
| 892 | } | 892 | } |
| 893 | delete power_user.default_persona; | 893 | delete power_user.default_persona; |
| 894 | } else { | 894 | } else { |
| 895 | 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.`); | 895 | 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.`); |
| 896 | 896 | ||
| 897 | if (!confirm) { | 897 | if (!confirm) { |
| 898 | console.debug('User cancelled setting default persona'); | 898 | console.debug('User cancelled setting default persona'); |