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

Update text for internationalization

This commit is contained in:
Frank Kanis
2018-03-21 22:17:34 +01:00
parent d3f9c170ac
commit 055969f5c6
18 changed files with 63 additions and 55 deletions

View File

@@ -6,6 +6,7 @@ import styles from './FolderList.styl'
import store from 'browser/main/store'
import FolderItem from './FolderItem'
import { SortableContainer } from 'react-sortable-hoc'
import i18n from 'browser/lib/i18n'
class FolderList extends React.Component {
render () {
@@ -24,7 +25,7 @@ class FolderList extends React.Component {
<div styleName='folderList'>
{folderList.length > 0
? folderList
: <div styleName='folderList-empty'>No Folders</div>
: <div styleName='folderList-empty'>{i18n.__('No Folders')}</div>
}
</div>
)