Skip to content

Commit 7df3cac

Browse files
elzodybackportbot[bot]
authored andcommitted
feat: add more context for translators
Signed-off-by: Elizabeth Danzberger <[email protected]>
1 parent 9ea1cc4 commit 7df3cac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/Conversion/ConversionProvider.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,14 @@ private function getMimeProvidersFor(array $inputMimeTypes, string $outputMimeTy
149149
$outputMimeInfo = $this->getMimeInfoFor($outputMimeType);
150150
if ($outputMimeInfo === null) {
151151
$this->logger->error(
152+
/*
153+
* TRANSLATORS
154+
* Shows the MIME type of the file (the file type)
155+
* For example:
156+
* - application/pdf (.pdf)
157+
* - application/msword (.doc)
158+
* - text/plain (.txt)
159+
*/
152160
$this->l10n->t('Unable to fetch information on %1$s',
153161
[$outputMimeType]
154162
));

0 commit comments

Comments
 (0)