login.ts 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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. continueWithCode: 'Continue With Code',
  13. sendVerificationCode: 'Send Verification Code',
  14. usePassword: 'Use Password',
  15. useVerificationCode: 'Use Verification Code',
  16. or: 'OR',
  17. installBtn: 'Set up',
  18. setAdminAccount: 'Setting up an admin account',
  19. setAdminAccountDesc: 'Maximum privileges for admin account, which can be used to create applications and manage LLM providers, etc.',
  20. createAndSignIn: 'Create and sign in',
  21. oneMoreStep: 'One more step',
  22. createSample: 'Based on this information, we’ll create sample application for you',
  23. invitationCode: 'Invitation Code',
  24. invitationCodePlaceholder: 'Your invitation code',
  25. interfaceLanguage: 'Interface Language',
  26. timezone: 'Time zone',
  27. go: 'Go to Dify',
  28. sendUsMail: 'Email us your introduction, and we\'ll handle the invitation request.',
  29. acceptPP: 'I have read and accept the privacy policy',
  30. reset: 'Please run following command to reset your password',
  31. withGitHub: 'Continue with GitHub',
  32. withGoogle: 'Continue with Google',
  33. withSSO: 'Continue with SSO',
  34. rightTitle: 'Unlock the full potential of LLM',
  35. rightDesc: 'Effortlessly build visually captivating, operable, and improvable AI applications.',
  36. tos: 'Terms of Service',
  37. pp: 'Privacy Policy',
  38. tosDesc: 'By signing up, you agree to our',
  39. goToInit: 'If you have not initialized the account, please go to the initialization page',
  40. dontHave: 'Don\'t have?',
  41. invalidInvitationCode: 'Invalid invitation code',
  42. accountAlreadyInited: 'Account already initialized',
  43. forgotPassword: 'Forgot your password?',
  44. resetLinkSent: 'Reset link sent',
  45. sendResetLink: 'Send reset link',
  46. backToSignIn: 'Return to sign in',
  47. forgotPasswordDesc: 'Please enter your email address to reset your password. We will send you an email with instructions on how to reset your password.',
  48. checkEmailForResetLink: 'Please check your email for a link to reset your password. If it doesn\'t appear within a few minutes, make sure to check your spam folder.',
  49. passwordChanged: 'Sign in now',
  50. changePassword: 'Set a password',
  51. changePasswordTip: 'Please enter a new password for your account',
  52. changePasswordBtn: 'Set a password',
  53. invalidToken: 'Invalid or expired token',
  54. confirmPassword: 'Confirm Password',
  55. confirmPasswordPlaceholder: 'Confirm your new password',
  56. passwordChangedTip: 'Your password has been successfully changed',
  57. error: {
  58. emailEmpty: 'Email address is required',
  59. emailInValid: 'Please enter a valid email address',
  60. nameEmpty: 'Name is required',
  61. passwordEmpty: 'Password is required',
  62. passwordLengthInValid: 'Password must be at least 8 characters',
  63. passwordInvalid: 'Password must contain letters and numbers, and the length must be greater than 8',
  64. registrationNotAllowed: 'Account not found. Please contact the system admin to register.',
  65. },
  66. license: {
  67. tip: 'Before starting Dify Community Edition, read the GitHub',
  68. link: 'Open-source License',
  69. },
  70. join: 'Join ',
  71. joinTipStart: 'Invite you join ',
  72. joinTipEnd: ' team on Dify',
  73. invalid: 'The link has expired',
  74. explore: 'Explore Dify',
  75. activatedTipStart: 'You have joined the',
  76. activatedTipEnd: 'team',
  77. activated: 'Sign in now',
  78. adminInitPassword: 'Admin initialization password',
  79. validate: 'Validate',
  80. checkCode: {
  81. checkYourEmail: 'Check your email',
  82. tips: 'We send a verification code to <strong>{{email}}</strong>',
  83. validTime: 'Bear in mind that the code is valid for 5 minutes',
  84. verificationCode: 'Verification code',
  85. verificationCodePlaceholder: 'Enter 6-digit code',
  86. verify: 'Verify',
  87. didNotReceiveCode: 'Didn\'t receive the code? ',
  88. resend: 'Resend',
  89. useAnotherMethod: 'Use another method',
  90. emptyCode: 'Code is required',
  91. invalidCode: 'Invalid code',
  92. },
  93. resetPassword: 'Reset Password',
  94. resetPasswordDesc: 'Type the email you used to sign up on Dify and we will send you a password reset email.',
  95. backToLogin: 'Back to login',
  96. setYourAccount: 'Set Your Account',
  97. enterYourName: 'Please enter your username',
  98. back: 'Back',
  99. noLoginMethod: 'Authentication method not configured',
  100. noLoginMethodTip: 'Please contact the system admin to add an authentication method.',
  101. }
  102. export default translation