mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 16:13:58 -07:00
Add some translations for artist table index
This commit is contained in:
parent
09e9162aa6
commit
49883d0e30
4 changed files with 47 additions and 32 deletions
|
@ -1,19 +0,0 @@
|
|||
import React from 'react';
|
||||
import FilterBuilderRowValue from './FilterBuilderRowValue';
|
||||
|
||||
const options = [
|
||||
{ id: 'all', name: 'All Albums' },
|
||||
{ id: 'new', name: 'New' },
|
||||
{ id: 'none', name: 'None' }
|
||||
];
|
||||
|
||||
function MonitorNewItemsFilterBuilderRowValue(props) {
|
||||
return (
|
||||
<FilterBuilderRowValue
|
||||
tagList={options}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
export default MonitorNewItemsFilterBuilderRowValue;
|
|
@ -0,0 +1,33 @@
|
|||
import React from 'react';
|
||||
import FilterBuilderRowValueProps from 'Components/Filter/Builder/FilterBuilderRowValueProps';
|
||||
import translate from 'Utilities/String/translate';
|
||||
import FilterBuilderRowValue from './FilterBuilderRowValue';
|
||||
|
||||
const options = [
|
||||
{
|
||||
id: 'all',
|
||||
get name() {
|
||||
return translate('AllAlbums');
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'new',
|
||||
get name() {
|
||||
return translate('New');
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'none',
|
||||
get name() {
|
||||
return translate('None');
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
function MonitorNewItemsFilterBuilderRowValue(
|
||||
props: FilterBuilderRowValueProps
|
||||
) {
|
||||
return <FilterBuilderRowValue tagList={options} {...props} />;
|
||||
}
|
||||
|
||||
export default MonitorNewItemsFilterBuilderRowValue;
|
Loading…
Add table
Add a link
Reference in a new issue