Release 2.40.0 (#5621)

This commit is contained in:
Kevin Papst
2025-09-26 10:49:06 +02:00
committed by GitHub
parent 6d78c6ba36
commit 7937fa281a
54 changed files with 531 additions and 399 deletions

View File

@@ -457,7 +457,7 @@ final class TranslationCommand extends Command
$unit['resname'] = $source;
}
if ($unit['resname'] !== null) {
$unit['id'] = $this->generateId($unit['resname']); // @phpstan-ignore offsetAssign.valueType
$unit['id'] = $this->generateId($unit['resname']);
}
}
@@ -492,7 +492,7 @@ final class TranslationCommand extends Command
);
}
$unit->target[0] = $translations[$key];
$unit->target['state'] = 'needs-translation'; // @phpstan-ignore assign.propertyType
$unit->target['state'] = 'needs-translation';
$foundEmpty = true;
}