Closed Bug 1436671 Opened 7 years ago Closed 7 years ago

[FTL] Pontoon should escape empty strings when serializing the file back

Categories

(Webtools Graveyard :: Pontoon, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: flod, Assigned: mathjazz)

References

Details

Related to bug 1436669, issues found while testing Webstatus with latest python-fluent and compare-locales.

Empty strings are now reported as Junk, and we had quite a few of those across projects, e.g.
https://github.com/mozilla-services/screenshots/commit/1475757bda2e7967161a1fb49427900b6d067fd6
See Also: → 1436672
It is no longer possible to save an "empty string" (`key = `) as of:
https://github.com/mozilla/pontoon/commit/b76c53a78ef6d867a22aeb0f4c1970acd092e38b

I also checked that we no longer have any "empty strings" stored in Pontoon DB.

If a user wants to save an empty string, they need to use the source view and the `key = {""}` syntax.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
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.