See title.

This is required for #1620308: Jobs sent to mygengo show incorrect title. I assume other translators will have a similar requirement.

The reason for adding a function for this is that we now have a parent label that is automatically built when the data structure is flattened.

Comments

berdir’s picture

Status: Active » Needs review
StatusFileSize
new857 bytes
berdir’s picture

StatusFileSize
new859 bytes

Using!empty instead of isset, #parent_label is always set but can be empty.

berdir’s picture

StatusFileSize
new1.74 KB

Added tests.

berdir’s picture

Commited.

berdir’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.