altcha
Version:
Privacy-first CAPTCHA widget, compliant with global regulations (GDPR/HIPAA/CCPA/LGDP/DPDPA/PIPL) and WCAG accessible. No tracking, self-verifying.
23 lines (22 loc) • 849 B
JavaScript
const i18n = {
ariaLinkLabel: "Altcha (官方網站)",
enterCode: "輸入代碼",
enterCodeAria: "輸入您聽到的代碼。按空格鍵播放音頻。",
error: "驗證失敗。稍後再試。",
expired: "驗證已過期。請重試。",
footer: '由 <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (官方網站)">ALTCHA</a> 保護',
getAudioChallenge: "獲取音頻挑戰",
label: "我不是機器人",
loading: "載入中...",
reload: "重新載入",
verify: "驗證",
verificationRequired: "需要驗證!",
verified: "已驗證",
verifying: "正在驗證...",
waitAlert: "正在驗證... 請稍等。",
cancel: "取消",
enterCodeFromImage: "若要繼續,請輸入下方的圖片驗證碼。"
};
if ("$altcha" in globalThis) {
globalThis.$altcha.i18n.set("zh-tw", i18n);
}