Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion browser/components/MarkdownPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import yaml from 'js-yaml'
import { render } from 'react-dom'
import Carousel from 'react-image-carousel'
import ConfigManager from '../main/lib/ConfigManager'
import i18n from 'browser/lib/i18n'

const { remote, shell } = require('electron')
const attachmentManagement = require('../main/lib/dataApi/attachmentManagement')
Expand Down Expand Up @@ -423,7 +424,8 @@ export default class MarkdownPreview extends React.Component {
.then(res => {
dialog.showMessageBox(remote.getCurrentWindow(), {
type: 'info',
message: `Exported to ${filename}`
message: `Exported to ${filename}`,
buttons: [i18n.__('Ok')]
})
})
.catch(err => {
Expand Down
1 change: 1 addition & 0 deletions locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"Toggle Mode": "Přepnout režim",
"Add tag...": "Přidat štítek...",
"Trash": "Koš",
"Ok": "Ok",
"MODIFICATION DATE": "DATUM ZMĚNY",
"Words": "Slova",
"Letters": "Písmena",
Expand Down
1 change: 1 addition & 0 deletions locales/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"to create a new note": "to create a new note",
"Toggle Mode": "Toggle Mode",
"Trash": "Trash",
"Ok": "Ok",
"MODIFICATION DATE": "MODIFICATION DATE",
"Words": "Words",
"Letters": "Letters",
Expand Down
1 change: 1 addition & 0 deletions locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"to create a new note": "um eine neue Notiz zu erstellen",
"Toggle Mode": "Modus umschalten",
"Trash": "Papierkorb",
"Ok": "Ok",
"MODIFICATION DATE": "ÄNDERUNGSDATUM",
"Words": "Wörter",
"Letters": "Buchstaben",
Expand Down
1 change: 1 addition & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"Toggle Mode": "Toggle Mode",
"Add tag...": "Add tag...",
"Trash": "Trash",
"Ok": "Ok",
"MODIFICATION DATE": "MODIFICATION DATE",
"Words": "Words",
"Letters": "Letters",
Expand Down
1 change: 1 addition & 0 deletions locales/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"to create a new note": "para crear una nueva nota",
"Toggle Mode": "Alternar modo",
"Trash": "Basura",
"Ok": "Ok",
"MODIFICATION DATE": "FECHA DE MODIFICACIÓN",
"Words": "Palabras",
"Letters": "Letras",
Expand Down
1 change: 1 addition & 0 deletions locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"to create a new note": "pour créer une nouvelle note",
"Toggle Mode": "Toggle Mode",
"Trash": "Poubelle",
"Ok": "Ok",
"MODIFICATION DATE": "DATE DE MODIFICATION",
"Words": "Mots",
"Letters": "Lettres",
Expand Down
1 change: 1 addition & 0 deletions locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"to create a new note": "per creare una nuova nota",
"Toggle Mode": "Cambia Modalità",
"Trash": "Cestino",
"Ok": "Ok",
"MODIFICATION DATE": "DATA DI MODIFICA",
"Words": "Parole",
"Letters": "Lettere",
Expand Down
1 change: 1 addition & 0 deletions locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"to create a new note": "para criar uma nova nota",
"Toggle Mode": "Modo de alternância",
"Trash": "Lixeira",
"Ok": "Ok",
"MODIFICATION DATE": "DATA DE MODIFICAÇÃO",
"Words": "Palavras",
"Letters": "Letras",
Expand Down
1 change: 1 addition & 0 deletions locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"to create a new note": "para criar uma nova nota",
"Toggle Mode": "Alternar Modo",
"Trash": "Lixo",
"Ok": "Ok",
"MODIFICATION DATE": "DATA DE MODIFICAÇÃO",
"Words": "Palavras",
"Letters": "Letras",
Expand Down
1 change: 1 addition & 0 deletions locales/sq.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"to create a new note": "to create a new note",
"Toggle Mode": "Toggle Mode",
"Trash": "Trash",
"Ok": "Ok",
"MODIFICATION DATE": "MODIFICATION DATE",
"Words": "Words",
"Letters": "Letters",
Expand Down