🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 style(favorites): say where a favorite goes in the add/remove menu copy (#22781)
AmAzing-05f8af028619
diff --git a/locales/en-US/common.json b/locales/en-US/common.jsonindex 750348607dc..fac576167d9 100644--- a/locales/en-US/common.json+++ b/locales/en-US/common.json@@ -214,7 +214,7 @@"exportType.allAgent": "Export All Agent Settings","exportType.allAgentWithMessage": "Export All Agents and Messages","exportType.globalSetting": "Export Global Settings",- "favorite.add": "Add to Favorites",+ "favorite.add": "Add to Home Favorites","favorite.limitReached": "Favorites can hold up to {{count}} items. Remove one to add another.","favorite.remove": "Remove from Favorites","favorite.reorderError": "Couldn't save the order of your favorites. Try again.",diff --git a/locales/zh-CN/common.json b/locales/zh-CN/common.jsonindex 16d87c79f24..1c8c327d1ee 100644--- a/locales/zh-CN/common.json+++ b/locales/zh-CN/common.json@@ -214,9 +214,9 @@"exportType.allAgent": "导出所有助理设定","exportType.allAgentWithMessage": "导出所有助理和消息","exportType.globalSetting": "导出全局设置",- "favorite.add": "加入收藏夹",+ "favorite.add": "收藏至首页","favorite.limitReached": "收藏夹最多 {{count}} 项,请先移除一项再添加",- "favorite.remove": "移出收藏夹",+ "favorite.remove": "取消收藏","favorite.reorderError": "收藏夹排序保存失败,请重试","favorite.section": "收藏夹","favorite.updateError": "收藏夹更新失败,请重试",diff --git a/packages/locales/src/default/common.ts b/packages/locales/src/default/common.tsindex 7266930d077..99e9947741a 100644--- a/packages/locales/src/default/common.ts+++ b/packages/locales/src/default/common.ts@@ -293,7 +293,7 @@ export default {'exportType.allAgent': 'Export All Agent Settings','exportType.allAgentWithMessage': 'Export All Agents and Messages','exportType.globalSetting': 'Export Global Settings',- 'favorite.add': 'Add to Favorites',+ 'favorite.add': 'Add to Home Favorites','favorite.limitReached': 'Favorites can hold up to {{count}} items. Remove one to add another.','favorite.remove': 'Remove from Favorites','favorite.reorderError': "Couldn't save the order of your favorites. Try again.",diff --git a/src/features/Favorites/useFavoriteMenuItem.tsx b/src/features/Favorites/useFavoriteMenuItem.tsxindex fad839ab3f4..dfd4fae49d0 100644--- a/src/features/Favorites/useFavoriteMenuItem.tsx+++ b/src/features/Favorites/useFavoriteMenuItem.tsx@@ -16,7 +16,7 @@ interface FavoriteMenuItemOptions {showHotkey?: boolean;}-/** "Add to Favorites" / "Remove from Favorites" for a ⋯ menu. */+/** "Add to Home Favorites" / "Remove from Favorites" for a ⋯ menu. */export const useFavoriteMenuItem = (target: FavoriteTarget | undefined,{ showHotkey = true }: FavoriteMenuItemOptions = {},