diff --git a/lib/Conversion/ConversionProvider.php b/lib/Conversion/ConversionProvider.php index 072a02f5f6..cf9499cb9c 100644 --- a/lib/Conversion/ConversionProvider.php +++ b/lib/Conversion/ConversionProvider.php @@ -148,7 +148,18 @@ 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( + /* + * TRANSLATORS + * Shows the MIME type of the file (the file type) + * For example: + * - application/pdf (.pdf) + * - application/msword (.doc) + * - text/plain (.txt) + */ + $this->l10n->t('Unable to fetch information on %1$s', + [$outputMimeType] + )); throw new \Exception(); }