Commit 9f4a7102 authored by Jannik Streidl's avatar Jannik Streidl
Browse files

more keys

parent cc723418
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
reader.readAsText(file); reader.readAsText(file);
} else { } else {
toast.error(`File not found.`); toast.error($i18n.t('File not found.'));
} }
} }
}; };
......
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
models.set(await getModels(localStorage.token)); models.set(await getModels(localStorage.token));
} else { } else {
toast.error('Download canceled'); toast.error($i18n.t('Download canceled'));
} }
delete $MODEL_DOWNLOAD_POOL[sanitizedModelTag]; delete $MODEL_DOWNLOAD_POOL[sanitizedModelTag];
......
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
models.set(await getModels(localStorage.token)); models.set(await getModels(localStorage.token));
} else { } else {
toast.error('Download canceled'); toast.error($i18n.t('Download canceled'));
} }
delete $MODEL_DOWNLOAD_POOL[sanitizedModelTag]; delete $MODEL_DOWNLOAD_POOL[sanitizedModelTag];
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
tagName = ''; tagName = '';
showTagInput = false; showTagInput = false;
} else { } else {
toast.error('Invalid Tag'); toast.error($i18n.t(`Invalid Tag`));
} }
}; };
</script> </script>
......
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
const editChatTitle = async (id, _title) => { const editChatTitle = async (id, _title) => {
if (_title === '') { if (_title === '') {
toast.error('Title cannot be an empty string.'); toast.error($i18n.t('Title cannot be an empty string.'));
} else { } else {
title = _title; title = _title;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment