diff --git a/scripts/find-hardcoded-text.ts b/scripts/find-hardcoded-text.ts index 3e1dd6e..299ecf4 100644 --- a/scripts/find-hardcoded-text.ts +++ b/scripts/find-hardcoded-text.ts @@ -153,8 +153,9 @@ function scanDirectory(dirPath: string): HardcodedText[] { continue; } - // Validate safeName to prevent path traversal and unsafe characters - if (safeName.includes('..') || /[^a-zA-Z0-9._-]/.test(safeName)) { + // Validate safeName to prevent path traversal + // Allow SvelteKit file naming patterns: +page.svelte, [lang], (sections), etc. + if (safeName.includes('..')) { console.error(`Unsafe file or directory name blocked: ${safeName}`); continue; } diff --git a/src/lib/i18n/translations/en/diagnostics/dns-dmarc-check.json b/src/lib/i18n/translations/en/diagnostics/dns-dmarc-check.json index 51f8517..f4ea41c 100644 --- a/src/lib/i18n/translations/en/diagnostics/dns-dmarc-check.json +++ b/src/lib/i18n/translations/en/diagnostics/dns-dmarc-check.json @@ -1,28 +1,190 @@ { - "title": "DMARC Record Checker", - "description": "Check and validate DMARC (Domain-based Message Authentication) records", + "title": "DMARC Policy Checker", + "subtitle": "Analyze DMARC (Domain-based Message Authentication, Reporting & Conformance) policies. Check policy configuration, alignment settings, and identify potential security issues.", + + "examples": { + "title": "DMARC Examples", + "items": { + "google": { + "domain": "google.com", + "description": "Google DMARC policy", + "tooltip": "Check DMARC policy for google.com (Google DMARC policy)" + }, + "github": { + "domain": "github.com", + "description": "GitHub enterprise DMARC", + "tooltip": "Check DMARC policy for github.com (GitHub enterprise DMARC)" + }, + "microsoft": { + "domain": "microsoft.com", + "description": "Microsoft DMARC configuration", + "tooltip": "Check DMARC policy for microsoft.com (Microsoft DMARC configuration)" + }, + "paypal": { + "domain": "paypal.com", + "description": "PayPal strict DMARC policy", + "tooltip": "Check DMARC policy for paypal.com (PayPal strict DMARC policy)" + }, + "amazon": { + "domain": "amazon.com", + "description": "Amazon DMARC implementation", + "tooltip": "Check DMARC policy for amazon.com (Amazon DMARC implementation)" + }, + "salesforce": { + "domain": "salesforce.com", + "description": "Salesforce DMARC setup", + "tooltip": "Check DMARC policy for salesforce.com (Salesforce DMARC setup)" + } + } + }, "form": { - "title": "DMARC Check", - "domain": { - "label": "Domain", - "placeholder": "example.com" - }, - "check": "Check DMARC", - "checking": "Checking...", - "error": "Please enter a domain" + "title": "DMARC Policy Check", + "domainLabel": "Domain Name", + "domainTooltip": "Enter the domain to check DMARC policy for", + "domainPlaceholder": "example.com", + "checkButton": "Check DMARC Policy", + "checking": "Checking DMARC..." }, "results": { - "title": "DMARC Record Results", - "found": "DMARC Record Found", - "not_found": "DMARC Record Not Found", - "policy": "Policy", - "subdomain_policy": "Subdomain Policy", - "percentage": "Percentage", - "rua": "Aggregate Reports (RUA)", - "ruf": "Forensic Reports (RUF)", - "valid": "Valid", - "invalid": "Invalid" + "title": "DMARC Policy Analysis", + "copy": "Copy Results", + "copied": "Copied!", + + "status": { + "secure": "DMARC Configuration Secure", + "issuesFound": "DMARC Issues Found", + "needsImprovement": "DMARC Needs Improvement", + "noCriticalIssues": "No critical issues detected", + "issuesIdentified": "{count} issue{plural} identified" + }, + + "recordSection": { + "title": "DMARC Record", + "location": "_dmarc.{domain}" + }, + + "policyConfiguration": { + "title": "Policy Configuration", + "mainPolicy": "Main Policy", + "subdomainPolicy": "Subdomain Policy", + "coverage": "Coverage", + "dkimAlignment": "DKIM Alignment", + "spfAlignment": "SPF Alignment", + "failureOptions": "Failure Options", + + "policies": { + "reject": "Reject non-compliant messages", + "quarantine": "Quarantine suspicious messages", + "none": "Monitor only, no action", + "unknown": "Unknown policy" + }, + + "alignment": { + "strict": "Strict", + "relaxed": "Relaxed", + "strictDescription": "Exact domain match", + "relaxedDescription": "Organizational domain match" + }, + + "coverageDescription": "of messages affected", + + "failureOptionsDescriptions": { + "both": "DKIM and SPF failure", + "any": "Any alignment failure", + "dkim": "DKIM failure only", + "spf": "SPF failure only", + "custom": "Custom configuration" + } + }, + + "reporting": { + "title": "Reporting Configuration", + "aggregateReports": "Aggregate Reports (RUA)", + "forensicReports": "Forensic Reports (RUF)", + "notConfigured": "Not configured" + }, + + "issues": { + "title": "Issues & Recommendations", + "messages": { + "policyNone": "Policy is set to \"none\" - no action taken on DMARC failures", + "relaxedAlignment": "Both DKIM and SPF alignment are relaxed - consider strict alignment", + "noAggregateReporting": "No aggregate reporting address (rua) specified", + "noForensicReporting": "No forensic reporting address (ruf) specified", + "partialCoverage": "Only {percentage}% of messages are subject to DMARC policy" + }, + "severityLevels": { + "high": "HIGH", + "medium": "MEDIUM", + "low": "LOW" + } + } + }, + + "noRecord": { + "title": "No DMARC Record Found", + "message": "Domain {domain} does not have a DMARC policy configured at {dmarcDomain}.", + "helpText": "This means the domain is not protected by DMARC. Consider implementing a DMARC policy to prevent email spoofing." + }, + + "error": { + "title": "DMARC Check Failed", + "lookupFailed": "DMARC check failed: {status}", + "unknownError": "Unknown error occurred" + }, + + "copy": { + "header": "DMARC Check for {domain}", + "generatedAt": "Generated at: {timestamp}", + "recordLabel": "DMARC Record:", + "parsedPolicyLabel": "Parsed Policy:", + "mainPolicyLabel": "Main Policy:", + "subdomainPolicyLabel": "Subdomain Policy:", + "dkimAlignmentLabel": "DKIM Alignment:", + "spfAlignmentLabel": "SPF Alignment:", + "percentageLabel": "Percentage:", + "aggregateReportsLabel": "Aggregate Reports:", + "forensicReportsLabel": "Forensic Reports:", + "failureOptionsLabel": "Failure Options:", + "issuesFoundLabel": "Issues Found:", + "noIssuesFound": "No issues found - DMARC configuration looks good!", + "alignmentStrict": "strict", + "alignmentRelaxed": "relaxed" + }, + + "educational": { + "title": "Understanding DMARC", + + "policies": { + "title": "DMARC Policies", + "none": "Monitor mode - collect data but take no action on failures", + "quarantine": "Mark suspicious messages, often sent to spam folder", + "reject": "Reject non-compliant messages outright (strongest security)" + }, + + "alignmentModes": { + "title": "Alignment Modes", + "relaxed": "Allows organizational domain matching (default)", + "strict": "Requires exact domain matching (more secure)" + }, + + "reportingTypes": { + "title": "Reporting Types", + "aggregate": "Daily summary reports of DMARC activity", + "forensic": "Real-time failure reports with message samples" + }, + + "bestPractices": { + "title": "Best Practices", + "items": { + "startMonitoring": "Start with p=none to monitor before enforcement", + "gradualEnforcement": "Gradually increase to p=quarantine then p=reject", + "setupReporting": "Set up aggregate reporting to monitor DMARC activity", + "strictAlignment": "Use strict alignment for enhanced security when possible", + "subdomainPolicy": "Consider subdomain policy for comprehensive coverage" + } + } } } diff --git a/src/lib/i18n/translations/en/diagnostics/dns-dnssec-validation-chain.json b/src/lib/i18n/translations/en/diagnostics/dns-dnssec-validation-chain.json index c675d3e..b607a4c 100644 --- a/src/lib/i18n/translations/en/diagnostics/dns-dnssec-validation-chain.json +++ b/src/lib/i18n/translations/en/diagnostics/dns-dnssec-validation-chain.json @@ -1,27 +1,124 @@ { - "title": "DNSSEC Validation Chain", - "description": "Trace and validate the DNSSEC chain of trust for a domain", + "title": "DNSSEC Validation Chain Checker", + "subtitle": "Validate DNSSEC chain from root to domain, verify DS/DNSKEY matching and RRSIG signatures", + + "examples": { + "title": "Quick Examples", + "items": { + "govuk": { + "domain": "gov.uk", + "description": "UK Government (DNSSEC Enabled)", + "tooltip": "Check DNSSEC for gov.uk" + }, + "cloudflare": { + "domain": "cloudflare.com", + "description": "Cloudflare (DNSSEC Enabled)", + "tooltip": "Check DNSSEC for cloudflare.com" + }, + "failed": { + "domain": "dnssec-failed.org", + "description": "DNSSEC Failed Test", + "tooltip": "Check DNSSEC for dnssec-failed.org" + }, + "google": { + "domain": "google.com", + "description": "Google (DNSSEC Enabled)", + "tooltip": "Check DNSSEC for google.com" + }, + "isc": { + "domain": "isc.org", + "description": "ISC (DNSSEC Pioneer)", + "tooltip": "Check DNSSEC for isc.org" + }, + "ietf": { + "domain": "ietf.org", + "description": "IETF (DNSSEC Enabled)", + "tooltip": "Check DNSSEC for ietf.org" + } + } + }, "form": { - "title": "DNSSEC Chain Validation", - "domain": { - "label": "Domain", - "placeholder": "example.com" - }, - "validate": "Validate DNSSEC Chain", - "validating": "Validating...", - "error": "Please enter a domain" + "title": "Domain Name", + "domainLabel": "Domain to Validate", + "domainPlaceholder": "example.com", + "validateButton": "Validate DNSSEC Chain", + "validating": "Validating..." + }, + + "loading": { + "title": "Validating DNSSEC Chain", + "message": "Querying DNS records from root to {domain}..." + }, + + "error": { + "title": "Validation Failed", + "invalidDomain": "Please enter a valid domain name", + "validationFailed": "DNSSEC validation failed", + "unexpectedError": "An unexpected error occurred" }, "results": { "title": "DNSSEC Validation Results", - "secure": "Secure", - "insecure": "Insecure", - "bogus": "Bogus", - "chain_valid": "Chain Valid", - "chain_broken": "Chain Broken", - "ds_records": "DS Records", - "dnskey_records": "DNSKEY Records", - "rrsig_records": "RRSIG Records" + "summary": { + "valid": "DNSSEC Valid", + "invalid": "DNSSEC Invalid", + "domain": "Domain:", + "chainLinks": "Chain Links:", + "validated": "Validated:", + "status": "Status:", + "secure": "Secure", + "brokenChain": "Broken Chain", + "errors": "Validation Errors:" + }, + "chain": { + "title": "DNSSEC Chain", + "level": "Level {level}", + "ds": { + "title": "DS Records", + "tooltip": "Delegation Signer records link this zone to the parent zone", + "keyTag": "Key Tag:", + "keyTagTooltip": "Identifier for the DNSKEY this DS record refers to", + "algorithm": "Algorithm:", + "algorithmTooltip": "Cryptographic algorithm used for signing", + "digestType": "Digest Type:", + "digestTypeTooltip": "Hash algorithm used to create the digest", + "hash": "Hash:", + "hashTooltip": "Hash of the DNSKEY record" + }, + "dnskey": { + "title": "DNSKEY Records", + "tooltip": "Public keys used to verify DNSSEC signatures", + "keyTag": "Key Tag:", + "keyTagTooltip": "Identifier for this DNSKEY", + "flags": "Flags:", + "flagsTooltip": "Key properties: 256=ZSK, 257=KSK", + "algorithm": "Algorithm:", + "algorithmTooltip": "Cryptographic algorithm used for signing", + "matchedDS": "Matched DS", + "matchedDSTooltip": "This DNSKEY matches a DS record in the parent zone", + "ksk": "KSK", + "kskTooltip": "Key Signing Key - signs other DNSKEYs", + "zsk": "ZSK", + "zskTooltip": "Zone Signing Key - signs zone data" + }, + "rrsig": { + "title": "RRSIG Records", + "tooltip": "Digital signatures created with DNSKEY to authenticate DNS data", + "typeCovered": "Type Covered:", + "typeCoveredTooltip": "DNS record type this signature covers", + "keyTag": "Key Tag:", + "keyTagTooltip": "Identifies which DNSKEY created this signature", + "signer": "Signer:", + "signerTooltip": "Zone that created this signature", + "valid": "Valid", + "validTooltip": "Signature is valid and within time window", + "invalid": "Invalid", + "invalidTooltip": "Signature is expired or not yet valid" + }, + "errors": { + "title": "Errors" + } + } } } diff --git a/src/lib/i18n/translations/en/diagnostics/email-dmarc-check.json b/src/lib/i18n/translations/en/diagnostics/email-dmarc-check.json index c96e275..9b069c1 100644 --- a/src/lib/i18n/translations/en/diagnostics/email-dmarc-check.json +++ b/src/lib/i18n/translations/en/diagnostics/email-dmarc-check.json @@ -1,78 +1,71 @@ { "title": "Email DMARC Policy Checker", - "subtitle": "Check DMARC (Domain-based Message Authentication, Reporting & Conformance) policies with focus on email deliverability impact. Understand how DMARC affects your email delivery and reputation.", - + "subtitle": "Check DMARC policy for email authentication, analyze deliverability impact, and get implementation recommendations", "examples": { "title": "DMARC Examples", "items": { "gmail": { "domain": "gmail.com", "description": "Google Gmail DMARC policy", - "tooltip": "Check DMARC policy for gmail.com" + "tooltip": "Check DMARC configuration for gmail.com" }, "outlook": { "domain": "outlook.com", "description": "Microsoft Outlook DMARC setup", - "tooltip": "Check DMARC policy for outlook.com" + "tooltip": "Check DMARC configuration for outlook.com" }, "github": { "domain": "github.com", "description": "GitHub enterprise DMARC", - "tooltip": "Check DMARC policy for github.com" + "tooltip": "Check DMARC configuration for github.com" }, "paypal": { "domain": "paypal.com", "description": "PayPal strict DMARC policy", - "tooltip": "Check DMARC policy for paypal.com" + "tooltip": "Check DMARC configuration for paypal.com" }, "amazon": { "domain": "amazon.com", "description": "Amazon DMARC implementation", - "tooltip": "Check DMARC policy for amazon.com" + "tooltip": "Check DMARC configuration for amazon.com" }, "salesforce": { "domain": "salesforce.com", "description": "Salesforce DMARC configuration", - "tooltip": "Check DMARC policy for salesforce.com" + "tooltip": "Check DMARC configuration for salesforce.com" } } }, - "form": { "title": "DMARC Policy Check", "domainLabel": "Domain Name", "domainPlaceholder": "example.com", - "checking": "Checking DMARC...", - "checkButton": "Check DMARC Policy" + "checkButton": "Check DMARC Policy", + "checking": "Checking DMARC..." }, - "results": { "title": "DMARC Policy Analysis", "copyButton": "Copy Results", "copied": "Copied!", - "deliverability": { "title": "Email Deliverability Impact", "recommendations": "Deliverability Recommendations" }, - "record": { "title": "DMARC Record" }, - "policy": { "title": "Policy Configuration", "mainPolicy": "Main Policy", "subdomainPolicy": "Subdomain Policy", - "coverage": "Coverage", - "coverageDescription": "of messages affected", + "coverage": "Coverage Percentage", + "coverageDescription": "Percentage of mail subject to policy", "dkimAlignment": "DKIM Alignment", "spfAlignment": "SPF Alignment", - "failureOptions": "Failure Options", - + "failureOptions": "Failure Reporting Options", "values": { - "reject": "Reject non-compliant messages", - "quarantine": "Quarantine suspicious messages", + "reject": "Block all unauthorized emails", + "quarantine": "Mark as spam/junk", "none": "Monitor only, no action", "unknown": "Unknown policy", "strict": "Strict", @@ -80,16 +73,14 @@ "strictDescription": "Exact domain match required", "relaxedDescription": "Organizational domain match allowed" }, - "failureOptionsValues": { - "0": "DKIM and SPF failure", - "1": "Any alignment failure", - "d": "DKIM failure only", - "s": "SPF failure only", - "custom": "Custom configuration" + "0": "Generate reports if all mechanisms fail", + "1": "Generate reports if any mechanism fails", + "d": "Generate reports if DKIM check fails", + "s": "Generate reports if SPF check fails", + "custom": "Custom failure reporting configuration" } }, - "reporting": { "title": "Email Reporting Configuration", "aggregateTitle": "Aggregate Reports (RUA)", @@ -102,10 +93,9 @@ "forensicNotConfiguredHint": "Optional - provides detailed failure analysis" } }, - "noRecord": { "title": "No DMARC Record Found", - "message": "Domain {domain} does not have a DMARC policy configured at _dmarc.{domain}.", + "message": "No DMARC record was found for {domain}", "impactTitle": "Email Deliverability Impact:", "impacts": { "noProtection": "No protection against email spoofing", @@ -114,41 +104,36 @@ "recommendation": "Consider implementing DMARC starting with p=none for monitoring" } }, - "error": { "title": "DMARC Check Failed" }, - "education": { "title": "Understanding DMARC for Email Delivery", "policiesTitle": "DMARC Policies & Email Impact", "policies": { - "none": "none: Monitor mode - no delivery impact, collect data only", - "quarantine": "quarantine: Failed messages may go to spam/junk folder", - "reject": "reject: Failed messages rejected outright - strongest protection" + "none": "none: Monitoring mode - no action taken on failures, only reporting", + "quarantine": "quarantine: Failed emails are marked as spam or moved to quarantine", + "reject": "reject: Failed emails are rejected outright, strongest protection" }, - "bestPracticesTitle": "Email Delivery Best Practices", "bestPractices": { - "startNone": "Start with p=none to monitor before enforcement", - "gradual": "Gradually increase to p=quarantine then p=reject", - "reporting": "Set up aggregate reporting to monitor delivery", - "testAlignment": "Test alignment requirements carefully", - "subdomain": "Consider subdomain policy for comprehensive coverage" + "startNone": "Start with p=none to monitor without affecting email delivery", + "gradual": "Gradually move to p=quarantine, then p=reject as you fix issues", + "reporting": "Set up aggregate reporting (rua=) to track authentication results", + "testAlignment": "Test DKIM and SPF alignment before enforcing strict policies", + "subdomain": "Consider subdomain policy (sp=) if subdomains send email" }, - - "alignmentTitle": "Alignment Modes & Delivery", + "alignmentTitle": "Alignment Modes", "alignment": { - "relaxed": "Relaxed (r): Allows organizational domain matching (safer for delivery)", - "strict": "Strict (s): Requires exact domain matching (higher security, delivery risk)" + "relaxed": "Relaxed (r): Allows organizational domain matches (subdomain.example.com matches example.com)", + "strict": "Strict (s): Requires exact domain match for DKIM/SPF alignment" }, - - "issuesTitle": "Common Delivery Issues", + "issuesTitle": "Common Email Delivery Issues", "issues": { - "thirdParty": "Strict alignment with third-party senders", - "forwarding": "Forwarded emails failing DMARC checks", - "mailingLists": "Mailing lists modifying message headers", - "percentage": "Percentage rollout causing inconsistent delivery" + "thirdParty": "Third-party senders may fail if not properly configured in SPF/DKIM", + "forwarding": "Email forwarding can break SPF alignment", + "mailingLists": "Mailing lists may modify messages, breaking DKIM signatures", + "percentage": "Use pct= to gradually roll out enforcement (default 100%)" } } } diff --git a/src/lib/i18n/translations/en/diagnostics/rdap-asn.json b/src/lib/i18n/translations/en/diagnostics/rdap-asn.json index 9206746..10f7bea 100644 --- a/src/lib/i18n/translations/en/diagnostics/rdap-asn.json +++ b/src/lib/i18n/translations/en/diagnostics/rdap-asn.json @@ -1,28 +1,119 @@ { - "title": "RDAP ASN Lookup", - "description": "Look up registration data for an Autonomous System Number using RDAP", + "title": "ASN RDAP Lookup", + "subtitle": "Query Autonomous System Number allocation and registration data using RDAP through Regional Internet Registries. ASNs identify networks on the global Internet routing table and are essential for BGP routing operations.", + + "examples": { + "title": "Common ASN Examples", + "items": { + "google": { + "asn": "AS15169", + "description": "Google LLC - Major cloud provider", + "tooltip": "Perform RDAP lookup for AS15169 (Google LLC - Major cloud provider)" + }, + "cloudflare": { + "asn": "AS13335", + "description": "Cloudflare - CDN and security services", + "tooltip": "Perform RDAP lookup for AS13335 (Cloudflare - CDN and security services)" + }, + "amazon": { + "asn": "AS16509", + "description": "Amazon.com - AWS cloud infrastructure", + "tooltip": "Perform RDAP lookup for AS16509 (Amazon.com - AWS cloud infrastructure)" + }, + "microsoft": { + "asn": "AS8075", + "description": "Microsoft Corporation - Azure cloud", + "tooltip": "Perform RDAP lookup for AS8075 (Microsoft Corporation - Azure cloud)" + }, + "meta": { + "asn": "AS32934", + "description": "Meta Platforms - Facebook services", + "tooltip": "Perform RDAP lookup for AS32934 (Meta Platforms - Facebook services)" + }, + "googleCloud": { + "asn": "AS396982", + "description": "Google Cloud Platform - Additional ranges", + "tooltip": "Perform RDAP lookup for AS396982 (Google Cloud Platform - Additional ranges)" + } + } + }, "form": { - "title": "ASN Lookup", - "asn": { - "label": "ASN", - "placeholder": "AS15169 or 15169" - }, - "lookup": "Lookup ASN", - "looking_up": "Looking up...", - "error": "Please enter a valid ASN" + "title": "RDAP Lookup Configuration", + "asnLabel": "Autonomous System Number", + "asnPlaceholder": "AS15169 or 15169", + "asnTooltip": "Enter an Autonomous System Number to query allocation data via RDAP", + "asnHint": "Supports both formats: AS15169 or 15169 (AS prefix is optional)", + "lookupButton": "Lookup ASN", + "performing": "Performing RDAP Lookup..." }, "results": { - "title": "ASN Registration Data", + "title": "RDAP Data for {asn}", + "copy": "Copy Raw JSON", + "copied": "Copied!", "asn": "ASN", - "name": "Name", - "country": "Country", - "registry": "Registry", - "registration_date": "Registration Date", - "last_updated": "Last Updated", - "status": "Status", - "entities": "Entities", - "remarks": "Remarks" + "asnTooltip": "The ASN that was queried", + "rdapService": "RDAP Service", + "rdapServiceTooltip": "RDAP service used for the query", + "notAvailable": "Not available", + "asnInfo": { + "title": "ASN Information", + "organizationName": "Organization Name:", + "type": "Type:", + "country": "Country:", + "registry": "Registry:" + }, + "allocation": { + "title": "Allocation Details", + "status": "Status:", + "allocationDate": "Allocation Date:", + "lastChanged": "Last Changed:" + }, + "contacts": { + "title": "Contact Information", + "registrant": "Registrant", + "administrative": "Administrative", + "technical": "Technical", + "abuse": "Abuse", + "contact": "Contact", + "handle": "Handle: {handle}" + } + }, + + "error": { + "title": "RDAP Lookup Failed", + "lookupFailed": "ASN RDAP lookup failed: {status}", + "troubleshooting": { + "title": "Troubleshooting Tips:", + "validFormat": "Ensure the ASN format is valid (e.g., AS15169 or just 15169)", + "asnExists": "Check if the ASN exists and is currently allocated", + "privateASN": "Private ASNs (64512-65534, 4200000000-4294967294) may not have public RDAP data", + "rateLimiting": "Some RIRs may have rate limiting or access restrictions", + "tryAgain": "Try again in a few moments if the service is temporarily unavailable" + } + }, + + "educational": { + "title": "About ASN RDAP Lookups", + "whatIsASN": { + "title": "What is an ASN?", + "description": "Autonomous System Numbers identify networks on the global Internet routing table and are essential for BGP routing operations. Each ASN represents a collection of IP address blocks under unified administrative control." + }, + "asnRanges": { + "title": "ASN Ranges by Registry", + "arin": "ARIN: AS1 - AS23551, AS393216 - AS394239", + "ripe": "RIPE NCC: AS24576 - AS25599, AS34816 - AS35839", + "apnic": "APNIC: AS23552 - AS24575, AS37888 - AS38911", + "lacnic": "LACNIC: AS26592 - AS27647, AS61440 - AS61951", + "afrinic": "AFRINIC: AS36864 - AS37887, AS327680 - AS328703" + }, + "whatYouGet": { + "title": "What You'll Get", + "organization": "Organization name and type", + "country": "Country of registration", + "allocation": "Allocation date and status", + "contacts": "Contact information (admin, technical, abuse)" + } } } diff --git a/src/lib/i18n/translations/en/diagnostics/rdap-domain.json b/src/lib/i18n/translations/en/diagnostics/rdap-domain.json index 7a05e48..70c26ed 100644 --- a/src/lib/i18n/translations/en/diagnostics/rdap-domain.json +++ b/src/lib/i18n/translations/en/diagnostics/rdap-domain.json @@ -1,31 +1,119 @@ { - "title": "RDAP Domain Lookup", - "description": "Look up registration data for a domain name using RDAP", + "title": "Domain RDAP Lookup", + "subtitle": "Query domain registration data using RDAP (Registration Data Access Protocol). RDAP is the modern successor to WHOIS, providing structured JSON responses through IANA bootstrap registry routing.", + + "examples": { + "title": "Common Domain Examples", + "items": { + "example": { + "domain": "example.com", + "description": "Example domain for testing", + "tooltip": "Perform RDAP lookup for example.com (Example domain for testing)" + }, + "google": { + "domain": "google.com", + "description": "Popular domain with comprehensive records", + "tooltip": "Perform RDAP lookup for google.com (Popular domain with comprehensive records)" + }, + "github": { + "domain": "github.com", + "description": "Tech company domain", + "tooltip": "Perform RDAP lookup for github.com (Tech company domain)" + }, + "stackoverflow": { + "domain": "stackoverflow.com", + "description": "Community platform domain", + "tooltip": "Perform RDAP lookup for stackoverflow.com (Community platform domain)" + }, + "cloudflare": { + "domain": "cloudflare.com", + "description": "CDN provider domain", + "tooltip": "Perform RDAP lookup for cloudflare.com (CDN provider domain)" + }, + "iana": { + "domain": "iana.org", + "description": "Internet registry domain", + "tooltip": "Perform RDAP lookup for iana.org (Internet registry domain)" + } + } + }, "form": { - "title": "Domain Lookup", - "domain": { - "label": "Domain Name", - "placeholder": "example.com" - }, - "lookup": "Lookup Domain", - "looking_up": "Looking up...", - "error": "Please enter a valid domain name" + "title": "RDAP Lookup Configuration", + "domainLabel": "Domain Name", + "domainPlaceholder": "example.com", + "domainTooltip": "Enter a domain name to query registration data via RDAP", + "lookupButton": "Lookup Domain", + "performing": "Performing RDAP Lookup..." }, "results": { - "title": "Domain Registration Data", + "title": "RDAP Data for {domain}", + "copy": "Copy Raw JSON", + "copied": "Copied!", "domain": "Domain", - "registrar": "Registrar", - "registration_date": "Registration Date", - "expiration_date": "Expiration Date", - "last_updated": "Last Updated", - "status": "Status", - "nameservers": "Nameservers", - "dnssec": "DNSSEC", - "entities": "Entities", - "registrant": "Registrant", - "admin": "Admin Contact", - "tech": "Tech Contact" + "domainTooltip": "The domain name that was queried", + "rdapService": "RDAP Service", + "rdapServiceTooltip": "RDAP service used for the query", + "notAvailable": "Not available", + "domainInfo": { + "title": "Domain Information", + "domainName": "Domain Name:", + "status": "Status:", + "registrar": "Registrar:" + }, + "dates": { + "title": "Important Dates", + "registration": "Registration Date:", + "lastUpdated": "Last Updated:", + "expiration": "Expiration Date:", + "expiresSoon": "Expires Soon!" + }, + "nameservers": { + "title": "Nameservers ({count})" + }, + "contacts": { + "title": "Contact Information", + "registrant": "Registrant", + "administrative": "Administrative", + "technical": "Technical", + "contact": "Contact", + "handle": "Handle: {handle}" + } + }, + + "error": { + "title": "RDAP Lookup Failed", + "unknownError": "Unknown error occurred", + "lookupFailed": "Domain RDAP lookup failed: {status}", + "troubleshooting": { + "title": "Troubleshooting Tips:", + "validDomain": "Ensure the domain name is valid and properly formatted", + "domainExists": "Check if the domain actually exists and is registered", + "rateLimiting": "Some registries may have rate limiting or access restrictions", + "tryAgain": "Try again in a few moments if the service is temporarily unavailable" + } + }, + + "educational": { + "title": "About RDAP Domain Lookups", + "whatIsRDAP": { + "title": "What is RDAP?", + "description": "RDAP (Registration Data Access Protocol) is the modern successor to WHOIS, providing structured JSON responses for domain registration information through IANA bootstrap registry routing." + }, + "whatYouGet": { + "title": "What You'll Get", + "statusDates": "Registration status and dates", + "nameservers": "Nameserver information", + "registrar": "Registrar details", + "contacts": "Contact information (if available)" + }, + "rdapVsWhois": { + "title": "RDAP vs WHOIS", + "structuredJSON": "Structured JSON instead of free text", + "unicodeSupport": "Unicode support for internationalized domains", + "rateLimiting": "Built-in rate limiting and privacy controls", + "restfulAPI": "RESTful API with standard HTTP methods" + } } } diff --git a/src/lib/i18n/translations/en/diagnostics/rdap-ip.json b/src/lib/i18n/translations/en/diagnostics/rdap-ip.json index c6b9d8c..dcf4f3c 100644 --- a/src/lib/i18n/translations/en/diagnostics/rdap-ip.json +++ b/src/lib/i18n/translations/en/diagnostics/rdap-ip.json @@ -1,30 +1,121 @@ { - "title": "RDAP IP Lookup", - "description": "Look up registration data for an IP address or network using RDAP", + "title": "IP Address RDAP Lookup", + "subtitle": "Look up IP address allocation and registration data using RDAP through Regional Internet Registry (RIR) services. Automatically routes queries to the appropriate RIR based on IP address prefix.", + + "examples": { + "title": "Common IP Examples", + "items": { + "googleDNS": { + "ip": "8.8.8.8", + "description": "Google DNS - Public DNS service", + "tooltip": "Perform RDAP lookup for 8.8.8.8 (Google DNS - Public DNS service)" + }, + "cloudflareDNS": { + "ip": "1.1.1.1", + "description": "Cloudflare DNS - Fast public resolver", + "tooltip": "Perform RDAP lookup for 1.1.1.1 (Cloudflare DNS - Fast public resolver)" + }, + "openDNS": { + "ip": "208.67.222.222", + "description": "OpenDNS - Cisco public DNS", + "tooltip": "Perform RDAP lookup for 208.67.222.222 (OpenDNS - Cisco public DNS)" + }, + "rfc5737": { + "ip": "192.0.2.1", + "description": "RFC 5737 - Documentation IP range", + "tooltip": "Perform RDAP lookup for 192.0.2.1 (RFC 5737 - Documentation IP range)" + }, + "googleIPv6": { + "ip": "2001:4860:4860::8888", + "description": "Google IPv6 DNS", + "tooltip": "Perform RDAP lookup for 2001:4860:4860::8888 (Google IPv6 DNS)" + }, + "cloudflareIPv6": { + "ip": "2606:4700:4700::1111", + "description": "Cloudflare IPv6 DNS", + "tooltip": "Perform RDAP lookup for 2606:4700:4700::1111 (Cloudflare IPv6 DNS)" + } + } + }, "form": { - "title": "IP Lookup", - "ip": { - "label": "IP Address", - "placeholder": "8.8.8.8 or 2001:4860:4860::8888" - }, - "lookup": "Lookup IP", - "looking_up": "Looking up...", - "error": "Please enter a valid IP address" + "title": "RDAP Lookup Configuration", + "ipLabel": "IP Address", + "ipPlaceholder": "8.8.8.8 or 2001:4860:4860::8888", + "ipTooltip": "Enter an IPv4 or IPv6 address to query allocation data via RDAP", + "ipHint": "Supports both IPv4 (e.g., 8.8.8.8) and IPv6 (e.g., 2001:4860:4860::8888) addresses", + "lookupButton": "Lookup IP Address", + "performing": "Performing RDAP Lookup..." }, "results": { - "title": "IP Registration Data", - "ip_address": "IP Address", - "network": "Network", - "cidr": "CIDR", - "name": "Name", - "country": "Country", - "registry": "Registry", - "registration_date": "Registration Date", - "last_updated": "Last Updated", - "status": "Status", - "type": "Type", - "entities": "Entities" + "title": "RDAP Data for {ip}", + "copy": "Copy Raw JSON", + "copied": "Copied!", + "ipAddress": "IP Address", + "ipAddressTooltip": "The IP address that was queried", + "rdapService": "RDAP Service", + "rdapServiceTooltip": "RDAP service used for the query", + "notAvailable": "Not available", + "networkInfo": { + "title": "Network Information", + "networkBlock": "Network Block:", + "networkName": "Network Name:", + "type": "Type:", + "country": "Country:", + "registry": "Registry:" + }, + "allocation": { + "title": "Allocation Details", + "status": "Status:", + "allocationDate": "Allocation Date:", + "lastChanged": "Last Changed:" + }, + "contacts": { + "title": "Contact Information", + "registrant": "Registrant", + "administrative": "Administrative", + "technical": "Technical", + "abuse": "Abuse", + "contact": "Contact", + "handle": "Handle: {handle}" + } + }, + + "error": { + "title": "RDAP Lookup Failed", + "unknownError": "Unknown error occurred", + "lookupFailed": "IP RDAP lookup failed: {status}", + "troubleshooting": { + "title": "Troubleshooting Tips:", + "validIP": "Ensure the IP address is valid and properly formatted", + "privateIP": "Private IP addresses (RFC 1918) may not have RDAP data", + "rateLimiting": "Some RIRs may have rate limiting or access restrictions", + "specialUse": "Reserved or special-use addresses may not be publicly queryable", + "tryAgain": "Try again in a few moments if the service is temporarily unavailable" + } + }, + + "educational": { + "title": "About IP Address RDAP Lookups", + "howItWorks": { + "title": "How it Works", + "description": "IP RDAP provides detailed allocation information from Regional Internet Registries (RIRs). The tool automatically routes queries to the appropriate RIR using IANA bootstrap registries." + }, + "rirs": { + "title": "Regional Internet Registries", + "arin": "ARIN: North America, parts of Caribbean", + "ripe": "RIPE NCC: Europe, Central Asia, Middle East", + "apnic": "APNIC: Asia Pacific region", + "lacnic": "LACNIC: Latin America, parts of Caribbean", + "afrinic": "AFRINIC: Africa" + }, + "whatYouGet": { + "title": "What You'll Get", + "networkBlock": "Network block and CIDR prefix", + "allocationType": "Allocation type and country", + "organization": "Organization responsible for the block", + "contacts": "Contact information (registrant, admin, technical, abuse)" + } } } diff --git a/src/routes/[lang]/diagnostics/dns/dmarc-check/+page.svelte b/src/routes/[lang]/diagnostics/dns/dmarc-check/+page.svelte index 72c7edd..4c988c9 100644 --- a/src/routes/[lang]/diagnostics/dns/dmarc-check/+page.svelte +++ b/src/routes/[lang]/diagnostics/dns/dmarc-check/+page.svelte @@ -1,6 +1,7 @@
- Analyze Start of Authority (SOA) records to interpret serial number formats and examine DNS zone timing - parameters. SOA records contain critical zone metadata including serial numbers for change tracking and timing - values for zone transfers. -
+{$t('diagnostics/dns-soa-serial.subtitle')}
{example.description}
@@ -138,18 +153,18 @@{serialInfo?.explanation || 'No analysis available'}
+ {serialInfo?.formatDescription || + $t('diagnostics/dns-soa-serial.results.serialAnalysis.formatUnknown')} ++ {serialInfo?.explanation || + $t('diagnostics/dns-soa-serial.results.serialAnalysis.formatExplanation')} +
How often secondary servers check for updates
+{$t('diagnostics/dns-soa-serial.results.timing.refresh.description')}
Retry interval after failed refresh attempts
+{$t('diagnostics/dns-soa-serial.results.timing.retry.description')}
When secondary servers stop serving the zone
+{$t('diagnostics/dns-soa-serial.results.timing.expire.description')}
Minimum TTL for negative responses
+{$t('diagnostics/dns-soa-serial.results.timing.minimum.description')}
{error}
Troubleshooting Tips:
+{$t('diagnostics/dns-soa-serial.error.troubleshooting')}
- Start of Authority records contain administrative information about a DNS zone, including the primary - server, contact email, and timing parameters that control zone transfers and caching behavior. -
+{$t('diagnostics/dns-soa-serial.education.whatIsSOA.description')}