Translate the filenames as well

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-09-06 11:21:16 +02:00
Родитель 1ccdb8b3d2
Коммит 5a18f5f28f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: F941078878347C0C
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -168,7 +168,7 @@ var odfViewer = {
newFileMenu.addMenuEntry({
id: 'add-' + docExt,
displayName: t('richdocuments', 'New Document'),
templateName: 'New Document.' + docExt,
templateName: t('richdocuments', 'New Document') + '.' + docExt,
iconClass: 'icon-filetype-document',
fileType: 'x-office-document',
actionHandler: function(filename) {
@ -179,7 +179,7 @@ var odfViewer = {
newFileMenu.addMenuEntry({
id: 'add-' + spreadsheetExt,
displayName: t('richdocuments', 'New Spreadsheet'),
templateName: 'New Spreadsheet.' + spreadsheetExt,
templateName: t('richdocuments', 'New Spreadsheet') + '.' + spreadsheetExt,
iconClass: 'icon-filetype-spreadsheet',
fileType: 'x-office-spreadsheet',
actionHandler: function(filename) {
@ -190,7 +190,7 @@ var odfViewer = {
newFileMenu.addMenuEntry({
id: 'add-' + presentationExt,
displayName: t('richdocuments', 'New Presentation'),
templateName: 'New Presentation.' + presentationExt,
templateName: t('richdocuments', 'New Presentation') + '.' + presentationExt,
iconClass: 'icon-filetype-presentation',
fileType: 'x-office-presentation',
actionHandler: function(filename) {