refactor: rename receivingOrganizations field

This commit is contained in:
Roman Klopsch
2019-06-19 11:59:29 +02:00
committed by Benjamin Jöckel
parent d781dd6de5
commit 7fbe1620ee
2 changed files with 8 additions and 8 deletions

View File

@@ -29,6 +29,11 @@ import {SCOrganizationWithoutReferences} from './organization';
*/
export interface SCMessageWithoutReferences
extends SCCreativeWorkWithoutReferences {
/**
* Recipients of the message
*/
audienceOrganizations?: SCOrganizationWithoutReferences[];
/**
* Audience of the message
*/
@@ -46,11 +51,6 @@ export interface SCMessageWithoutReferences
*/
messageBody: string;
/**
* Recipients of the message
*/
receivingOrganizations?: SCOrganizationWithoutReferences[];
/**
* Translated fields of a message
*/
@@ -115,18 +115,18 @@ export class SCMessageMeta
de: {
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
.de,
audienceOrganizations: 'Publikumsorganisationen',
audiences: 'Zielgruppen',
dateCreated: 'Erstellungsdatum',
messageBody: 'Nachrichteninhalt',
receivingOrganizations: 'empfangende Organisationen',
},
en: {
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
.en,
audienceOrganizations: 'audience organizations',
audiences: 'audiences',
dateCreated: 'date created',
messageBody: 'message body',
receivingOrganizations: 'receiving organizations',
},
};