Page MenuHomePhabricator

Better handling of lists
Open, Needs TriagePublic

Description

Currently, to translate a list, you can either do

<translate>
<!--T:1-->
* Foo
* Bar
* Baz
</translate>

and translate it as a group, including the list syntax, or

* <translate><!--T:1--> Foo</translate>
* <translate><!--T:2--> Bar</translate>
* <translate><!--T:3--> Baz</translate>

to translate the items individually, without the list syntax.

There should be a way to easily split a list into different translation units without needing to use <translate></translate> tags around each unit individually, and without breaking the html output of the list markup. Something like

<translate>
<!--T:1-->
* Foo
* Bar
<!--T:2-->
* Baz
</translate>

that results in translation unit 1 with

Foo
Bar

and translation unit 2 with
Baz
and with the list output working regularly

Event Timeline

Restricted Application added a project: User-DannyS712. · View Herald TranscriptAug 11 2019, 2:51 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript