diff options
author | Martin Wortschack <mwortschack@gitlab.com> | 2019-04-08 17:17:45 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-04-08 17:17:45 +0300 |
commit | 76e8960f4ab30e91e7e9aca0ae82e10ba23d460d (patch) | |
tree | b8bf779e7d08f261e5ef162a2ba01b08eda65d48 /app/controllers/sent_notifications_controller.rb | |
parent | 34f68b3e35bbfa35cb831c16643eadb4dda70039 (diff) |
Externalize strings in flash messages
- Externalize strings in controllers
- Update PO file
Diffstat (limited to 'app/controllers/sent_notifications_controller.rb')
-rw-r--r-- | app/controllers/sent_notifications_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/sent_notifications_controller.rb b/app/controllers/sent_notifications_controller.rb index 2b76921ebd8..77757c4a3ef 100644 --- a/app/controllers/sent_notifications_controller.rb +++ b/app/controllers/sent_notifications_controller.rb @@ -16,7 +16,7 @@ class SentNotificationsController < ApplicationController noteable = @sent_notification.noteable noteable.unsubscribe(@sent_notification.recipient, @sent_notification.project) - flash[:notice] = "You have been unsubscribed from this thread." + flash[:notice] = _("You have been unsubscribed from this thread.") if current_user redirect_to noteable_path(noteable) |