Closed Bug 1436672 Opened 6 years ago Closed 6 years ago

[FTL] Pontoon should display a warning when saving empty strings

Categories

(Webtools Graveyard :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: flod, Assigned: mathjazz)

References

Details

Bug 1436671 is about making sure we serialize back the correct string in FTL, but truth is that Pontoon should not allow to store empty translations so easily.

Right now, if you press Enter on a string and have enough permissions, it allows you store an empty message. It should warn before saving, like it happens when you leave the string with uncommitted changes.
See Also: → 1436671
Summary: Pontoon should display a warning when saving empty strings → [FTL] Pontoon should display a warning when saving empty strings
A non-overridable warning is displayed when trying to save an "empty string" (`key = `) as of:
https://github.com/mozilla/pontoon/commit/b76c53a78ef6d867a22aeb0f4c1970acd092e38b
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Assignee: nobody → m
Priority: -- → P3
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.