fix: new language keys for #11206

isekai-main
Julian Lam 2 years ago
parent 7bc22a5993
commit 966724adfe

@ -1,7 +1,10 @@
{
"post-queue": "Post Queue",
"description": "There are no posts in the post queue. <br> To enable this feature, go to <a href=\"%1\">Settings &rarr; Post &rarr; Post Queue</a> and enable <strong>Post Queue</strong>.",
"no-queued-posts": "There are no posts in the post queue.",
"no-single-post": "The topic or post you are looking for is no longer in the queue. It has likely been approved or deleted already.",
"enabling-help": "To enable this feature, go to <a href=\"%1\">Settings &rarr; Post &rarr; Post Queue</a> and enable <strong>Post Queue</strong>.",
"back-to-list": "Back to Post Queue",
"user": "User",
"category": "Category",
"title": "Title",

@ -4,6 +4,7 @@ const _ = require('lodash');
const user = require('../user');
const groups = require('../groups');
const meta = require('../meta');
const posts = require('../posts');
const flags = require('../flags');
const analytics = require('../analytics');
@ -219,6 +220,7 @@ modsController.postQueue = async function (req, res, next) {
allCategoriesUrl: `post-queue${helpers.buildQueryString(req.query, 'cid', '')}`,
pagination: pagination.create(page, pageCount),
breadcrumbs: helpers.buildBreadcrumbs(crumbs),
enabled: meta.config.postQueue,
singlePost: !!id,
});
};

Loading…
Cancel
Save