translation
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
2025-09-18 22:27:14 +02:00
parent 589a22e5fe
commit 3f958bade1
3 changed files with 7 additions and 7 deletions

View File

@ -26,10 +26,10 @@ class Guest < ApplicationRecord
# Don't allow long or odd names in emails; may be spam.
def email_safe_salutation
return 'Hello,' if
return 'Hallo,' if
first_name.blank? || first_name !~ /\A[\p{Word}\s'-]{1,30}\z/i
"Dear #{first_name},"
"Liebe/Lieber #{first_name},"
end
validates :diet, length: { maximum: 8192 }