Add petition form translations for English and Norwegian

Add Norwegian region names for petition form

Add email confirmation messages for petition form

Add error handling messages for petition form

Add signature display options for petition form
This commit is contained in:
Ruben 2026-01-14 20:25:42 +01:00
parent 21216f4564
commit 82b94a1eb7
2 changed files with 118 additions and 0 deletions

View file

@ -18,3 +18,62 @@ 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."
; 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"
; 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"