fix: naming scheme for messages in translation files (#40642)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
This commit is contained in:
@ -216,7 +216,7 @@ function createPostReportUserProfile(app) {
|
||||
if (!username || !report || report === '') {
|
||||
return res.json({
|
||||
type: 'danger',
|
||||
message: 'flash.msg-44'
|
||||
message: 'flash.provide-username'
|
||||
});
|
||||
}
|
||||
return Email.send$(
|
||||
@ -247,7 +247,7 @@ function createPostReportUserProfile(app) {
|
||||
|
||||
return res.json({
|
||||
type: 'info',
|
||||
message: 'flash.msg-45',
|
||||
message: 'flash.report-sent',
|
||||
variables: { email: user.email }
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user