mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-09-09 03:29:52 +02:00
fix(string): fixed translate string issues.
This commit is contained in:
@@ -558,7 +558,7 @@ exports.thumbsUp = function (req, res) {
|
||||
});
|
||||
if (exist) {
|
||||
return res.status(422).send({
|
||||
message: 'ALREADY_THUMBS_UP'
|
||||
message: 'SERVER.ALREADY_THUMBS_UP'
|
||||
});
|
||||
} else {
|
||||
if (req.user.score >= thumbsUpScore.topic) {
|
||||
@@ -569,7 +569,7 @@ exports.thumbsUp = function (req, res) {
|
||||
save();
|
||||
} else {
|
||||
return res.status(422).send({
|
||||
message: 'SCORE_NOT_ENOUGH'
|
||||
message: 'SERVER.SCORE_NOT_ENOUGH'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -585,7 +585,7 @@ exports.thumbsUp = function (req, res) {
|
||||
});
|
||||
if (exist) {
|
||||
return res.status(422).send({
|
||||
message: 'ALREADY_THUMBS_UP'
|
||||
message: 'SERVER.ALREADY_THUMBS_UP'
|
||||
});
|
||||
} else {
|
||||
if (req.user.score >= thumbsUpScore.topic) {
|
||||
@@ -596,7 +596,7 @@ exports.thumbsUp = function (req, res) {
|
||||
save();
|
||||
} else {
|
||||
return res.status(422).send({
|
||||
message: 'SCORE_NOT_ENOUGH'
|
||||
message: 'SERVER.SCORE_NOT_ENOUGH'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user