i18n.js 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. let lang = {
  2. "logout": "Logout",
  3. "resetPwd": "Reset the account password",
  4. "disabled": "Disabled",
  5. "enabled": "Enabled",
  6. "newUser": "Create Account",
  7. "editUser": "Edit Account",
  8. "user_name": "User Name",
  9. "user_management": "user management",
  10. "plugin_settings": "Plugin Settings",
  11. "lang": "en",
  12. "submit": "submit",
  13. "compose": "compose",
  14. "new": "new",
  15. "account": "Account",
  16. "password": "Password",
  17. "login": "login",
  18. "search": "Search Email",
  19. "inbox": "Inbox",
  20. "sender": "Sender's Address",
  21. "nick_name": "Sender's Nickname",
  22. "title": "Title",
  23. "date": "Date",
  24. "to": "To",
  25. "cc": "Cc",
  26. "bcc": "Bcc",
  27. "sender_desc": "Sender",
  28. "to_desc": "Recipient's e-mail address",
  29. "cc_desc": "CC's e-mail address",
  30. "bcc_desc": "BCC's e-mail address",
  31. "send": "send",
  32. "add_att": "Add Attachment",
  33. "attachment": "Attachment",
  34. "err_sender_must": "Sender's email prefix is required!",
  35. "only_prefix": "Only the email prefix is required!",
  36. "err_email_format": "Incorrect e-mail address, please check the e-mail format!",
  37. "err_title_must": "Title is required!",
  38. "succ_send": "Send Success!",
  39. "outbox": "outbox",
  40. "modify_pwd": "modify password",
  41. "enter_again": "enter again",
  42. "err_required_pwd": "Please Input Password!",
  43. "succ": "Success!",
  44. "err_pwd_diff": "The passwords entered twice do not match!",
  45. "fail": "Fail!",
  46. "settings": "Settings",
  47. "security": "Security",
  48. "SetDomail": "Set Domain",
  49. "setDNS": "Set DNS",
  50. "setSSL": "Set SSL",
  51. "dns_root_desc": "Fill in the \"@\" or empty, as determined by your domain name service provider.",
  52. "setDatabase": "Set Database",
  53. "setAdminPassword": "Set Password",
  54. "admin_account": "Administrator Account",
  55. "setOther": "Other",
  56. "welcome": "Welcome",
  57. "next": "Next",
  58. "tks_pmail": "Thanks for using Pmail",
  59. "guid_desc": "Next, you will be guided to perform initial configuration. If you have already configured, please use your configuration file to overwrite the config folder of the running directory. If you have not configured it, please follow this guide.",
  60. "select_db": "select database",
  61. "db_desc": "PMail currently supports MySQL and SQLite3 databases, you can choose according to your needs.",
  62. "type": "Type",
  63. "db_select_ph": "please select your database",
  64. "mysql_dsn": "MySQL DSN",
  65. "pg_dsn": "PostgreSQL DSN",
  66. "sqlite_db_path": "Data File Path",
  67. "domain_desc": "Set your domain infomation.",
  68. "smtp_domain": "SMTP Domain",
  69. "web_domain": "Web Domain",
  70. "multi_domain_setting": "Multi-Domain Setting",
  71. "multi_domain_setting_desc": "Bind this mailbox to multiple domains.",
  72. "dns_desc": "Please add the following information to your DNS records",
  73. "ssl_auto": "Automatically configure SSL certificates (recommended)",
  74. "wait_desc": "Please Wait.",
  75. "dns_challenge_wait": "DNS propagation and cache refreshes take a long time, and a wait of 10-30 minutes is possible here.",
  76. "ssl_challenge_type": "Challenge Type",
  77. "ssl_auto_http": "Http Request",
  78. "ssl_auto_dns": "DNS Records",
  79. "challenge_typ_desc": "If PMail uses port 80 directly, it is recommended that you use the HTTP challenge method.",
  80. "oomain_service_provider": "Domain Name Service Provider",
  81. "ssl_manuallyf": "Manually configure an SSL certificate",
  82. "ssl_key_path": "ssl key file path",
  83. "ssl_crt_path": "ssl crt file path",
  84. "group_settings": "Group",
  85. "add_group": "Add Group",
  86. "del_email_confirm": "Are you sure you want to delete them?",
  87. "move_email_confirm": "Are you sure you want to move them?",
  88. "del_btn": "Delete",
  89. "move_btn": "Move",
  90. "read_btn": "Readed",
  91. "dangerous": "The content of this email is not secure!",
  92. "rule_setting": "Rules",
  93. "new_rule": "New mail receiving rules",
  94. "rule_name": "Rule Name",
  95. "rule_priority": "Rule Priority(Larger values are executed first)",
  96. "rule_desc": "When a new message arrives that meets all these conditions:",
  97. "rule_do": "Do the following:",
  98. "from": "From Email Address",
  99. "subject": "Email Subject",
  100. "content": "Email Content",
  101. "equal": "Equal",
  102. "regex": "Regex Match",
  103. "contains": "Contains",
  104. "mark_read": "Mark Read",
  105. "delete": "Delete",
  106. "forward": "Forward",
  107. "move": "Move to group",
  108. "del_rule_confirm": "Are you sure to delete this?",
  109. "rule_params": "Executed params",
  110. "autoSSLWarn": "PMail is not currently running on port 80. If you want PMail to manage SSL certificates automatically, please forward the /.well-known/* route to PMail. See https://github.com/Jinnrry/PMail/issues/94 for details.",
  111. "err_db_dsn_empty": "Database path cannot be empty!",
  112. };
  113. const zhCN = {
  114. "logout": "注销",
  115. "resetPwd": "重置账号密码",
  116. "disabled": "禁用",
  117. "enabled": "启用",
  118. "user_name": "用户名",
  119. "newUser": "新增用户",
  120. "editUser": "编辑用户",
  121. "user_management": "用户管理",
  122. "plugin_settings": "插件设置",
  123. "lang": "zhCn",
  124. "submit": "提交",
  125. "compose": "发件",
  126. "new": "新",
  127. "account": "账号",
  128. "password": "密码",
  129. "login": "登录",
  130. "search": "搜索邮件",
  131. "inbox": "收件箱",
  132. "sender": "发件人地址",
  133. "nick_name": "发件人昵称",
  134. "title": "邮件主题",
  135. "date": "时间",
  136. "to": "收件人地址",
  137. "cc": "抄送人地址",
  138. "bcc": "密送人地址",
  139. "sender_desc": "发件人",
  140. "to_desc": "接收人邮件地址",
  141. "cc_desc": "抄送人邮箱地址",
  142. "bcc_desc": "密送人邮箱地址",
  143. "send": "发送",
  144. "add_att": "添加附件",
  145. "attachment": "附件",
  146. "err_sender_must": "发件人邮箱前缀必填",
  147. "only_prefix": "只需要邮箱前缀",
  148. "err_email_format": "邮箱地址错误,请检查邮箱格式!",
  149. "err_title_must": "标题必填!",
  150. "succ_send": "发送成功!",
  151. "outbox": "发件箱",
  152. "modify_pwd": "修改密码",
  153. "enter_again": "确认密码",
  154. "err_required_pwd": "请输入密码!",
  155. "succ": "成功!",
  156. "err_pwd_diff": "两次输入的密码不一致!",
  157. "fail": "失败",
  158. "settings": "设置",
  159. "security": "安全",
  160. "SetDomail": "域名设置",
  161. "dns_root_desc": "填入@或者空,不同域名服务商写法不同",
  162. "multi_domain_setting": "多域名设置",
  163. "multi_domain_setting_desc": "将此邮箱绑定到多个域名上",
  164. "setDNS": "DNS设置",
  165. "setSSL": "SSL设置",
  166. "setDatabase": "数据库设置",
  167. "setAdminPassword": "密码设置",
  168. "admin_account": "管理员账号",
  169. "setOther": "其他设置",
  170. "welcome": "欢迎",
  171. "next": "下一步",
  172. "tks_pmail": "感谢使用PMail",
  173. "guid_desc": "接下来将会指引你进行初始化配置,如果你已有配置,请使用你的配置文件覆盖运行目录的config文件夹。如果你没有配置过,请按照该指引操作。",
  174. "select_db": "数据库选择",
  175. "db_desc": "PMail目前支持MySQL和SQLite3两种数据库,你可根据需要选择。",
  176. "type": "类型",
  177. "db_select_ph": "请选择你的数据库",
  178. "mysql_dsn": "MySQL DSN",
  179. "pg_dsn": "PostgreSQL DSN",
  180. "sqlite_db_path": "存储位置",
  181. "domain_desc": "设置你的域名信息。",
  182. "smtp_domain": "SMTP域名地址",
  183. "web_domain": "Web域名地址",
  184. "dns_desc": "请将以下信息添加到DNS记录中",
  185. "ssl_auto": "自动配置SSL证书(推荐)",
  186. "oomain_service_provider": "域名服务商",
  187. "ssl_auto_http": "HTTP请求",
  188. "ssl_auto_dns": "DNS记录",
  189. "ssl_challenge_type": "验证方式",
  190. "ssl_manuallyf": "手动配置SSL证书",
  191. "challenge_typ_desc": "如果PMail直接使用80端口,建议使用HTTP验证方式。",
  192. "wait_desc": "请稍等",
  193. "dns_challenge_wait": "DNS传播和缓存刷新时间较长,此处可能等待10-30分钟",
  194. "ssl_key_path": "ssl key文件位置",
  195. "ssl_crt_path": "ssl crt文件位置",
  196. "group_settings": "分组",
  197. "add_group": "新建分组",
  198. "del_email_confirm": "你确定要删除吗?",
  199. "move_email_confirm": "你确定要移动这些邮件吗?",
  200. "del_btn": "删除",
  201. "move_btn": "移动",
  202. "read_btn": "已读",
  203. "dangerous": "该邮件内容不安全!",
  204. "rule_setting": "规则",
  205. "new_rule": "新建收信规则",
  206. "rule_name": "规则名称",
  207. "rule_priority": "优先级(值越大越先执行)",
  208. "rule_desc": "以下规则全部满足时:",
  209. "rule_do": "执行操作:",
  210. "from": "发件人地址",
  211. "subject": "邮件主题",
  212. "content": "邮件内容",
  213. "equal": "等于",
  214. "regex": "正则匹配",
  215. "contains": "包含",
  216. "mark_read": "标记已读",
  217. "delete": "删除",
  218. "forward": "转发",
  219. "move": "移动分组",
  220. "del_rule_confirm": "确定要删除吗?",
  221. "rule_params": "执行参数",
  222. "autoSSLWarn": "PMail当前未使用80端口启动,如果想要PMail自动管理SSL证书,请将/.well-known/*路由转发到PMail。 详见https://github.com/Jinnrry/PMail/issues/94",
  223. "err_db_dsn_empty": "数据库路径不能为空!",
  224. }
  225. if (navigator.language === "zh-CN" || navigator.language === "zh") lang = zhCN
  226. export default lang;