From 8a56dccf18eceba6c09bccb481641561fef55746 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 26 Jun 2022 19:46:54 +0200 Subject: [PATCH] Move locales to new namespaces --- config/locales/controllers.en.yml | 11 +++++++++++ config/locales/views.en.yml | 10 +++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/config/locales/controllers.en.yml b/config/locales/controllers.en.yml index 2839e442..75e2e6c1 100644 --- a/config/locales/controllers.en.yml +++ b/config/locales/controllers.en.yml @@ -40,6 +40,17 @@ en: destroy: success: "Service removed successfully." settings: + profile: + update: + success: "Profile updated successfully." + error: "Unable to update profile." + profile_picture: + update: + success: :settings.profile.update.success + error: :settings.profile.update.error + 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." theme: update: success: "Theme saved successfully." diff --git a/config/locales/views.en.yml b/config/locales/views.en.yml index 323e512c..497d0389 100644 --- a/config/locales/views.en.yml +++ b/config/locales/views.en.yml @@ -151,9 +151,11 @@ en: add: "Add" remove: "Remove" profile: - adjust: - profile_picture: "Adjust your new profile picture" - profile_header: "Adjust your new profile header" + edit: + title: "Profile Settings" + adjust: + profile_picture: "Adjust your new profile picture" + profile_header: "Adjust your new profile header" security: heading: "Two-factor authentication" recovery_keys: @@ -326,8 +328,6 @@ en: user: data: title: "Your Data" - edit: - title: "Profile Settings" edit_blocks: title: "Blocks" edit_mute: