mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-23 18:56: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
|
|
@ -18,6 +18,7 @@ export default {
|
|||
com_sidepanel_hide_panel: 'パネルを隠す',
|
||||
com_sidepanel_attach_files: 'ファイルを添付する',
|
||||
com_sidepanel_manage_files: 'ファイルを管理',
|
||||
com_sidepanel_conversation_tags: 'ブックマーク',
|
||||
com_assistants_capabilities: 'Capabilities',
|
||||
com_assistants_knowledge: 'ナレッジ',
|
||||
com_assistants_knowledge_info:
|
||||
|
|
@ -181,6 +182,20 @@ export default {
|
|||
com_ui_terms_of_service: '利用規約',
|
||||
com_ui_min_tags: 'これ以上の値を削除できません。少なくとも {0} が必要です。',
|
||||
com_ui_max_tags: '最新の値を使用した場合、許可される最大数は {0} です。',
|
||||
com_ui_bookmarks: 'ブックマーク',
|
||||
com_ui_bookmarks_rebuild: '再構築',
|
||||
com_ui_bookmarks_new: '新しいブックマーク',
|
||||
com_ui_bookmark_delete_confirm: 'このブックマークを削除してもよろしいですか?',
|
||||
com_ui_bookmarks_title: 'タイトル',
|
||||
com_ui_bookmarks_count: 'カウント',
|
||||
com_ui_bookmarks_description: '説明',
|
||||
com_ui_bookmarks_create_success: 'ブックマークが正常に作成されました',
|
||||
com_ui_bookmarks_update_success: 'ブックマークが正常に更新されました',
|
||||
com_ui_bookmarks_delete_success: 'ブックマークが正常に削除されました',
|
||||
com_ui_bookmarks_create_error: 'ブックマークの作成中にエラーが発生しました',
|
||||
com_ui_bookmarks_update_error: 'ブックマークの更新中にエラーが発生しました',
|
||||
com_ui_bookmarks_delete_error: 'ブックマークの削除中にエラーが発生しました',
|
||||
com_ui_bookmarks_add_to_conversation: '現在の会話に追加',
|
||||
com_auth_error_login:
|
||||
'入力された情報ではログインできませんでした。認証情報を確認した上で再度お試しください。',
|
||||
com_auth_error_login_rl:
|
||||
|
|
@ -473,6 +488,8 @@ export default {
|
|||
com_nav_help_faq: 'ヘルプ & FAQ',
|
||||
com_nav_settings: '設定',
|
||||
com_nav_search_placeholder: 'メッセージ検索',
|
||||
com_nav_info_bookmarks_rebuild:
|
||||
'ブックマークのカウントが正しくない場合は、ブックマークの情報を再構築してください。ブックマークのカウントが再計算され、データが正しい状態に復元されます。',
|
||||
com_nav_setting_general: '一般',
|
||||
com_nav_setting_beta: 'ベータ版の機能',
|
||||
com_nav_setting_data: 'データ管理',
|
||||
|
|
@ -630,6 +647,10 @@ export const comparisons = {
|
|||
english: 'Manage Files',
|
||||
translated: 'ファイルを管理',
|
||||
},
|
||||
com_sidepanel_conversation_tags: {
|
||||
english: 'Bookmarks',
|
||||
translated: 'ブックマーク',
|
||||
},
|
||||
com_assistants_capabilities: {
|
||||
english: 'Capabilities',
|
||||
translated: 'Capabilities',
|
||||
|
|
@ -1248,6 +1269,62 @@ export const comparisons = {
|
|||
english: 'Maximum number allowed is {0}, using latest values.',
|
||||
translated: '最新の値を使用した場合、許可される最大数は {0} です。',
|
||||
},
|
||||
com_ui_bookmarks: {
|
||||
english: 'Bookmarks',
|
||||
translated: 'ブックマーク',
|
||||
},
|
||||
com_ui_bookmarks_rebuild: {
|
||||
english: 'Rebuild',
|
||||
translated: '再構築',
|
||||
},
|
||||
com_ui_bookmarks_new: {
|
||||
english: 'New Bookmark',
|
||||
translated: '新しいブックマーク',
|
||||
},
|
||||
com_ui_bookmark_delete_confirm: {
|
||||
english: 'Are you sure you want to delete this bookmark?',
|
||||
translated: 'このブックマークを削除してもよろしいですか?',
|
||||
},
|
||||
com_ui_bookmarks_title: {
|
||||
english: 'Title',
|
||||
translated: 'タイトル',
|
||||
},
|
||||
com_ui_bookmarks_count: {
|
||||
english: 'Count',
|
||||
translated: 'カウント',
|
||||
},
|
||||
com_ui_bookmarks_description: {
|
||||
english: 'Description',
|
||||
translated: '説明',
|
||||
},
|
||||
com_ui_bookmarks_create_success: {
|
||||
english: 'Bookmark created successfully',
|
||||
translated: 'ブックマークが正常に作成されました',
|
||||
},
|
||||
com_ui_bookmarks_update_success: {
|
||||
english: 'Bookmark updated successfully',
|
||||
translated: 'ブックマークが正常に更新されました',
|
||||
},
|
||||
com_ui_bookmarks_delete_success: {
|
||||
english: 'Bookmark deleted successfully',
|
||||
translated: 'ブックマークが正常に削除されました',
|
||||
},
|
||||
com_ui_bookmarks_create_error: {
|
||||
english: 'There was an error creating the bookmark',
|
||||
translated: 'ブックマークの作成中にエラーが発生しました',
|
||||
},
|
||||
com_ui_bookmarks_update_error: {
|
||||
english: 'There was an error updating the bookmark',
|
||||
translated: 'ブックマークの更新中にエラーが発生しました',
|
||||
},
|
||||
com_ui_bookmarks_delete_error: {
|
||||
english: 'There was an error deleting the bookmark',
|
||||
translated: 'ブックマークの削除中にエラーが発生しました',
|
||||
},
|
||||
com_ui_bookmarks_add_to_conversation: {
|
||||
english: 'Add to current conversation',
|
||||
translated: '現在の会話に追加',
|
||||
},
|
||||
com_auth_error_login: {
|
||||
english:
|
||||
'Unable to login with the information provided. Please check your credentials and try again.',
|
||||
|
|
@ -2303,6 +2380,12 @@ export const comparisons = {
|
|||
english: 'Search messages',
|
||||
translated: 'メッセージ検索',
|
||||
},
|
||||
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:
|
||||
'ブックマークのカウントが正しくない場合は、ブックマークの情報を再構築してください。ブックマークのカウントが再計算され、データが正しい状態に復元されます。',
|
||||
},
|
||||
com_nav_setting_general: {
|
||||
english: 'General',
|
||||
translated: '一般',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue