Closed Bug 1437859 Opened 7 years ago Closed 4 years ago

[FTL] Prefill complex message skeleton in source view

Categories

(Webtools Graveyard :: Pontoon, enhancement, P4)

enhancement

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: mathjazz, Unassigned)

Details

Source view for untranslated strings only contains the ID with the equal sign. If the original string is complex (contains attributes or variants), we could prefill it. For example, now I get: > delete-all-message = Instead, we could do something like this: > delete-all-message = { $num -> > [one] > *[other] > }
Possible alternative: allow to show the en-US source (e.g. a Show Raw Source to toggle the source view, displaying the actual FTL instead of nice UI) to allow copy and paste?

Note that this bug has effectively been fixed in Translate.Next when you manually switch to the source editor.

We still need to prefill the source editor when it's shown automatically (because translation is not supported in the rich editor).

*This bug has been moved to GitHub.* *Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → MOVED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.