codegen_loader.g.dart 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. // DO NOT EDIT. This is code generated via package:easy_localization/generate.dart
  2. // ignore_for_file: prefer_single_quotes
  3. import 'dart:ui';
  4. import 'package:easy_localization/easy_localization.dart' show AssetLoader;
  5. class CodegenLoader extends AssetLoader{
  6. const CodegenLoader();
  7. @override
  8. Future<Map<String, dynamic>> load(String fullPath, Locale locale ) {
  9. return Future.value(mapLocales[locale.toString()]);
  10. }
  11. static const Map<String,dynamic> en = {
  12. "appName": "Appflowy",
  13. "defaultUsername": "Me",
  14. "welcomeText": "Welcome to @:appName",
  15. "githubStarText": "Star on GitHub",
  16. "subscribeNewsletterText": "Subscribe to Newsletter",
  17. "letsGoButtonText": "Let's Go",
  18. "title": "Title",
  19. "signUp": {
  20. "buttonText": "Sign Up",
  21. "title": "Sign Up to @:appName",
  22. "getStartedText": "Get Started",
  23. "emptyPasswordError": "Password can't be empty",
  24. "repeatPasswordEmptyError": "Repeat password can't be empty",
  25. "unmatchedPasswordError": "Repeat password is not the same as password",
  26. "alreadyHaveAnAccount": "Already have an account?",
  27. "emailHint": "Email",
  28. "passwordHint": "Password",
  29. "repeatPasswordHint": "Repeat password"
  30. },
  31. "signIn": {
  32. "loginTitle": "Login to @:appName",
  33. "loginButtonText": "Login",
  34. "buttonText": "Sign In",
  35. "forgotPassword": "Forgot Password?",
  36. "emailHint": "Email",
  37. "passwordHint": "Password",
  38. "dontHaveAnAccount": "Don't have an account?",
  39. "repeatPasswordEmptyError": "Repeat password can't be empty",
  40. "unmatchedPasswordError": "Repeat password is not the same as password"
  41. },
  42. "workspace": {
  43. "create": "Create workspace",
  44. "hint": "workspace",
  45. "notFoundError": "Workspace not found"
  46. },
  47. "shareAction": {
  48. "buttonText": "Share",
  49. "workInProgress": "Work in progress",
  50. "markdown": "Markdown",
  51. "copyLink": "Copy Link"
  52. },
  53. "disclosureAction": {
  54. "rename": "Rename",
  55. "delete": "Delete",
  56. "duplicate": "Duplicate"
  57. },
  58. "blankPageTitle": "Blank page",
  59. "newPageText": "New page",
  60. "trash": {
  61. "text": "Trash",
  62. "restoreAll": "Restore All",
  63. "deleteAll": "Delete All",
  64. "pageHeader": {
  65. "fileName": "File name",
  66. "lastModified": "Last Modified",
  67. "created": "Created"
  68. }
  69. },
  70. "deletePagePrompt": {
  71. "text": "This page is in Trash",
  72. "restore": "Restore page",
  73. "deletePermanent": "Delete permanently"
  74. },
  75. "dialogCreatePageNameHint": "Page name",
  76. "questionBubble": {
  77. "whatsNew": "What's new?",
  78. "help": "Help & Support"
  79. },
  80. "menuAppHeader": {
  81. "addPageTooltip": "Quickly add a page inside",
  82. "defaultNewPageName": "Untitles",
  83. "renameDialog": "Rename"
  84. },
  85. "toolbar": {
  86. "undo": "Undo",
  87. "redo": "Redo",
  88. "bold": "Bold",
  89. "italic": "Italic",
  90. "underline": "Underline",
  91. "strike": "Strikethrough",
  92. "numList": "Numbered List",
  93. "bulletList": "Bulleted List",
  94. "checkList": "Check List",
  95. "inlineCode": "Inline Code",
  96. "quote": "Quote Block"
  97. },
  98. "contactsPage": {
  99. "title": "Contacts",
  100. "whatsHappening": "What's happening this week?",
  101. "addContact": "Add Contact",
  102. "editContact": "Edit Contact"
  103. },
  104. "button": {
  105. "OK": "OK",
  106. "Cancel": "Cancel",
  107. "signIn": "Sign In",
  108. "signOut": "Sign Out",
  109. "complete": "Complete",
  110. "save": "Save"
  111. },
  112. "label": {
  113. "welcome": "Welcome!",
  114. "firstName": "First Name",
  115. "middleName": "Middle Name",
  116. "lastName": "Last Name",
  117. "stepX": "Step {X}"
  118. },
  119. "oAuth": {
  120. "err": {
  121. "failedTitle": "Unable to connect to your account.",
  122. "failedMsg": "Please make sure you've completed the sign-in process in your browser."
  123. },
  124. "google": {
  125. "title": "GOOGLE SIGN-IN",
  126. "instruction1": "In order to import your Google Contacts, you'll need to authorize this application using your web browser.",
  127. "instruction2": "Copy this code to your clipboard by clicking the icon or selecting the text:",
  128. "instruction3": "Navigate to the following link in your web browser, and enter the above code:",
  129. "instruction4": "Press the button below when you've completed signup:"
  130. }
  131. }
  132. };
  133. static const Map<String,dynamic> zh_CN = {
  134. "appName": "Appflowy",
  135. "defaultUsername": "我",
  136. "welcomeText": "欢迎使用@:appName",
  137. "githubStarText": "Star on GitHub",
  138. "subscribeNewsletterText": "消息订阅",
  139. "letsGoButtonText": "开始",
  140. "title": "标题",
  141. "signUp": {
  142. "buttonText": "注册",
  143. "title": "注册@:appName账户",
  144. "getStartedText": "开始",
  145. "emptyPasswordError": "密码不能为空",
  146. "repeatPasswordEmptyError": "确认密码不能为空",
  147. "unmatchedPasswordError": "两次密码输入不一致",
  148. "alreadyHaveAnAccount": "已有账户?",
  149. "emailHint": "邮箱",
  150. "passwordHint": "密码",
  151. "repeatPasswordHint": "确认密码"
  152. },
  153. "signIn": {
  154. "loginTitle": "登录@:appName",
  155. "loginButtonText": "登录",
  156. "buttonText": "登录",
  157. "forgotPassword": "忘记密码?",
  158. "emailHint": "邮箱",
  159. "passwordHint": "密码",
  160. "dontHaveAnAccount": "没有已注册的账户?",
  161. "repeatPasswordEmptyError": "确认密码不能为空",
  162. "unmatchedPasswordError": "两次密码输入不一致"
  163. },
  164. "workspace": {
  165. "create": "新建空间",
  166. "hint": "空间",
  167. "notFoundError": "未知的空间"
  168. },
  169. "shareAction": {
  170. "buttonText": "分享",
  171. "workInProgress": "进行中",
  172. "markdown": "Markdown",
  173. "copyLink": "复制链接"
  174. },
  175. "disclosureAction": {
  176. "rename": "重命名",
  177. "delete": "删除",
  178. "duplicate": "复制"
  179. },
  180. "blankPageTitle": "空白页",
  181. "newPageText": "新页面",
  182. "trash": {
  183. "text": "回收站",
  184. "restoreAll": "全部恢复",
  185. "deleteAll": "全部删除",
  186. "pageHeader": {
  187. "fileName": "文件名",
  188. "lastModified": "最近修改",
  189. "created": "创建"
  190. }
  191. },
  192. "deletePagePrompt": {
  193. "text": "此页面已被移动至回收站",
  194. "restore": "恢复页面",
  195. "deletePermanent": "彻底删除"
  196. },
  197. "dialogCreatePageNameHint": "页面名称",
  198. "questionBubble": {
  199. "whatsNew": "新功能?",
  200. "help": "帮助 & 支持"
  201. },
  202. "menuAppHeader": {
  203. "addPageTooltip": "在其中快速添加页面",
  204. "defaultNewPageName": "未命名页面",
  205. "renameDialog": "重命名"
  206. },
  207. "toolbar": {
  208. "undo": "撤销",
  209. "redo": "恢复",
  210. "bold": "加粗",
  211. "italic": "斜体",
  212. "underline": "下划线",
  213. "strike": "删除线",
  214. "numList": "有序列表",
  215. "bulletList": "无序列表",
  216. "checkList": "任务列表",
  217. "inlineCode": "内联代码",
  218. "quote": "块引用"
  219. },
  220. "contactsPage": {
  221. "title": "联系人",
  222. "whatsHappening": "这周发生了哪些事?",
  223. "addContact": "添加联系人",
  224. "editContact": "编辑联系人"
  225. },
  226. "button": {
  227. "OK": "确认",
  228. "Cancel": "取消",
  229. "signIn": "登录",
  230. "signOut": "登出",
  231. "complete": "完成",
  232. "save": "保存"
  233. },
  234. "label": {
  235. "welcome": "欢迎!",
  236. "firstName": "名",
  237. "middleName": "中间名",
  238. "lastName": "姓",
  239. "stepX": "第{X}步"
  240. },
  241. "oAuth": {
  242. "err": {
  243. "failedTitle": "无法连接到您的账户。",
  244. "failedMsg": "请确认您已在浏览器中完成登录。"
  245. },
  246. "google": {
  247. "title": "GOOGLE账号登录",
  248. "instruction1": "为了导入您的Google联系人,您需要在浏览器中给予本程序授权。",
  249. "instruction2": "单击图标或选择文本复制到剪贴板:",
  250. "instruction3": "进入下面的链接,然后输入上面的代码:",
  251. "instruction4": "完成注册后,点击下面的按钮:"
  252. }
  253. }
  254. };
  255. static const Map<String, Map<String,dynamic>> mapLocales = {"en": en, "zh_CN": zh_CN};
  256. }