Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove exclamation mark from user salutation

Oliver Güntherc48dc2ff6ddf
diff --git a/config/locales/en.yml b/config/locales/en.yml
index b222f214a59..5e1830deeba 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2076,7 +2076,7 @@ en:
center: 'To notification center'
see_in_center: 'See comment in notification center'
settings: 'Change email settings'
- salutation: 'Hello %{user}!'
+ salutation: 'Hello %{user}'
work_packages:
created_at: 'Created at %{timestamp} by %{user} '
login_to_see_all: 'Log in to see all notifications.'
diff --git a/spec/mailers/digest_mailer_spec.rb b/spec/mailers/digest_mailer_spec.rb
index a18f6c1ad93..f05b0097a9e 100644
--- a/spec/mailers/digest_mailer_spec.rb
+++ b/spec/mailers/digest_mailer_spec.rb
@@ -104,7 +104,7 @@ describe DigestMailer, type: :mailer do
it 'includes the notifications grouped by work package' do
time_stamp = journal.created_at.strftime('%m/%d/%Y, %I:%M %p')
expect(mail_body)
- .to have_text("Hello #{recipient.firstname}!")
+ .to have_text("Hello #{recipient.firstname}")
expected_notification_subject = "#{work_package.type.name.upcase} #{work_package.subject}"
expect(mail_body)