Closed
Bug 1280686
Opened 8 years ago
Closed 8 years ago
Build UI for advanced L20n patterns
Categories
(Webtools Graveyard :: Pontoon, defect, P2)
Webtools Graveyard
Pontoon
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mathjazz, Assigned: mathjazz)
References
()
Details
(Whiteboard: [gecko-l20n])
User Story
FTL syntax of the L20n fame offers features that require changes to our translation UI in order to be easy to use. For that to work, we also need to change our data model. BLOCKERS FOR L20N IN ANDROID - source view - defaults - autocomplete entity references: original entities only - general selector support NICE TO HAVE - errors - non-selector variants - semantic comments - call expressions - autocomplete variants and variant expressions
No description provided.
Comment 1•8 years ago
|
||
matjazz: do we have any sketches/wireframes for the new l20n editor?
Flags: needinfo?(m)
Assignee | ||
Comment 2•8 years ago
|
||
Not yet.
We should either:
1. Prepare something for each of the advanced FTL syntax features.
2. Identify the most common use cases for these advanced features (like genders, plurals, access keys, HTML attributes, etc.) and build upon that.
Flags: needinfo?(m)
Priority: -- → P2
Comment 3•8 years ago
|
||
The first pieces of UI we port to l20n will be full of XUL attribute traits for access and command keys.
Comment 4•8 years ago
|
||
Mass change dependency tree for bug 1279002 into a whiteboard keyword.
No longer blocks: gecko-l20n
Whiteboard: [gecko-l20n]
Assignee | ||
Updated•8 years ago
|
Summary: Modify Entity, Translation, TranslationMemory data models to support FTL → Build UI for advanced L20n patterns
Assignee | ||
Updated•8 years ago
|
User Story: (updated)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → m
Assignee | ||
Updated•8 years ago
|
User Story: (updated)
Comment 6•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/pontoon
https://github.com/mozilla/pontoon/commit/0fbfe463f91ca9fd8ad55a3c196ff40a571d647a
Fix bug 1280686: UI for advanced FTL patterns (#518)
This is the first attempt at implementing UI for the advanced Project
Fluent patterns. It supports FTL 0.3.
Since FTL syntax should more stable than the AST, we store FTL messages
as strings in the DB.
**It brings:**
* More robust `FTL` file format parsing and serialization.
* Support for all patterns used in Test Pilot project, which is already enabled:
* Simple strings.
* Multiline strings.
* Attributes.
* Special interface for localizing access keys.
* Special interface for localizing plurals.
* Basic error handling of translations.
FTL switch and Attributes button are hidden for now.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•8 years ago
|
||
Filed a separate bug to track features needed by Android:
https://bugzilla.mozilla.org/show_bug.cgi?id=1362072
Comment 8•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/pontoon
https://github.com/mozilla/pontoon/commit/aed321709091aab5d8e8228462fce7bdbbf9db2a
Bug 1280686: FTL presentation fixes (#597)
This fixes several issues with the display of FTL strings:
* Render Locale suggestions as simple preview
* Escape HTML in source strings
* Properly display strings with placeables
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
•