mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Adjustments for Travis CI
This commit is contained in:
@@ -265,9 +265,9 @@ class SnippetNoteDetail extends React.Component {
|
||||
if (this.state.note.snippets[index].content.trim().length > 0) {
|
||||
const dialogIndex = dialog.showMessageBox(remote.getCurrentWindow(), {
|
||||
type: 'warning',
|
||||
message: i18n.__('Delete a snippet'),
|
||||
detail: i18n.__('This work cannot be undone.'),
|
||||
buttons: [ i18n.__('Confirm'), i18n.__('Cancel')]
|
||||
message: i18n.__('Delete a snippet'),
|
||||
detail: i18n.__('This work cannot be undone.'),
|
||||
buttons: [i18n.__('Confirm'), i18n.__('Cancel')]
|
||||
})
|
||||
if (dialogIndex === 0) {
|
||||
this.deleteSnippetByIndex(index)
|
||||
@@ -508,8 +508,8 @@ class SnippetNoteDetail extends React.Component {
|
||||
showWarning () {
|
||||
dialog.showMessageBox(remote.getCurrentWindow(), {
|
||||
type: 'warning',
|
||||
message: i18n.__('Sorry!'),
|
||||
detail: i18n.__('md/text import is available only a markdown note.'),
|
||||
message: i18n.__('Sorry!'),
|
||||
detail: i18n.__('md/text import is available only a markdown note.'),
|
||||
buttons: ['OK']
|
||||
})
|
||||
}
|
||||
|
||||
@@ -41,9 +41,9 @@ class Detail extends React.Component {
|
||||
|
||||
const alertConfig = {
|
||||
type: 'warning',
|
||||
message: i18n.__('Confirm note deletion'),
|
||||
detail: i18n.__('This will permanently remove this note.'),
|
||||
buttons: [ i18n.__('Confirm'), i18n.__('Cancel')]
|
||||
message: i18n.__('Confirm note deletion'),
|
||||
detail: i18n.__('This will permanently remove this note.'),
|
||||
buttons: [i18n.__('Confirm'), i18n.__('Cancel')]
|
||||
}
|
||||
|
||||
const dialogueButtonIndex = dialog.showMessageBox(remote.getCurrentWindow(), alertConfig)
|
||||
|
||||
@@ -127,5 +127,6 @@
|
||||
"Restore": "Restore",
|
||||
"Permanent Delete": "Dauerhaft Löschen",
|
||||
"Confirm note deletion": "Löschen bestätigen",
|
||||
"This will permanently remove this note.": "Notiz wird dauerhaft gelöscht"
|
||||
"This will permanently remove this note.": "Notiz wird dauerhaft gelöscht",
|
||||
"You have to save!": "You have to save!"
|
||||
}
|
||||
@@ -127,5 +127,6 @@
|
||||
"Restore": "Restore",
|
||||
"Permanent Delete": "Permanent Delete",
|
||||
"Confirm note deletion": "Confirm note deletion",
|
||||
"This will permanently remove this note.": "This will permanently remove this note."
|
||||
"This will permanently remove this note.": "This will permanently remove this note.",
|
||||
"Successfully applied!": "Successfully applied!"
|
||||
}
|
||||
Reference in New Issue
Block a user