Review queue displays translation missing button

AI-generated summary

The “Review queue displays translation missing button” issue has been reported by Moin. The issue occurs when a post is automatically placed in the review queue due to a watched word, and the author of the post sees a “Translation missing: en” button. However, this button is only visible to the author, not to other category moderators or admins.

Moin confirmed that the button is not visible to other category moderators or admins, which was also tested by HamMan2118, who received different results depending on whether they logged in as a Category Moderator or an Admin.

A fix for this issue is currently in the queue, as reported by awesomerobot, who has submitted a pull request on GitHub: https://github.com/discourse/discourse/pull/28991.

I noticed a “Translation missing: en” button in the review queue.

My steps:

  1. Configure a watched word: Set up a watched word that requires approval, such as “approval”.
  2. Prepare a test user: Log in as a user who has category moderator permissions in the category used for testing (in my case invitedUser1).
  3. Create a test post: As the test user, create a new post containing the watched word (“approval”) in the category where the user is a category moderator.
  4. Verify post is in review queue: Confirm that the post is automatically placed in the review queue due to the watched word.
  5. Review the post: Open the review queue and notice the button. It’s only visible for the author of the post
1 Like

I tested this and received two different results.

When logging in as a Category Moderator for that category, I see the missing translation.

However, when logging in as an Admin, there is no button that says Translation missing: en. :thinking:

1 Like

It’s only visible to the author; other category moderators cannot see it either

3 Likes

I have a fix in the queue here:

https://github.com/discourse/discourse/pull/28991

4 Likes