about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-06-03 20:18:19 +0200
committerGitHub <noreply@github.com>2020-06-03 20:18:19 +0200
commitbf949346232b3db731675c1342f50d97fd4a7ef8 (patch)
treed4dbff51de1ada623a8a0ce7e58ddd5be084b23b
parent643065799bbb0a842a321a2a0434df347146b3e6 (diff)
Fix account redirect confirmation message talking about moved followers (#13950)
Fixes #13949
-rw-r--r--app/controllers/settings/migration/redirects_controller.rb2
-rw-r--r--config/locales/en.yml1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/settings/migration/redirects_controller.rb b/app/controllers/settings/migration/redirects_controller.rb
index 6e5b72ffb..97193ade0 100644
--- a/app/controllers/settings/migration/redirects_controller.rb
+++ b/app/controllers/settings/migration/redirects_controller.rb
@@ -18,7 +18,7 @@ class Settings::Migration::RedirectsController < Settings::BaseController
     if @redirect.valid_with_challenge?(current_user)
       current_account.update!(moved_to_account: @redirect.target_account)
       ActivityPub::UpdateDistributionWorker.perform_async(current_account.id)
-      redirect_to settings_migration_path, notice: I18n.t('migrations.moved_msg', acct: current_account.moved_to_account.acct)
+      redirect_to settings_migration_path, notice: I18n.t('migrations.redirected_msg', acct: current_account.moved_to_account.acct)
     else
       render :new
     end
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 5943dd4f6..be29286f3 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -922,6 +922,7 @@ en:
     on_cooldown: You have recently migrated your account. This function will become available again in %{count} days.
     past_migrations: Past migrations
     proceed_with_move: Move followers
+    redirected_msg: Your account is now redirecting to %{acct}.
     redirecting_to: Your account is redirecting to %{acct}.
     set_redirect: Set redirect
     warning: