pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Prefill complex message skeleton in source view

Open bugzilla-to-github opened this issue 7 years ago • 2 comments

This issue was created automatically by a script.

Bug 1437859

Bug Reporter: @mathjazz CC: @flodolo, @zbraniecki

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] }

bugzilla-to-github avatar Feb 12 '18 21:02 bugzilla-to-github

Comment Author: @flodolo

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?

bugzilla-to-github avatar Feb 12 '18 22:02 bugzilla-to-github

Comment Author: @mathjazz

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).

bugzilla-to-github avatar Sep 24 '19 21:09 bugzilla-to-github