From 517e1c79a3bc68aac6cb6acfbc257b2c25118efb Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Fri, 12 Aug 2016 14:20:46 +0530 Subject: [PATCH] Make NewFileMenu's display name translatable --- js/viewer/viewer.js | 6 +++--- 1 file 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',