Tooltip info & warn. Detect file path during update. Add translation.

* Tooltips added to show full model name and warning regarding vector storage
* Send toast error and return early if more than a single front slash is detected
* Extend toast duration for model update action
* Add i18n en_US translation
* Remove commented code copied from existing function
This commit is contained in:
Self Denial 2024-04-06 04:22:48 -06:00
parent 9f82f5abba
commit 11741ea7f0
2 changed files with 83 additions and 56 deletions

View file

@ -120,6 +120,7 @@
"Edit Doc": "",
"Edit User": "",
"Email": "",
"Embedding model: {{embedding_model}}": "",
"Enable Chat History": "",
"Enable New Sign Ups": "",
"Enabled": "",
@ -193,8 +194,11 @@
"MMMM DD, YYYY": "",
"Model '{{modelName}}' has been successfully downloaded.": "",
"Model '{{modelTag}}' is already in queue for downloading.": "",
"Model {{embedding_model}} update complete!": "",
"Model {{embedding_model}} update failed or not required!": "",
"Model {{modelId}} not found": "",
"Model {{modelName}} already exists.": "",
"Model filesystem path detected. Model shortname is required for update, cannot continue.": "",
"Model Name": "",
"Model not selected": "",
"Model Tag Name": "",
@ -332,7 +336,10 @@
"TTS Settings": "",
"Type Hugging Face Resolve (Download) URL": "",
"Uh-oh! There was an issue connecting to {{provider}}.": "",
"Understand that updating or changing your embedding model requires reset of the vector database and re-import of all documents. You have been warned!": "",
"Unknown File Type '{{file_type}}', but accepting and treating as plain text": "",
"Update": "",
"Update embedding model {{embedding_model}}": "",
"Update password": "",
"Upload a GGUF model": "",
"Upload files": "",