New inline Approve/Reject/Fuzzy action buttons to the translation editor

The translation editorTranslation Editor Translation editors can approve translations for projects. The GTE (General Translation Editor) and LM (Locale Manager) roles can add new users with the "Project Translation Editor" role that can approve translations for specific projects. There are two different Translation Editor roles: General Translation Editor and Project Translation Editor row list has a new column to the right of “Details” with three icon buttons:

  • +: approve the suggestion
  • -: reject the suggestion
  • ~: mark as fuzzy

The buttons appear only to validators on the translation set. Buttons that do not apply to a row are hidden: already-current rows have no Approve, rejected rows have no Reject, fuzzy rows have no Fuzzy. Untranslated rows show no buttons. Clicking a button saves the new status and replaces the row in place. The editor does not open.

The feature is enabled by default. To turn it off, check “Hide the inline action buttons in the translation editor” in the “ValidatorValidator See translation editor. settings” section of translate.wordpress.org/settings/.

Inspired by a similar feature in GlotDict.

#improvements