login.ts 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. const translation = {
  2. pageTitle: 'Hey, let\'s get started!👋',
  3. welcome: 'Welcome to Dify, please log in to continue.',
  4. email: 'Email address',
  5. emailPlaceholder: 'Your email',
  6. password: 'Password',
  7. passwordPlaceholder: 'Your password',
  8. name: 'Username',
  9. namePlaceholder: 'Your username',
  10. forget: 'Forgot your password?',
  11. signBtn: 'Sign in',
  12. sso: 'Continue with SSO',
  13. installBtn: 'Set up',
  14. setAdminAccount: 'Setting up an admin account',
  15. setAdminAccountDesc: 'Maximum privileges for admin account, which can be used to create applications and manage LLM providers, etc.',
  16. createAndSignIn: 'Create and sign in',
  17. oneMoreStep: 'One more step',
  18. createSample: 'Based on this information, we’ll create sample application for you',
  19. invitationCode: 'Invitation Code',
  20. invitationCodePlaceholder: 'Your invitation code',
  21. interfaceLanguage: 'Interface Language',
  22. timezone: 'Time zone',
  23. go: 'Go to Dify',
  24. sendUsMail: 'Email us your introduction, and we\'ll handle the invitation request.',
  25. acceptPP: 'I have read and accept the privacy policy',
  26. reset: 'Please run following command to reset your password',
  27. withGitHub: 'Continue with GitHub',
  28. withGoogle: 'Continue with Google',
  29. rightTitle: 'Unlock the full potential of LLM',
  30. rightDesc: 'Effortlessly build visually captivating, operable, and improvable AI applications.',
  31. tos: 'Terms of Service',
  32. pp: 'Privacy Policy',
  33. tosDesc: 'By signing up, you agree to our',
  34. goToInit: 'If you have not initialized the account, please go to the initialization page',
  35. donthave: 'Don\'t have?',
  36. invalidInvitationCode: 'Invalid invitation code',
  37. accountAlreadyInited: 'Account already initialized',
  38. error: {
  39. emailEmpty: 'Email address is required',
  40. emailInValid: 'Please enter a valid email address',
  41. nameEmpty: 'Name is required',
  42. passwordEmpty: 'Password is required',
  43. passwordLengthInValid: 'Password must be at least 8 characters',
  44. passwordInvalid: 'Password must contain letters and numbers, and the length must be greater than 8',
  45. },
  46. license: {
  47. tip: 'Before starting Dify Community Edition, read the GitHub',
  48. link: 'Open-source License',
  49. },
  50. join: 'Join',
  51. joinTipStart: 'Invite you join',
  52. joinTipEnd: 'team on Dify',
  53. invalid: 'The link has expired',
  54. explore: 'Explore Dify',
  55. activatedTipStart: 'You have joined the',
  56. activatedTipEnd: 'team',
  57. activated: 'Sign in now',
  58. adminInitPassword: 'Admin initialization password',
  59. validate: 'Validate',
  60. }
  61. export default translation