From what I understood (correct me if I am wrong), not only should FBT extract the months but also what's created by intlList. You can see in the documentation that I should expect something like this:
<fbt
desc={
'A list of items of various types. {previous items} and' +
' {following items} are themselves lists that contain one or' +
' more items.'
}>
<fbt:param name="previous items">{output}</fbt:param>
{', '}
<fbt:param name="following items">{items[i]}</fbt:param>
</fbt>
🐛 Bug Report
I have the following file: https://github.com/adeira/universe/blob/043ce6f981b6bcb242315e49ff8f2364c211df12/src/abacus-backoffice/src/analytics/QuarterNumberToString.js
From what I understood (correct me if I am wrong), not only should FBT extract the months but also what's created by
intlList
. You can see in the documentation that I should expect something like this:To Reproduce
You can reproduce this by cloning the repository mentioned before and running
yarn workspace @adeira/abacus-backoffice fbt
. Here is what the command would run: https://github.com/adeira/universe/blob/043ce6f981b6bcb242315e49ff8f2364c211df12/src/abacus-backoffice/package.json#L13Expected behavior
FBT should extract not only the month but also the list so it's possible to translate it.
Link to repo (highly encouraged) or paste
see above
envinfo