Skip to content

Commit

Permalink
fix: new language keys for #11206
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Feb 2, 2023
1 parent 7bc22a5 commit 966724a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion public/language/en-GB/post-queue.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 2 additions & 0 deletions src/controllers/mods.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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,
});
};

0 comments on commit 966724a

Please sign in to comment.