From b8f639b16bc30b44b081ccf166c2b2d8cce3c83e Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Tue, 28 Jun 2022 01:51:13 +0200 Subject: [PATCH] Update locale namespaces for privacy settings --- config/locales/controllers.en.yml | 16 ++++------------ config/locales/views.en.yml | 7 ++++--- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/config/locales/controllers.en.yml b/config/locales/controllers.en.yml index 75e2e6c1..4ce8837f 100644 --- a/config/locales/controllers.en.yml +++ b/config/locales/controllers.en.yml @@ -40,6 +40,10 @@ en: destroy: success: "Service removed successfully." settings: + privacy: + update: + success: :settings.profile.update.success + error: :settings.profile.update.error profile: update: success: "Profile updated successfully." @@ -61,22 +65,10 @@ en: begin_export: success: "Your account is currently being exported. This will take a little while." error: "Exporting is currently not possible." - update: - success: "Profile updated successfully." - error: "Unable to update profile." - notice: - profile_picture: " It might take a few minutes until your new profile picture is shown everywhere." - profile_header: " It might take a few minutes until your new profile header is shown everywhere." update_2fa: error: :errors.invalid_otp destroy_2fa: success: "Two factor authentication has been disabled for your account." - update_privacy: - success: :user.update.success - error: :user.update.error - update_profile: - success: :user.update.success - error: :user.update.error sessions: create: info: "You have %{count} recovery codes remaining." diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index 497d0389..ce349ad2 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -150,6 +150,9 @@ en: actions: add: "Add" remove: "Remove" + privacy: + edit: + title: "Privacy Settings" profile: edit: title: "Profile Settings" @@ -331,9 +334,7 @@ en: edit_blocks: title: "Blocks" edit_mute: - title: "Muted Words" - edit_privacy: - title: "Privacy Settings" + title: "Muted Words" edit_security: title: "Security Settings" export: