Skip to content

Commit

Permalink
Bug 1397377 - Restore ability to delete translations (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
flodolo committed Dec 31, 2018
1 parent f490d23 commit c7815f6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Binary file modified assets/images/pontoon/resources/history.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/pontoon/ui/readonly.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions tools/pontoon/resources.md
Expand Up @@ -18,6 +18,7 @@ To the right of the entry, icons indicate the state of each element:
* The green checkmark indicates that the translation has been approved.
* If both icons are gray, translation has been suggested but not reviewed yet.
* The red cross indicates that the translation has been rejected. The entire element will look opaque.
* The trashcan, available only for rejected translations, can be used to completely delete a translation.

If there are multiple suggestions for one string, it’s possible to use the `SHOW DIFF` link displayed on the right side of the suggestion: it will compare the selected suggestion to the first entry, highlighting in green all added text, in red all removed text. `HIDE DIFF` will display the original string.

Expand Down
4 changes: 2 additions & 2 deletions tools/pontoon/translate.md
Expand Up @@ -4,7 +4,7 @@

## Translating strings

Three actions can be performed on strings: submit a suggestion, review a suggestion, and submit a translation directly. Availability of these actions depends on user’s [role](users.md#user-roles).
Four actions can be performed on strings: submit a suggestion, review a suggestion, delete a rejected suggestion, and submit a translation directly. Availability of these actions depends on user’s [role](users.md#user-roles).

This document is simplified to demonstrate translation modes in Pontoon. Documentation includes specific pages for learning how to use Pontoon’s [interface](ui.md) and [translation resources](resources.md).

Expand Down Expand Up @@ -38,7 +38,7 @@ To review a suggestion, search for unreviewed strings in the sidebar.

If the suggested string is an acceptable translation, either click on the `SAVE` button to the lower-right side of the editing space, or click on the checkmark icon to the right of the string (it becomes green when hovered). This will transform the suggested string into an approved translation, save the string to the database and to the localized file on the next sync operation.

If the suggested string is **not** an acceptable translation, you can reject it by clicking the cross icon to the right of the string (it becomes red when hovered).
If the suggested string is **not** an acceptable translation, you can reject it by clicking the cross icon to the right of the string (it becomes red when hovered). After rejecting a suggestion, it’s also possible to delete it completely by clicking the trashcan icon.

Alternatively, you can provide a different suggestion: turn on `Make Suggestions` in settings. Once the `SUGGEST` button appears on the lower-right side of the editing space, edit the suggested string as appropriate and click `SUGGEST`. This will add your translation as a new suggested string in the Pontoon database but will not save the string in the localized file. To see the old and new suggestions, click on the history tab below the editing space. To learn about the history tab and other resources, check the [Translation resources documentation](resources.md).

Expand Down

0 comments on commit c7815f6

Please sign in to comment.