Skip to content

Commit

Permalink
Searching by type is changed to 'type' instead of 'itemtype' because …
Browse files Browse the repository at this point in the history
…it was changed in the autocomplete enhnancement (#749)
  • Loading branch information
milanmajchrak authored Nov 29, 2024
1 parent b782d78 commit 42040a6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
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

0 comments on commit 42040a6

Please sign in to comment.