fix: replace hardcoded response messages with localized strings
- Replace hardcoded 'OK' messages in monitorController with proper localized strings - Add new string constants to en.json for consistent messaging - Follow existing pattern used by other controller methods - Resolves TODO comment in getMonitorsAndSummaryByTeamId method Fixes: Hardcoded response messages inconsistent with i18n architecture
This commit is contained in:
1 parent
f782899768
commit
124f300362
2 files changed
+9
-5
No files matched your search
@@ -165,6 +165,10 @@
|
||||
"sendTestEmail": "Test email sent successfully",
|
||||
"errorForValidEmailAddress": "A valid recipient email address is required.",
|
||||
"testEmailSubject": "Test E-mail from Checkmate",
|
||||
"monitorSummaryByTeamId": "Got monitors and summary by team id successfully",
|
||||
"monitorExportSuccess": "Monitors exported successfully",
|
||||
"gameListSuccess": "Got game list successfully",
|
||||
"groupsByTeamId": "Got groups by team id successfully",
|
||||
"discordNotification": {
|
||||
"monitor": "Monitor",
|
||||
"status": "Status",
|
||||
|
||||
Reference in new issue
Block a user