diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2016-08-12 11:50:46 +0300 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2016-08-12 11:53:34 +0300 |
commit | 517e1c79a3bc68aac6cb6acfbc257b2c25118efb (patch) | |
tree | 62f262d5e580f03bb1c0b5d0e4ce640c482f0832 /js | |
parent | 0ecf00f6c03db6b1573364a7bad47a8469885629 (diff) |
Make NewFileMenu's display name translatable
Diffstat (limited to 'js')
-rw-r--r-- | js/viewer/viewer.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/viewer/viewer.js b/js/viewer/viewer.js index b8e6f2c0..27318ca7 100644 --- a/js/viewer/viewer.js +++ b/js/viewer/viewer.js @@ -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', |