psychobunny 11 years ago
parent 3b511b59cb
commit 7bd49a96b2

@ -30,12 +30,12 @@
"user-banned": "User banned", "user-banned": "User banned",
"user-too-new": "You need to wait %1 seconds before making your first post!", "user-too-new": "You need to wait %1 seconds before making your first post!",
"no-category": "Category doesn't exist", "no-category": "Category does not exist",
"no-topic": "Topic doesn't exist", "no-topic": "Topic does not exist",
"no-post": "Post doesn't exist", "no-post": "Post does not exist",
"no-group": "Group doesn't exist", "no-group": "Group does not exist",
"no-user": "User doesn't exist", "no-user": "User does not exist",
"no-teaser": "Teaser doesn't exist", "no-teaser": "Teaser does not exist",
"no-privileges": "You don't have enough privileges for this action.", "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", "no-emailers-configured": "No email plugins were loaded, so a test email could not be sent",

@ -25,10 +25,10 @@ var fs = require('fs'),
function userNotFound(res) { function userNotFound(res) {
if (res.locals.isAPI) { if (res.locals.isAPI) {
res.status(404).json('user-not-found'); res.status(404).json('no-user');
} else { } else {
res.render('404', { res.render('404', {
error: 'User not found!' error: '[[error:no-user]]'
}); });
} }
} }

Loading…
Cancel
Save