1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Merge pull request #782 from MrBMT/update-app-wording

Update application wording
This commit is contained in:
SuenagaRyota
2017-08-10 07:15:18 +09:00
committed by GitHub
6 changed files with 14 additions and 14 deletions

View File

@@ -190,8 +190,8 @@ class MarkdownNoteDetail extends React.Component {
if (isTrashed) { if (isTrashed) {
let dialogueButtonIndex = dialog.showMessageBox(remote.getCurrentWindow(), { let dialogueButtonIndex = dialog.showMessageBox(remote.getCurrentWindow(), {
type: 'warning', type: 'warning',
message: 'Delete a note', message: 'Confirm note deletion',
detail: 'This work cannot be undone.', detail: 'This will permanently remove this note.',
buttons: ['Confirm', 'Cancel'] buttons: ['Confirm', 'Cancel']
}) })
if (dialogueButtonIndex === 1) return if (dialogueButtonIndex === 1) return

View File

@@ -176,8 +176,8 @@ class SnippetNoteDetail extends React.Component {
if (isTrashed) { if (isTrashed) {
let dialogueButtonIndex = dialog.showMessageBox(remote.getCurrentWindow(), { let dialogueButtonIndex = dialog.showMessageBox(remote.getCurrentWindow(), {
type: 'warning', type: 'warning',
message: 'Delete a note', message: 'Confirm note deletion',
detail: 'This work cannot be undone.', detail: 'This will permanently remove this note.',
buttons: ['Confirm', 'Cancel'] buttons: ['Confirm', 'Cancel']
}) })
if (dialogueButtonIndex === 1) return if (dialogueButtonIndex === 1) return

View File

@@ -49,7 +49,7 @@ class Detail extends React.Component {
tabIndex='0' tabIndex='0'
> >
<div styleName='empty'> <div styleName='empty'>
<div styleName='empty-message'>{OSX ? 'Command(⌘)' : 'Ctrl(^)'} + N<br />to create a new post</div> <div styleName='empty-message'>{OSX ? 'Command(⌘)' : 'Ctrl(^)'} + N<br />to create a new note</div>
</div> </div>
<StatusBar <StatusBar
{..._.pick(this.props, ['config', 'location', 'dispatch'])} {..._.pick(this.props, ['config', 'location', 'dispatch'])}

View File

@@ -446,9 +446,9 @@ class NoteList extends React.Component {
value={config.sortBy} value={config.sortBy}
onChange={(e) => this.handleSortByChange(e)} onChange={(e) => this.handleSortByChange(e)}
> >
<option value='UPDATED_AT'>Updated Time</option> <option value='UPDATED_AT'>Last Updated</option>
<option value='CREATED_AT'>Created Time</option> <option value='CREATED_AT'>Creation Time</option>
<option value='ALPHABETICAL'>Alphabetical</option> <option value='ALPHABETICAL'>Alphabetically</option>
</select> </select>
</div> </div>
<div styleName='control-button-area'> <div styleName='control-button-area'>

View File

@@ -298,8 +298,8 @@ class StorageItem extends React.Component {
let index = dialog.showMessageBox(remote.getCurrentWindow(), { let index = dialog.showMessageBox(remote.getCurrentWindow(), {
type: 'warning', type: 'warning',
message: 'Unlink Storage', message: 'Unlink Storage',
detail: 'This work just detatches a storage from Boostnote. (Any data won\'t be deleted.)', detail: 'Unlinking removes this linked storage from Boostnote. No data is removed, please manually delete the folder from your hard drive if needed.',
buttons: ['Confirm', 'Cancel'] buttons: ['Unlink', 'Cancel']
}) })
if (index === 0) { if (index === 0) {

View File

@@ -192,7 +192,7 @@ class UiTab extends React.Component {
<div styleName='group-section'> <div styleName='group-section'>
<div styleName='group-section-label'> <div styleName='group-section-label'>
Switching Preview Switch to Preview
</div> </div>
<div styleName='group-section-control'> <div styleName='group-section-control'>
<select value={config.editor.switchPreview} <select value={config.editor.switchPreview}
@@ -200,7 +200,7 @@ class UiTab extends React.Component {
onChange={(e) => this.handleUIChange(e)} onChange={(e) => this.handleUIChange(e)}
> >
<option value='BLUR'>When Editor Blurred</option> <option value='BLUR'>When Editor Blurred</option>
<option value='RIGHTCLICK'>When Right Clicking</option> <option value='RIGHTCLICK'>On Right Click</option>
</select> </select>
</div> </div>
</div> </div>
@@ -218,7 +218,7 @@ class UiTab extends React.Component {
<option value='vim'>vim</option> <option value='vim'>vim</option>
<option value='emacs'>emacs</option> <option value='emacs'>emacs</option>
</select> </select>
<span styleName='note-for-keymap'>Please reload boostnote after you change the keymap</span> <span styleName='note-for-keymap'>Please restart boostnote after you change the keymap</span>
</div> </div>
</div> </div>
@@ -271,7 +271,7 @@ class UiTab extends React.Component {
ref='previewLineNumber' ref='previewLineNumber'
type='checkbox' type='checkbox'
/>&nbsp; />&nbsp;
Code block line numbering Show line numbers for preview code blocks
</label> </label>
</div> </div>