Make NewFileMenu's display name translatable
This commit is contained in:
parent
0ecf00f6c0
commit
517e1c79a3
@ -121,7 +121,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
newFileMenu.addMenuEntry({
|
newFileMenu.addMenuEntry({
|
||||||
id: 'add-odt',
|
id: 'add-odt',
|
||||||
displayName: 'Document',
|
displayName: t('richdocuments', 'Document'),
|
||||||
templateName: 'New Document.odt',
|
templateName: 'New Document.odt',
|
||||||
iconClass: 'icon-filetype-document',
|
iconClass: 'icon-filetype-document',
|
||||||
fileType: 'x-office-document',
|
fileType: 'x-office-document',
|
||||||
@ -132,7 +132,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
newFileMenu.addMenuEntry({
|
newFileMenu.addMenuEntry({
|
||||||
id: 'add-ods',
|
id: 'add-ods',
|
||||||
displayName: 'Spreadsheet',
|
displayName: t('richdocuments', 'Spreadsheet'),
|
||||||
templateName: 'New Spreadsheet.ods',
|
templateName: 'New Spreadsheet.ods',
|
||||||
iconClass: 'icon-filetype-spreadsheet',
|
iconClass: 'icon-filetype-spreadsheet',
|
||||||
fileType: 'x-office-spreadsheet',
|
fileType: 'x-office-spreadsheet',
|
||||||
@ -143,7 +143,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
newFileMenu.addMenuEntry({
|
newFileMenu.addMenuEntry({
|
||||||
id: 'add-odp',
|
id: 'add-odp',
|
||||||
displayName: 'Presentation',
|
displayName: t('richdocuments', 'Presentation'),
|
||||||
templateName: 'New Presentation.odp',
|
templateName: 'New Presentation.odp',
|
||||||
iconClass: 'icon-filetype-presentation',
|
iconClass: 'icon-filetype-presentation',
|
||||||
fileType: 'x-office-presentation',
|
fileType: 'x-office-presentation',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user