From 546f58bf1ff0328ed2df1af5bb2aa7386b679d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sat, 28 Nov 2020 22:03:08 -0500 Subject: [PATCH] fix: timestamp in queue, add post queue strings --- public/language/en-GB/post-queue.json | 10 +++++++--- src/api/topics.js | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/public/language/en-GB/post-queue.json b/public/language/en-GB/post-queue.json index 24eae3ad7d..bfaa367870 100644 --- a/public/language/en-GB/post-queue.json +++ b/public/language/en-GB/post-queue.json @@ -8,7 +8,11 @@ "content": "Content", "posted": "Posted", "reply-to": "Reply to \"%1\"", - "content-editable": "You can click on individual content to edit before posting.", - "category-editable": "Click to edit the category of this new topic", - "title-editable": "Click to edit the title of this new topic" + "content-editable": "Click on content to edit", + "category-editable": "Click on category to edit", + "title-editable": "Click on title to edit", + "reply": "Reply", + "topic": "Topic", + "accept": "Accept", + "reject": "Reject" } \ No newline at end of file diff --git a/src/api/topics.js b/src/api/topics.js index 3b1f8d0ee4..10ef0a8809 100644 --- a/src/api/topics.js +++ b/src/api/topics.js @@ -48,7 +48,7 @@ topicsAPI.reply = async function (caller, data) { uid: caller.uid, req: apiHelpers.buildReqObject(caller), // For IP recording content: data.content, - timestamp: data.timestamp, + timestamp: Date.now(), fromQueue: false, };