mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-03 05:25:10 +00:00
parent
507924e626
commit
9fb7fd7375
3 changed files with 23 additions and 19 deletions
|
@ -9,6 +9,7 @@ import EditAlbumModalConnector from 'Album/Edit/EditAlbumModalConnector';
|
||||||
import AlbumInteractiveSearchModalConnector from 'Album/Search/AlbumInteractiveSearchModalConnector';
|
import AlbumInteractiveSearchModalConnector from 'Album/Search/AlbumInteractiveSearchModalConnector';
|
||||||
import ArtistGenres from 'Artist/Details/ArtistGenres';
|
import ArtistGenres from 'Artist/Details/ArtistGenres';
|
||||||
import ArtistHistoryModal from 'Artist/History/ArtistHistoryModal';
|
import ArtistHistoryModal from 'Artist/History/ArtistHistoryModal';
|
||||||
|
import Alert from 'Components/Alert';
|
||||||
import HeartRating from 'Components/HeartRating';
|
import HeartRating from 'Components/HeartRating';
|
||||||
import Icon from 'Components/Icon';
|
import Icon from 'Components/Icon';
|
||||||
import Label from 'Components/Label';
|
import Label from 'Components/Label';
|
||||||
|
@ -531,23 +532,24 @@ class AlbumDetails extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
!isFetching && albumsError &&
|
!isFetching && albumsError ?
|
||||||
<div>
|
<Alert kind={kinds.DANGER}>
|
||||||
{translate('LoadingAlbumsFailed')}
|
{translate('AlbumsLoadError')}
|
||||||
</div>
|
</Alert> :
|
||||||
|
null
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
!isFetching && trackFilesError &&
|
!isFetching && trackFilesError ?
|
||||||
<div>
|
<Alert kind={kinds.DANGER}>
|
||||||
{translate('LoadingTrackFilesFailed')}
|
{translate('TrackFilesLoadError')}
|
||||||
</div>
|
</Alert> :
|
||||||
|
null
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
isPopulated && !!media.length &&
|
isPopulated && !!media.length &&
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
{
|
{
|
||||||
media.slice(0).map((medium) => {
|
media.slice(0).map((medium) => {
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -8,6 +8,7 @@ import EditArtistModalConnector from 'Artist/Edit/EditArtistModalConnector';
|
||||||
import ArtistHistoryModal from 'Artist/History/ArtistHistoryModal';
|
import ArtistHistoryModal from 'Artist/History/ArtistHistoryModal';
|
||||||
import MonitoringOptionsModal from 'Artist/MonitoringOptions/MonitoringOptionsModal';
|
import MonitoringOptionsModal from 'Artist/MonitoringOptions/MonitoringOptionsModal';
|
||||||
import ArtistInteractiveSearchModalConnector from 'Artist/Search/ArtistInteractiveSearchModalConnector';
|
import ArtistInteractiveSearchModalConnector from 'Artist/Search/ArtistInteractiveSearchModalConnector';
|
||||||
|
import Alert from 'Components/Alert';
|
||||||
import HeartRating from 'Components/HeartRating';
|
import HeartRating from 'Components/HeartRating';
|
||||||
import Icon from 'Components/Icon';
|
import Icon from 'Components/Icon';
|
||||||
import Label from 'Components/Label';
|
import Label from 'Components/Label';
|
||||||
|
@ -611,17 +612,19 @@ class ArtistDetails extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
!isFetching && albumsError &&
|
!isFetching && albumsError ?
|
||||||
<div>
|
<Alert kind={kinds.DANGER}>
|
||||||
{translate('LoadingAlbumsFailed')}
|
{translate('AlbumsLoadError')}
|
||||||
</div>
|
</Alert> :
|
||||||
|
null
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
!isFetching && trackFilesError &&
|
!isFetching && trackFilesError ?
|
||||||
<div>
|
<Alert kind={kinds.DANGER}>
|
||||||
{translate('LoadingTrackFilesFailed')}
|
{translate('TrackFilesLoadError')}
|
||||||
</div>
|
</Alert> :
|
||||||
|
null
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -572,8 +572,6 @@
|
||||||
"ListRefreshInterval": "List Refresh Interval",
|
"ListRefreshInterval": "List Refresh Interval",
|
||||||
"ListWillRefreshEveryInterp": "List will refresh every {0}",
|
"ListWillRefreshEveryInterp": "List will refresh every {0}",
|
||||||
"Loading": "loading",
|
"Loading": "loading",
|
||||||
"LoadingAlbumsFailed": "Loading albums failed",
|
|
||||||
"LoadingTrackFilesFailed": "Loading track files failed",
|
|
||||||
"Local": "Local",
|
"Local": "Local",
|
||||||
"LocalPath": "Local Path",
|
"LocalPath": "Local Path",
|
||||||
"LocalPathHelpText": "Path that {appName} should use to access the remote path locally",
|
"LocalPathHelpText": "Path that {appName} should use to access the remote path locally",
|
||||||
|
@ -1064,6 +1062,7 @@
|
||||||
"TrackFileCounttotalTrackCountTracksDownloadedInterp": "{0}/{1} tracks downloaded",
|
"TrackFileCounttotalTrackCountTracksDownloadedInterp": "{0}/{1} tracks downloaded",
|
||||||
"TrackFiles": "Track Files",
|
"TrackFiles": "Track Files",
|
||||||
"TrackFilesCountMessage": "No track files",
|
"TrackFilesCountMessage": "No track files",
|
||||||
|
"TrackFilesLoadError": "Unable to load track files",
|
||||||
"TrackImported": "Track Imported",
|
"TrackImported": "Track Imported",
|
||||||
"TrackMissingFromDisk": "Track missing from disk",
|
"TrackMissingFromDisk": "Track missing from disk",
|
||||||
"TrackNaming": "Track Naming",
|
"TrackNaming": "Track Naming",
|
||||||
|
|
Loading…
Reference in a new issue