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

fix missing wiki mail subject translations

Markus Kahl2bb1aef62079
diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb
index b414116e05e..c833d96b4de 100644
--- a/app/mailers/user_mailer.rb
+++ b/app/mailers/user_mailer.rb
@@ -139,7 +139,7 @@ class UserMailer < ApplicationMailer
message_id @wiki_page, user
send_mail(user,
- "[#{@wiki_page.project.name}] #{t(:mail_subject_wiki_page_added, id: @wiki_page.title)}")
+ "[#{@wiki_page.project.name}] #{t(:mail_subject_wiki_content_added, id: @wiki_page.title)}")
end
def wiki_page_updated(user, wiki_page)
@@ -154,7 +154,7 @@ class UserMailer < ApplicationMailer
message_id @wiki_page, user
send_mail(user,
- "[#{@wiki_page.project.name}] #{t(:mail_subject_wiki_page_updated, id: @wiki_page.title)}")
+ "[#{@wiki_page.project.name}] #{t(:mail_subject_wiki_content_updated, id: @wiki_page.title)}")
end
def message_posted(user, message)