1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-12 17:26:17 +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

@@ -2,6 +2,7 @@ import React from 'react'
import CSSModules from 'browser/lib/CSSModules'
import styles from './SnippetTab.styl'
import context from 'browser/lib/context'
import i18n from 'browser/lib/i18n'
class SnippetTab extends React.Component {
constructor (props) {
@@ -28,7 +29,7 @@ class SnippetTab extends React.Component {
handleContextMenu (e) {
context.popup([
{
label: 'Rename',
label: i18n.__('Rename'),
click: (e) => this.handleRenameClick(e)
}
])
@@ -114,7 +115,7 @@ class SnippetTab extends React.Component {
{snippet.name.trim().length > 0
? snippet.name
: <span styleName='button-unnamed'>
Unnamed
{i18n.__('Unnamed')}
</span>
}
</button>