mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-24 05:40:52 +02:00
Translate url type for indexer description
This commit is contained in:
parent
5d73c6aa91
commit
041a7c571f
2 changed files with 7 additions and 3 deletions
|
|
@ -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…
Reference in a new issue