- First commit to issue fork.
- @andypost opened merge request.
- π«π·France andypost
Used to run test for 11.x and cherry-picked commit from previous MR (thanks smustgrave for 9.5)
- π¬π§United Kingdom alexpott πͺπΊπ
There's so much odd code in this class...
foreach ($this->translation as $i => $trans) { if (isset($this->translation[$i])) { $output .= 'msgstr[' . $i . '] ' . $this->formatString($trans); } else { $output .= 'msgstr[' . $i . '] ""' . "\n"; } }
Afaics
if (isset($this->translation[$i])) {
must be true. I'm not even sure what that code is try to do... - maybe handle the case where one of the plural forms is not translated.Anyhow this fix is fine.
-
alexpott β
committed be9783de on 11.x
Issue #3278481 by andypost, gapple, smustgrave: PoItem::formatSingular...
-
alexpott β
committed be9783de on 11.x