Closed
Bug 1382348
Opened 7 years ago
Closed 7 years ago
[FTL] Mark placeables in FTL strings
Categories
(Webtools Graveyard :: Pontoon, defect, P2)
Webtools Graveyard
Pontoon
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mstanke, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
text/x-github-pull-request
|
Details |
I have started translating the new Firefox Screenshots server.ftl file and noticed, that Pontoon does not allow me to insert placeholders or … just by clicking it in the original strings. See https://pontoon.mozilla.org/cs/firefox-screenshots/server.ftl/?string=168594 and https://pontoon.mozilla.org/cs/firefox-screenshots/server.ftl/?string=168509
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Summary: Pontoon does not recognize placeholders and more in .ftl files → [FTL] Mark placeables in FTL strings
Updated•7 years ago
|
Priority: P3 → P2
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Commit pushed to master at https://github.com/mozilla/pontoon
https://github.com/mozilla/pontoon/commit/165070138259cf54bf133c207e711d2eefd86460
Fix bug 1382348: Mark placeables in FTL strings (#782)
Only references to other Messages and External Arguments are detected
as placeables, since FTL gives us this information and we're confident
when to mark them.
The Translate Toolkit placeables logic we use for other formats is not
usable here for various reasons:
* it's written in python and we build the UI in JS
* it yields more false positives since FTL messages contain more makup
It also has other drawbacks, so we should look into replacing it. See
bugs 1251186, 1368602.
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•