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 = [ const links = [
{ {
iconName: icons.MOVIE_CONTINUING, iconName: icons.MOVIE_CONTINUING,
title: 'Indexers', title: translate('Indexers'),
to: '/', to: '/',
alias: '/movies', alias: '/indexers',
children: [ children: [
{ {
title: translate('Stats'), title: translate('Stats'),
@@ -33,13 +33,13 @@ const links = [
{ {
iconName: icons.SEARCH, iconName: icons.SEARCH,
title: 'Search', title: translate('Search'),
to: '/search' to: '/search'
}, },
{ {
iconName: icons.ACTIVITY, iconName: icons.ACTIVITY,
title: 'History', title: translate('History'),
to: '/history' to: '/history'
}, },

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -116,13 +116,16 @@
"DownloadClientsSettingsSummary": "Download clients configuration for integration into Prowlarr UI search", "DownloadClientsSettingsSummary": "Download clients configuration for integration into Prowlarr UI search",
"DownloadClientStatusCheckAllClientMessage": "All download clients are unavailable due to failures", "DownloadClientStatusCheckAllClientMessage": "All download clients are unavailable due to failures",
"DownloadClientStatusCheckSingleClientMessage": "Download clients unavailable due to failures: {0}", "DownloadClientStatusCheckSingleClientMessage": "Download clients unavailable due to failures: {0}",
"Duration": "Duration",
"Edit": "Edit", "Edit": "Edit",
"EditIndexer": "Edit Indexer", "EditIndexer": "Edit Indexer",
"EditSyncProfile": "Edit Sync Profile", "EditSyncProfile": "Edit Sync Profile",
"ElapsedTime": "Elapsed Time",
"Enable": "Enable", "Enable": "Enable",
"EnableAutomaticSearch": "Enable Automatic Search", "EnableAutomaticSearch": "Enable Automatic Search",
"EnableAutomaticSearchHelpText": "Will be used when automatic searches are performed via the UI or by Prowlarr", "EnableAutomaticSearchHelpText": "Will be used when automatic searches are performed via the UI or by Prowlarr",
"Enabled": "Enabled", "Enabled": "Enabled",
"EnabledRedirected": "Enabled, Redirected",
"EnableIndexer": "Enable Indexer", "EnableIndexer": "Enable Indexer",
"EnableInteractiveSearch": "Enable Interactive Search", "EnableInteractiveSearch": "Enable Interactive Search",
"EnableInteractiveSearchHelpText": "Will be used when interactive search is used", "EnableInteractiveSearchHelpText": "Will be used when interactive search is used",
@@ -131,6 +134,7 @@
"EnableSSL": "Enable SSL", "EnableSSL": "Enable SSL",
"EnableSslHelpText": " Requires restart running as administrator to take effect", "EnableSslHelpText": " Requires restart running as administrator to take effect",
"Encoding": "Encoding", "Encoding": "Encoding",
"Ended": "Ended",
"Error": "Error", "Error": "Error",
"ErrorLoadingContents": "Error loading contents", "ErrorLoadingContents": "Error loading contents",
"Events": "Events", "Events": "Events",
@@ -155,6 +159,7 @@
"Grabbed": "Grabbed", "Grabbed": "Grabbed",
"GrabReleases": "Grab Release(s)", "GrabReleases": "Grab Release(s)",
"Grabs": "Grabs", "Grabs": "Grabs",
"GrabTitle": "Grab Title",
"Health": "Health", "Health": "Health",
"HealthNoIssues": "No issues with your configuration", "HealthNoIssues": "No issues with your configuration",
"HiddenClickToShow": "Hidden, click to show", "HiddenClickToShow": "Hidden, click to show",
@@ -206,6 +211,8 @@
"Interval": "Interval", "Interval": "Interval",
"KeyboardShortcuts": "Keyboard Shortcuts", "KeyboardShortcuts": "Keyboard Shortcuts",
"Language": "Language", "Language": "Language",
"LastDuration": "Last Duration",
"LastExecution": "Last Execution",
"LastWriteTime": "Last Write Time", "LastWriteTime": "Last Write Time",
"LaunchBrowserHelpText": " Open a web browser and navigate to the Prowlarr homepage on app start.", "LaunchBrowserHelpText": " Open a web browser and navigate to the Prowlarr homepage on app start.",
"Level": "Level", "Level": "Level",
@@ -234,6 +241,7 @@
"Name": "Name", "Name": "Name",
"NetCore": ".NET", "NetCore": ".NET",
"New": "New", "New": "New",
"NextExecution": "Next Execution",
"No": "No", "No": "No",
"NoBackupsAreAvailable": "No backups are available", "NoBackupsAreAvailable": "No backups are available",
"NoChange": "No Change", "NoChange": "No Change",
@@ -262,6 +270,7 @@
"PackageVersion": "Package Version", "PackageVersion": "Package Version",
"PageSize": "Page Size", "PageSize": "Page Size",
"PageSizeHelpText": "Number of items to show on each page", "PageSizeHelpText": "Number of items to show on each page",
"Parameters": "Parameters",
"Password": "Password", "Password": "Password",
"Peers": "Peers", "Peers": "Peers",
"PendingChangesDiscardChanges": "Discard changes and leave", "PendingChangesDiscardChanges": "Discard changes and leave",
@@ -293,6 +302,7 @@
"QueryOptions": "Query Options", "QueryOptions": "Query Options",
"QueryResults": "Query Results", "QueryResults": "Query Results",
"Queue": "Queue", "Queue": "Queue",
"Queued": "Queued",
"RawSearchSupported": "Raw Search Supported", "RawSearchSupported": "Raw Search Supported",
"ReadTheWikiForMoreInformation": "Read the Wiki for more information", "ReadTheWikiForMoreInformation": "Read the Wiki for more information",
"Reddit": "Reddit", "Reddit": "Reddit",
@@ -364,6 +374,7 @@
"SSLCertPath": "SSL Cert Path", "SSLCertPath": "SSL Cert Path",
"SSLCertPathHelpText": "Path to pfx file", "SSLCertPathHelpText": "Path to pfx file",
"SSLPort": "SSL Port", "SSLPort": "SSL Port",
"Started": "Started",
"StartTypingOrSelectAPathBelow": "Start typing or select a path below", "StartTypingOrSelectAPathBelow": "Start typing or select a path below",
"StartupDirectory": "Startup directory", "StartupDirectory": "Startup directory",
"Stats": "Stats", "Stats": "Stats",