🚀 feat: Add Option to Disable Shared Links (#2986)

* feat: add option to disable shared links

* chore: update languages

---------

Co-authored-by: Danny Avila <danny@librechat.ai>
This commit is contained in:
Yuichi Oneda 2024-06-15 08:12:03 -07:00 committed by GitHub
parent 04502e9525
commit 8d8b17e7ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 618 additions and 467 deletions

View file

@ -51,17 +51,20 @@ export default {
com_ui_import_conversation_error: 'حدث خطأ أثناء استيراد محادثاتك',
com_ui_confirm_action: 'تأكيد الإجراء',
com_ui_chats: 'الدردشات',
com_ui_share: 'Share',
com_ui_share_link_to_chat: 'Share link to chat',
com_ui_share_error: 'There was an error sharing the chat link',
com_ui_share_create_message: 'Your name and any messages you add after sharing stay private.',
com_ui_share: 'مشاركة',
com_ui_copy_link: 'نسخ الرابط',
com_ui_update_link: 'رابط التحديث',
com_ui_create_link: 'إنشاء رابط',
com_ui_share_link_to_chat: 'شارك الرابط في الدردشة',
com_ui_share_error: 'حدث خطأ أثناء مشاركة رابط الدردشة',
com_ui_share_create_message: 'سيظل اسمك وأي رسائل تضيفها بعد المشاركة خاصة.',
com_ui_share_created_message:
'A public link to your chat has been created. Manage previously shared chats at any time via Settings.',
'تم إنشاء رابط مشترك للدردشة الخاصة بك. يمكنك إدارة الدردشات المشتركة مسبقًا في أي وقت عبر الإعدادات.',
com_ui_share_update_message:
'Your name, custom instructions, and any messages you add after sharing stay private.',
'سيظل اسمك والتعليمات المخصصة وأي رسائل تضيفها بعد المشاركة خاصة.',
com_ui_share_updated_message:
'A public link to your chat has been updated. Manage previously shared chats at any time via Settings.',
com_ui_shared_link_not_found: 'Shared link not found',
'تم تحديث رابط مشترك للدردشة الخاصة بك. يمكنك إدارة الدردشات المشتركة مسبقًا في أي وقت عبر الإعدادات.',
com_ui_shared_link_not_found: 'الرابط المشترك غير موجود',
com_ui_delete: 'حذف',
com_ui_delete_conversation: 'حذف الدردشة؟',
com_ui_delete_conversation_confirm: 'سيتم حذف هذا',
@ -308,9 +311,6 @@ export default {
com_ui_assistant_delete_error: 'حدث خطأ أثناء حذف المساعد',
com_ui_copied: 'تم النسخ',
com_ui_copy_code: 'نسخ الكود',
com_ui_copy_link: 'نسخ الرابط',
com_ui_update_link: 'رابط التحديث',
com_ui_create_link: 'إنشاء رابط',
com_nav_source_chat: 'عرض محادثة المصدر',
com_ui_date_today: 'اليوم',
com_ui_date_yesterday: 'أمس',
@ -771,40 +771,51 @@ export const comparisons = {
},
com_ui_share: {
english: 'Share',
translated: 'Share',
translated: 'مشاركة',
},
com_ui_copy_link: {
english: 'Copy link',
translated: 'نسخ الرابط',
},
com_ui_update_link: {
english: 'Update link',
translated: 'رابط التحديث',
},
com_ui_create_link: {
english: 'Create link',
translated: 'إنشاء رابط',
},
com_ui_share_link_to_chat: {
english: 'Share link to chat',
translated: 'Share link to chat',
translated: 'شارك الرابط في الدردشة',
},
com_ui_share_error: {
english: 'There was an error sharing the chat link',
translated: 'There was an error sharing the chat link',
translated: 'حدث خطأ أثناء مشاركة رابط الدردشة',
},
com_ui_share_create_message: {
english: 'Your name and any messages you add after sharing stay private.',
translated: 'Your name and any messages you add after sharing stay private.',
translated: 'سيظل اسمك وأي رسائل تضيفها بعد المشاركة خاصة.',
},
com_ui_share_created_message: {
english:
'A public link to your chat has been created. Manage previously shared chats at any time via Settings.',
'A shared link to your chat has been created. Manage previously shared chats at any time via Settings.',
translated:
'A public link to your chat has been created. Manage previously shared chats at any time via Settings.',
'تم إنشاء رابط مشترك للدردشة الخاصة بك. يمكنك إدارة الدردشات المشتركة مسبقًا في أي وقت عبر الإعدادات.',
},
com_ui_share_update_message: {
english: 'Your name, custom instructions, and any messages you add after sharing stay private.',
translated:
'Your name, custom instructions, and any messages you add after sharing stay private.',
translated: 'سيظل اسمك والتعليمات المخصصة وأي رسائل تضيفها بعد المشاركة خاصة.',
},
com_ui_share_updated_message: {
english:
'A public link to your chat has been updated. Manage previously shared chats at any time via Settings.',
'A shared link to your chat has been updated. Manage previously shared chats at any time via Settings.',
translated:
'A public link to your chat has been updated. Manage previously shared chats at any time via Settings.',
'تم تحديث رابط مشترك للدردشة الخاصة بك. يمكنك إدارة الدردشات المشتركة مسبقًا في أي وقت عبر الإعدادات.',
},
com_ui_shared_link_not_found: {
english: 'Shared link not found',
translated: 'Shared link not found',
translated: 'الرابط المشترك غير موجود',
},
com_ui_delete: {
english: 'Delete',
@ -1684,18 +1695,6 @@ export const comparisons = {
english: 'Copy code',
translated: 'نسخ الكود',
},
com_ui_copy_link: {
english: 'Copy link',
translated: 'نسخ الرابط',
},
com_ui_update_link: {
english: 'Update link',
translated: 'رابط التحديث',
},
com_ui_create_link: {
english: 'Create link',
translated: 'إنشاء رابط',
},
com_nav_source_chat: {
english: 'View source chat',
translated: 'عرض محادثة المصدر',