mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 09:32:41 +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
|
export interface SCMessageWithoutReferences
|
||||||
extends SCCreativeWorkWithoutReferences {
|
extends SCCreativeWorkWithoutReferences {
|
||||||
|
/**
|
||||||
|
* Recipients of the message
|
||||||
|
*/
|
||||||
|
audienceOrganizations?: SCOrganizationWithoutReferences[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Audience of the message
|
* Audience of the message
|
||||||
*/
|
*/
|
||||||
@@ -46,11 +51,6 @@ export interface SCMessageWithoutReferences
|
|||||||
*/
|
*/
|
||||||
messageBody: string;
|
messageBody: string;
|
||||||
|
|
||||||
/**
|
|
||||||
* Recipients of the message
|
|
||||||
*/
|
|
||||||
receivingOrganizations?: SCOrganizationWithoutReferences[];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Translated fields of a message
|
* Translated fields of a message
|
||||||
*/
|
*/
|
||||||
@@ -115,18 +115,18 @@ export class SCMessageMeta
|
|||||||
de: {
|
de: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
||||||
.de,
|
.de,
|
||||||
|
audienceOrganizations: 'Publikumsorganisationen',
|
||||||
audiences: 'Zielgruppen',
|
audiences: 'Zielgruppen',
|
||||||
dateCreated: 'Erstellungsdatum',
|
dateCreated: 'Erstellungsdatum',
|
||||||
messageBody: 'Nachrichteninhalt',
|
messageBody: 'Nachrichteninhalt',
|
||||||
receivingOrganizations: 'empfangende Organisationen',
|
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
||||||
.en,
|
.en,
|
||||||
|
audienceOrganizations: 'audience organizations',
|
||||||
audiences: 'audiences',
|
audiences: 'audiences',
|
||||||
dateCreated: 'date created',
|
dateCreated: 'date created',
|
||||||
messageBody: 'message body',
|
messageBody: 'message body',
|
||||||
receivingOrganizations: 'receiving organizations',
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"audiences": [
|
"audiences": [
|
||||||
"students"
|
"students"
|
||||||
],
|
],
|
||||||
"receivingOrganizations": [{
|
"audienceOrganizations": [{
|
||||||
"name": "TU Berlin",
|
"name": "TU Berlin",
|
||||||
"type": "organization",
|
"type": "organization",
|
||||||
"uid": "4806ef14-b631-5c20-91d1-3c627decca5a"
|
"uid": "4806ef14-b631-5c20-91d1-3c627decca5a"
|
||||||
|
|||||||
Reference in New Issue
Block a user