en.ts 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875
  1. import { getClientConfig } from "../config/client";
  2. import { SubmitKey } from "../store/config";
  3. import { LocaleType } from "./index";
  4. import { SAAS_CHAT_UTM_URL } from "@/app/constant";
  5. // if you are adding a new translation, please use PartialLocaleType instead of LocaleType
  6. const isApp = !!getClientConfig()?.isApp;
  7. const en: LocaleType = {
  8. WIP: "Coming Soon...",
  9. Error: {
  10. Unauthorized: isApp
  11. ? `😆 Oops, there's an issue. No worries:
  12. \\ 1️⃣ New here? [Click to start chatting now 🚀](${SAAS_CHAT_UTM_URL})
  13. \\ 2️⃣ Want to use your own OpenAI resources? [Click here](/#/settings) to change settings ⚙️`
  14. : `😆 Oops, there's an issue. Let's fix it:
  15. \ 1️⃣ New here? [Click to start chatting now 🚀](${SAAS_CHAT_UTM_URL})
  16. \ 2️⃣ Using a private setup? [Click here](/#/auth) to enter your key 🔑
  17. \ 3️⃣ Want to use your own OpenAI resources? [Click here](/#/settings) to change settings ⚙️
  18. `,
  19. },
  20. Auth: {
  21. Return: "Return",
  22. Title: "Need Access Code",
  23. Tips: "Please enter access code below",
  24. SubTips: "Or enter your OpenAI or Google API Key",
  25. Input: "access code",
  26. Confirm: "Confirm",
  27. Later: "Later",
  28. SaasTips: "Too Complex, Use Immediately Now",
  29. TopTips:
  30. "🥳 NextChat AI launch promotion: Instantly unlock the latest models like OpenAI o1, GPT-4o, Claude-3.5!",
  31. },
  32. ChatItem: {
  33. ChatItemCount: (count: number) => `${count} messages`,
  34. },
  35. Chat: {
  36. SubTitle: (count: number) => `${count} messages`,
  37. EditMessage: {
  38. Title: "Edit All Messages",
  39. Topic: {
  40. Title: "Topic",
  41. SubTitle: "Change the current topic",
  42. },
  43. },
  44. Actions: {
  45. ChatList: "Go To Chat List",
  46. CompressedHistory: "Compressed History Memory Prompt",
  47. Export: "Export All Messages as Markdown",
  48. Copy: "Copy",
  49. Stop: "Stop",
  50. Retry: "Retry",
  51. Pin: "Pin",
  52. PinToastContent: "Pinned 1 messages to contextual prompts",
  53. PinToastAction: "View",
  54. Delete: "Delete",
  55. Edit: "Edit",
  56. FullScreen: "FullScreen",
  57. RefreshTitle: "Refresh Title",
  58. RefreshToast: "Title refresh request sent",
  59. Speech: "Play",
  60. StopSpeech: "Stop",
  61. },
  62. Commands: {
  63. new: "Start a new chat",
  64. newm: "Start a new chat with mask",
  65. next: "Next Chat",
  66. prev: "Previous Chat",
  67. clear: "Clear Context",
  68. fork: "Copy Chat",
  69. del: "Delete Chat",
  70. },
  71. InputActions: {
  72. Stop: "Stop",
  73. ToBottom: "To Latest",
  74. Theme: {
  75. auto: "Auto",
  76. light: "Light Theme",
  77. dark: "Dark Theme",
  78. },
  79. Prompt: "Prompts",
  80. Masks: "Masks",
  81. Clear: "Clear Context",
  82. Settings: "Settings",
  83. UploadImage: "Upload Images",
  84. },
  85. Rename: "Rename Chat",
  86. Typing: "Typing…",
  87. Input: (submitKey: string) => {
  88. var inputHints = `${submitKey} to send`;
  89. if (submitKey === String(SubmitKey.Enter)) {
  90. inputHints += ", Shift + Enter to wrap";
  91. }
  92. return inputHints + ", / to search prompts, : to use commands";
  93. },
  94. Send: "Send",
  95. StartSpeak: "Start Speak",
  96. StopSpeak: "Stop Speak",
  97. Config: {
  98. Reset: "Reset to Default",
  99. SaveAs: "Save as Mask",
  100. },
  101. IsContext: "Contextual Prompt",
  102. ShortcutKey: {
  103. Title: "Keyboard Shortcuts",
  104. newChat: "Open New Chat",
  105. focusInput: "Focus Input Field",
  106. copyLastMessage: "Copy Last Reply",
  107. copyLastCode: "Copy Last Code Block",
  108. showShortcutKey: "Show Shortcuts",
  109. clearContext: "Clear Context",
  110. },
  111. },
  112. Export: {
  113. Title: "Export Messages",
  114. Copy: "Copy All",
  115. Download: "Download",
  116. MessageFromYou: "Message From You",
  117. MessageFromChatGPT: "Message From ChatGPT",
  118. Share: "Share to ShareGPT",
  119. Format: {
  120. Title: "Export Format",
  121. SubTitle: "Markdown or PNG Image",
  122. },
  123. IncludeContext: {
  124. Title: "Including Context",
  125. SubTitle: "Export context prompts in mask or not",
  126. },
  127. Steps: {
  128. Select: "Select",
  129. Preview: "Preview",
  130. },
  131. Image: {
  132. Toast: "Capturing Image...",
  133. Modal: "Long press or right click to save image",
  134. },
  135. Artifacts: {
  136. Title: "Share Artifacts",
  137. Error: "Share Error",
  138. },
  139. },
  140. Select: {
  141. Search: "Search",
  142. All: "Select All",
  143. Latest: "Select Latest",
  144. Clear: "Clear",
  145. },
  146. Memory: {
  147. Title: "Memory Prompt",
  148. EmptyContent: "Nothing yet.",
  149. Send: "Send Memory",
  150. Copy: "Copy Memory",
  151. Reset: "Reset Session",
  152. ResetConfirm:
  153. "Resetting will clear the current conversation history and historical memory. Are you sure you want to reset?",
  154. },
  155. Home: {
  156. NewChat: "New Chat",
  157. DeleteChat: "Confirm to delete the selected conversation?",
  158. DeleteToast: "Chat Deleted",
  159. Revert: "Revert",
  160. },
  161. Settings: {
  162. Title: "Settings",
  163. SubTitle: "All Settings",
  164. ShowPassword: "ShowPassword",
  165. Danger: {
  166. Reset: {
  167. Title: "Reset All Settings",
  168. SubTitle: "Reset all setting items to default",
  169. Action: "Reset",
  170. Confirm: "Confirm to reset all settings to default?",
  171. },
  172. Clear: {
  173. Title: "Clear All Data",
  174. SubTitle: "Clear all messages and settings",
  175. Action: "Clear",
  176. Confirm: "Confirm to clear all messages and settings?",
  177. },
  178. },
  179. Lang: {
  180. Name: "Language", // ATTENTION: if you wanna add a new translation, please do not translate this value, leave it as `Language`
  181. All: "All Languages",
  182. },
  183. Avatar: "Avatar",
  184. FontSize: {
  185. Title: "Font Size",
  186. SubTitle: "Adjust font size of chat content",
  187. },
  188. FontFamily: {
  189. Title: "Chat Font Family",
  190. SubTitle:
  191. "Font Family of the chat content, leave empty to apply global default font",
  192. Placeholder: "Font Family Name",
  193. },
  194. InjectSystemPrompts: {
  195. Title: "Inject System Prompts",
  196. SubTitle: "Inject a global system prompt for every request",
  197. },
  198. InputTemplate: {
  199. Title: "Input Template",
  200. SubTitle: "Newest message will be filled to this template",
  201. },
  202. Update: {
  203. Version: (x: string) => `Version: ${x}`,
  204. IsLatest: "Latest version",
  205. CheckUpdate: "Check Update",
  206. IsChecking: "Checking update...",
  207. FoundUpdate: (x: string) => `Found new version: ${x}`,
  208. GoToUpdate: "Update",
  209. Success: "Update Successful.",
  210. Failed: "Update Failed.",
  211. },
  212. SendKey: "Send Key",
  213. Theme: "Theme",
  214. TightBorder: "Tight Border",
  215. SendPreviewBubble: {
  216. Title: "Send Preview Bubble",
  217. SubTitle: "Preview markdown in bubble",
  218. },
  219. AutoGenerateTitle: {
  220. Title: "Auto Generate Title",
  221. SubTitle: "Generate a suitable title based on the conversation content",
  222. },
  223. Sync: {
  224. CloudState: "Last Update",
  225. NotSyncYet: "Not sync yet",
  226. Success: "Sync Success",
  227. Fail: "Sync Fail",
  228. Config: {
  229. Modal: {
  230. Title: "Config Sync",
  231. Check: "Check Connection",
  232. },
  233. SyncType: {
  234. Title: "Sync Type",
  235. SubTitle: "Choose your favorite sync service",
  236. },
  237. Proxy: {
  238. Title: "Enable CORS Proxy",
  239. SubTitle: "Enable a proxy to avoid cross-origin restrictions",
  240. },
  241. ProxyUrl: {
  242. Title: "Proxy Endpoint",
  243. SubTitle:
  244. "Only applicable to the built-in CORS proxy for this project",
  245. },
  246. WebDav: {
  247. Endpoint: "WebDAV Endpoint",
  248. UserName: "User Name",
  249. Password: "Password",
  250. },
  251. UpStash: {
  252. Endpoint: "UpStash Redis REST Url",
  253. UserName: "Backup Name",
  254. Password: "UpStash Redis REST Token",
  255. },
  256. },
  257. LocalState: "Local Data",
  258. Overview: (overview: any) => {
  259. return `${overview.chat} chats,${overview.message} messages,${overview.prompt} prompts,${overview.mask} masks`;
  260. },
  261. ImportFailed: "Failed to import from file",
  262. },
  263. Mask: {
  264. Splash: {
  265. Title: "Mask Splash Screen",
  266. SubTitle: "Show a mask splash screen before starting new chat",
  267. },
  268. Builtin: {
  269. Title: "Hide Builtin Masks",
  270. SubTitle: "Hide builtin masks in mask list",
  271. },
  272. },
  273. Prompt: {
  274. Disable: {
  275. Title: "Disable auto-completion",
  276. SubTitle: "Input / to trigger auto-completion",
  277. },
  278. List: "Prompt List",
  279. ListCount: (builtin: number, custom: number) =>
  280. `${builtin} built-in, ${custom} user-defined`,
  281. Edit: "Edit",
  282. Modal: {
  283. Title: "Prompt List",
  284. Add: "Add One",
  285. Search: "Search Prompts",
  286. },
  287. EditModal: {
  288. Title: "Edit Prompt",
  289. },
  290. },
  291. HistoryCount: {
  292. Title: "Attached Messages Count",
  293. SubTitle: "Number of sent messages attached per request",
  294. },
  295. CompressThreshold: {
  296. Title: "History Compression Threshold",
  297. SubTitle:
  298. "Will compress if uncompressed messages length exceeds the value",
  299. },
  300. Usage: {
  301. Title: "Account Balance",
  302. SubTitle(used: any, total: any) {
  303. return `Used this month $${used}, subscription $${total}`;
  304. },
  305. IsChecking: "Checking...",
  306. Check: "Check",
  307. NoAccess: "Enter API Key to check balance",
  308. },
  309. Access: {
  310. SaasStart: {
  311. Title: "Use NextChat AI",
  312. Label: " (Most Cost-Effective Option)",
  313. SubTitle:
  314. "Maintained by NextChat, zero setup needed, unlock OpenAI o1, GPT-4o," +
  315. " Claude-3.5 and more",
  316. ChatNow: "Start Now",
  317. },
  318. AccessCode: {
  319. Title: "Access Code",
  320. SubTitle: "Access control Enabled",
  321. Placeholder: "Enter Code",
  322. },
  323. CustomEndpoint: {
  324. Title: "Custom Endpoint",
  325. SubTitle: "Use custom Azure or OpenAI service",
  326. },
  327. Provider: {
  328. Title: "Model Provider",
  329. SubTitle: "Select Azure or OpenAI",
  330. },
  331. OpenAI: {
  332. ApiKey: {
  333. Title: "OpenAI API Key",
  334. SubTitle: "User custom OpenAI Api Key",
  335. Placeholder: "sk-xxx",
  336. },
  337. Endpoint: {
  338. Title: "OpenAI Endpoint",
  339. SubTitle: "Must start with http(s):// or use /api/openai as default",
  340. },
  341. },
  342. Azure: {
  343. ApiKey: {
  344. Title: "Azure Api Key",
  345. SubTitle: "Check your api key from Azure console",
  346. Placeholder: "Azure Api Key",
  347. },
  348. Endpoint: {
  349. Title: "Azure Endpoint",
  350. SubTitle: "Example: ",
  351. },
  352. ApiVerion: {
  353. Title: "Azure Api Version",
  354. SubTitle: "Check your api version from azure console",
  355. },
  356. },
  357. Anthropic: {
  358. ApiKey: {
  359. Title: "Anthropic API Key",
  360. SubTitle:
  361. "Use a custom Anthropic Key to bypass password access restrictions",
  362. Placeholder: "Anthropic API Key",
  363. },
  364. Endpoint: {
  365. Title: "Endpoint Address",
  366. SubTitle: "Example: ",
  367. },
  368. ApiVerion: {
  369. Title: "API Version (claude api version)",
  370. SubTitle: "Select and input a specific API version",
  371. },
  372. },
  373. Baidu: {
  374. ApiKey: {
  375. Title: "Baidu API Key",
  376. SubTitle: "Use a custom Baidu API Key",
  377. Placeholder: "Baidu API Key",
  378. },
  379. SecretKey: {
  380. Title: "Baidu Secret Key",
  381. SubTitle: "Use a custom Baidu Secret Key",
  382. Placeholder: "Baidu Secret Key",
  383. },
  384. Endpoint: {
  385. Title: "Endpoint Address",
  386. SubTitle: "not supported, configure in .env",
  387. },
  388. },
  389. Tencent: {
  390. ApiKey: {
  391. Title: "Tencent API Key",
  392. SubTitle: "Use a custom Tencent API Key",
  393. Placeholder: "Tencent API Key",
  394. },
  395. SecretKey: {
  396. Title: "Tencent Secret Key",
  397. SubTitle: "Use a custom Tencent Secret Key",
  398. Placeholder: "Tencent Secret Key",
  399. },
  400. Endpoint: {
  401. Title: "Endpoint Address",
  402. SubTitle: "not supported, configure in .env",
  403. },
  404. },
  405. ByteDance: {
  406. ApiKey: {
  407. Title: "ByteDance API Key",
  408. SubTitle: "Use a custom ByteDance API Key",
  409. Placeholder: "ByteDance API Key",
  410. },
  411. Endpoint: {
  412. Title: "Endpoint Address",
  413. SubTitle: "Example: ",
  414. },
  415. },
  416. Alibaba: {
  417. ApiKey: {
  418. Title: "Alibaba API Key",
  419. SubTitle: "Use a custom Alibaba Cloud API Key",
  420. Placeholder: "Alibaba Cloud API Key",
  421. },
  422. Endpoint: {
  423. Title: "Endpoint Address",
  424. SubTitle: "Example: ",
  425. },
  426. },
  427. Moonshot: {
  428. ApiKey: {
  429. Title: "Moonshot API Key",
  430. SubTitle: "Use a custom Moonshot API Key",
  431. Placeholder: "Moonshot API Key",
  432. },
  433. Endpoint: {
  434. Title: "Endpoint Address",
  435. SubTitle: "Example: ",
  436. },
  437. },
  438. DeepSeek: {
  439. ApiKey: {
  440. Title: "DeepSeek API Key",
  441. SubTitle: "Use a custom DeepSeek API Key",
  442. Placeholder: "DeepSeek API Key",
  443. },
  444. Endpoint: {
  445. Title: "Endpoint Address",
  446. SubTitle: "Example: ",
  447. },
  448. },
  449. XAI: {
  450. ApiKey: {
  451. Title: "XAI API Key",
  452. SubTitle: "Use a custom XAI API Key",
  453. Placeholder: "XAI API Key",
  454. },
  455. Endpoint: {
  456. Title: "Endpoint Address",
  457. SubTitle: "Example: ",
  458. },
  459. },
  460. ChatGLM: {
  461. ApiKey: {
  462. Title: "ChatGLM API Key",
  463. SubTitle: "Use a custom ChatGLM API Key",
  464. Placeholder: "ChatGLM API Key",
  465. },
  466. Endpoint: {
  467. Title: "Endpoint Address",
  468. SubTitle: "Example: ",
  469. },
  470. },
  471. SiliconFlow: {
  472. ApiKey: {
  473. Title: "SiliconFlow API Key",
  474. SubTitle: "Use a custom SiliconFlow API Key",
  475. Placeholder: "SiliconFlow API Key",
  476. },
  477. Endpoint: {
  478. Title: "Endpoint Address",
  479. SubTitle: "Example: ",
  480. },
  481. },
  482. Stability: {
  483. ApiKey: {
  484. Title: "Stability API Key",
  485. SubTitle: "Use a custom Stability API Key",
  486. Placeholder: "Stability API Key",
  487. },
  488. Endpoint: {
  489. Title: "Endpoint Address",
  490. SubTitle: "Example: ",
  491. },
  492. },
  493. Iflytek: {
  494. ApiKey: {
  495. Title: "Iflytek API Key",
  496. SubTitle: "Use a Iflytek API Key",
  497. Placeholder: "Iflytek API Key",
  498. },
  499. ApiSecret: {
  500. Title: "Iflytek API Secret",
  501. SubTitle: "Use a Iflytek API Secret",
  502. Placeholder: "Iflytek API Secret",
  503. },
  504. Endpoint: {
  505. Title: "Endpoint Address",
  506. SubTitle: "Example: ",
  507. },
  508. },
  509. CustomModel: {
  510. Title: "Custom Models",
  511. SubTitle: "Custom model options, seperated by comma",
  512. },
  513. Google: {
  514. ApiKey: {
  515. Title: "API Key",
  516. SubTitle: "Obtain your API Key from Google AI",
  517. Placeholder: "Google AI API Key",
  518. },
  519. Endpoint: {
  520. Title: "Endpoint Address",
  521. SubTitle: "Example: ",
  522. },
  523. ApiVersion: {
  524. Title: "API Version (specific to gemini-pro)",
  525. SubTitle: "Select a specific API version",
  526. },
  527. GoogleSafetySettings: {
  528. Title: "Google Safety Settings",
  529. SubTitle: "Select a safety filtering level",
  530. },
  531. },
  532. AI302: {
  533. ApiKey: {
  534. Title: "302.AI API Key",
  535. SubTitle: "Use a custom 302.AI API Key",
  536. Placeholder: "302.AI API Key",
  537. },
  538. Endpoint: {
  539. Title: "Endpoint Address",
  540. SubTitle: "Example: ",
  541. },
  542. },
  543. },
  544. Model: "Model",
  545. CompressModel: {
  546. Title: "Summary Model",
  547. SubTitle: "Model used to compress history and generate title",
  548. },
  549. Temperature: {
  550. Title: "Temperature",
  551. SubTitle: "A larger value makes the more random output",
  552. },
  553. TopP: {
  554. Title: "Top P",
  555. SubTitle: "Do not alter this value together with temperature",
  556. },
  557. MaxTokens: {
  558. Title: "Max Tokens",
  559. SubTitle: "Maximum length of input tokens and generated tokens",
  560. },
  561. PresencePenalty: {
  562. Title: "Presence Penalty",
  563. SubTitle:
  564. "A larger value increases the likelihood to talk about new topics",
  565. },
  566. FrequencyPenalty: {
  567. Title: "Frequency Penalty",
  568. SubTitle:
  569. "A larger value decreasing the likelihood to repeat the same line",
  570. },
  571. TTS: {
  572. Enable: {
  573. Title: "Enable TTS",
  574. SubTitle: "Enable text-to-speech service",
  575. },
  576. Autoplay: {
  577. Title: "Enable Autoplay",
  578. SubTitle:
  579. "Automatically generate speech and play, you need to enable the text-to-speech switch first",
  580. },
  581. Model: "Model",
  582. Voice: {
  583. Title: "Voice",
  584. SubTitle: "The voice to use when generating the audio",
  585. },
  586. Speed: {
  587. Title: "Speed",
  588. SubTitle: "The speed of the generated audio",
  589. },
  590. Engine: "TTS Engine",
  591. },
  592. Realtime: {
  593. Enable: {
  594. Title: "Realtime Chat",
  595. SubTitle: "Enable realtime chat feature",
  596. },
  597. Provider: {
  598. Title: "Model Provider",
  599. SubTitle: "Switch between different providers",
  600. },
  601. Model: {
  602. Title: "Model",
  603. SubTitle: "Select a model",
  604. },
  605. ApiKey: {
  606. Title: "API Key",
  607. SubTitle: "API Key",
  608. Placeholder: "API Key",
  609. },
  610. Azure: {
  611. Endpoint: {
  612. Title: "Endpoint",
  613. SubTitle: "Endpoint",
  614. },
  615. Deployment: {
  616. Title: "Deployment Name",
  617. SubTitle: "Deployment Name",
  618. },
  619. },
  620. Temperature: {
  621. Title: "Randomness (temperature)",
  622. SubTitle: "Higher values result in more random responses",
  623. },
  624. },
  625. },
  626. Store: {
  627. DefaultTopic: "New Conversation",
  628. BotHello: "Hello! How can I assist you today?",
  629. Error: "Something went wrong, please try again later.",
  630. Prompt: {
  631. History: (content: string) =>
  632. "This is a summary of the chat history as a recap: " + content,
  633. Topic:
  634. "Please generate a four to five word title summarizing our conversation without any lead-in, punctuation, quotation marks, periods, symbols, bold text, or additional text. Remove enclosing quotation marks.",
  635. Summarize:
  636. "Summarize the discussion briefly in 200 words or less to use as a prompt for future context.",
  637. },
  638. },
  639. Copy: {
  640. Success: "Copied to clipboard",
  641. Failed: "Copy failed, please grant permission to access clipboard",
  642. },
  643. Download: {
  644. Success: "Content downloaded to your directory.",
  645. Failed: "Download failed.",
  646. },
  647. Context: {
  648. Toast: (x: any) => `With ${x} contextual prompts`,
  649. Edit: "Current Chat Settings",
  650. Add: "Add a Prompt",
  651. Clear: "Context Cleared",
  652. Revert: "Revert",
  653. },
  654. Discovery: {
  655. Name: "Discovery",
  656. },
  657. Mcp: {
  658. Name: "MCP",
  659. },
  660. FineTuned: {
  661. Sysmessage: "You are an assistant that",
  662. },
  663. SearchChat: {
  664. Name: "Search",
  665. Page: {
  666. Title: "Search Chat History",
  667. Search: "Enter search query to search chat history",
  668. NoResult: "No results found",
  669. NoData: "No data",
  670. Loading: "Loading...",
  671. SubTitle: (count: number) => `Found ${count} results`,
  672. },
  673. Item: {
  674. View: "View",
  675. },
  676. },
  677. Plugin: {
  678. Name: "Plugin",
  679. Page: {
  680. Title: "Plugins",
  681. SubTitle: (count: number) => `${count} plugins`,
  682. Search: "Search Plugin",
  683. Create: "Create",
  684. Find: "You can find awesome plugins on github: ",
  685. },
  686. Item: {
  687. Info: (count: number) => `${count} method`,
  688. View: "View",
  689. Edit: "Edit",
  690. Delete: "Delete",
  691. DeleteConfirm: "Confirm to delete?",
  692. },
  693. Auth: {
  694. None: "None",
  695. Basic: "Basic",
  696. Bearer: "Bearer",
  697. Custom: "Custom",
  698. CustomHeader: "Parameter Name",
  699. Token: "Token",
  700. Proxy: "Using Proxy",
  701. ProxyDescription: "Using proxies to solve CORS error",
  702. Location: "Location",
  703. LocationHeader: "Header",
  704. LocationQuery: "Query",
  705. LocationBody: "Body",
  706. },
  707. EditModal: {
  708. Title: (readonly: boolean) =>
  709. `Edit Plugin ${readonly ? "(readonly)" : ""}`,
  710. Download: "Download",
  711. Auth: "Authentication Type",
  712. Content: "OpenAPI Schema",
  713. Load: "Load From URL",
  714. Method: "Method",
  715. Error: "OpenAPI Schema Error",
  716. },
  717. },
  718. Mask: {
  719. Name: "Mask",
  720. Page: {
  721. Title: "Prompt Template",
  722. SubTitle: (count: number) => `${count} prompt templates`,
  723. Search: "Search Templates",
  724. Create: "Create",
  725. },
  726. Item: {
  727. Info: (count: number) => `${count} prompts`,
  728. Chat: "Chat",
  729. View: "View",
  730. Edit: "Edit",
  731. Delete: "Delete",
  732. DeleteConfirm: "Confirm to delete?",
  733. },
  734. EditModal: {
  735. Title: (readonly: boolean) =>
  736. `Edit Prompt Template ${readonly ? "(readonly)" : ""}`,
  737. Download: "Download",
  738. Clone: "Clone",
  739. },
  740. Config: {
  741. Avatar: "Bot Avatar",
  742. Name: "Bot Name",
  743. Sync: {
  744. Title: "Use Global Config",
  745. SubTitle: "Use global config in this chat",
  746. Confirm: "Confirm to override custom config with global config?",
  747. },
  748. HideContext: {
  749. Title: "Hide Context Prompts",
  750. SubTitle: "Do not show in-context prompts in chat",
  751. },
  752. Artifacts: {
  753. Title: "Enable Artifacts",
  754. SubTitle: "Can render HTML page when enable artifacts.",
  755. },
  756. CodeFold: {
  757. Title: "Enable CodeFold",
  758. SubTitle:
  759. "Automatically collapse/expand overly long code blocks when CodeFold is enabled",
  760. },
  761. Share: {
  762. Title: "Share This Mask",
  763. SubTitle: "Generate a link to this mask",
  764. Action: "Copy Link",
  765. },
  766. },
  767. },
  768. NewChat: {
  769. Return: "Return",
  770. Skip: "Just Start",
  771. Title: "Pick a Mask",
  772. SubTitle: "Chat with the Soul behind the Mask",
  773. More: "Find More",
  774. NotShow: "Never Show Again",
  775. ConfirmNoShow: "Confirm to disable?You can enable it in settings later.",
  776. },
  777. UI: {
  778. Confirm: "Confirm",
  779. Cancel: "Cancel",
  780. Close: "Close",
  781. Create: "Create",
  782. Edit: "Edit",
  783. Export: "Export",
  784. Import: "Import",
  785. Sync: "Sync",
  786. Config: "Config",
  787. },
  788. Exporter: {
  789. Description: {
  790. Title: "Only messages after clearing the context will be displayed",
  791. },
  792. Model: "Model",
  793. Messages: "Messages",
  794. Topic: "Topic",
  795. Time: "Time",
  796. },
  797. URLCommand: {
  798. Code: "Detected access code from url, confirm to apply? ",
  799. Settings: "Detected settings from url, confirm to apply?",
  800. },
  801. SdPanel: {
  802. Prompt: "Prompt",
  803. NegativePrompt: "Negative Prompt",
  804. PleaseInput: (name: string) => `Please input ${name}`,
  805. AspectRatio: "Aspect Ratio",
  806. ImageStyle: "Image Style",
  807. OutFormat: "Output Format",
  808. AIModel: "AI Model",
  809. ModelVersion: "Model Version",
  810. Submit: "Submit",
  811. ParamIsRequired: (name: string) => `${name} is required`,
  812. Styles: {
  813. D3Model: "3d-model",
  814. AnalogFilm: "analog-film",
  815. Anime: "anime",
  816. Cinematic: "cinematic",
  817. ComicBook: "comic-book",
  818. DigitalArt: "digital-art",
  819. Enhance: "enhance",
  820. FantasyArt: "fantasy-art",
  821. Isometric: "isometric",
  822. LineArt: "line-art",
  823. LowPoly: "low-poly",
  824. ModelingCompound: "modeling-compound",
  825. NeonPunk: "neon-punk",
  826. Origami: "origami",
  827. Photographic: "photographic",
  828. PixelArt: "pixel-art",
  829. TileTexture: "tile-texture",
  830. },
  831. },
  832. Sd: {
  833. SubTitle: (count: number) => `${count} images`,
  834. Actions: {
  835. Params: "See Params",
  836. Copy: "Copy Prompt",
  837. Delete: "Delete",
  838. Retry: "Retry",
  839. ReturnHome: "Return Home",
  840. History: "History",
  841. },
  842. EmptyRecord: "No images yet",
  843. Status: {
  844. Name: "Status",
  845. Success: "Success",
  846. Error: "Error",
  847. Wait: "Waiting",
  848. Running: "Running",
  849. },
  850. Danger: {
  851. Delete: "Confirm to delete?",
  852. },
  853. GenerateParams: "Generate Params",
  854. Detail: "Detail",
  855. },
  856. };
  857. export default en;