en.ts 21 KB

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