mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-16 07:25:31 +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
|
|
@ -76,6 +76,20 @@ export default {
|
|||
com_ui_unarchive: 'Avarkivera',
|
||||
com_ui_unarchive_error: 'Kunde inte avarkivera chatt',
|
||||
com_ui_more_options: 'Mer',
|
||||
com_ui_bookmarks: 'Bokmärken',
|
||||
com_ui_bookmarks_rebuild: 'Återuppbygg',
|
||||
com_ui_bookmarks_new: 'Nytt Bokmärke',
|
||||
com_ui_bookmark_delete_confirm: 'Är du säker på att du vill ta bort detta bokmärke?',
|
||||
com_ui_bookmarks_title: 'Titel',
|
||||
com_ui_bookmarks_count: 'Antal',
|
||||
com_ui_bookmarks_description: 'Beskrivning',
|
||||
com_ui_bookmarks_create_success: 'Bokmärke skapat framgångsrikt',
|
||||
com_ui_bookmarks_update_success: 'Bokmärke uppdaterat framgångsrikt',
|
||||
com_ui_bookmarks_delete_success: 'Bokm<6B><6D>rke raderat framgångsrikt',
|
||||
com_ui_bookmarks_create_error: 'Ett fel uppstod vid skapandet av bokmärket',
|
||||
com_ui_bookmarks_update_error: 'Ett fel uppstod vid uppdateringen av bokmärket',
|
||||
com_ui_bookmarks_delete_error: 'Ett fel uppstod vid raderingen av bokmärket',
|
||||
com_ui_bookmarks_add_to_conversation: 'Lägg till i nuvarande konversation',
|
||||
com_auth_error_login:
|
||||
'Kunde inte logga in med den angivna informationen. Kontrollera dina uppgifter och försök igen.',
|
||||
com_auth_error_login_rl:
|
||||
|
|
@ -295,6 +309,8 @@ export default {
|
|||
com_nav_help_faq: 'Hjälp & Vanliga frågor',
|
||||
com_nav_settings: 'Inställningar',
|
||||
com_nav_search_placeholder: 'Sök meddelanden',
|
||||
com_nav_info_bookmarks_rebuild:
|
||||
'Om antalet bokmärken är felaktigt, vänligen återuppbygg informationen om bokmärkena. Antalet bokmärken kommer att omberäknas och data återställs till sitt korrekta tillstånd.',
|
||||
com_nav_setting_general: 'Allmänt',
|
||||
com_nav_setting_data: 'Datakontroller',
|
||||
};
|
||||
|
|
@ -589,6 +605,62 @@ export const comparisons = {
|
|||
english: 'More',
|
||||
translated: 'Mer',
|
||||
},
|
||||
com_ui_bookmarks: {
|
||||
english: 'Bookmarks',
|
||||
translated: 'Bokmärken',
|
||||
},
|
||||
com_ui_bookmarks_rebuild: {
|
||||
english: 'Rebuild',
|
||||
translated: 'Återuppbygg',
|
||||
},
|
||||
com_ui_bookmarks_new: {
|
||||
english: 'New Bookmark',
|
||||
translated: 'Nytt Bokmärke',
|
||||
},
|
||||
com_ui_bookmark_delete_confirm: {
|
||||
english: 'Are you sure you want to delete this bookmark?',
|
||||
translated: 'Är du säker på att du vill ta bort detta bokmärke?',
|
||||
},
|
||||
com_ui_bookmarks_title: {
|
||||
english: 'Title',
|
||||
translated: 'Titel',
|
||||
},
|
||||
com_ui_bookmarks_count: {
|
||||
english: 'Count',
|
||||
translated: 'Antal',
|
||||
},
|
||||
com_ui_bookmarks_description: {
|
||||
english: 'Description',
|
||||
translated: 'Beskrivning',
|
||||
},
|
||||
com_ui_bookmarks_create_success: {
|
||||
english: 'Bookmark created successfully',
|
||||
translated: 'Bokmärke skapat framgångsrikt',
|
||||
},
|
||||
com_ui_bookmarks_update_success: {
|
||||
english: 'Bookmark updated successfully',
|
||||
translated: 'Bokmärke uppdaterat framgångsrikt',
|
||||
},
|
||||
com_ui_bookmarks_delete_success: {
|
||||
english: 'Bookmark deleted successfully',
|
||||
translated: 'Bokmrke raderat framgångsrikt',
|
||||
},
|
||||
com_ui_bookmarks_create_error: {
|
||||
english: 'There was an error creating the bookmark',
|
||||
translated: 'Ett fel uppstod vid skapandet av bokmärket',
|
||||
},
|
||||
com_ui_bookmarks_update_error: {
|
||||
english: 'There was an error updating the bookmark',
|
||||
translated: 'Ett fel uppstod vid uppdateringen av bokmärket',
|
||||
},
|
||||
com_ui_bookmarks_delete_error: {
|
||||
english: 'There was an error deleting the bookmark',
|
||||
translated: 'Ett fel uppstod vid raderingen av bokmärket',
|
||||
},
|
||||
com_ui_bookmarks_add_to_conversation: {
|
||||
english: 'Add to current conversation',
|
||||
translated: 'Lägg till i nuvarande konversation',
|
||||
},
|
||||
com_auth_error_login: {
|
||||
english:
|
||||
'Unable to login with the information provided. Please check your credentials and try again.',
|
||||
|
|
@ -1380,6 +1452,12 @@ export const comparisons = {
|
|||
english: 'Search messages',
|
||||
translated: 'Sök meddelanden',
|
||||
},
|
||||
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:
|
||||
'Om antalet bokmärken är felaktigt, vänligen återuppbygg informationen om bokmärkena. Antalet bokmärken kommer att omberäknas och data återställs till sitt korrekta tillstånd.',
|
||||
},
|
||||
com_nav_setting_general: {
|
||||
english: 'General',
|
||||
translated: 'Allmänt',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue