mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-15 21:14:32 +01:00
Add translations to SearchFooter
This commit is contained in:
parent
bd6a37dc8c
commit
96340909f1
2 changed files with 6 additions and 2 deletions
|
|
@ -191,10 +191,10 @@ class SearchFooter extends Component {
|
|||
icon = icons.SEARCH;
|
||||
}
|
||||
|
||||
let footerLabel = `Search ${searchIndexerIds.length === 0 ? 'all' : searchIndexerIds.length} Indexers`;
|
||||
let footerLabel = searchIndexerIds.length === 0 ? translate('SearchAllIndexers') : translate('SearchCountIndexers', [searchIndexerIds.length]);
|
||||
|
||||
if (isPopulated) {
|
||||
footerLabel = selectedCount === 0 ? `Found ${itemCount} releases` : `Selected ${selectedCount} of ${itemCount} releases`;
|
||||
footerLabel = selectedCount === 0 ? translate('FoundCountReleases', [itemCount]) : translate('SelectedCountOfCountReleases', [selectedCount, itemCount]);
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
|
|||
|
|
@ -180,6 +180,7 @@
|
|||
"FocusSearchBox": "Focus Search Box",
|
||||
"Folder": "Folder",
|
||||
"ForMoreInformationOnTheIndividualDownloadClients": "For more information on the individual download clients, click on the info buttons.",
|
||||
"FoundCountReleases": "Found {0} releases",
|
||||
"FullSync": "Full Sync",
|
||||
"General": "General",
|
||||
"GeneralSettings": "General Settings",
|
||||
|
|
@ -389,7 +390,9 @@
|
|||
"Scheduled": "Scheduled",
|
||||
"ScriptPath": "Script Path",
|
||||
"Search": "Search",
|
||||
"SearchAllIndexers": "Search all indexers",
|
||||
"SearchCapabilities": "Search Capabilities",
|
||||
"SearchCountIndexers": "Search {0} indexers",
|
||||
"SearchIndexers": "Search Indexers",
|
||||
"SearchType": "Search Type",
|
||||
"SearchTypes": "Search Types",
|
||||
|
|
@ -398,6 +401,7 @@
|
|||
"Seeders": "Seeders",
|
||||
"SelectAll": "Select All",
|
||||
"SelectIndexers": "Select Indexers",
|
||||
"SelectedCountOfCountReleases": "Selected {0} of {0} releases",
|
||||
"SemiPrivate": "Semi-Private",
|
||||
"SendAnonymousUsageData": "Send Anonymous Usage Data",
|
||||
"SetTags": "Set Tags",
|
||||
|
|
|
|||
Loading…
Reference in a new issue