Translation Improvements

This commit is contained in:
Qstick
2022-07-05 22:00:07 -05:00
parent 8c10f8b55c
commit 9959a1b5ed
7 changed files with 39 additions and 28 deletions

View File

@@ -20,9 +20,9 @@ const SIDEBAR_WIDTH = parseInt(dimensions.sidebarWidth);
const links = [
{
iconName: icons.MOVIE_CONTINUING,
title: 'Indexers',
title: translate('Indexers'),
to: '/',
alias: '/movies',
alias: '/indexers',
children: [
{
title: translate('Stats'),
@@ -33,13 +33,13 @@ const links = [
{
iconName: icons.SEARCH,
title: 'Search',
title: translate('Search'),
to: '/search'
},
{
iconName: icons.ACTIVITY,
title: 'History',
title: translate('History'),
to: '/history'
},

View File

@@ -35,21 +35,21 @@ class IndexerIndexFooter extends PureComponent {
<div className={styles.legendItem}>
<div className={styles.enabled} />
<div>
Enabled
{translate('Enabled')}
</div>
</div>
<div className={styles.legendItem}>
<div className={styles.redirected} />
<div>
Enabled, Redirected
{translate('EnabledRedirected')}
</div>
</div>
<div className={styles.legendItem}>
<div className={styles.disabled} />
<div>
Disabled
{translate('Disabled')}
</div>
</div>
@@ -60,7 +60,7 @@ class IndexerIndexFooter extends PureComponent {
)}
/>
<div>
Error
{translate('Error')}
</div>
</div>
</div>

View File

@@ -36,31 +36,31 @@ export const defaultState = {
},
{
name: 'indexer',
label: 'Indexer',
label: translate('Indexer'),
isSortable: false,
isVisible: true
},
{
name: 'query',
label: 'Query',
label: translate('Query'),
isSortable: false,
isVisible: true
},
{
name: 'parameters',
label: 'Parameters',
label: translate('Parameters'),
isSortable: false,
isVisible: false
},
{
name: 'grabTitle',
label: 'Grab Title',
label: translate('Grab Title'),
isSortable: false,
isVisible: false
},
{
name: 'categories',
label: 'Categories',
label: translate('Categories'),
isSortable: false,
isVisible: true
},
@@ -72,13 +72,13 @@ export const defaultState = {
},
{
name: 'source',
label: 'Source',
label: translate('Source'),
isSortable: false,
isVisible: false
},
{
name: 'elapsedTime',
label: 'Elapsed Time',
label: translate('Elapsed Time'),
isSortable: false,
isVisible: true
},

View File

@@ -36,7 +36,7 @@ export const defaultState = {
columns: [
{
name: 'select',
columnLabel: 'Select',
columnLabel: translate('Select'),
isSortable: false,
isVisible: true,
isModifiable: false,
@@ -51,7 +51,7 @@ export const defaultState = {
},
{
name: 'sortName',
label: 'Indexer Name',
label: translate('IndexerName'),
isSortable: true,
isVisible: true,
isModifiable: false
@@ -88,7 +88,7 @@ export const defaultState = {
},
{
name: 'capabilities',
label: 'Categories',
label: translate('Categories'),
isSortable: false,
isVisible: true
},

View File

@@ -15,27 +15,27 @@ const columns = [
},
{
name: 'commandName',
label: 'Name',
label: translate('Name'),
isVisible: true
},
{
name: 'queued',
label: 'Queued',
label: translate('Queued'),
isVisible: true
},
{
name: 'started',
label: 'Started',
label: translate('Started'),
isVisible: true
},
{
name: 'ended',
label: 'Ended',
label: translate('Ended'),
isVisible: true
},
{
name: 'duration',
label: 'Duration',
label: translate('Duration'),
isVisible: true
},
{

View File

@@ -10,27 +10,27 @@ import ScheduledTaskRowConnector from './ScheduledTaskRowConnector';
const columns = [
{
name: 'name',
label: 'Name',
label: translate('Name'),
isVisible: true
},
{
name: 'interval',
label: 'Interval',
label: translate('Interval'),
isVisible: true
},
{
name: 'lastExecution',
label: 'Last Execution',
label: translate('LastExecution'),
isVisible: true
},
{
name: 'lastDuration',
label: 'Last Duration',
label: translate('LastDuration'),
isVisible: true
},
{
name: 'nextExecution',
label: 'Next Execution',
label: translate('NextExecution'),
isVisible: true
},
{