this.handleLinkClick(e)}
- >Development : Development configurations for Boostnote.
+ >{i18n.__('Development')}{i18n.__(' : Development configurations for Boostnote.')}
Boostnote collects anonymous data for the sole purpose of improving the application, and strictly does not collect any personal information such the contents of your notes.
{i18n.__('Boostnote collects anonymous data for the sole purpose of improving the application, and strictly does not collect any personal information such the contents of your notes.')}
{i18n.__('You can choose to enable or disable this option.')}
this.handleConfigChange(e)}
checked={this.state.config.amaEnabled}
ref='amaEnabled'
type='checkbox'
/>
- Enable analytics to help improve Boostnote
+ {i18n.__('Enable analytics to help improve Boostnote')}
{this.infoMessage()}
diff --git a/browser/main/modals/PreferencesModal/StorageItem.js b/browser/main/modals/PreferencesModal/StorageItem.js
index f2092835..28675860 100644
--- a/browser/main/modals/PreferencesModal/StorageItem.js
+++ b/browser/main/modals/PreferencesModal/StorageItem.js
@@ -6,6 +6,7 @@ import consts from 'browser/lib/consts'
import dataApi from 'browser/main/lib/dataApi'
import store from 'browser/main/store'
import FolderList from './FolderList'
+import i18n from 'browser/lib/i18n'
const { shell, remote } = require('electron')
const { dialog } = remote
@@ -127,7 +128,7 @@ class StorageItem extends React.Component {
Add Folder
+ >{i18n.__('Add Folder')}
diff --git a/browser/main/modals/PreferencesModal/StoragesTab.js b/browser/main/modals/PreferencesModal/StoragesTab.js
index f66a617e..a6be9555 100644
--- a/browser/main/modals/PreferencesModal/StoragesTab.js
+++ b/browser/main/modals/PreferencesModal/StoragesTab.js
@@ -4,6 +4,7 @@ import CSSModules from 'browser/lib/CSSModules'
import styles from './StoragesTab.styl'
import dataApi from 'browser/main/lib/dataApi'
import StorageItem from './StorageItem'
+import i18n from 'browser/lib/i18n'
const electron = require('electron')
const { shell, remote } = electron
@@ -69,16 +70,16 @@ class StoragesTab extends React.Component {
})
return (
diff --git a/browser/main/modals/PreferencesModal/UiTab.js b/browser/main/modals/PreferencesModal/UiTab.js
index 50e13f6c..2e6ae7e1 100644
--- a/browser/main/modals/PreferencesModal/UiTab.js
+++ b/browser/main/modals/PreferencesModal/UiTab.js
@@ -9,6 +9,7 @@ import ReactCodeMirror from 'react-codemirror'
import CodeMirror from 'codemirror'
import 'codemirror-mode-elixir'
import _ from 'lodash'
+import i18n from 'browser/lib/i18n'
const OSX = global.process.platform === 'darwin'
@@ -151,19 +152,19 @@ class UiTab extends React.Component {
return (
-
Interface
+
{i18n.__('Interface')}
- Interface Theme
+ {i18n.__('Interface Theme')}
@@ -174,7 +175,7 @@ class UiTab extends React.Component {
ref='showCopyNotification'
type='checkbox'
/>
- Show "Saved to Clipboard" notification when copying
+ {i18n.__('Show "Saved to Clipboard" notification when copying')}
@@ -184,7 +185,7 @@ class UiTab extends React.Component {
ref='confirmDeletion'
type='checkbox'
/>
- Show a confirmation dialog when deleting notes
+ {i18n.__('Show a confirmation dialog when deleting notes')}
{
@@ -206,7 +207,7 @@ class UiTab extends React.Component {