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

247 lines
7.0 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-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",
2026-01-20 14:06:47 +08:00
},
// Welcome
welcome: {
greeting: "👋 Hello, again!",
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.",
},
// 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-01-20 14:06:47 +08:00
searchModels: "Search models...",
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",
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`,
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
// Settings
settings: {
title: "Settings",
description: "Adjust how DeerFlow looks and behaves for you.",
sections: {
appearance: "Appearance",
tools: "Tools",
skills: "Skills",
2026-01-31 11:08:27 +08:00
notification: "Notification",
2026-01-20 23:43:21 +08:00
acknowledge: "Acknowledge",
},
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",
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
};