more keys

This commit is contained in:
Jannik Streidl 2024-05-07 11:44:35 +02:00
parent cc72341861
commit 9f4a71029f
5 changed files with 5 additions and 5 deletions

View File

@ -107,7 +107,7 @@
reader.readAsText(file);
} else {
toast.error(`File not found.`);
toast.error($i18n.t('File not found.'));
}
}
};

View File

@ -151,7 +151,7 @@
models.set(await getModels(localStorage.token));
} else {
toast.error('Download canceled');
toast.error($i18n.t('Download canceled'));
}
delete $MODEL_DOWNLOAD_POOL[sanitizedModelTag];

View File

@ -245,7 +245,7 @@
models.set(await getModels(localStorage.token));
} else {
toast.error('Download canceled');
toast.error($i18n.t('Download canceled'));
}
delete $MODEL_DOWNLOAD_POOL[sanitizedModelTag];

View File

@ -17,7 +17,7 @@
tagName = '';
showTagInput = false;
} else {
toast.error('Invalid Tag');
toast.error($i18n.t(`Invalid Tag`));
}
};
</script>

View File

@ -134,7 +134,7 @@
const editChatTitle = async (id, _title) => {
if (_title === '') {
toast.error('Title cannot be an empty string.');
toast.error($i18n.t('Title cannot be an empty string.'));
} else {
title = _title;