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) • 853 B
JavaScript
const i18n = {
ariaLinkLabel: "Altcha (official website)",
cancel: "Cancel",
enterCode: "Enter code",
enterCodeAria: "Enter code you hear. Press Space to play audio.",
enterCodeFromImage: "To proceed, please enter the code from the image below.",
error: "Verification failed. Try again later.",
expired: "Verification expired. Try again.",
footer: 'Protected by <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (official website)">ALTCHA</a>',
getAudioChallenge: "Get an audio challenge",
label: "I'm not a robot",
loading: "Loading...",
reload: "Reload",
verify: "Verify",
verificationRequired: "Verification required!",
verified: "Verified",
verifying: "Verifying...",
waitAlert: "Verifying... please wait."
};
if ("$altcha" in globalThis) {
globalThis.$altcha.i18n.set("en", i18n);
}