Skip to content

Commit

Permalink
fix: translation format specifier
Browse files Browse the repository at this point in the history
Signed-off-by: Elizabeth Danzberger <[email protected]>
  • Loading branch information
elzody authored and backportbot[bot] committed Jan 24, 2025
1 parent 5676ac6 commit 9ea1cc4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Conversion/ConversionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ public function convertFile(File $file, string $targetMimeType): mixed {
private function getMimeProvidersFor(array $inputMimeTypes, string $outputMimeType): array {
$outputMimeInfo = $this->getMimeInfoFor($outputMimeType);
if ($outputMimeInfo === null) {
$this->logger->error($this->l10n->t('Unable to fetch information on $s', [$outputMimeType]));
$this->logger->error(
$this->l10n->t('Unable to fetch information on %1$s',
[$outputMimeType]
));
throw new \Exception();
}

Expand Down

0 comments on commit 9ea1cc4

Please sign in to comment.