mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-22 02:06:12 +01:00
🔧 fix(Shared Links): Handling Shared Link Errors (#3118)
* refactor: add error handling in Share model * refactor: add error handing to API routers * refactor: display error message when API response is an error * chore: remove unneccesary JSON.stringify * chore: revert unintended changes --------- Co-authored-by: Danny Avila <danny@librechat.ai>
This commit is contained in:
parent
3172381bad
commit
4e4de88faa
23 changed files with 323 additions and 75 deletions
|
|
@ -96,6 +96,8 @@ export default {
|
|||
com_ui_create_link: 'צור קישור',
|
||||
com_ui_share_link_to_chat: 'שתף קישור בצ\'אט',
|
||||
com_ui_share_error: 'אירעה שגיאה בעת שיתוף קישור הצ\'אט',
|
||||
com_ui_share_retrieve_error: 'אירעה שגיאה בעת מחיקת הקישור המשותף.',
|
||||
com_ui_share_delete_error: 'אירעה שגיאה בעת מחיקת הקישור המשותף.',
|
||||
com_ui_share_create_message: 'שמך וכל הודעה שתוסיף לאחר השיתוף יישארו פרטיים.',
|
||||
com_ui_share_created_message:
|
||||
'A shared link to your chat has been created. Manage previously shared chats at any time via Settings.',
|
||||
|
|
@ -759,6 +761,14 @@ export const comparisons = {
|
|||
english: 'Share link to chat',
|
||||
translated: 'שתף קישור בצ\'אט',
|
||||
},
|
||||
com_ui_share_retrieve_error: {
|
||||
english: 'There was an error deleting the shared link.',
|
||||
translated: 'אירעה שגיאה בעת מחיקת הקישור המשותף.',
|
||||
},
|
||||
com_ui_share_delete_error: {
|
||||
english: 'There was an error deleting the shared link.',
|
||||
translated: 'אירעה שגיאה בעת מחיקת הקישור המשותף.',
|
||||
},
|
||||
com_ui_share_error: {
|
||||
english: 'There was an error sharing the chat link',
|
||||
translated: 'אירעה שגיאה בעת שיתוף קישור הצ\'אט',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue