From 7df3cac79b7ba25e457201f6a3a726960d1b718d Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Fri, 24 Jan 2025 10:45:32 -0500 Subject: [PATCH] feat: add more context for translators Signed-off-by: Elizabeth Danzberger --- lib/Conversion/ConversionProvider.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/Conversion/ConversionProvider.php b/lib/Conversion/ConversionProvider.php index b12c5a16e0..cf9499cb9c 100644 --- a/lib/Conversion/ConversionProvider.php +++ b/lib/Conversion/ConversionProvider.php @@ -149,6 +149,14 @@ private function getMimeProvidersFor(array $inputMimeTypes, string $outputMimeTy $outputMimeInfo = $this->getMimeInfoFor($outputMimeType); if ($outputMimeInfo === null) { $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] ));