Closed Bug 1472793 Opened 6 years ago Closed 6 years ago

[FTL] Add check for detecting non-localizable entries

Categories

(Webtools Graveyard :: Pontoon, enhancement, P4)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: mathjazz)

Details

Attachments

(1 file)

Pontoon doesn't allow saving FTL Entries which are not of type Message or Term.

However, instead of showing a meaningful error message when e.g. a Comment is submitted through the FTL source editor, the code fails and a generic error message is displayed.

We should add a check that returns an error when an FTL entry of type other than Message or Term is submitted.
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/6a511d833fe9d0ee054b0ad230681bd2e4d09959
Fix bug 1472793: Error on non-localizable entries (#996)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: