Add section headers to language files and update petition messages
Add GDPR-compliant expiration to confirmation links Add IP rate limiting error message Update region list to current Norwegian counties Add signature deletion functionality Add thank you email with deletion option Improve error messages and user feedback
This commit is contained in:
parent
22717168ae
commit
443c44d095
2 changed files with 156 additions and 131 deletions
|
|
@ -8,72 +8,85 @@ language_name_no = "Norsk"
|
|||
categories = "Categories"
|
||||
tags = "Tags"
|
||||
|
||||
; FAQ
|
||||
faq_summary_label = "In short:"
|
||||
faq_read_full_answer = "Read full answer"
|
||||
[faq]
|
||||
summary_label = "In short:"
|
||||
read_full_answer = "Read full answer"
|
||||
|
||||
; Footer
|
||||
footer_social = "<a rel=\"me\" href=\"https://oslo.town/@stopplidelsen\">Follow us on Mastodon</a>"
|
||||
footer_copyright = "Copyright"
|
||||
footer_follow_mastodon = "Follow us on Mastodon"
|
||||
footer_handcoded = "This website was hand-coded by Ruben Solvang using HTML, CSS and minimal doses of PHP. It took"
|
||||
footer_page_time = "ms to generate this page."
|
||||
[footer]
|
||||
social = "<a rel=\"me\" href=\"https://oslo.town/@stopplidelsen\">Follow us on Mastodon</a>"
|
||||
copyright = "Copyright"
|
||||
follow_mastodon = "Follow us on Mastodon"
|
||||
handcoded = "This website was hand-coded by Ruben Solvang using HTML, CSS and minimal doses of PHP. It took"
|
||||
page_time = "ms to generate this page."
|
||||
|
||||
; Petition form
|
||||
petition.form_title = "Sign the Petition"
|
||||
petition.firstname_label = "First name"
|
||||
petition.firstname_placeholder = "Your first name"
|
||||
petition.firstname_required = "First name is required"
|
||||
petition.surname_label = "Surname"
|
||||
petition.surname_placeholder = "Your surname"
|
||||
petition.surname_required = "Surname is required"
|
||||
petition.email_label = "Email"
|
||||
petition.email_placeholder = "your@email.com"
|
||||
petition.email_help = "Not shown publicly, only for confirmation"
|
||||
petition.email_required = "Valid email is required"
|
||||
petition.region_label = "Region"
|
||||
petition.region_required = "Please select a region"
|
||||
petition.region_placeholder = "Select region..."
|
||||
petition.display_legend = "How should you appear in the list?"
|
||||
petition.display_semi = "Show my first name and region (default)"
|
||||
petition.display_anonymous = "Anonymous - only show my region"
|
||||
petition.anonymous_name = "Anonymous"
|
||||
petition.from_region = "from"
|
||||
petition.display_full = "Show my full name and region"
|
||||
petition.submit_button = "Sign the Petition"
|
||||
petition.signatures_title = "Signatures"
|
||||
petition.signature_count = "{count} signature"
|
||||
petition.signature_count_plural = "{count} signatures"
|
||||
petition.newest_first = "Newest first"
|
||||
petition.error_csrf = "Security error. Please try again."
|
||||
petition.error_honeypot = "Invalid submission."
|
||||
petition.error_rate_limit = "Please wait a moment before submitting again."
|
||||
petition.error_time_check = "Multiple signature attempts were sent from the same computer within a short time. Please wait a moment and try again."
|
||||
petition.error_referrer = "Invalid request."
|
||||
petition.error_validation = "Please correct the errors in the form."
|
||||
petition.error_email_send = "Could not send confirmation email. Please try again later."
|
||||
petition.error_already_signed = "This email address has already signed this petition."
|
||||
petition.success_pending = "Thank you! Check your email to confirm your signature."
|
||||
petition.confirm_success = "Thank you! Your signature has been confirmed and added to the list."
|
||||
petition.confirm_error = "Invalid or expired confirmation link."
|
||||
petition.confirm_already = "This signature has already been confirmed."
|
||||
petition.email_subject = "Confirm your signature"
|
||||
petition.email_greeting = "Hello {name},"
|
||||
petition.email_thanks = "Thank you for signing the petition \"{title}\"."
|
||||
petition.email_confirm = "Please confirm your signature by clicking this link:"
|
||||
petition.email_ignore = "If you did not sign this petition, please ignore this email."
|
||||
petition.email_signature = "Best regards"
|
||||
petition.email_org = "Stop the Suffering"
|
||||
[petition]
|
||||
form_title = "Sign the Petition"
|
||||
firstname_label = "First name"
|
||||
firstname_placeholder = "Your first name"
|
||||
firstname_required = "First name is required"
|
||||
surname_label = "Surname"
|
||||
surname_placeholder = "Your surname"
|
||||
surname_required = "Surname is required"
|
||||
email_label = "Email"
|
||||
email_placeholder = "your@email.com"
|
||||
email_help = "Not shown publicly, only for confirmation"
|
||||
email_required = "Valid email is required"
|
||||
region_label = "Region"
|
||||
region_required = "Please select a region"
|
||||
region_placeholder = "Select region..."
|
||||
display_legend = "How should you appear in the list?"
|
||||
display_semi = "Show my first name and region (default)"
|
||||
display_anonymous = "Anonymous - only show my region"
|
||||
anonymous_name = "Anonymous"
|
||||
from_region = "from"
|
||||
display_full = "Show my full name and region"
|
||||
submit_button = "Sign the Petition"
|
||||
signatures_title = "Signatures"
|
||||
signature_count = "{count} signature"
|
||||
signature_count_plural = "{count} signatures"
|
||||
newest_first = "Newest first"
|
||||
error_csrf = "Security error. Please try again."
|
||||
error_honeypot = "Invalid submission."
|
||||
error_rate_limit = "Please wait a moment before submitting again."
|
||||
error_ip_rate_limit = "Too many attempts from your IP address. Please wait 5 minutes before trying again."
|
||||
error_time_check = "Multiple signature attempts were sent from the same computer within a short time. Please wait a moment and try again."
|
||||
error_referrer = "Invalid request."
|
||||
error_validation = "Please correct the errors in the form."
|
||||
error_email_send = "Could not send confirmation email. Please try again later."
|
||||
error_already_signed = "This email address has already signed this petition."
|
||||
success_pending = "Thank you! Check your email to confirm your signature."
|
||||
confirm_success = "Thank you! Your signature has been confirmed and added to the list."
|
||||
confirm_error = "Invalid confirmation link."
|
||||
confirm_expired = "This confirmation link has expired (max 30 days). Please sign the petition again if you still wish to support it."
|
||||
confirm_already = "This signature has already been confirmed."
|
||||
email_subject = "Confirm your signature"
|
||||
email_greeting = "Hello {name},"
|
||||
email_thanks = "Thank you for signing the petition \"{title}\"."
|
||||
email_confirm = "Please confirm your signature by clicking this link:"
|
||||
email_expiry_notice = "This link is valid for 30 days for privacy reasons (GDPR compliance)."
|
||||
email_ignore = "If you did not sign this petition, please ignore this email."
|
||||
email_signature = "Best regards"
|
||||
email_org = "Stop the Suffering"
|
||||
email_thankyou_subject = "Thank you for your signature"
|
||||
email_thankyou_confirmed = "Your signature on the petition \"{title}\" has been confirmed and registered."
|
||||
email_delete_info = "If you wish to withdraw your signature, you can do so at any time by clicking this link:"
|
||||
delete_success = "Your signature has been deleted."
|
||||
delete_error = "Could not delete the signature. The link may be invalid."
|
||||
|
||||
; Norwegian regions (fylker) - kept in Norwegian as they are proper nouns
|
||||
regions.oslo = "Oslo"
|
||||
regions.rogaland = "Rogaland"
|
||||
regions.more_og_romsdal = "Møre og Romsdal"
|
||||
regions.nordland = "Nordland"
|
||||
regions.viken = "Viken"
|
||||
regions.innlandet = "Innlandet"
|
||||
regions.vestfold_og_telemark = "Vestfold og Telemark"
|
||||
regions.agder = "Agder"
|
||||
regions.vestland = "Vestland"
|
||||
regions.trondelag = "Trøndelag"
|
||||
regions.troms_og_finnmark = "Troms og Finnmark"
|
||||
[regions]
|
||||
agder = "Agder"
|
||||
akershus = "Akershus"
|
||||
buskerud = "Buskerud"
|
||||
finnmark = "Finnmark"
|
||||
innlandet = "Innlandet"
|
||||
more_og_romsdal = "Møre og Romsdal"
|
||||
nordland = "Nordland"
|
||||
oslo = "Oslo"
|
||||
rogaland = "Rogaland"
|
||||
telemark = "Telemark"
|
||||
troms = "Troms"
|
||||
trondelag = "Trøndelag"
|
||||
vestfold = "Vestfold"
|
||||
vestland = "Vestland"
|
||||
ostfold = "Østfold"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue