Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UFAL/Fixed facet by type #749

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/shared/clarin-shared-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function convertMetadataFieldIntoSearchType(field: string[]) {
case field.includes('dc.contributor.author') || field.includes('dc.creator'):
return 'author';
case field.includes('dc.type'):
return 'itemtype';
return 'type';
case field.includes('dc.publisher') || field.includes('creativework.publisher'):
return 'publisher';
case field.includes('dc.language.iso') || field.includes('local.language.name'):
Expand Down
16 changes: 8 additions & 8 deletions src/assets/i18n/cs.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5277,8 +5277,8 @@
// "search.filters.applied.f.original_bundle_descriptions": "File description",
// TODO New key - Add a translation
"search.filters.applied.f.original_bundle_descriptions": "File description",
// "search.filters.applied.f.itemtype": "Type",
"search.filters.applied.f.itemtype": "Typ",
// "search.filters.applied.f.type": "Type",
"search.filters.applied.f.type": "Typ",
// "search.filters.applied.f.namedresourcetype": "Status",
"search.filters.applied.f.namedresourcetype": "Status",
// "search.filters.applied.f.subject": "Subject",
Expand Down Expand Up @@ -5422,12 +5422,12 @@
// "search.filters.filter.original_bundle_descriptions.label": "Search File description",
// TODO New key - Add a translation
"search.filters.filter.original_bundle_descriptions.label": "Search File description",
// "search.filters.filter.itemtype.head": "Type",
"search.filters.filter.itemtype.head": "Typ",
// "search.filters.filter.itemtype.placeholder": "Type",
"search.filters.filter.itemtype.placeholder": "Typ",
// "search.filters.filter.itemtype.label": "Search type",
"search.filters.filter.itemtype.label": "Hledat typ",
// "search.filters.filter.type.head": "Type",
"search.filters.filter.type.head": "Typ",
// "search.filters.filter.type.placeholder": "Type",
"search.filters.filter.type.placeholder": "Typ",
// "search.filters.filter.type.label": "Search type",
"search.filters.filter.type.label": "Hledat typ",
// "search.filters.filter.jobTitle.head": "Job Title",
"search.filters.filter.jobTitle.head": "Název pracovní pozice",
// "search.filters.filter.jobTitle.placeholder": "Job Title",
Expand Down
8 changes: 4 additions & 4 deletions src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4221,7 +4221,7 @@

"search.filters.applied.f.has_content_in_original_bundle": "Contain Files",

"search.filters.applied.f.itemtype": "Type",
"search.filters.applied.f.type": "Type",

"search.filters.applied.f.namedresourcetype": "Status",

Expand Down Expand Up @@ -4315,11 +4315,11 @@

"search.filters.filter.has_content_in_original_bundle.head": "Contain Files",

"search.filters.filter.itemtype.head": "Type",
"search.filters.filter.type.head": "Type",

"search.filters.filter.itemtype.placeholder": "Type",
"search.filters.filter.type.placeholder": "Type",

"search.filters.filter.itemtype.label": "Search type",
"search.filters.filter.type.label": "Search type",

"search.filters.filter.jobTitle.head": "Job Title",

Expand Down