Microsoft has acquired GitHub. Decentraleyes has left GitHub. Welcome to its new home!

To participate, please register, or sign in with an existing GitLab.com, Bitbucket, or GitHub account.

Past contributions on GitHub? Be sure to reclaim your Comments, Issues, and Pull Requests.

Verified Commit 98954fcd authored by Thomas Rientjes's avatar Thomas Rientjes
Browse files

Update and refactor existing codebase

parent 9e65ecba
......@@ -48,7 +48,7 @@
"description": "Disable prefetch description."
},
"stripMetadataTitle": {
"message": "মেটাডাটা সরাও বৈধ রিকোয়েস্ট থেকে",
"message": "বৈধ রিকোয়েস্ট থেকে মেটাডাটা সরাও",
"description": "Strip metadata title."
},
"stripMetadataDescription": {
......
{
"extensionDescription": {
"message": "Suojaa sinua \"ilmaisten\" keskitettyjen sisällön jakeluverkkojen jäljitykseltä.",
"message": "Suojaa seurannalta \"ilmaisen\", keskitetyn sisällön jakelun välityksellä.",
"description": "Extension description."
},
"disableProtectionTitle": {
"message": "Poista suojaus tältä sivustolta",
"message": "Poista suojaus käytöstä tällä sivustolla",
"description": "Disable protection title."
},
"enableProtectionTitle": {
......@@ -12,11 +12,11 @@
"description": "Enable protection title."
},
"amountInjectedTitle": {
"message": "Korvatut pyynnöt",
"message": "Paikallisesti korvattua resurssia",
"description": "Amount injected title."
},
"amountInjectedDescription": {
"message": "Korvatut sisältöpyynnöt lisäosan asennuksen jälkeen.",
"message": "Paikallisilla resursseilla korvattujen pyyntöjen määrä asennuksen jälkeen.",
"description": "Amount injected description."
},
"optionsTitle": {
......@@ -24,11 +24,11 @@
"description": "Options title."
},
"showIconBadgeTitle": {
"message": "Näytä kohteiden määrä kuvakkeessa",
"message": "Näytä tapahtumien määrä kuvakkeessa",
"description": "Show icon badge title."
},
"showIconBadgeDescription": {
"message": "Näyttää turvattujen kohteiden määrän lisäosan kuvakkeessa.",
"message": "Näyttää korvattujen resurssien määrän lisäosan kuvakkeessa.",
"description": "Show icon badge description."
},
"blockMissingTitle": {
......@@ -36,31 +36,31 @@
"description": "Block requests for missing resources title."
},
"blockMissingDescription": {
"message": "Estää pyynnöt jos paikallista sisältöä ei ole saatavilla.",
"message": "Estä kaapattu pyyntö, jos paikallista resurssia ei ole saatavilla.",
"description": "Block requests for missing resources description."
},
"disablePrefetchTitle": {
"message": "Estä linkkien esihaku",
"message": "Poista linkkien esihaku käytöstä",
"description": "Disable prefetch title."
},
"disablePrefetchDescription": {
"message": "Estä kiellettyjä sisältöpyyntöjä vuotamasta keskitettyihin jakeluverkkoihin.",
"message": "Estä kiellettyjä pyyntöjä vuotamasta jakeluverkkoihin.",
"description": "Disable prefetch description."
},
"stripMetadataTitle": {
"message": "Poista metatiedot sallituista sisältöpyynnöistä",
"message": "Poista metatiedot sallituista pyynnöistä",
"description": "Strip metadata title."
},
"stripMetadataDescription": {
"message": "Poista arkaluontoiset tiedot jakeluverkkojen sisältöpyynnöistä yksityisyyden parantamiseksi.",
"message": "Poista arkaluontoiset tiedot jakeluverkkojen pyynnöistä yksityisyyden parantamiseksi.",
"description": "Strip metadata description."
},
"whitelistedDomainsTitle": {
"message": "Poissulje verkkotunnukset",
"message": "Ohitettavat verkkotunnukset, joita ei käsitellä",
"description": "Whitelisted domains title."
},
"whitelistedDomainsDescription": {
"message": "Lisää verkkotunnus jottei sitä korvata. Erota rivit puolipisteellä (;).",
"message": "Lisää verkkotunnukset, joita et halua käsiteltävän. Erota useat verkkotunnukset puolipisteellä (;).",
"description": "Whitelisted domains description."
},
"advancedLabel": {
......
{
"extensionDescription": {
"message": "ਖੁਦ ਨੂੰ \"ਮੁਫ਼ਤ\", ਕੇਂਦਰੀਕ੍ਰਿਤ, ਸਮੱਗਰੀ ਪਹੁੰਚ ਰਾਹੀਂ ਟਰੈਕਿੰਗ ਤੋਂ ਸੁਰੱਖਿਅਤ ਕਰੋ।",
"description": "Extension description."
},
"disableProtectionTitle": {
"message": "ਇਸ ਸਾਈਟ ਲਈ ਸੁਰੱਖਿਆ ਅਸਮਰੱਥ ਕਰੋ",
"description": "Disable protection title."
},
"enableProtectionTitle": {
"message": "ਸੁਰੱਖਿਆ ਸਮਰੱਥ ਕਰੋ",
"description": "Enable protection title."
},
"amountInjectedTitle": {
"message": "ਲੋਕਲ ਪਾਏ ਸਰੋਤਾਂ ਦੀ ਗਿਣਤੀ",
"description": "Amount injected title."
},
"amountInjectedDescription": {
"message": "ਇੰਸਟਾਲੇਸ਼ਨ ਦੇ ਬਾਅਦ ਲੋਕਲ ਸਮੱਗਰੀ ਡਿਲਵਰੀ ਨੈੱਟਵਰਕ ਸਰੋਤਾਂ ਦੀ ਮਾਤਰਾ ਹੈ।",
"description": "Amount injected description."
},
"optionsTitle": {
"message": "ਚੋਣਾਂ",
"description": "Options title."
},
"showIconBadgeTitle": {
"message": "ਆਈਕਾਨ ਉੱਤੇ ਪਾਇਆ ਦੀ ਗਿਣਤੀ ਵੇਖਾਓ",
"description": "Show icon badge title."
},
"showIconBadgeDescription": {
"message": "Show the number of injected resources on the extension icon.",
"description": "Show icon badge description."
},
"blockMissingTitle": {
"message": "Block requests for missing resources",
"description": "Block requests for missing resources title."
},
"blockMissingDescription": {
"message": "Cancel intercepted request if the required resource is not locally available.",
"description": "Block requests for missing resources description."
},
"disablePrefetchTitle": {
"message": "Disable link prefetching",
"description": "Disable prefetch title."
},
"disablePrefetchDescription": {
"message": "Prevent disallowed requests from leaking out to delivery networks.",
"description": "Disable prefetch description."
},
"stripMetadataTitle": {
"message": "Strip metadata from allowed requests",
"description": "Strip metadata title."
},
"stripMetadataDescription": {
"message": "Erase sensitive data from allowed CDN requests for improved privacy.",
"description": "Strip metadata description."
},
"whitelistedDomainsTitle": {
"message": "Exclude domains from inspections",
"description": "Whitelisted domains title."
},
"whitelistedDomainsDescription": {
"message": "Enter domains to whitelist them. Separate multiple entries with semi-colons (;).",
"description": "Whitelisted domains description."
},
"advancedLabel": {
"message": "ਤਕਨੀਕੀ",
"description": "Advanced label."
}
}
{
"extensionDescription": {
"message": "Protects you against tracking through \"free\", centralized, content delivery.",
"description": "Extension description."
},
"disableProtectionTitle": {
"message": "මෙම අඩවිය සඳහා ආරක්ෂාව අබල කරන්න",
"description": "Disable protection title."
},
"enableProtectionTitle": {
"message": "ආරක්ෂාව සබල කරන්න",
"description": "Enable protection title."
},
"amountInjectedTitle": {
"message": "Counter for locally injected resources",
"description": "Amount injected title."
},
"amountInjectedDescription": {
"message": "Amount of local Content Delivery Network resource injections since installation.",
"description": "Amount injected description."
},
"optionsTitle": {
"message": "විකල්ප",
"description": "Options title."
},
"showIconBadgeTitle": {
"message": "Display injection counts on icon",
"description": "Show icon badge title."
},
"showIconBadgeDescription": {
"message": "Show the number of injected resources on the extension icon.",
"description": "Show icon badge description."
},
"blockMissingTitle": {
"message": "Block requests for missing resources",
"description": "Block requests for missing resources title."
},
"blockMissingDescription": {
"message": "Cancel intercepted request if the required resource is not locally available.",
"description": "Block requests for missing resources description."
},
"disablePrefetchTitle": {
"message": "Disable link prefetching",
"description": "Disable prefetch title."
},
"disablePrefetchDescription": {
"message": "Prevent disallowed requests from leaking out to delivery networks.",
"description": "Disable prefetch description."
},
"stripMetadataTitle": {
"message": "Strip metadata from allowed requests",
"description": "Strip metadata title."
},
"stripMetadataDescription": {
"message": "Erase sensitive data from allowed CDN requests for improved privacy.",
"description": "Strip metadata description."
},
"whitelistedDomainsTitle": {
"message": "Exclude domains from inspections",
"description": "Whitelisted domains title."
},
"whitelistedDomainsDescription": {
"message": "Enter domains to whitelist them. Separate multiple entries with semi-colons (;).",
"description": "Whitelisted domains description."
},
"advancedLabel": {
"message": "වැඩිදුර",
"description": "Advanced label."
}
}
{
"extensionDescription": {
"message": "Ju mbron ju ndaj gjurmimet nëpërmjet dërguesve të përmbajtjeve \"Falas\" të çentralizuara.",
"description": "Extension description."
},
"disableProtectionTitle": {
"message": "Ndalo mbrojtjen për këtë faqe",
"description": "Disable protection title."
},
"enableProtectionTitle": {
"message": "Mundëso mbrojtjen",
"description": "Enable protection title."
},
"amountInjectedTitle": {
"message": "Numëruesi për burimet e injektuara lokalisht",
"description": "Amount injected title."
},
"amountInjectedDescription": {
"message": "Sasia e burimeve te injektuara lokalisht që prej instalimit.",
"description": "Amount injected description."
},
"optionsTitle": {
"message": "Mundësitë",
"description": "Options title."
},
"showIconBadgeTitle": {
"message": "Shfaq numrin e injektimeve tek ikona",
"description": "Show icon badge title."
},
"showIconBadgeDescription": {
"message": "Shfaq numrin e burimeve te injektuara tek ikona shtojcë.",
"description": "Show icon badge description."
},
"blockMissingTitle": {
"message": "Blloko kërkesat për burimet e munguara",
"description": "Block requests for missing resources title."
},
"blockMissingDescription": {
"message": "Anullo kërkesat e kapura nësë burimi i kërkuar nuk gjendet lokalisht.",
"description": "Block requests for missing resources description."
},
"disablePrefetchTitle": {
"message": "Ndalo parapërgatitjen e faqes",
"description": "Disable prefetch title."
},
"disablePrefetchDescription": {
"message": "Parandalo kërkesat e pa lejuara të rrjedhin të dhëna tek rrjetet dërguese.",
"description": "Disable prefetch description."
},
"stripMetadataTitle": {
"message": "Hiq etiketat nga kërkesat e lejuara",
"description": "Strip metadata title."
},
"stripMetadataDescription": {
"message": "Për një privatësi më të mirë, fshi të dhënat sensitive nga kërkesat e CDN të lejuara.",
"description": "Strip metadata description."
},
"whitelistedDomainsTitle": {
"message": "Përjashto domain -et nga kontrollet",
"description": "Whitelisted domains title."
},
"whitelistedDomainsDescription": {
"message": "Vendos domain -et që do të lejosh. Ndaji ato me pikëpresje (;).",
"description": "Whitelisted domains description."
},
"advancedLabel": {
"message": "I përparuar",
"description": "Advanced label."
}
}
#
# Your Crowdin credentials
# API Configuration
#
"project_id" : "153483"
"base_path" : "."
"base_url" : "https://api.crowdin.com"
#
# Choose file structure in Crowdin
# e.g. true or false
# Directory Configuration
#
"preserve_hierarchy": true
"preserve_hierarchy" : true
#
# Files configuration
# File Configuration
#
files: [
{
#
# Source files filter
# e.g. "/resources/en/*.json"
#
"source" : "/_locales/en_US/messages.json",
#
# Where translations will be placed
# e.g. "/resources/%two_letters_code%/%original_file_name%"
#
"translation" : "/_locales/%locale_with_underscore%/messages.json",
#
# Files or directories for ignore
# e.g. ["/**/?.txt", "/**/[0-9].txt", "/**/*\?*.txt"]
#
#"ignore" : [],
#
# The dest allows you to specify a file name in Crowdin
# e.g. "/messages.json"
#
#"dest" : "",
#
# File type
# e.g. "json"
#
#"type" : "",
#
# The parameter "update_option" is optional. If it is not set, after the files update the translations for changed strings will be removed. Use to fix typos and for minor changes in the source strings
# e.g. "update_as_unapproved" or "update_without_changes"
#
#"update_option" : "",
#
# Start block (for XML only)
#
#
# Defines whether to translate tags attributes.
# e.g. 0 or 1 (Default is 1)
#
# "translate_attributes" : 1,
files: [{
#
# Defines whether to translate texts placed inside the tags.
# e.g. 0 or 1 (Default is 1)
#
# "translate_content" : 1,
#
# This is an array of strings, where each item is the XPaths to DOM element that should be imported
# e.g. ["/content/text", "/content/text[@value]"]
#
# "translatable_elements" : [],
#
# Defines whether to split long texts into smaller text segments
# e.g. 0 or 1 (Default is 1)
#
# "content_segmentation" : 1,
#
# End block (for XML only)
#
#
# Start .properties block
#
#
# Defines whether single quote should be escaped by another single quote or backslash in exported translations
# e.g. 0 or 1 or 2 or 3 (Default is 3)
# 0 - do not escape single quote;
# 1 - escape single quote by another single quote;
# 2 - escape single quote by backslash;
# 3 - escape single quote by another single quote only in strings containing variables ( {0} ).
#
# "escape_quotes" : 3,
#
# Defines whether any special characters (=, :, ! and #) should be escaped by backslash in exported translations.
# e.g. 0 or 1 (Default is 0)
# 0 - do not escape special characters
# 1 - escape special characters by a backslash
#
# "escape_special_characters": 0
#
#
# End .properties block
#
"source" : "/_locales/en_US/messages.json",
"translation" : "/_locales/%locale_with_underscore%/messages.json",
"export_only_approved" : true,
#
# Often software projects have custom names for the directories where translations are placed. crowdin-cli allows you to map your own languages to be understandable by Crowdin.
#
"languages_mapping" : {
"locale_with_underscore" : {
"ar": "ar",
"bg": "bg",
"bn": "bn",
"ca": "ca",
"cs": "cs",
"da": "da",
"de": "de",
"el": "el",
"eo": "eo",
"es-ES": "es",
"et": "et",
"fi": "fi",
"fr": "fr",
"he": "he",
"hr": "hr",
"hu": "hu",
"id": "id",
"is": "is",
"it": "it",
"ja": "ja",
"ko": "ko",
"lb": "lb",
"nl": "nl",
"pl": "pl",
"ro": "ro",
"ru": "ru",
"sr": "sr",
"sv-SE": "sv",
"tl": "tl",
"tr": "tr",
"uk": "uk",
}
},
#
# Does the first line contain header?
# e.g. true or false
#
#"first_line_contains_header" : true,
#
# for spreadsheets
# e.g. "identifier,source_phrase,context,uk,ru,fr"
#
# "scheme" : "",
}
]
"ar" : "ar",
"bg" : "bg",
"bn" : "bn",
"ca" : "ca",
"cs" : "cs",
"da" : "da",
"de" : "de",
"el" : "el",
"eo" : "eo",
"es-ES" : "es",
"et" : "et",
"fi" : "fi",
"fr" : "fr",
"he" : "he",
"hr" : "hr",
"hu" : "hu",
"id" : "id",
"is" : "is",
"it" : "it",
"ja" : "ja",
"ko" : "ko",
"lb" : "lb",
"nb" : "nb",
"nl" : "nl",
"pa-IN" : "pa",
"pl" : "pl",
"ro" : "ro",
"ru" : "ru",
"si-LK" : "si",
"sq" : "sq",
"sr" : "sr",
"sv-SE" : "sv",
"tl" : "tl",
"tr" : "tr",
"uk" : "uk"
}
}
}]
......@@ -115,9 +115,10 @@ helpers.languageIsFullySupported = function (language) {
languageSupported = false;
supportedLanguages = [
'ar', 'bn', 'bg', 'zh', 'hr', 'cs', 'da', 'nl', 'en', 'eo',
'et', 'fi', 'fr', 'de', 'el', 'he', 'hu', 'is', 'id', 'it',
'ja', 'ko', 'nb', 'pl', 'pt', 'ro', 'ru', 'es', 'sv', 'tr'
'ar', 'bg', 'bn', 'cs', 'da', 'de', 'el', 'en',
'eo', 'es', 'et', 'fi', 'fr', 'he', 'hr', 'hu',
'id', 'is', 'it', 'ja', 'ko', 'nb', 'nl', 'pl',
'pt', 'ro', 'ru', 'sq', 'sv', 'tr', 'zh'
];
for (let supportedLanguage of supportedLanguages) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment