Change labels from Categories to Genres

This commit is contained in:
aditya.chandel
2025-10-08 20:34:08 -06:00
parent f3e0e3791b
commit 3044e0c8d5
4 changed files with 4 additions and 4 deletions
@@ -170,7 +170,7 @@ export class BookFilterComponent implements OnInit, OnDestroy {
expandedPanels: number = 0; expandedPanels: number = 0;
readonly filterLabels: Record<string, string> = { readonly filterLabels: Record<string, string> = {
author: 'Author', author: 'Author',
category: 'Category', category: 'Genre',
series: 'Series', series: 'Series',
publisher: 'Publisher', publisher: 'Publisher',
readStatus: 'Read Status', readStatus: 'Read Status',
@@ -49,7 +49,7 @@ export class BookdropFileMetadataPickerComponent {
metadataChips = [ metadataChips = [
{label: 'Authors', controlName: 'authors', lockedKey: 'authorsLocked', fetchedKey: 'authors'}, {label: 'Authors', controlName: 'authors', lockedKey: 'authorsLocked', fetchedKey: 'authors'},
{label: 'Categories', controlName: 'categories', lockedKey: 'categoriesLocked', fetchedKey: 'categories'} {label: 'Genres', controlName: 'categories', lockedKey: 'categoriesLocked', fetchedKey: 'categories'}
]; ];
metadataDescription = [ metadataDescription = [
@@ -150,7 +150,7 @@
<div class="flex flex-col md:flex-row w-full gap-4 mt-2 pb-1"> <div class="flex flex-col md:flex-row w-full gap-4 mt-2 pb-1">
<div class="flex flex-col gap-1 w-full"> <div class="flex flex-col gap-1 w-full">
<label class="text-sm" for="categories">Categories</label> <label class="text-sm" for="categories">Genres</label>
<div class="flex justify-between items-center gap-2"> <div class="flex justify-between items-center gap-2">
<div class="w-full"> <div class="w-full">
<p-autoComplete <p-autoComplete
@@ -49,7 +49,7 @@ export class MetadataPickerComponent implements OnInit {
metadataChips = [ metadataChips = [
{label: 'Authors', controlName: 'authors', lockedKey: 'authorsLocked', fetchedKey: 'authors'}, {label: 'Authors', controlName: 'authors', lockedKey: 'authorsLocked', fetchedKey: 'authors'},
{label: 'Categories', controlName: 'categories', lockedKey: 'categoriesLocked', fetchedKey: 'categories'}, {label: 'Genres', controlName: 'categories', lockedKey: 'categoriesLocked', fetchedKey: 'categories'},
{label: 'Moods', controlName: 'moods', lockedKey: 'moodsLocked', fetchedKey: 'moods'}, {label: 'Moods', controlName: 'moods', lockedKey: 'moodsLocked', fetchedKey: 'moods'},
{label: 'Tags', controlName: 'tags', lockedKey: 'tagsLocked', fetchedKey: 'tags'}, {label: 'Tags', controlName: 'tags', lockedKey: 'tagsLocked', fetchedKey: 'tags'},
]; ];