mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-22 02:06:12 +01:00
🔖 feat: Conversation Bookmarks (#3344)
* feat: add tags property in Conversation model * feat: add ConversationTag model * feat: add the tags parameter to getConvosByPage * feat: add API route to ConversationTag * feat: add types of ConversationTag * feat: add data access functions for conversation tags * feat: add Bookmark table component * feat: Add an action to bookmark * feat: add Bookmark nav component * fix: failed test * refactor: made 'Saved' tag a constant * feat: add new bookmark to current conversation * chore: Add comment * fix: delete tag from conversations when it's deleted * fix: Update the query cache when the tag title is changed. * chore: fix typo * refactor: add description of rebuilding bookmarks * chore: remove unused variables * fix: position when adding a new bookmark * refactor: add comment, rename a function * refactor: add a unique constraint in ConversationTag * chore: add localizations
This commit is contained in:
parent
d4d56281e3
commit
e565e0faab
65 changed files with 3751 additions and 36 deletions
|
|
@ -88,6 +88,20 @@ export default {
|
|||
com_ui_preview: 'Pratinjau',
|
||||
com_ui_upload: 'Unggah',
|
||||
com_ui_connect: 'Hubungkan',
|
||||
com_ui_bookmarks: 'Penanda',
|
||||
com_ui_bookmarks_rebuild: 'Bangun Kembali',
|
||||
com_ui_bookmarks_new: 'Penanda Baru',
|
||||
com_ui_bookmark_delete_confirm: 'Apakah Anda yakin ingin menghapus penanda ini?',
|
||||
com_ui_bookmarks_title: 'Judul',
|
||||
com_ui_bookmarks_count: 'Jumlah',
|
||||
com_ui_bookmarks_description: 'Deskripsi',
|
||||
com_ui_bookmarks_create_success: 'Penanda berhasil dibuat',
|
||||
com_ui_bookmarks_update_success: 'Penanda berhasil diperbarui',
|
||||
com_ui_bookmarks_delete_success: 'Penanda berhasil dihapus',
|
||||
com_ui_bookmarks_create_error: 'Terjadi kesalahan saat membuat penanda',
|
||||
com_ui_bookmarks_update_error: 'Terjadi kesalahan saat memperbarui penanda',
|
||||
com_ui_bookmarks_delete_error: 'Terjadi kesalahan saat menghapus penanda',
|
||||
com_ui_bookmarks_add_to_conversation: 'Tambahkan ke percakapan saat ini',
|
||||
com_auth_error_login:
|
||||
'Tidak dapat masuk dengan informasi yang diberikan. Silakan periksa kredensial Anda dan coba lagi.',
|
||||
com_auth_error_login_rl:
|
||||
|
|
@ -351,6 +365,8 @@ export default {
|
|||
com_nav_help_faq: 'Bantuan & FAQ',
|
||||
com_nav_settings: 'Pengaturan',
|
||||
com_nav_search_placeholder: 'Cari pesan',
|
||||
com_nav_info_bookmarks_rebuild:
|
||||
'Jika jumlah penanda tidak benar, silakan bangun kembali informasi penanda. Jumlah penanda akan dihitung ulang dan data akan dipulihkan ke keadaan yang benar.',
|
||||
com_nav_setting_general: 'Umum',
|
||||
com_nav_setting_beta: 'Fitur beta',
|
||||
com_nav_setting_data: 'Kontrol data',
|
||||
|
|
@ -703,6 +719,62 @@ export const comparisons = {
|
|||
english: 'Connect',
|
||||
translated: 'Hubungkan',
|
||||
},
|
||||
com_ui_bookmarks: {
|
||||
english: 'Bookmarks',
|
||||
translated: 'Penanda',
|
||||
},
|
||||
com_ui_bookmarks_rebuild: {
|
||||
english: 'Rebuild',
|
||||
translated: 'Bangun Kembali',
|
||||
},
|
||||
com_ui_bookmarks_new: {
|
||||
english: 'New Bookmark',
|
||||
translated: 'Penanda Baru',
|
||||
},
|
||||
com_ui_bookmark_delete_confirm: {
|
||||
english: 'Are you sure you want to delete this bookmark?',
|
||||
translated: 'Apakah Anda yakin ingin menghapus penanda ini?',
|
||||
},
|
||||
com_ui_bookmarks_title: {
|
||||
english: 'Title',
|
||||
translated: 'Judul',
|
||||
},
|
||||
com_ui_bookmarks_count: {
|
||||
english: 'Count',
|
||||
translated: 'Jumlah',
|
||||
},
|
||||
com_ui_bookmarks_description: {
|
||||
english: 'Description',
|
||||
translated: 'Deskripsi',
|
||||
},
|
||||
com_ui_bookmarks_create_success: {
|
||||
english: 'Bookmark created successfully',
|
||||
translated: 'Penanda berhasil dibuat',
|
||||
},
|
||||
com_ui_bookmarks_update_success: {
|
||||
english: 'Bookmark updated successfully',
|
||||
translated: 'Penanda berhasil diperbarui',
|
||||
},
|
||||
com_ui_bookmarks_delete_success: {
|
||||
english: 'Bookmark deleted successfully',
|
||||
translated: 'Penanda berhasil dihapus',
|
||||
},
|
||||
com_ui_bookmarks_create_error: {
|
||||
english: 'There was an error creating the bookmark',
|
||||
translated: 'Terjadi kesalahan saat membuat penanda',
|
||||
},
|
||||
com_ui_bookmarks_update_error: {
|
||||
english: 'There was an error updating the bookmark',
|
||||
translated: 'Terjadi kesalahan saat memperbarui penanda',
|
||||
},
|
||||
com_ui_bookmarks_delete_error: {
|
||||
english: 'There was an error deleting the bookmark',
|
||||
translated: 'Terjadi kesalahan saat menghapus penanda',
|
||||
},
|
||||
com_ui_bookmarks_add_to_conversation: {
|
||||
english: 'Add to current conversation',
|
||||
translated: 'Tambahkan ke percakapan saat ini',
|
||||
},
|
||||
com_auth_error_login: {
|
||||
english:
|
||||
'Unable to login with the information provided. Please check your credentials and try again.',
|
||||
|
|
@ -1660,6 +1732,12 @@ export const comparisons = {
|
|||
english: 'Search messages',
|
||||
translated: 'Cari pesan',
|
||||
},
|
||||
com_nav_info_bookmarks_rebuild: {
|
||||
english:
|
||||
'If the bookmark count is incorrect, please rebuild the bookmark information. The bookmark count will be recalculated and the data will be restored to its correct state.',
|
||||
translated:
|
||||
'Jika jumlah penanda tidak benar, silakan bangun kembali informasi penanda. Jumlah penanda akan dihitung ulang dan data akan dipulihkan ke keadaan yang benar.',
|
||||
},
|
||||
com_nav_setting_general: {
|
||||
english: 'General',
|
||||
translated: 'Umum',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue