diff options
author | Martin Wortschack <mwortschack@gitlab.com> | 2019-04-08 13:13:19 +0200 |
---|---|---|
committer | Martin Wortschack <mwortschack@gitlab.com> | 2019-04-08 13:13:29 +0200 |
commit | 6a0035d273deffd67506230d3776812e045d59cc (patch) | |
tree | f9b9787d3761fc0456b28a4656453c366a610c20 /app/controllers/confirmations_controller.rb | |
parent | 942ce36a72b460f8cac2091008869d845fd365e3 (diff) | |
download | gitlab-ce-mw-i18n-flashes.tar.gz |
Externalize strings in flash messagesmw-i18n-flashes
- Externalize strings in controllers
- Update PO file
Diffstat (limited to 'app/controllers/confirmations_controller.rb')
-rw-r--r-- | app/controllers/confirmations_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/confirmations_controller.rb b/app/controllers/confirmations_controller.rb index 2c4aab67448..2ae500a2fdf 100644 --- a/app/controllers/confirmations_controller.rb +++ b/app/controllers/confirmations_controller.rb @@ -22,7 +22,7 @@ class ConfirmationsController < Devise::ConfirmationsController after_sign_in(resource) else Gitlab::AppLogger.info("Email Confirmed: username=#{resource.username} email=#{resource.email} ip=#{request.remote_ip}") - flash[:notice] = flash[:notice] + " Please sign in." + flash[:notice] = flash[:notice] + _(" Please sign in.") new_session_path(:user, anchor: 'login-pane') end end |