Skip to content

Commit

Permalink
Merge pull request #4444 from nextcloud/backport/4442/stable31
Browse files Browse the repository at this point in the history
[stable31] fix: portable document format --> pdf
  • Loading branch information
elzody authored Feb 4, 2025
2 parents 65f451c + 9764ce8 commit 78895c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Conversion/ConversionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function convertFile(File $file, string $targetMimeType): mixed {
[$targetMimeType]
));
}

return $this->remoteService->convertFileTo($file, $targetFileExtension);
}

Expand Down Expand Up @@ -196,7 +196,7 @@ private function getTargetMimeTypes(): array {
return [
'application/pdf' => [
'extension' => 'pdf',
'displayName' => $this->l10n->t('Portable Document Format (.pdf)'),
'displayName' => $this->l10n->t('PDF (.pdf)'),
],
'image/png' => [
'extension' => 'png',
Expand Down

0 comments on commit 78895c5

Please sign in to comment.