From da1a56db9bc24a2358ededaa8ccac1f9ff68841b Mon Sep 17 00:00:00 2001 From: Brad Peters Date: Mon, 15 Jun 2020 13:50:13 -0700 Subject: [PATCH] Add Language Code Map --- languages/iw.json | 74 --------------------- languages/{jw.json => jv.json} | 0 package.json | 7 +- src/translation_codes.json | 113 +++++++++++++++++++++++++++++++++ 4 files changed, 119 insertions(+), 75 deletions(-) delete mode 100644 languages/iw.json rename languages/{jw.json => jv.json} (100%) create mode 100644 src/translation_codes.json diff --git a/languages/iw.json b/languages/iw.json deleted file mode 100644 index 23d81fb..0000000 --- a/languages/iw.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "Back": "\u05d7\u05d6\u05d5\u05e8", - "Can't Click": "\u05dc\u05d0 \u05e0\u05d9\u05ea\u05df \u05dc\u05dc\u05d7\u05d5\u05e5", - "Can't Solve": "\u05dc\u05d0 \u05d9\u05db\u05d5\u05dc \u05dc\u05e4\u05ea\u05d5\u05e8", - "Cancel": "\u05d1\u05d8\u05dc", - "Cancel Response": "\u05d1\u05d8\u05dc \u05ea\u05d2\u05d5\u05d1\u05d4", - "Check": "\u05d7\u05e9\u05d1\u05d5\u05df", - "Close": "\u05e1\u05d2\u05d5\u05e8", - "Close Modal": "\u05e1\u05d2\u05d5\u05e8 \u05de\u05d5\u05d3\u05d0\u05dc", - "Enter the two words in the image.": "\u05d4\u05d6\u05df \u05d0\u05ea \u05e9\u05ea\u05d9 \u05d4\u05de\u05d9\u05dc\u05d9\u05dd \u05d1\u05ea\u05de\u05d5\u05e0\u05d4.", - "Error fetching captcha.": "\u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05e9\u05dc\u05d9\u05e4\u05ea captcha.", - "Error submitting captcha.": "\u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05d4\u05d2\u05e9\u05ea captcha.", - "Feedback": "\u05de\u05e9\u05d5\u05d1", - "Get information about hCaptcha and accessibility options.": "\u05e7\u05d1\u05dc \u05de\u05d9\u05d3\u05e2 \u05e2\u05dc hCaptcha \u05d5\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05e0\u05d2\u05d9\u05e9\u05d5\u05ea.", - "Get information about hCaptcha.": "\u05e7\u05d1\u05dc \u05de\u05d9\u05d3\u05e2 \u05e2\u05dc hCaptcha.", - "Give a detailed report of a bug you've encountered.": "\u05ea\u05df \u05d3\u05d5\u05d7 \u05de\u05e4\u05d5\u05e8\u05d8 \u05e2\u05dc \u05d1\u05d0\u05d2 \u05e9\u05e0\u05ea\u05e7\u05dc\u05ea \u05d1\u05d5.", - "Give feedback.": "\u05ea\u05df \u05de\u05e9\u05d5\u05d1.", - "Having a problem?": "\u05e0\u05ea\u05e7\u05dc\u05ea \u05d1\u05d1\u05e2\u05d9\u05d4?", - "I am human": ". \u05d0\u05e0\u05d9 \u05d0\u05e0\u05d5\u05e9\u05d9", - "Inappropriate": "\u05dc\u05d0 \u05e8\u05d0\u05d5\u05d9", - "Info": "\u05de\u05d9\u05d3\u05e2", - "Information": "\u05de\u05d9\u05d3\u05e2", - "Information about the hCaptcha service.": "\u05de\u05d9\u05d3\u05e2 \u05e2\u05dc \u05e9\u05d9\u05e8\u05d5\u05ea hCaptcha.", - "Learn about accessibility options.": "\u05dc\u05de\u05d3\u05d5 \u05e2\u05dc \u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05e0\u05d2\u05d9\u05e9\u05d5\u05ea.", - "Next": "\u05d4\u05d1\u05d0", - "Next Challenge": "\u05d4\u05d0\u05ea\u05d2\u05e8 \u05d4\u05d1\u05d0", - "Off Screen": "\u05de\u05d7\u05d5\u05e5 \u05dc\u05de\u05e1\u05da", - "Other": "\u05d0\u05d7\u05e8", - "Our accessibility option may help": "\u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05d4\u05e0\u05d2\u05d9\u05e9\u05d5\u05ea \u05e9\u05dc\u05e0\u05d5 \u05e2\u05e9\u05d5\u05d9\u05d4 \u05dc\u05e2\u05d6\u05d5\u05e8", - "Our accessibility option may help.": "\u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05d4\u05e0\u05d2\u05d9\u05e9\u05d5\u05ea \u05e9\u05dc\u05e0\u05d5 \u05e2\u05e9\u05d5\u05d9\u05d4 \u05dc\u05e2\u05d6\u05d5\u05e8.", - "Please also try turning off your ad blocker.\u200d": "\u05d0\u05e0\u05d0 \u05e0\u05e1\u05d4 \u05d2\u05dd \u05dc\u05db\u05d1\u05d5\u05ea \u05d0\u05ea \u05d7\u05d5\u05e1\u05dd \u05d4\u05de\u05d5\u05d3\u05e2\u05d5\u05ea \u05e9\u05dc\u05da", - "Please describe your issue.": "\u05d0\u05e0\u05d0 \u05ea\u05d0\u05e8 \u05d0\u05ea \u05d4\u05d1\u05e2\u05d9\u05d4 \u05e9\u05dc\u05da.", - "Please provide details and steps to reproduce.": "\u05d0\u05e0\u05d0 \u05e1\u05e4\u05e7 \u05e4\u05e8\u05d8\u05d9\u05dd \u05d5\u05e6\u05e2\u05d3\u05d9\u05dd \u05dc\u05d4\u05e2\u05ea\u05e7\u05d4.", - "Please select an option to send response.": "\u05d0\u05e0\u05d0 \u05d1\u05d7\u05e8 \u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05dc\u05e9\u05dc\u05d9\u05d7\u05ea \u05ea\u05d2\u05d5\u05d1\u05d4.", - "Please try again.": "\u05d1\u05d1\u05e7\u05e9\u05d4 \u05e0\u05e1\u05d4 \u05e9\u05d5\u05d1.", - "Privacy": "\u05e4\u05e8\u05d8\u05d9\u05d5\u05ea", - "Provide feedback for hCaptcha.": "\u05e1\u05e4\u05e7 \u05de\u05e9\u05d5\u05d1 \u05e2\u05d1\u05d5\u05e8 hCaptcha.", - "Provide feedback regarding the hCaptcha service.": "\u05e1\u05e4\u05e7 \u05de\u05e9\u05d5\u05d1 \u05d1\u05e0\u05d5\u05d2\u05e2 \u05dc\u05e9\u05d9\u05e8\u05d5\u05ea hCaptcha.", - "Read more about the hCaptcha service.": "\u05e7\u05e8\u05d0 \u05e2\u05d5\u05d3 \u05d0\u05d5\u05d3\u05d5\u05ea \u05e9\u05d9\u05e8\u05d5\u05ea hCaptcha.", - "Refresh Challenge.": "\u05e8\u05e2\u05e0\u05df \u05d0\u05ea\u05d2\u05e8.", - "Report": "\u05dc\u05d4\u05d2\u05d9\u05e9 \u05ea\u05dc\u05d5\u05e0\u05d4", - "Report Bug": "\u05d3\u05d5\u05d5\u05d7 \u05e2\u05dc \u05d1\u05d0\u05d2", - "Report Image": "\u05d3\u05d5\u05d5\u05d7 \u05e2\u05dc \u05ea\u05de\u05d5\u05e0\u05d4", - "Report a software bug or issue to hCaptcha.": "\u05d3\u05d5\u05d5\u05d7 \u05e2\u05dc \u05d1\u05d0\u05d2 \u05ea\u05d5\u05db\u05e0\u05d4 \u05d0\u05d5 \u05d1\u05e2\u05d9\u05d4 \u05dc- hCaptcha.", - "Report an image to hCaptcha.": "\u05d3\u05d5\u05d5\u05d7 \u05e2\u05dc \u05ea\u05de\u05d5\u05e0\u05d4 \u05dc- hCaptcha.", - "Reporting a functionality issue?": "\u05de\u05d3\u05d5\u05d5\u05d7\u05d9\u05dd \u05e2\u05dc \u05d1\u05e2\u05d9\u05d9\u05ea \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05e0\u05dc\u05d9\u05d5\u05ea?", - "See how to report issues with detailed logs.": "\u05e8\u05d0\u05d4 \u05db\u05d9\u05e6\u05d3 \u05dc\u05d3\u05d5\u05d5\u05d7 \u05e2\u05dc \u05d1\u05e2\u05d9\u05d5\u05ea \u05d1\u05d9\u05d5\u05de\u05e0\u05d9\u05dd \u05de\u05e4\u05d5\u05e8\u05d8\u05d9\u05dd.", - "Send": "\u05e9\u05dc\u05d7", - "Send Response": "\u05e9\u05dc\u05d7 \u05ea\u05d2\u05d5\u05d1\u05d4", - "Send Us Feedback": "\u05e9\u05dc\u05d7 \u05dc\u05e0\u05d5 \u05de\u05e9\u05d5\u05d1", - "Sign up for accessibility access to bypass the hCaptcha challenge.": "\u05d4\u05d9\u05e8\u05e9\u05dd \u05dc\u05e7\u05d1\u05dc\u05ea \u05d2\u05d9\u05e9\u05d4 \u05dc\u05e0\u05d2\u05d9\u05e9\u05d5\u05ea \u05db\u05d3\u05d9 \u05dc\u05e2\u05e7\u05d5\u05e3 \u05d0\u05ea \u05d0\u05ea\u05d2\u05e8 hCaptcha.", - "Skip": "\u05dc\u05d3\u05dc\u05d2", - "Skip Challenge": "\u05d3\u05dc\u05d2 \u05e2\u05dc \u05d0\u05ea\u05d2\u05e8", - "Software Bug": "\u05d1\u05d0\u05d2 \u05ea\u05d5\u05db\u05e0\u05d4", - "Sorry to hear that!": "\u05de\u05e6\u05d8\u05e2\u05e8 \u05dc\u05e9\u05de\u05d5\u05e2!", - "Submit Answers": "\u05d4\u05d2\u05d9\u05e9 \u05ea\u05e9\u05d5\u05d1\u05d5\u05ea", - "Terms": "\u05ea\u05e0\u05d0\u05d9\u05dd", - "Thank you for your feedback.": "\u05ea\u05d5\u05d3\u05d4 \u05e2\u05dc \u05d4\u05de\u05e9\u05d5\u05d1 \u05e9\u05dc\u05da.", - "The hCaptcha user information page. Learn more about the service and accessibility options.": "\u05d3\u05e3 \u05e4\u05e8\u05d8\u05d9 \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05e9\u05dc hCaptcha. \u05dc\u05de\u05d9\u05d3\u05e2 \u05e0\u05d5\u05e1\u05e3 \u05e2\u05dc \u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05d4\u05e9\u05d9\u05e8\u05d5\u05ea \u05d5\u05d4\u05e0\u05d2\u05d9\u05e9\u05d5\u05ea.", - "The sitekey for this hCaptcha is incorrect. Please contact the site admin if you see this.": "\u05d4- Sitekey \u05e2\u05d1\u05d5\u05e8 hCaptcha \u05d6\u05d4 \u05d0\u05d9\u05e0\u05d5 \u05e0\u05db\u05d5\u05df. \u05d0\u05e0\u05d0 \u05e6\u05d5\u05e8 \u05e7\u05e9\u05e8 \u05e2\u05dd \u05de\u05e0\u05d4\u05dc \u05d4\u05d0\u05ea\u05e8 \u05d0\u05dd \u05d0\u05ea\u05d4 \u05e8\u05d5\u05d0\u05d4 \u05d6\u05d0\u05ea.", - "This hCaptcha is for testing only. Please contact the site admin if you see this.": "HCaptcha \u05d6\u05d4 \u05de\u05d9\u05d5\u05e2\u05d3 \u05dc\u05d1\u05d3\u05d9\u05e7\u05d4 \u05d1\u05dc\u05d1\u05d3. \u05d0\u05e0\u05d0 \u05e6\u05d5\u05e8 \u05e7\u05e9\u05e8 \u05e2\u05dd \u05de\u05e0\u05d4\u05dc \u05d4\u05d0\u05ea\u05e8 \u05d0\u05dd \u05d0\u05ea\u05d4 \u05e8\u05d5\u05d0\u05d4 \u05d6\u05d0\u05ea.", - "This lets you avoid future questions by registering and setting a cookie.": "\u05d6\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8 \u05dc\u05da \u05dc\u05d4\u05d9\u05de\u05e0\u05e2 \u05de\u05e9\u05d0\u05dc\u05d5\u05ea \u05e2\u05ea\u05d9\u05d3\u05d9\u05d5\u05ea \u05e2\u05dc \u05d9\u05d3\u05d9 \u05e8\u05d9\u05e9\u05d5\u05dd \u05d5\u05d4\u05d2\u05d3\u05e8\u05ea \u05e7\u05d5\u05d1\u05e5 cookie.", - "Too Difficult": "\u05e7\u05e9\u05d4 \u05de\u05d9\u05d3\u05d9", - "View our accessibility option.": "\u05e6\u05e4\u05d5 \u05d1\u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05d4\u05e0\u05d2\u05d9\u05e9\u05d5\u05ea \u05e9\u05dc\u05e0\u05d5.", - "We will look into the issue immediately.": "\u05e0\u05d1\u05d3\u05d5\u05e7 \u05d0\u05ea \u05d4\u05e0\u05d5\u05e9\u05d0 \u05d1\u05d0\u05d5\u05e4\u05df \u05de\u05d9\u05d9\u05d3\u05d9.", - "We'll resolve your issue as quickly as we can.": "\u05d0\u05e0\u05d5 \u05e0\u05e4\u05ea\u05d5\u05e8 \u05d0\u05ea \u05d4\u05d1\u05e2\u05d9\u05d4 \u05d1\u05de\u05d4\u05d9\u05e8\u05d5\u05ea \u05d4\u05d0\u05e4\u05e9\u05e8\u05d9\u05ea.", - "hCaptcha Privacy Policy": "\u05de\u05d3\u05d9\u05e0\u05d9\u05d5\u05ea \u05d4\u05e4\u05e8\u05d8\u05d9\u05d5\u05ea \u05e9\u05dc hCaptcha", - "hCaptcha Terms of Service": "\u05ea\u05e0\u05d0\u05d9 \u05d4\u05e9\u05d9\u05e8\u05d5\u05ea \u05e9\u05dc hCaptcha", - "hCaptcha checkbox. Select in order to trigger the challenge, or to bypass it if you have an accessibility cookie.": "\u05ea\u05d9\u05d1\u05ea \u05d4\u05e1\u05d9\u05de\u05d5\u05df hCaptcha. \u05d1\u05d7\u05e8 \u05db\u05d3\u05d9 \u05dc\u05e2\u05d5\u05e8\u05e8 \u05d0\u05ea \u05d4\u05d0\u05ea\u05d2\u05e8 \u05d0\u05d5 \u05dc\u05e2\u05e7\u05d5\u05e3 \u05d0\u05d5\u05ea\u05d5 \u05d0\u05dd \u05d9\u05e9 \u05dc\u05da \u05e2\u05d5\u05d2\u05d9\u05d9\u05ea \u05e0\u05d2\u05d9\u05e9\u05d5\u05ea.", - "hCaptcha checkbox. You are verified I am human.": "\u05ea\u05d9\u05d1\u05ea \u05d4\u05e1\u05d9\u05de\u05d5\u05df hCaptcha. \u05d0\u05ea\u05d4 \u05de\u05d0\u05d5\u05de\u05ea \u05e9\u05d0\u05e0\u05d9 \u05d0\u05e0\u05d5\u05e9\u05d9.", - "hCaptcha is a service that reduces bots and spam by asking simple questions. Please follow the instructions at the top of the screen for each challenge. For more info visit": "hCaptcha \u05d4\u05d5\u05d0 \u05e9\u05d9\u05e8\u05d5\u05ea \u05e9\u05de\u05e4\u05d7\u05d9\u05ea \u05d1\u05d5\u05d8\u05d9\u05dd \u05d5\u05e1\u05e4\u05d0\u05dd \u05e2\u05dc \u05d9\u05d3\u05d9 \u05e9\u05d0\u05d9\u05dc\u05ea \u05e9\u05d0\u05dc\u05d5\u05ea \u05e4\u05e9\u05d5\u05d8\u05d5\u05ea. \u05d0\u05e0\u05d0 \u05e2\u05e7\u05d5\u05d1 \u05d0\u05d7\u05e8 \u05d4\u05d4\u05d5\u05e8\u05d0\u05d5\u05ea \u05d1\u05e8\u05d0\u05e9 \u05d4\u05de\u05e1\u05da \u05e2\u05d1\u05d5\u05e8 \u05db\u05dc \u05d0\u05ea\u05d2\u05e8. \u05dc\u05de\u05d9\u05d3\u05e2 \u05e0\u05d5\u05e1\u05e3 \u05d1\u05e7\u05e8\u05d5 \u05d1\u05d0\u05ea\u05e8", - "widget error message text": "\u05d8\u05e7\u05e1\u05d8 \u05d4\u05d5\u05d3\u05e2\u05ea \u05e9\u05d2\u05d9\u05d0\u05d4 \u05e9\u05dc widget", - "widget warning message text": "\u05d8\u05e7\u05e1\u05d8 \u05d4\u05d5\u05d3\u05e2\u05ea \u05d0\u05d6\u05d4\u05e8\u05d4 \u05e9\u05dc \u05e8\u05db\u05d9\u05d1 widget" -} \ No newline at end of file diff --git a/languages/jw.json b/languages/jv.json similarity index 100% rename from languages/jw.json rename to languages/jv.json diff --git a/package.json b/package.json index 52bf593..9e88873 100644 --- a/package.json +++ b/package.json @@ -14,5 +14,10 @@ "homepage": "https://github.com/hCaptcha/hcaptcha-i18n#readme", "dependencies": { "require-directory": "^2.1.1" - } + }, + "files": [ + "index.js", + "languages/", + "src/" + ] } diff --git a/src/translation_codes.json b/src/translation_codes.json new file mode 100644 index 0000000..3bf79aa --- /dev/null +++ b/src/translation_codes.json @@ -0,0 +1,113 @@ +{ + "af" : "Afrikaans", + "sq" : "Albanian", + "am" : "Amharic", + "sq" : "Arabic", + "hy" : "Armenian", + "az" : "Azerbaijani", + "eu" : "Basque", + "be" : "Belarusian", + "bn" : "Bengali", + "bg" : "Bulgarian", + "bs" : "Bosnian", + "my" : "Burmese", + "ca" : "Catalan", + "ceb" : "Cebuano", + "zh" : "Chinese", + "zh-CN" : "Chinese_PRC", + "zh-TW" : "Chinese_Taiwan", + "co" : "Corsican", + "hr" : "Croatian", + "cs" : "Czech", + "da" : "Danish", + "nl" : "Dutch", + "eo" : "Esperanto", + "et" : "Estonian", + "fa" : "Farsi", + "fi" : "Finnish", + "fr" : "French", + "fy" : "Frisian", + "gd" : "Gaelic", + "gl" : "Galacian", + "ka" : "Georgian", + "de" : "German", + "el" : "Greek", + "gu" : "Gujurati", + "ht" : "Haitian", + "ha" : "Hausa", + "haw" : "Hawaiian", + "he" : "Hebrew", // Why TWO? + "iw" : "Hebrew", + "hi" : "Hindi", + "hmn" : "Hmong", + "hu" : "Hungarian", + "is" : "Icelandic", + "ig" : "Igbo", + "id" : "Indonesian", + "ga" : "Irish", + "it" : "Italian", + "ja" : "Japanese", + "jv" : "Javanese", + "kn" : "Kannada", + "kk" : "Kazakh", + "km" : "Khmer", + "rw" : "Kinyarwanda", + "ky" : "Kirghiz", + "ko" : "Korean", + "ku" : "Kurdish", + "lo" : "Lao", + "la" : "Latin", + "lv" : "Latvian", + "lt" : "Lithuanian", + "lb" : "Luxembourgish", + "mk" : "Macedonian", + "mg" : "Malagasy", + "ms" : "Malay", + "ml" : "Malayalam", + "mt" : "Maltese", + "mi" : "Maori", + "mr" : "Marathi", + "mn" : "Mongolian", + "ne" : "Nepali", + "no" : "Norwegian", + "ny" : "Nyanja", + "or" : "Oriya", + "fa" : "Persian", + "pl" : "Polish", + "pt" : "Portuguese", + "ps" : "Pashto", + "pa" : "Punjabi", + "ro" : "Romanian", + "ru" : "Russian", + "sm" : "Samoan", + "sn" : "Shona", + "sd" : "Sindhi", + "si" : "Singhalese", + "sr" : "Serbian", + "sk" : "Slovak", + "sl" : "Slovenian", + "so" : "Somani", + "st" : "Sotho_Southern", + "es" : "Spanish", + "su" : "Sundanese", + "sw" : "Swahili", + "sv" : "Swedish", + "tl" : "Tagalog", + "tg" : "Tajik", + "ta" : "Tamil", + "tt" : "Tatar", + "te" : "Teluga", + "th" : "Thai", + "tr" : "Turkish", + "tk" : "Turkmen", + "ug" : "Uyghur", + "uk" : "Ukrainian", + "ur" : "Urdu", + "uz" : "Uzbek", + "vi" : "Vietnamese", + "cy" : "Welsh", + "xh" : "Xhosa", + "yi" : "Yiddish", + "yo" : "Yoruba", + "zu" : "Zulu" +}; \ No newline at end of file