Update admin notifications translatable fields
The same way we did for banners. We needed to add new translation keys so the labels are displayed in the correct language. I've kept the original `title` and `body` attributes so they can be used in other places. While backporting, we also added the original translations because they hadn't been backported yet.
This commit is contained in:
@@ -185,7 +185,7 @@ feature "Admin Notifications" do
|
||||
notification = create(:admin_notification)
|
||||
visit edit_admin_admin_notification_path(notification)
|
||||
|
||||
fill_in :admin_notification_title_en, with: ''
|
||||
fill_in "Title", with: ""
|
||||
click_button "Update notification"
|
||||
|
||||
expect(page).to have_content error_message
|
||||
|
||||
Reference in New Issue
Block a user