fix: naming scheme for messages in translation files (#40642)

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
This commit is contained in:
Tom
2021-01-08 10:40:31 -06:00
committed by Mrugesh Mohapatra
parent b0aaff19dc
commit 14ca6beb0a
18 changed files with 272 additions and 273 deletions

View File

@ -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 }
});
}