-
Max files per torrent (current: {this.options.filters && this.options.filters.maxFiles})
+
{__('Max files per torrent')} ({__('current')}: {this.options.filters && this.options.filters.maxFiles})
{
if(!this.options.filters)
@@ -145,14 +145,14 @@ export default class ConfigPage extends Page {
{
this.toRemoveProbably && this.toRemoveProbably > 0
?
- Torrents to clean: {this.toRemoveProbably}
+ {__('Torrents to clean')}: {this.toRemoveProbably}
:
null
}
{
this.toRemove && this.toRemove > 0
?
- Torrents cleaned: {this.toRemove}
+ {__('Torrents cleaned')}: {this.toRemove}
:
null
}
@@ -160,17 +160,17 @@ export default class ConfigPage extends Page {
{
this.settingsSavedMessage
&&
- Settings saved
+ {__('Settings saved')}
}
- {
+ {
window.torrentSocket.emit('removeTorrents', true, window.customLoader((toRemove) => {
this.toRemoveProbably = toRemove
this.forceUpdate()
}));
}} />
- {
+ {
window.torrentSocket.emit('removeTorrents', false, window.customLoader((toRemove) => {
this.toRemove = toRemove
this.forceUpdate()
@@ -179,7 +179,7 @@ export default class ConfigPage extends Page {
- {
+ {
this.saveSettings()
}} />
diff --git a/src/app/index-page.js b/src/app/index-page.js
index b99f497..cf18aec 100644
--- a/src/app/index-page.js
+++ b/src/app/index-page.js
@@ -40,7 +40,7 @@ export default class IndexPage extends Page {
searchText={Search.instance().currentSearch}
resultSelector={
{
@@ -68,13 +68,13 @@ export default class IndexPage extends Page {
})
}}
>
-
-
-
-
-
-
-
+
+
+
+
+
+
+
}
diff --git a/src/app/input-files-filter.js b/src/app/input-files-filter.js
index 3cfd69d..4f65df1 100644
--- a/src/app/input-files-filter.js
+++ b/src/app/input-files-filter.js
@@ -38,7 +38,7 @@ export default class InputFilesFilter extends Component {
return (
this.setState({enabled: !this.state.enabled})}
@@ -53,17 +53,17 @@ export default class InputFilesFilter extends Component {
onChange={files => this.setState({ files })}
/>
this.setState({filesMax: value})}
className='filter-control-border'
>
-
-
-
-
-
-
+
+
+
+
+
+