Translate url type for indexer description

async-translations
Bogdan 1 year ago
parent 5d73c6aa91
commit 041a7c571f

@ -134,9 +134,11 @@ function IndexerInfoModalContent(props: IndexerInfoModalContentProps) {
{baseUrl.replace(/(:\/\/)api\./, '$1')}
</Link>
</DescriptionListItemDescription>
<DescriptionListItemTitle>{`${
protocol === 'usenet' ? 'Newznab' : 'Torznab'
} Url`}</DescriptionListItemTitle>
<DescriptionListItemTitle>
{protocol === 'usenet'
? translate('NewznabUrl')
: translate('TorznabUrl')}
</DescriptionListItemTitle>
<DescriptionListItemDescription>
{`${window.location.origin}${window.Prowlarr.urlBase}/${id}/api`}
</DescriptionListItemDescription>

@ -296,6 +296,7 @@
"Name": "Name",
"NetCore": ".NET",
"New": "New",
"NewznabUrl": "Newznab Url",
"NextExecution": "Next Execution",
"No": "No",
"NoBackupsAreAvailable": "No backups are available",
@ -487,6 +488,7 @@
"Tomorrow": "Tomorrow",
"Torrent": "Torrent",
"Torrents": "Torrents",
"TorznabUrl": "Torznab Url",
"TotalHostGrabs": "Total Host Grabs",
"TotalHostQueries": "Total Host Queries",
"TotalIndexerQueries": "Total Indexer Queries",

Loading…
Cancel
Save