Browse Source

Merge pull request #100 from pranavk/master

Make NewFileMenu's display name translatable
tags/1.1.22
Jan Holesovsky 3 years ago
parent
commit
1e6bd85e6b
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      js/viewer/viewer.js

+ 3
- 3
js/viewer/viewer.js View File

@@ -121,7 +121,7 @@ $(document).ready(function() {

newFileMenu.addMenuEntry({
id: 'add-odt',
displayName: 'Document',
displayName: t('richdocuments', 'Document'),
templateName: 'New Document.odt',
iconClass: 'icon-filetype-document',
fileType: 'x-office-document',
@@ -132,7 +132,7 @@ $(document).ready(function() {

newFileMenu.addMenuEntry({
id: 'add-ods',
displayName: 'Spreadsheet',
displayName: t('richdocuments', 'Spreadsheet'),
templateName: 'New Spreadsheet.ods',
iconClass: 'icon-filetype-spreadsheet',
fileType: 'x-office-spreadsheet',
@@ -143,7 +143,7 @@ $(document).ready(function() {

newFileMenu.addMenuEntry({
id: 'add-odp',
displayName: 'Presentation',
displayName: t('richdocuments', 'Presentation'),
templateName: 'New Presentation.odp',
iconClass: 'icon-filetype-presentation',
fileType: 'x-office-presentation',

Loading…
Cancel
Save