Skip to content

Commit

Permalink
Merge pull request #2435 from ORCID/lmendoza/deep-worktype-menu
Browse files Browse the repository at this point in the history
deep-worktype-menu
  • Loading branch information
leomendoza123 authored Jan 3, 2025
2 parents 3f383f1 + 4ad5c87 commit 341f90d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,10 @@ export const WorkTypeMenu: DeepSelectMenu[] = [
description: $localize`:@@works.teachingDescription:Working with students`,
content: [
// No value for: Lecture ??
/// No value for: Teaching material ??
{
value: WorkTypes.learningObject,
label: WorkTypesLabels[WorkTypes.learningObject],
},
{
value: WorkTypes.supervisedStudentPublication,
label: WorkTypesLabels[WorkTypes.supervisedStudentPublication],
Expand Down
2 changes: 1 addition & 1 deletion src/app/types/works.endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const WorkTypesLabels = {
[WorkTypes.conferenceProceedings]: $localize`:@@works.conferenceProceedings:Conference proceedings`,
[WorkTypes.design]: $localize`:@@works.design:Design`,
[WorkTypes.image]: $localize`:@@works.image:Image`,
[WorkTypes.learningObject]: $localize`:@@works.learningObject:Learning object`,
[WorkTypes.learningObject]: $localize`:@@works.learningObject:Teaching material`,
[WorkTypes.movingImage]: $localize`:@@works.movingImage:Moving image or video`,
[WorkTypes.musicalComposition]: $localize`:@@works.musicalComposition:Musical composition`,
[WorkTypes.sound]: $localize`:@@works.sound:Sound`,
Expand Down
2 changes: 1 addition & 1 deletion src/locale/properties/works/works.en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ works.conferencePresentation=Conference presentation
works.conferenceProceedings=Conference proceedings
works.design=Design
works.image=Image
works.learningObject=Learning object
works.movingImage=Moving image or video
works.musicalComposition=Musical composition
works.sound=Sound
Expand All @@ -278,3 +277,4 @@ works.dissemination=Dissemination
works.academicPublication=Academic publications
works.reviewAndEditing=Review and editing
works.pleaseSelectWork=Please select a work type
works.learningObject=Teaching material

0 comments on commit 341f90d

Please sign in to comment.