You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

login.ts 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. const translation = {
  2. pageTitle: 'Log in to Dify',
  3. welcome: '👋 Welcome! Please log in to get started.',
  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. invalidEmailOrPassword: 'Invalid email or password.',
  66. },
  67. license: {
  68. tip: 'Before starting Dify Community Edition, read the GitHub',
  69. link: 'Open-source License',
  70. },
  71. join: 'Join ',
  72. joinTipStart: 'Invite you join ',
  73. joinTipEnd: ' team on Dify',
  74. invalid: 'The link has expired',
  75. explore: 'Explore Dify',
  76. activatedTipStart: 'You have joined the',
  77. activatedTipEnd: 'team',
  78. activated: 'Sign in now',
  79. adminInitPassword: 'Admin initialization password',
  80. validate: 'Validate',
  81. checkCode: {
  82. checkYourEmail: 'Check your email',
  83. tipsPrefix: 'We send a verification code to ',
  84. validTime: 'Bear in mind that the code is valid for 5 minutes',
  85. verificationCode: 'Verification code',
  86. verificationCodePlaceholder: 'Enter 6-digit code',
  87. verify: 'Verify',
  88. didNotReceiveCode: 'Didn\'t receive the code? ',
  89. resend: 'Resend',
  90. useAnotherMethod: 'Use another method',
  91. emptyCode: 'Code is required',
  92. invalidCode: 'Invalid code',
  93. },
  94. resetPassword: 'Reset Password',
  95. resetPasswordDesc: 'Type the email you used to sign up on Dify and we will send you a password reset email.',
  96. backToLogin: 'Back to login',
  97. setYourAccount: 'Set Your Account',
  98. enterYourName: 'Please enter your username',
  99. back: 'Back',
  100. noLoginMethod: 'Authentication method not configured',
  101. noLoginMethodTip: 'Please contact the system admin to add an authentication method.',
  102. licenseExpired: 'License Expired',
  103. licenseExpiredTip: 'The Dify Enterprise license for your workspace has expired. Please contact your administrator to continue using Dify.',
  104. licenseLost: 'License Lost',
  105. licenseLostTip: 'Failed to connect Dify license server. Please contact your administrator to continue using Dify.',
  106. licenseInactive: 'License Inactive',
  107. licenseInactiveTip: 'The Dify Enterprise license for your workspace is inactive. Please contact your administrator to continue using Dify.',
  108. webapp: {
  109. login: 'Login',
  110. noLoginMethod: 'Authentication method not configured for web app',
  111. noLoginMethodTip: 'Please contact the system admin to add an authentication method.',
  112. disabled: 'Webapp authentication is disabled. Please contact the system admin to enable it. You can try to use the app directly.',
  113. },
  114. signup: {
  115. noAccount: 'Don’t have an account? ',
  116. signUp: 'Sign Up',
  117. createAccount: 'Create your account',
  118. welcome: '👋 Welcome! Please fill in the details to get started.',
  119. verifyMail: 'Continue with verification code',
  120. haveAccount: 'Already have an account? ',
  121. signIn: 'Sign In',
  122. },
  123. }
  124. export default translation