Externalized string using namespaces in new user form in admin area is missing required prefix
Summary
Externalized string using namespaces in new user form in admin area is missing required prefix.
Steps to reproduce
Go to /admin/users/new
Relevant logs and/or screenshots
Before | After |
---|---|
Possible fixes
Adding the missing prefix (s
) should suffice.
diff --git a/ee/app/views/admin/users/_admin_notes.html.haml b/ee/app/views/admin/users/_admin_notes.html.haml
index 18332f8058e..a1d54db1f8b 100644
--- a/ee/app/views/admin/users/_admin_notes.html.haml
+++ b/ee/app/views/admin/users/_admin_notes.html.haml
@@ -2,5 +2,5 @@
%legend= _('Admin notes')
.form-group.row
.col-sm-2.text-right
- = f.label :note, _('AdminNote|Note'), class: 'col-form-label'
+ = f.label :note, s_('AdminNote|Note'), class: 'col-form-label'
.col-sm-10= f.text_area :note, class: 'form-control'