@everymatrix/general-player-login-form 0.0.349 → 0.0.353

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-login-form",
3
- "version": "0.0.349",
3
+ "version": "0.0.353",
4
4
  "main": "dist/general-player-login-form.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "6883e6dbe2a0a393b72ca3d7d5157eb85816f283"
39
+ "gitHead": "b66ff51fb21b14cba5ab2efa029995d4fe4ceed1"
40
40
  }
@@ -77,7 +77,7 @@
77
77
 
78
78
  const verifyTypeOfPassword = ():void => {
79
79
  if (simplepasswordvalidation == 'true') {
80
- regexValidators.password = /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])*(?=.*?[^\w\s])*.{8,20}$/;
80
+ regexValidators.password = /^(?=.*?[a-z])((?=.*?[A-Z])*(?=.*?[0-9])*)+.{1,}(?=.*?[^\w\s])*.{7,20}$/;
81
81
  }
82
82
  }
83
83
 
@@ -13,6 +13,20 @@ export const LoginForm = {
13
13
  loginForgotPassword: 'I forgot my password'
14
14
  }
15
15
  },
16
+ zh: {
17
+ loginForm: {
18
+ loginTitle: '歡迎',
19
+ loginSubtitle: '還沒有帳戶?',
20
+ loginSubtitleRegister: '現在註冊',
21
+ loginUsername: '用戶名或電子郵件',
22
+ loginUsernameError: '名稱的長度必須至少為 2 個字符且不包含特殊字符。 電子郵件應包含“@”和 2-3 個字母長的域。',
23
+ loginPassword: '密碼',
24
+ loginPasswordError: '密碼長度必須為 8-20 個字符,並且至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。',
25
+ loginSimplePasswordError: '密码长度必须为 8-20 个字符,并且至少包含 1 个大写字母和/或 1 个数字和/或 1 个特殊字符。',
26
+ loginButton: '登入',
27
+ loginForgotPassword: '我忘記了我的密碼'
28
+ }
29
+ },
16
30
  fr: {
17
31
  loginForm: {
18
32
  loginTitle: 'Vous êtes les bienvenus',