From 76e8960f4ab30e91e7e9aca0ae82e10ba23d460d Mon Sep 17 00:00:00 2001 From: Martin Wortschack Date: Mon, 8 Apr 2019 14:17:45 +0000 Subject: Externalize strings in flash messages - Externalize strings in controllers - Update PO file --- app/controllers/sent_notifications_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/sent_notifications_controller.rb') 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) -- cgit v1.2.1