en.ts 22 KB

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