en.ts 21 KB

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