artalk 2.8.6 → 2.9.0

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.
Files changed (44) hide show
  1. package/dist/Artalk.cjs +2 -2
  2. package/dist/Artalk.cjs.map +1 -1
  3. package/dist/Artalk.css +1 -1
  4. package/dist/Artalk.iife.js +2 -2
  5. package/dist/Artalk.iife.js.map +1 -1
  6. package/dist/Artalk.js +2 -2
  7. package/dist/Artalk.js.map +1 -1
  8. package/dist/Artalk.mjs +953 -1421
  9. package/dist/Artalk.mjs.map +1 -1
  10. package/dist/ArtalkLite.cjs +2 -2
  11. package/dist/ArtalkLite.cjs.map +1 -1
  12. package/dist/ArtalkLite.css +1 -1
  13. package/dist/ArtalkLite.iife.js +2 -2
  14. package/dist/ArtalkLite.iife.js.map +1 -1
  15. package/dist/ArtalkLite.js +2 -2
  16. package/dist/ArtalkLite.js.map +1 -1
  17. package/dist/ArtalkLite.mjs +641 -1148
  18. package/dist/ArtalkLite.mjs.map +1 -1
  19. package/dist/i18n/fr.cjs +1 -0
  20. package/dist/i18n/fr.js +1 -0
  21. package/dist/i18n/fr.mjs +123 -0
  22. package/dist/i18n/{jp.cjs → ja.cjs} +1 -1
  23. package/dist/i18n/ja.d.cts +3 -0
  24. package/dist/i18n/ja.d.ts +3 -0
  25. package/dist/i18n/{jp.js → ja.js} +1 -1
  26. package/dist/i18n/{jp.mjs → ja.mjs} +12 -9
  27. package/dist/i18n/ko.cjs +1 -0
  28. package/dist/i18n/ko.d.cts +3 -0
  29. package/dist/i18n/ko.d.ts +3 -0
  30. package/dist/i18n/ko.js +1 -0
  31. package/dist/i18n/ko.mjs +123 -0
  32. package/dist/i18n/ru.cjs +1 -0
  33. package/dist/i18n/ru.d.cts +3 -0
  34. package/dist/i18n/ru.d.ts +3 -0
  35. package/dist/i18n/ru.js +1 -0
  36. package/dist/i18n/ru.mjs +123 -0
  37. package/dist/i18n/zh-TW.cjs +1 -1
  38. package/dist/i18n/zh-TW.js +1 -1
  39. package/dist/i18n/zh-TW.mjs +6 -3
  40. package/dist/main.d.cts +157 -94
  41. package/dist/main.d.ts +157 -94
  42. package/package.json +56 -24
  43. /package/dist/i18n/{jp.d.cts → fr.d.cts} +0 -0
  44. /package/dist/i18n/{jp.d.ts → fr.d.ts} +0 -0
@@ -1,7 +1,6 @@
1
1
  const GLOBAL_LOCALES_KEY = "ArtalkI18n";
2
2
  function defineLocaleExternal(lang, locale, aliases) {
3
- if (!window[GLOBAL_LOCALES_KEY])
4
- window[GLOBAL_LOCALES_KEY] = {};
3
+ if (!window[GLOBAL_LOCALES_KEY]) window[GLOBAL_LOCALES_KEY] = {};
5
4
  window[GLOBAL_LOCALES_KEY][lang] = locale;
6
5
  return locale;
7
6
  }
@@ -71,10 +70,14 @@ const zhTW = defineLocaleExternal("zh-TW", {
71
70
  msgCenter: "通知中心",
72
71
  ctrlCenter: "控制中心",
73
72
  /* Auth */
73
+ userProfile: "個人資料",
74
74
  noAccountPrompt: "沒有帳號?",
75
75
  haveAccountPrompt: "已有帳號?",
76
76
  forgetPassword: "忘記密碼",
77
77
  resetPassword: "重置密碼",
78
+ changePassword: "修改密碼",
79
+ confirmPassword: "確認密碼",
80
+ passwordMismatch: "兩次輸入的密碼不一致",
78
81
  verificationCode: "驗證碼",
79
82
  verifySend: "發送驗證碼",
80
83
  verifyResend: "重新發送",
@@ -83,7 +86,7 @@ const zhTW = defineLocaleExternal("zh-TW", {
83
86
  password: "密碼",
84
87
  username: "用戶名",
85
88
  nextStep: "下一步",
86
- skipNotVerify: "跳過,不驗證",
89
+ skipVerify: "跳過驗證",
87
90
  logoutConfirm: "確定要登出嗎?",
88
91
  accountMergeNotice: "您的電子郵件下有多個不同 ID 的帳戶。",
89
92
  accountMergeSelectOne: "請選擇要將所有數據合併到其中的一個。",