Closed Bug 1455099 Opened 6 years ago Closed 6 years ago

[FTL] Make selectors with siblings more readable

Categories

(Webtools Graveyard :: Pontoon, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: mathjazz)

Details

Attachments

(2 files)

Currently the editor and source string UI look rather confusing when a string contains a selector that is surrounded by other elements (of any type, including additional selectors).

We should make strings of such complexity easier to read.

An example of such string:

selector-multi =
    There { $num ->
         [one] is one email
        *[other] are many emails
    } for { $gender ->
        *[masculine] him
         [feminine] her
    }
Assignee: nobody → m
Status: NEW → ASSIGNED
Commit pushed to master at https://github.com/mozilla/pontoon

https://github.com/mozilla/pontoon/commit/d6e189114be3574ccfe45e89f7afbf75495308c6
Fix bug 1455099: [FTL] Make selectors with siblings more readable (#987)

By using indentation.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: