Open zbraniecki opened 6 years ago
A couple of thoughts on point 1:
On one side I think we should not just think of Pontoon, on the other I have a hard time thinking about localizers with Pontoon out of the picture :)
I'm not against the proposal, but I have a hard time finding how this could improve the experience for localizers.
This is part of the series of proposals spanning out of the meta #16.
Title Line
The title line of the comment is meant to provide two main features:
1) ability to use group comments as visual indicators in lists
The first goal is primarily driven by the Pontoon use case, where we display a list of strings in a resource on the left. With this feature on, we could additionally cluster the groups of messages with semantically valid title:
2) denote the first line of a group comment as a title for faster scannning
When scanning FTL resource files, group comments can be used to help identify the section of the file we want to work with.
Unfortunately, without the title line, the comment requires to be read to understand its role:
Details
My proposal is to identify the title line of any comment as fitting into one of two conditions:
1) Being the only non-empty line of the comment 2) Being the first non-empty line of the comment with a blank line right below it.
That means that the following two are titles lines:
but this is not: