]> cat aescling's git repositories - mastodon.git/commitdiff
Fix account redirect confirmation message talking about moved followers (#13950)
authorThibG <thib@sitedethib.com>
Wed, 3 Jun 2020 18:18:19 +0000 (20:18 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Jun 2020 18:18:19 +0000 (20:18 +0200)
Fixes #13949

app/controllers/settings/migration/redirects_controller.rb
config/locales/en.yml

index 6e5b72ffba24806b9c6780bea095002f8a8c0584..97193ade02d58dbd941484850ea514c6bc3a6d62 100644 (file)
@@ -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
index 5943dd4f692796356be42a1e185d1a98016229d7..be29286f33dd386d896bf1e3acebbdd372d18113 100644 (file)
@@ -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: