mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
refactor: rename receivingOrganizations field
This commit is contained in:
committed by
Benjamin Jöckel
parent
d781dd6de5
commit
7fbe1620ee
@@ -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',
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user