@@ -50,7 +50,7 @@ public function handle(Event $event): void {
5050 $ appPath = $ this ->appManager ->getAppPath ('richdocuments ' );
5151
5252 $ templateManager ->registerTemplateFileCreator (function () use ($ ooxml , $ appPath ) {
53- $ odtType = new TemplateFileCreator ('richdocuments ' , $ this ->l10n ->t ('New document ' ), ($ ooxml ? '.docx ' : '.odt ' ));
53+ $ odtType = new TemplateFileCreator ('richdocuments ' , $ this ->l10n ->t ('Document ' ), ($ ooxml ? '.docx ' : '.odt ' ));
5454 if ($ ooxml ) {
5555 $ odtType ->addMimetype ('application/msword ' );
5656 $ odtType ->addMimetype ('application/vnd.openxmlformats-officedocument.wordprocessingml.document ' );
@@ -63,7 +63,7 @@ public function handle(Event $event): void {
6363 return $ odtType ;
6464 });
6565 $ templateManager ->registerTemplateFileCreator (function () use ($ ooxml , $ appPath ) {
66- $ odsType = new TemplateFileCreator ('richdocuments ' , $ this ->l10n ->t ('New spreadsheet ' ), ($ ooxml ? '.xlsx ' : '.ods ' ));
66+ $ odsType = new TemplateFileCreator ('richdocuments ' , $ this ->l10n ->t ('Spreadsheet ' ), ($ ooxml ? '.xlsx ' : '.ods ' ));
6767 if ($ ooxml ) {
6868 $ odsType ->addMimetype ('application/vnd.ms-excel ' );
6969 $ odsType ->addMimetype ('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet ' );
@@ -76,7 +76,7 @@ public function handle(Event $event): void {
7676 return $ odsType ;
7777 });
7878 $ templateManager ->registerTemplateFileCreator (function () use ($ ooxml , $ appPath ) {
79- $ odpType = new TemplateFileCreator ('richdocuments ' , $ this ->l10n ->t ('New presentation ' ), ($ ooxml ? '.pptx ' : '.odp ' ));
79+ $ odpType = new TemplateFileCreator ('richdocuments ' , $ this ->l10n ->t ('Presentation ' ), ($ ooxml ? '.pptx ' : '.odp ' ));
8080 if ($ ooxml ) {
8181 $ odpType ->addMimetype ('application/vnd.ms-powerpoint ' );
8282 $ odpType ->addMimetype ('application/vnd.openxmlformats-officedocument.presentationml.presentation ' );
@@ -90,7 +90,7 @@ public function handle(Event $event): void {
9090 });
9191
9292 $ templateManager ->registerTemplateFileCreator (function () use ($ ooxml , $ appPath ) {
93- $ odpType = new TemplateFileCreator ('richdocuments ' , $ this ->l10n ->t ('New diagram ' ), '.odg ' );
93+ $ odpType = new TemplateFileCreator ('richdocuments ' , $ this ->l10n ->t ('Diagram ' ), '.odg ' );
9494 $ odpType ->addMimetype ('application/vnd.oasis.opendocument.graphics ' );
9595 $ odpType ->addMimetype ('application/vnd.oasis.opendocument.graphics-template ' );
9696 $ odpType ->setIconSvgInline (file_get_contents ($ appPath . '/img/x-office-drawing.svg ' ));
0 commit comments