Files
deer-flow/frontend/src/core/i18n/locales/en-US.ts

370 lines
12 KiB
TypeScript
Raw Normal View History

2026-02-02 11:21:30 +08:00
import {
CompassIcon,
GraduationCapIcon,
ImageIcon,
MicroscopeIcon,
PenLineIcon,
ShapesIcon,
SparklesIcon,
VideoIcon,
} from "lucide-react";
2026-01-20 14:06:47 +08:00
import type { Translations } from "./types";
export const enUS: Translations = {
2026-01-20 23:43:21 +08:00
// Locale meta
locale: {
localName: "English",
},
2026-01-20 14:06:47 +08:00
// Common
common: {
home: "Home",
settings: "Settings",
delete: "Delete",
rename: "Rename",
share: "Share",
2026-01-20 14:06:47 +08:00
openInNewWindow: "Open in new window",
close: "Close",
more: "More",
search: "Search",
download: "Download",
thinking: "Thinking",
artifacts: "Artifacts",
2026-01-22 00:38:20 +08:00
public: "Public",
custom: "Custom",
2026-01-24 18:01:27 +08:00
notAvailableInDemoMode: "Not available in demo mode",
2026-01-24 22:19:37 +08:00
loading: "Loading...",
2026-02-03 18:18:56 +08:00
version: "Version",
lastUpdated: "Last updated",
2026-01-24 23:51:11 +08:00
code: "Code",
preview: "Preview",
cancel: "Cancel",
save: "Save",
2026-01-31 11:08:27 +08:00
install: "Install",
2026-02-02 11:21:30 +08:00
create: "Create",
export: "Export",
exportAsMarkdown: "Export as Markdown",
exportAsJSON: "Export as JSON",
exportSuccess: "Conversation exported",
2026-01-20 14:06:47 +08:00
},
// Welcome
welcome: {
greeting: "Hello, again!",
2026-01-20 14:06:47 +08:00
description:
"Welcome to 🦌 DeerFlow, an open source super agent. With built-in and custom skills, DeerFlow helps you search on the web, analyze data, and generate artifacts like slides, web pages and do almost anything.",
createYourOwnSkill: "Create Your Own Skill",
createYourOwnSkillDescription:
"Create your own skill to release the power of DeerFlow. With customized skills,\nDeerFlow can help you search on the web, analyze data, and generate\n artifacts like slides, web pages and do almost anything.",
2026-01-20 14:06:47 +08:00
},
// Clipboard
clipboard: {
copyToClipboard: "Copy to clipboard",
copiedToClipboard: "Copied to clipboard",
failedToCopyToClipboard: "Failed to copy to clipboard",
linkCopied: "Link copied to clipboard",
2026-01-20 14:06:47 +08:00
},
// Input Box
inputBox: {
placeholder: "How can I assist you today?",
2026-01-31 22:31:25 +08:00
createSkillPrompt:
2026-01-31 22:42:17 +08:00
"We're going to build a new skill step by step with `skill-creator`. To start, what do you want this skill to do?",
2026-01-22 13:43:45 +08:00
addAttachments: "Add attachments",
mode: "Mode",
flashMode: "Flash",
2026-01-22 13:46:31 +08:00
flashModeDescription: "Fast and efficient, but may not be accurate",
2026-01-22 13:43:45 +08:00
reasoningMode: "Reasoning",
reasoningModeDescription:
"Reasoning before action, balance between time and accuracy",
proMode: "Pro",
proModeDescription:
"Reasoning, planning and executing, get more accurate results, may take more time",
2026-02-06 15:42:53 +08:00
ultraMode: "Ultra",
ultraModeDescription:
2026-02-09 13:57:46 +08:00
"Pro mode with subagents to divide work; best for complex multi-step tasks",
reasoningEffort: "Reasoning Effort",
reasoningEffortMinimal: "Minimal",
reasoningEffortMinimalDescription: "Retrieval + Direct Output",
reasoningEffortLow: "Low",
reasoningEffortLowDescription: "Simple Logic Check + Shallow Deduction",
reasoningEffortMedium: "Medium",
reasoningEffortMediumDescription:
"Multi-layer Logic Analysis + Basic Verification",
reasoningEffortHigh: "High",
reasoningEffortHighDescription:
"Full-dimensional Logic Deduction + Multi-path Verification + Backward Check",
2026-01-20 14:06:47 +08:00
searchModels: "Search models...",
surpriseMe: "Surprise",
surpriseMePrompt: "Surprise me",
followupLoading: "Generating follow-up questions...",
followupConfirmTitle: "Send suggestion?",
followupConfirmDescription:
"You already have text in the input. Choose how to send it.",
followupConfirmAppend: "Append & send",
followupConfirmReplace: "Replace & send",
2026-02-02 11:21:30 +08:00
suggestions: [
{
suggestion: "Write",
prompt: "Write a blog post about the latest trends on [topic]",
icon: PenLineIcon,
},
{
suggestion: "Research",
prompt:
"Conduct a deep dive research on [topic], and summarize the findings.",
icon: MicroscopeIcon,
},
{
suggestion: "Collect",
prompt: "Collect data from [source] and create a report.",
icon: ShapesIcon,
},
{
suggestion: "Learn",
prompt: "Learn about [topic] and create a tutorial.",
icon: GraduationCapIcon,
},
],
suggestionsCreate: [
{
suggestion: "Webpage",
prompt: "Create a webpage about [topic]",
icon: CompassIcon,
},
{
suggestion: "Image",
prompt: "Create an image about [topic]",
icon: ImageIcon,
},
{
suggestion: "Video",
prompt: "Create a video about [topic]",
icon: VideoIcon,
},
{
type: "separator",
},
{
suggestion: "Skill",
prompt:
"We're going to build a new skill step by step with `skill-creator`. To start, what do you want this skill to do?",
icon: SparklesIcon,
},
],
2026-01-20 14:06:47 +08:00
},
// Sidebar
sidebar: {
newChat: "New chat",
chats: "Chats",
recentChats: "Recent chats",
2026-01-24 18:01:27 +08:00
demoChats: "Demo chats",
feat(agent):Supports custom agent and chat experience with refactoring (#957) * feat: add agent management functionality with creation, editing, and deletion * feat: enhance agent creation and chat experience - Added AgentWelcome component to display agent description on new thread creation. - Improved agent name validation with availability check during agent creation. - Updated NewAgentPage to handle agent creation flow more effectively, including enhanced error handling and user feedback. - Refactored chat components to streamline message handling and improve user experience. - Introduced new bootstrap skill for personalized onboarding conversations, including detailed conversation phases and a structured SOUL.md template. - Updated localization files to reflect new features and error messages. - General code cleanup and optimizations across various components and hooks. * Refactor workspace layout and agent management components - Updated WorkspaceLayout to use useLayoutEffect for sidebar state initialization. - Removed unused AgentFormDialog and related edit functionality from AgentCard. - Introduced ArtifactTrigger component to manage artifact visibility. - Enhanced ChatBox to handle artifact selection and display. - Improved message list rendering logic to avoid loading states. - Updated localization files to remove deprecated keys and add new translations. - Refined hooks for local settings and thread management to improve performance and clarity. - Added temporal awareness guidelines to deep research skill documentation. * feat: refactor chat components and introduce thread management hooks * feat: improve artifact file detail preview logic and clean up console logs * feat: refactor lead agent creation logic and improve logging details * feat: validate agent name format and enhance error handling in agent setup * feat: simplify thread search query by removing unnecessary metadata * feat: update query key in useDeleteThread and useRenameThread for consistency * feat: add isMock parameter to thread and artifact handling for improved testing * fix: reorder import of setup_agent for consistency in builtins module * feat: append mock parameter to thread links in CaseStudySection for testing purposes * fix: update load_agent_soul calls to use cfg.name for improved clarity * fix: update date format in apply_prompt_template for consistency * feat: integrate isMock parameter into artifact content loading for enhanced testing * docs: add license section to SKILL.md for clarity and attribution * feat(agent): enhance model resolution and agent configuration handling * chore: remove unused import of _resolve_model_name from agents * feat(agent): remove unused field * fix(agent): set default value for requested_model_name in _resolve_model_name function * feat(agent): update get_available_tools call to handle optional agent_config and improve middleware function signature --------- Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-03 21:32:01 +08:00
agents: "Agents",
},
// Agents
agents: {
title: "Agents",
description:
"Create and manage custom agents with specialized prompts and capabilities.",
newAgent: "New Agent",
emptyTitle: "No custom agents yet",
emptyDescription:
"Create your first custom agent with a specialized system prompt.",
chat: "Chat",
delete: "Delete",
deleteConfirm:
"Are you sure you want to delete this agent? This action cannot be undone.",
deleteSuccess: "Agent deleted",
newChat: "New chat",
createPageTitle: "Design your Agent",
createPageSubtitle:
"Describe the agent you want — I'll help you create it through conversation.",
nameStepTitle: "Name your new Agent",
nameStepHint:
"Letters, digits, and hyphens only — stored lowercase (e.g. code-reviewer)",
nameStepPlaceholder: "e.g. code-reviewer",
nameStepContinue: "Continue",
nameStepInvalidError:
"Invalid name — use only letters, digits, and hyphens",
nameStepAlreadyExistsError: "An agent with this name already exists",
nameStepCheckError: "Could not verify name availability — please try again",
nameStepBootstrapMessage:
"The new custom agent name is {name}. Let's bootstrap it's **SOUL**.",
agentCreated: "Agent created!",
startChatting: "Start chatting",
backToGallery: "Back to Gallery",
2026-01-20 14:06:47 +08:00
},
// Breadcrumb
breadcrumb: {
workspace: "Workspace",
chats: "Chats",
},
// Workspace
workspace: {
2026-01-24 18:21:50 +08:00
officialWebsite: "DeerFlow's official website",
2026-01-20 14:06:47 +08:00
githubTooltip: "DeerFlow on Github",
2026-01-22 14:19:54 +08:00
settingsAndMore: "Settings and more",
2026-01-24 22:41:40 +08:00
visitGithub: "DeerFlow on GitHub",
2026-01-22 14:19:54 +08:00
reportIssue: "Report a issue",
contactUs: "Contact us",
2026-01-22 14:21:03 +08:00
about: "About DeerFlow",
2026-01-20 14:06:47 +08:00
},
// Conversation
conversation: {
noMessages: "No messages yet",
startConversation: "Start a conversation to see messages here",
},
// Chats
chats: {
searchChats: "Search chats",
},
2026-02-02 09:05:24 +08:00
// Page titles (document title)
pages: {
appName: "DeerFlow",
chats: "Chats",
newChat: "New chat",
untitled: "Untitled",
},
2026-01-20 14:06:47 +08:00
// Tool calls
toolCalls: {
moreSteps: (count: number) => `${count} more step${count === 1 ? "" : "s"}`,
lessSteps: "Less steps",
executeCommand: "Execute command",
presentFiles: "Present files",
needYourHelp: "Need your help",
useTool: (toolName: string) => `Use "${toolName}" tool`,
searchFor: (query: string) => `Search for "${query}"`,
2026-01-20 14:06:47 +08:00
searchForRelatedInfo: "Search for related information",
2026-01-29 08:59:55 +08:00
searchForRelatedImages: "Search for related images",
searchForRelatedImagesFor: (query: string) =>
`Search for related images for "${query}"`,
2026-01-20 14:06:47 +08:00
searchOnWebFor: (query: string) => `Search on the web for "${query}"`,
viewWebPage: "View web page",
listFolder: "List folder",
readFile: "Read file",
writeFile: "Write file",
2026-02-02 09:32:18 +08:00
clickToViewContent: "Click to view file content",
2026-01-22 00:26:11 +08:00
writeTodos: "Update to-do list",
2026-02-01 10:55:08 +08:00
skillInstallTooltip: "Install skill and make it available to DeerFlow",
2026-01-20 14:06:47 +08:00
},
2026-01-20 23:43:21 +08:00
2026-02-07 16:14:48 +08:00
// Subtasks
uploads: {
uploading: "Uploading...",
uploadingFiles: "Uploading files, please wait...",
},
2026-02-07 16:14:48 +08:00
subtasks: {
subtask: "Subtask",
executing: (count: number) =>
2026-02-08 23:44:36 +08:00
`Executing ${count === 1 ? "" : count + " "}subtask${count === 1 ? "" : "s in parallel"}`,
in_progress: "Running subtask",
2026-02-07 16:14:48 +08:00
completed: "Subtask completed",
failed: "Subtask failed",
},
2026-01-20 23:43:21 +08:00
// Settings
settings: {
title: "Settings",
description: "Adjust how DeerFlow looks and behaves for you.",
sections: {
appearance: "Appearance",
2026-02-03 18:18:56 +08:00
memory: "Memory",
2026-01-20 23:43:21 +08:00
tools: "Tools",
skills: "Skills",
2026-01-31 11:08:27 +08:00
notification: "Notification",
2026-02-06 15:18:37 +08:00
about: "About",
2026-01-20 23:43:21 +08:00
},
2026-02-03 18:18:56 +08:00
memory: {
title: "Memory",
description:
"DeerFlow automatically learns from your conversations in the background. These memories help DeerFlow understand you better and deliver a more personalized experience.",
empty: "No memory data to display.",
rawJson: "Raw JSON",
markdown: {
overview: "Overview",
userContext: "User context",
work: "Work",
personal: "Personal",
topOfMind: "Top of mind",
historyBackground: "History",
recentMonths: "Recent months",
earlierContext: "Earlier context",
longTermBackground: "Long-term background",
updatedAt: "Updated at",
facts: "Facts",
2026-02-10 12:29:14 +08:00
empty: "(empty)",
2026-02-03 18:18:56 +08:00
table: {
category: "Category",
confidence: "Confidence",
confidenceLevel: {
veryHigh: "Very high",
high: "High",
normal: "Normal",
unknown: "Unknown",
},
content: "Content",
source: "Source",
createdAt: "CreatedAt",
view: "View",
},
},
},
2026-01-20 23:43:21 +08:00
appearance: {
themeTitle: "Theme",
themeDescription:
"Choose how the interface follows your device or stays fixed.",
system: "System",
light: "Light",
dark: "Dark",
systemDescription: "Match the operating system preference automatically.",
lightDescription: "Bright palette with higher contrast for daytime.",
darkDescription: "Dim palette that reduces glare for focus.",
languageTitle: "Language",
languageDescription: "Switch between languages.",
},
tools: {
title: "Tools",
description: "Manage the configuration and enabled status of MCP tools.",
},
skills: {
2026-01-25 11:54:49 +08:00
title: "Agent Skills",
description:
"Manage the configuration and enabled status of the agent skills.",
2026-01-31 22:49:59 +08:00
createSkill: "Create skill",
emptyTitle: "No agent skill yet",
emptyDescription:
"Put your agent skill folders under the `/skills/custom` folder under the root folder of DeerFlow.",
emptyButton: "Create Your First Skill",
2026-01-20 23:43:21 +08:00
},
2026-01-31 11:08:27 +08:00
notification: {
title: "Notification",
description:
"DeerFlow only sends a completion notification when the window is not active. This is especially useful for long-running tasks so you can switch to other work and get notified when done.",
requestPermission: "Request notification permission",
deniedHint:
"Notification permission was denied. You can enable it in your browser's site settings to receive completion alerts.",
testButton: "Send test notification",
testTitle: "DeerFlow",
testBody: "This is a test notification.",
notSupported: "Your browser does not support notifications.",
disableNotification: "Disable notification",
},
2026-01-20 23:43:21 +08:00
acknowledge: {
emptyTitle: "Acknowledgements",
emptyDescription: "Credits and acknowledgements will show here.",
},
},
2026-01-20 14:06:47 +08:00
};