diff --git a/public/language/en_GB/error.json b/public/language/en_GB/error.json index 7c4baf4cc4..385500d249 100644 --- a/public/language/en_GB/error.json +++ b/public/language/en_GB/error.json @@ -30,12 +30,12 @@ "user-banned": "User banned", "user-too-new": "You need to wait %1 seconds before making your first post!", - "no-category": "Category doesn't exist", - "no-topic": "Topic doesn't exist", - "no-post": "Post doesn't exist", - "no-group": "Group doesn't exist", - "no-user": "User doesn't exist", - "no-teaser": "Teaser doesn't exist", + "no-category": "Category does not exist", + "no-topic": "Topic does not exist", + "no-post": "Post does not exist", + "no-group": "Group does not exist", + "no-user": "User does not exist", + "no-teaser": "Teaser does not exist", "no-privileges": "You don't have enough privileges for this action.", "no-emailers-configured": "No email plugins were loaded, so a test email could not be sent", diff --git a/src/controllers/accounts.js b/src/controllers/accounts.js index 7c2ec8ef6b..83e93a108b 100644 --- a/src/controllers/accounts.js +++ b/src/controllers/accounts.js @@ -25,10 +25,10 @@ var fs = require('fs'), function userNotFound(res) { if (res.locals.isAPI) { - res.status(404).json('user-not-found'); + res.status(404).json('no-user'); } else { res.render('404', { - error: 'User not found!' + error: '[[error:no-user]]' }); } }