Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-04-07 21:06:27 +0300
committerGitHub <noreply@github.com>2021-04-07 21:06:27 +0300
commit2710658233651703805358d87f3ca6c628c0b3ed (patch)
tree6927c0a94b3dcea78ce7c0f3e7ca375d9af0d1d5 /lib
parente394fac568cf87bac33f34f2f967585033cb7b50 (diff)
parent7401d174991358dad2f92d697d51095ed64496bf (diff)
Merge pull request #1465 from tiredofit/patch-1
Fix OOXML template extension
Diffstat (limited to 'lib')
-rw-r--r--lib/AppInfo/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 285b499a..9f07bbb0 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -100,7 +100,7 @@ class Application extends App implements IBootstrap {
return $odtType;
});
$templateManager->registerTemplateFileCreator(function () use ($l10n, $ooxml) {
- $odsType = new TemplateFileCreator('richdocuments', $l10n->t('New spreadsheet'), ($ooxml ? '.xslx' : '.ods'));
+ $odsType = new TemplateFileCreator('richdocuments', $l10n->t('New spreadsheet'), ($ooxml ? '.xlsx' : '.ods'));
if ($ooxml) {
$odsType->addMimetype('application/vnd.ms-excel');
$odsType->addMimetype('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');