From 0dee066e9ffbca0afeabc5e83722e924f03a5e1a Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Mon, 21 Nov 2022 20:09:41 +0100 Subject: [PATCH] Move announcement locales to proper namespace --- config/locales/controllers.en.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/config/locales/controllers.en.yml b/config/locales/controllers.en.yml index 203b2185..18b71ce4 100644 --- a/config/locales/controllers.en.yml +++ b/config/locales/controllers.en.yml @@ -1,4 +1,15 @@ en: + admin: + announcement: + create: + success: "Announcement created successfully." + error: "Unable to create announcement." + update: + success: "Announcement updated successfully." + error: "Unable to save announcement." + destroy: + success: "Announcement has been deleted successfully." + error: "Unable to delete announcement." ajax: noauth: :messages.noauth anonymous_block: @@ -122,16 +133,6 @@ en: destroy_comment: success: "Successfully unsmiled comment." error: "You have not smiled that comment." - announcement: - create: - success: "Announcement created successfully." - error: "Unable to create announcement." - update: - success: "Announcement updated successfully." - error: "Unable to save announcement." - destroy: - success: "Announcement has been deleted successfully." - error: "Unable to delete announcement." inbox: author: info: "No questions from @%{author} found, showing entries from all users instead!"