altcha
Version:
Privacy-first CAPTCHA widget, compliant with global regulations (GDPR/HIPAA/CCPA/LGDP/DPDPA/PIPL) and WCAG accessible. No tracking, self-verifying.
28 lines (27 loc) • 1.3 kB
JavaScript
(function(factory) {
typeof define === "function" && define.amd ? define(factory) : factory();
})((function() {
"use strict";
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("ja", i18n);
}
}));