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

Prepared text for translation

This commit is contained in:
Frank Kanis
2018-03-22 21:20:13 +01:00
parent 7ab81608e8
commit 3a40f9ebd6
9 changed files with 17 additions and 14 deletions

View File

@@ -151,12 +151,12 @@ class FolderItem extends React.Component {
<button styleName='folderItem-right-confirmButton'
onClick={(e) => this.handleConfirmButtonClick(e)}
>
Confirm
{i18n.__('Confirm')}
</button>
<button styleName='folderItem-right-button'
onClick={(e) => this.handleCancelButtonClick(e)}
>
Cancel
{i18n.__('Cancel')}
</button>
</div>
</div>

View File

@@ -120,8 +120,8 @@ class HotkeyTab extends React.Component {
onClick={(e) => this.handleHintToggleButtonClick(e)}
>
{this.state.isHotkeyHintOpen
? 'Hide Help'
: 'Help'
? i18n.__('Hide Help')
: i18n.__('Help')
}
</button>
<button styleName='group-control-rightButton'
@@ -131,7 +131,7 @@ class HotkeyTab extends React.Component {
</div>
{this.state.isHotkeyHintOpen &&
<div styleName='group-hint'>
<p>Available Keys</p>
<p>{i18n.__('Available Keys')}</p>
<ul>
<li><code>0</code> to <code>9</code></li>
<li><code>A</code> to <code>Z</code></li>

View File

@@ -23,7 +23,7 @@ class StorageItem extends React.Component {
handleNewFolderButtonClick (e) {
const { storage } = this.props
const input = {
name: 'Untitled',
name: i18n.__('New Folder'),
color: consts.FOLDER_COLORS[Math.floor(Math.random() * 7) % 7]
}