mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
more keys
This commit is contained in:
parent
cc72341861
commit
9f4a71029f
@ -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 @@
|
|||||||
|
|
||||||
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 @@
|
|||||||
|
|
||||||
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 @@
|
|||||||
tagName = '';
|
tagName = '';
|
||||||
showTagInput = false;
|
showTagInput = false;
|
||||||
} else {
|
} else {
|
||||||
toast.error('Invalid Tag');
|
toast.error($i18n.t(`Invalid Tag`));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user