I further improved this PR, replacing the predefined reasons with a free-form input for reasons (which does remove the translations), allowing comments to be deleted (and undeleted) as well, and made the editing interface a bit more adaptive (i.e. change wordings based on whether a comment is already moderated or not).
There are a few commits that modify HTMLForm, adding methods related to select dropdowns, which are now no longer used. But since they're likely to be useful in the future, I've left these commits in the PR.
I did a force push for easier review of the complete changes.
I further improved this PR, replacing the predefined reasons with a free-form input for reasons (which does remove the translations), allowing comments to be deleted (and undeleted) as well, and made the editing interface a bit more adaptive (i.e. change wordings based on whether a comment is already moderated or not).
There are a few commits that modify HTMLForm, adding methods related to select dropdowns, which are now no longer used. But since they're likely to be useful in the future, I've left these commits in the PR.
I did a force push for easier review of the complete changes.