File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import yaml from 'js-yaml'
21
21
import { render } from 'react-dom'
22
22
import Carousel from 'react-image-carousel'
23
23
import ConfigManager from '../main/lib/ConfigManager'
24
+ import i18n from 'browser/lib/i18n'
24
25
25
26
const { remote, shell } = require ( 'electron' )
26
27
const attachmentManagement = require ( '../main/lib/dataApi/attachmentManagement' )
@@ -423,7 +424,8 @@ export default class MarkdownPreview extends React.Component {
423
424
. then ( res => {
424
425
dialog . showMessageBox ( remote . getCurrentWindow ( ) , {
425
426
type : 'info' ,
426
- message : `Exported to ${ filename } `
427
+ message : `Exported to ${ filename } ` ,
428
+ buttons : [ i18n . __ ( 'Ok' ) ]
427
429
} )
428
430
} )
429
431
. catch ( err => {
Original file line number Diff line number Diff line change 9
9
"Toggle Mode" : " Toggle Mode" ,
10
10
"Add tag..." : " Add tag..." ,
11
11
"Trash" : " Trash" ,
12
+ "Ok" : " Ok" ,
12
13
"MODIFICATION DATE" : " MODIFICATION DATE" ,
13
14
"Words" : " Words" ,
14
15
"Letters" : " Letters" ,
You can’t perform that action at this time.
0 commit comments