en.ts 23 KB

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