From e8534f0185b20241f7f93b5cf5d3706b4ff7ff6f Mon Sep 17 00:00:00 2001 From: Angel Montenegro Date: Fri, 3 Jan 2025 10:02:52 -0600 Subject: [PATCH] Work type is 'transcription' not 'transcriptions' (#2436) --- .../record/components/work-form/work-form/work-type-menu.ts | 4 ++-- src/app/types/works.endpoint.ts | 4 ++-- src/locale/properties/works/works.en.properties | 2 +- src/locale/properties/works/works.lr.properties | 2 +- src/locale/properties/works/works.rl.properties | 2 +- src/locale/properties/works/works.xx.properties | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/record/components/work-form/work-form/work-type-menu.ts b/src/app/record/components/work-form/work-form/work-type-menu.ts index 35c9968d4..806c44688 100644 --- a/src/app/record/components/work-form/work-form/work-type-menu.ts +++ b/src/app/record/components/work-form/work-form/work-type-menu.ts @@ -100,8 +100,8 @@ export const WorkTypeMenu: DeepSelectMenu[] = [ }, { label: WorkTypesLabels[WorkTypes.review], value: WorkTypes.review }, { - label: WorkTypesLabels[WorkTypes.transcriptions], - value: WorkTypes.transcriptions, + label: WorkTypesLabels[WorkTypes.transcription], + value: WorkTypes.transcription, }, { label: WorkTypesLabels[WorkTypes.translation], diff --git a/src/app/types/works.endpoint.ts b/src/app/types/works.endpoint.ts index 0e1f0fe17..e8ec76c4a 100644 --- a/src/app/types/works.endpoint.ts +++ b/src/app/types/works.endpoint.ts @@ -76,7 +76,7 @@ export enum WorkTypes { movingImage = 'moving-image', musicalComposition = 'musical-composition', sound = 'sound', - transcriptions = 'transcriptions', + transcription = 'transcription', } export const WorkCategoriesLabel = { @@ -147,7 +147,7 @@ export const WorkTypesLabels = { [WorkTypes.movingImage]: $localize`:@@works.movingImage:Moving image or video`, [WorkTypes.musicalComposition]: $localize`:@@works.musicalComposition:Musical composition`, [WorkTypes.sound]: $localize`:@@works.sound:Sound`, - [WorkTypes.transcriptions]: $localize`:@@works.transcriptions:Transcription`, + [WorkTypes.transcription]: $localize`:@@works.transcription:Transcription`, } export enum WorksTitleName { diff --git a/src/locale/properties/works/works.en.properties b/src/locale/properties/works/works.en.properties index 4dde0d371..0f37a3dfb 100644 --- a/src/locale/properties/works/works.en.properties +++ b/src/locale/properties/works/works.en.properties @@ -272,7 +272,7 @@ works.image=Image works.movingImage=Moving image or video works.musicalComposition=Musical composition works.sound=Sound -works.transcriptions=Transcription +works.transcription=Transcription works.dissemination=Dissemination works.academicPublication=Academic publications works.reviewAndEditing=Review and editing diff --git a/src/locale/properties/works/works.lr.properties b/src/locale/properties/works/works.lr.properties index 9b1668fe3..b978f4107 100644 --- a/src/locale/properties/works/works.lr.properties +++ b/src/locale/properties/works/works.lr.properties @@ -280,7 +280,7 @@ works.learningObject=LR works.movingImage=LR works.musicalComposition=LR works.sound=LR -works.transcriptions=LR +works.transcription=LR works.dissemination=LR works.academicPublication=LR works.reviewAndEditing=LR diff --git a/src/locale/properties/works/works.rl.properties b/src/locale/properties/works/works.rl.properties index 96a1f9480..3db7dda82 100644 --- a/src/locale/properties/works/works.rl.properties +++ b/src/locale/properties/works/works.rl.properties @@ -280,7 +280,7 @@ works.learningObject=RL works.movingImage=RL works.musicalComposition=RL works.sound=RL -works.transcriptions=RL +works.transcription=RL works.dissemination=RL works.academicPublication=RL works.reviewAndEditing=RL diff --git a/src/locale/properties/works/works.xx.properties b/src/locale/properties/works/works.xx.properties index f7c38fbb2..f2fd5578a 100644 --- a/src/locale/properties/works/works.xx.properties +++ b/src/locale/properties/works/works.xx.properties @@ -280,7 +280,7 @@ works.learningObject=X works.movingImage=X works.musicalComposition=X works.sound=X -works.transcriptions=X +works.transcription=X works.dissemination=X works.academicPublication=X works.reviewAndEditing=X