@ -21,17 +21,72 @@ const historyParameters = [
{ key : historyDataTypes . TRAKT _ID , title : 'Trakt' } ,
{ key : historyDataTypes . R _ID , title : 'TvRage' } ,
{ key : historyDataTypes . TVMAZE _ID , title : 'TvMaze' } ,
{ key : historyDataTypes . SEASON , title : ( ) => translate ( 'Season' ) } ,
{ key : historyDataTypes . EPISODE , title : ( ) => translate ( 'Episode' ) } ,
{ key : historyDataTypes . ARTIST , title : ( ) => translate ( 'Artist' ) } ,
{ key : historyDataTypes . ALBUM , title : ( ) => translate ( 'Album' ) } ,
{ key : historyDataTypes . LABEL , title : ( ) => translate ( 'Label' ) } ,
{ key : historyDataTypes . TRACK , title : ( ) => translate ( 'Track' ) } ,
{ key : historyDataTypes . YEAR , title : ( ) => translate ( 'Year' ) } ,
{ key : historyDataTypes . GENRE , title : ( ) => translate ( 'Genre' ) } ,
{ key : historyDataTypes . AUTHOR , title : ( ) => translate ( 'Author' ) } ,
{ key : historyDataTypes . TITLE , title : ( ) => translate ( 'Title' ) } ,
{ key : historyDataTypes . PUBLISHER , title : ( ) => translate ( 'Publisher' ) }
{
key : historyDataTypes . SEASON ,
get title ( ) {
return translate ( 'Season' ) ;
}
} ,
{
key : historyDataTypes . EPISODE ,
get title ( ) {
return translate ( 'Episode' ) ;
}
} ,
{
key : historyDataTypes . ARTIST ,
get title ( ) {
return translate ( 'Artist' ) ;
}
} ,
{
key : historyDataTypes . ALBUM ,
get title ( ) {
return translate ( 'Album' ) ;
}
} ,
{
key : historyDataTypes . LABEL ,
get title ( ) {
return translate ( 'Label' ) ;
}
} ,
{
key : historyDataTypes . TRACK ,
get title ( ) {
return translate ( 'Track' ) ;
}
} ,
{
key : historyDataTypes . YEAR ,
get title ( ) {
return translate ( 'Year' ) ;
}
} ,
{
key : historyDataTypes . GENRE ,
get title ( ) {
return translate ( 'Genre' ) ;
}
} ,
{
key : historyDataTypes . AUTHOR ,
get title ( ) {
return translate ( 'Author' ) ;
}
} ,
{
key : historyDataTypes . TITLE ,
get title ( ) {
return translate ( 'Title' ) ;
}
} ,
{
key : historyDataTypes . PUBLISHER ,
get title ( ) {
return translate ( 'Publisher' ) ;
}
}
] ;
class HistoryRow extends Component {