mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 01:22:54 +00:00
refactor: remove SCMetaTranslations singletons
This commit is contained in:
@@ -61,13 +61,13 @@ export class SCAcademicDegreeMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
academicDegree: 'Abschlussgrad',
|
academicDegree: 'Abschlussgrad',
|
||||||
academicDegreewithField: 'Abschlussbezeichnung',
|
academicDegreewithField: 'Abschlussbezeichnung',
|
||||||
academicDegreewithFieldShort: 'Abschlussbezeichnung (kurz)',
|
academicDegreewithFieldShort: 'Abschlussbezeichnung (kurz)',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
academicDegree: 'academic degree',
|
academicDegree: 'academic degree',
|
||||||
academicDegreewithField: 'acedemic degree and discipline',
|
academicDegreewithField: 'acedemic degree and discipline',
|
||||||
academicDegreewithFieldShort: 'acedemic degree and discipline (short)',
|
academicDegreewithFieldShort: 'acedemic degree and discipline (short)',
|
||||||
@@ -79,10 +79,10 @@ export class SCAcademicDegreeMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ export class SCAcademicTermWithoutReferencesMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
acronym: 'Akronym',
|
acronym: 'Akronym',
|
||||||
endDate: 'Enddatum',
|
endDate: 'Enddatum',
|
||||||
eventsEndDate: 'Enddatum der Veranstaltungen',
|
eventsEndDate: 'Enddatum der Veranstaltungen',
|
||||||
@@ -85,7 +85,7 @@ export class SCAcademicTermWithoutReferencesMeta
|
|||||||
startDate: 'Startdatum',
|
startDate: 'Startdatum',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
acronym: 'acronym',
|
acronym: 'acronym',
|
||||||
endDate: 'end date',
|
endDate: 'end date',
|
||||||
eventsEndDate: 'end date of events',
|
eventsEndDate: 'end date of events',
|
||||||
@@ -99,10 +99,10 @@ export class SCAcademicTermWithoutReferencesMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ export class SCCreativeWorkMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
name: 'Titel',
|
name: 'Titel',
|
||||||
authors: 'beteiligte Personen',
|
authors: 'beteiligte Personen',
|
||||||
availableLanguages: 'verfügbare Übersetzungen',
|
availableLanguages: 'verfügbare Übersetzungen',
|
||||||
@@ -153,7 +153,7 @@ export class SCCreativeWorkMeta
|
|||||||
sourceOrganization: 'Körperschaft',
|
sourceOrganization: 'Körperschaft',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
name: 'title',
|
name: 'title',
|
||||||
authors: 'involved persons',
|
authors: 'involved persons',
|
||||||
availableLanguages: 'available languages',
|
availableLanguages: 'available languages',
|
||||||
@@ -175,10 +175,10 @@ export class SCCreativeWorkMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ export class SCEventMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
academicTerms: 'Semester',
|
academicTerms: 'Semester',
|
||||||
catalogs: 'Verzeichnis',
|
catalogs: 'Verzeichnis',
|
||||||
creativeWorks: 'begleitende Werke',
|
creativeWorks: 'begleitende Werke',
|
||||||
@@ -96,7 +96,7 @@ export class SCEventMeta
|
|||||||
remainingAttendeeCapacity: 'verfügbare Anzahl an Teilnehmern',
|
remainingAttendeeCapacity: 'verfügbare Anzahl an Teilnehmern',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
academicTerms: 'academic terms',
|
academicTerms: 'academic terms',
|
||||||
catalogs: 'catalogs',
|
catalogs: 'catalogs',
|
||||||
creativeWorks: 'related material',
|
creativeWorks: 'related material',
|
||||||
@@ -112,10 +112,10 @@ export class SCEventMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -145,13 +145,13 @@ export class SCPlaceWithoutReferencesMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
address: 'Adresse',
|
address: 'Adresse',
|
||||||
geo: 'Geoinformation',
|
geo: 'Geoinformation',
|
||||||
openingHours: 'Öffnungszeiten',
|
openingHours: 'Öffnungszeiten',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
address: 'address',
|
address: 'address',
|
||||||
geo: 'geographic information',
|
geo: 'geographic information',
|
||||||
openingHours: 'opening hours',
|
openingHours: 'opening hours',
|
||||||
@@ -163,10 +163,10 @@ export class SCPlaceWithoutReferencesMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,11 +34,11 @@ export class SCThingInPlaceMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
inPlace: 'Ort',
|
inPlace: 'Ort',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
inPlace: 'location',
|
inPlace: 'location',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -48,10 +48,10 @@ export class SCThingInPlaceMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,11 +54,11 @@ export class SCThingThatAcceptsPaymentsWithoutReferencesMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
paymentsAccepted: 'Bezahlmethoden',
|
paymentsAccepted: 'Bezahlmethoden',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
paymentsAccepted: 'accepted payment methods',
|
paymentsAccepted: 'accepted payment methods',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -68,7 +68,7 @@ export class SCThingThatAcceptsPaymentsWithoutReferencesMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
paymentsAccepted: {
|
paymentsAccepted: {
|
||||||
'cafeteria card': 'Mensakarte',
|
'cafeteria card': 'Mensakarte',
|
||||||
'cash': 'Bar',
|
'cash': 'Bar',
|
||||||
@@ -76,7 +76,7 @@ export class SCThingThatAcceptsPaymentsWithoutReferencesMeta
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -150,21 +150,16 @@ export type SCThingThatCanBeOfferedAvailability =
|
|||||||
export class SCThingThatCanBeOfferedMeta<T extends SCPriceGroup>
|
export class SCThingThatCanBeOfferedMeta<T extends SCPriceGroup>
|
||||||
implements SCMetaTranslations<SCThingThatCanBeOffered<T>> {
|
implements SCMetaTranslations<SCThingThatCanBeOffered<T>> {
|
||||||
|
|
||||||
/**
|
|
||||||
* Instance
|
|
||||||
*/
|
|
||||||
protected static _instance = new Map<string, unknown>();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Translations of fields
|
* Translations of fields
|
||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
offers: 'Angebote',
|
offers: 'Angebote',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
offers: 'offers',
|
offers: 'offers',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -174,26 +169,10 @@ export class SCThingThatCanBeOfferedMeta<T extends SCPriceGroup>
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// tslint:disable:static-this
|
|
||||||
/**
|
|
||||||
* Function to retrieve typed singleton instance (including generics)
|
|
||||||
*/
|
|
||||||
public static getInstance<T extends SCPriceGroup>(): SCThingThatCanBeOfferedMeta<T> {
|
|
||||||
if (!SCThingThatCanBeOfferedMeta._instance.has(this.name)) {
|
|
||||||
SCThingThatCanBeOfferedMeta._instance.set(this.name, new SCThingThatCanBeOfferedMeta<T>());
|
|
||||||
}
|
|
||||||
|
|
||||||
return SCThingThatCanBeOfferedMeta._instance
|
|
||||||
.get(this.name) as SCThingThatCanBeOfferedMeta<T>;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected constructor() {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -120,22 +120,17 @@ export interface SCThingWithCategoriesSpecificValues {
|
|||||||
export class SCThingWithCategoriesWithoutReferencesMeta<T, U>
|
export class SCThingWithCategoriesWithoutReferencesMeta<T, U>
|
||||||
implements SCMetaTranslations<SCThingWithCategoriesWithoutReferences<T, U>> {
|
implements SCMetaTranslations<SCThingWithCategoriesWithoutReferences<T, U>> {
|
||||||
|
|
||||||
/**
|
|
||||||
* Instance
|
|
||||||
*/
|
|
||||||
protected static _instance = new Map<string, unknown>();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Translations of fields
|
* Translations of fields
|
||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
categories: 'Kategorien',
|
categories: 'Kategorien',
|
||||||
categorySpecificValues: 'besondere Kategorien',
|
categorySpecificValues: 'besondere Kategorien',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
categories: 'categories',
|
categories: 'categories',
|
||||||
categorySpecificValues: 'category with specific values',
|
categorySpecificValues: 'category with specific values',
|
||||||
},
|
},
|
||||||
@@ -146,27 +141,10 @@ export class SCThingWithCategoriesWithoutReferencesMeta<T, U>
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// tslint:disable:static-this
|
|
||||||
/**
|
|
||||||
* Function to retrieve typed singleton instance (including generics)
|
|
||||||
*/
|
|
||||||
public static getInstance<T, U>(): SCThingWithCategoriesWithoutReferencesMeta<T, U> {
|
|
||||||
if (!SCThingWithCategoriesWithoutReferencesMeta._instance.has(this.name)) {
|
|
||||||
SCThingWithCategoriesWithoutReferencesMeta._instance
|
|
||||||
.set(this.name, new SCThingWithCategoriesWithoutReferencesMeta<T, U>());
|
|
||||||
}
|
|
||||||
|
|
||||||
return SCThingWithCategoriesWithoutReferencesMeta._instance
|
|
||||||
.get(this.name) as SCThingWithCategoriesWithoutReferencesMeta<T, U>;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected constructor() {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -269,11 +269,6 @@ export interface SCThingTranslatablePropertyOrigin {
|
|||||||
* Meta information about things
|
* Meta information about things
|
||||||
*/
|
*/
|
||||||
export class SCThingMeta implements SCMetaTranslations<SCThing> {
|
export class SCThingMeta implements SCMetaTranslations<SCThing> {
|
||||||
/**
|
|
||||||
* Set type definition for singleton instance
|
|
||||||
*/
|
|
||||||
protected static _instance = new Map<string, unknown>();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Translations of fields
|
* Translations of fields
|
||||||
*/
|
*/
|
||||||
@@ -315,19 +310,4 @@ export class SCThingMeta implements SCMetaTranslations<SCThing> {
|
|||||||
type: 'Thing',
|
type: 'Thing',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// tslint:disable:static-this
|
|
||||||
/**
|
|
||||||
* Function to retrieve typed singleton instance
|
|
||||||
*/
|
|
||||||
public static getInstance<T extends SCThingMeta>(): T {
|
|
||||||
if (!SCThingMeta._instance.has(this.name)) {
|
|
||||||
SCThingMeta._instance.set(this.name, new this());
|
|
||||||
}
|
|
||||||
|
|
||||||
return SCThingMeta._instance.get(this.name) as T;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected constructor() {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -128,15 +128,15 @@ export class SCAcademicEventMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldTranslations.de,
|
...new SCEventMeta().fieldTranslations.de,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCAcademicEventCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCAcademicEventCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
majors: 'Hauptfächer',
|
majors: 'Hauptfächer',
|
||||||
originalCategory: 'ursprüngliche Kategorie',
|
originalCategory: 'ursprüngliche Kategorie',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldTranslations.en,
|
...new SCEventMeta().fieldTranslations.en,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCAcademicEventCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCAcademicEventCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
majors: 'majors',
|
majors: 'majors',
|
||||||
originalCategory: 'original category',
|
originalCategory: 'original category',
|
||||||
@@ -148,8 +148,8 @@ export class SCAcademicEventMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldValueTranslations.de,
|
...new SCEventMeta().fieldValueTranslations.de,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCAcademicEventCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCAcademicEventCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
categories: {
|
categories: {
|
||||||
'colloquium': 'Kolloquium',
|
'colloquium': 'Kolloquium',
|
||||||
@@ -171,8 +171,8 @@ export class SCAcademicEventMeta
|
|||||||
type: 'akademische Veranstaltung',
|
type: 'akademische Veranstaltung',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldValueTranslations.en,
|
...new SCEventMeta().fieldValueTranslations.en,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCAcademicEventCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCAcademicEventCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
type: SCThingType.AcademicEvent,
|
type: SCThingType.AcademicEvent,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -121,21 +121,21 @@ export class SCArticleMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
...new SCCreativeWorkMeta().fieldTranslations
|
||||||
.de,
|
.de,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCArticleCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCArticleCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>().fieldTranslations.de,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.de,
|
||||||
categories: 'Format',
|
categories: 'Format',
|
||||||
reference: 'Referenz',
|
reference: 'Referenz',
|
||||||
articleBody: 'Artikelinhalt',
|
articleBody: 'Artikelinhalt',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
...new SCCreativeWorkMeta().fieldTranslations
|
||||||
.en,
|
.en,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCArticleCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCArticleCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>().fieldTranslations.en,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.en,
|
||||||
categories: 'format',
|
categories: 'format',
|
||||||
reference: 'reference',
|
reference: 'reference',
|
||||||
articleBody: 'article body',
|
articleBody: 'article body',
|
||||||
@@ -147,10 +147,11 @@ export class SCArticleMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>()
|
...new SCCreativeWorkMeta().fieldValueTranslations.de,
|
||||||
.fieldValueTranslations.de,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCArticleCategories,
|
||||||
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
categories: {
|
categories: {
|
||||||
article: 'Artikel',
|
article: 'Artikel',
|
||||||
eArticle: 'E-Aufsatz',
|
eArticle: 'E-Aufsatz',
|
||||||
@@ -159,10 +160,11 @@ export class SCArticleMeta
|
|||||||
type: 'Artikel',
|
type: 'Artikel',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>()
|
...new SCCreativeWorkMeta().fieldValueTranslations.en,
|
||||||
.fieldValueTranslations.en,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCArticleCategories,
|
||||||
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
type: SCThingType.Article,
|
type: SCThingType.Article,
|
||||||
categories: {
|
categories: {
|
||||||
article: 'article',
|
article: 'article',
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ export interface SCAssessmentTranslatableProperties
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCAssessmentCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCAssessmentCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
attempt: 'Versuch',
|
attempt: 'Versuch',
|
||||||
courseOfStudy: 'Studiengang',
|
courseOfStudy: 'Studiengang',
|
||||||
@@ -132,7 +132,7 @@ export interface SCAssessmentTranslatableProperties
|
|||||||
superAssessments: 'übergeordnete Prüfungen',
|
superAssessments: 'übergeordnete Prüfungen',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCAssessmentCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCAssessmentCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
attempt: 'attempt',
|
attempt: 'attempt',
|
||||||
courseOfStudy: 'course of study',
|
courseOfStudy: 'course of study',
|
||||||
@@ -149,12 +149,12 @@ export interface SCAssessmentTranslatableProperties
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCAssessmentCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCAssessmentCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
type: 'Prüfung',
|
type: 'Prüfung',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCAssessmentCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCAssessmentCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
type: SCThingType.Assessment,
|
type: SCThingType.Assessment,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -127,19 +127,19 @@ export class SCBookMeta extends SCThingMeta implements SCMetaTranslations<SCBook
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations.de,
|
...new SCCreativeWorkMeta().fieldTranslations.de,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCBookCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCBookCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>().fieldTranslations.de,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.de,
|
||||||
categories: 'Format',
|
categories: 'Format',
|
||||||
ISBNs: 'ISBN',
|
ISBNs: 'ISBN',
|
||||||
numberOfPages: 'Seitenanzahl',
|
numberOfPages: 'Seitenanzahl',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations.en,
|
...new SCCreativeWorkMeta().fieldTranslations.en,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCBookCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCBookCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>().fieldTranslations.en,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.en,
|
||||||
categories: 'format',
|
categories: 'format',
|
||||||
ISBNs: 'ISBN',
|
ISBNs: 'ISBN',
|
||||||
numberOfPages: 'number of pages',
|
numberOfPages: 'number of pages',
|
||||||
@@ -151,11 +151,11 @@ export class SCBookMeta extends SCThingMeta implements SCMetaTranslations<SCBook
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>()
|
...new SCCreativeWorkMeta()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCBookCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCBookCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
categories: {
|
categories: {
|
||||||
audio: 'Tonträger',
|
audio: 'Tonträger',
|
||||||
@@ -180,11 +180,11 @@ export class SCBookMeta extends SCThingMeta implements SCMetaTranslations<SCBook
|
|||||||
type: 'Buch',
|
type: 'Buch',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>()
|
...new SCCreativeWorkMeta()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCBookCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCBookCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
type: SCThingType.Book,
|
type: SCThingType.Book,
|
||||||
categories: {
|
categories: {
|
||||||
|
|||||||
@@ -99,15 +99,15 @@ export class SCBuildingMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCBuildingCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCBuildingCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldTranslations.de,
|
...new SCPlaceWithoutReferencesMeta().fieldTranslations.de,
|
||||||
floors: 'Etagen',
|
floors: 'Etagen',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCBuildingCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCBuildingCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldTranslations.en,
|
...new SCPlaceWithoutReferencesMeta().fieldTranslations.en,
|
||||||
floors: 'floors',
|
floors: 'floors',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -117,9 +117,9 @@ export class SCBuildingMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCBuildingCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCBuildingCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldValueTranslations.de,
|
...new SCPlaceWithoutReferencesMeta().fieldValueTranslations.de,
|
||||||
categories: {
|
categories: {
|
||||||
'cafe': 'Café',
|
'cafe': 'Café',
|
||||||
'canteen': 'Kantine',
|
'canteen': 'Kantine',
|
||||||
@@ -133,9 +133,9 @@ export class SCBuildingMeta
|
|||||||
type: 'Gebäude',
|
type: 'Gebäude',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCBuildingCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCBuildingCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldValueTranslations.en,
|
...new SCPlaceWithoutReferencesMeta().fieldValueTranslations.en,
|
||||||
type: SCThingType.Building,
|
type: SCThingType.Building,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ export class SCCatalogMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCCatalogCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCCatalogCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
academicTerm: 'Semester',
|
academicTerm: 'Semester',
|
||||||
level: 'Ebene',
|
level: 'Ebene',
|
||||||
@@ -97,7 +97,7 @@ export class SCCatalogMeta
|
|||||||
superCatalogs: 'übergeordnete Verzeichnisse',
|
superCatalogs: 'übergeordnete Verzeichnisse',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCCatalogCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCCatalogCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
academicTerm: 'academic term',
|
academicTerm: 'academic term',
|
||||||
level: 'level',
|
level: 'level',
|
||||||
@@ -111,7 +111,7 @@ export class SCCatalogMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCCatalogCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCCatalogCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
categories: {
|
categories: {
|
||||||
'university events': 'Universitätsveranstaltung',
|
'university events': 'Universitätsveranstaltung',
|
||||||
@@ -119,7 +119,7 @@ export class SCCatalogMeta
|
|||||||
type: 'Verzeichnis',
|
type: 'Verzeichnis',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCCatalogCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCCatalogCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
type: SCThingType.Catalog,
|
type: SCThingType.Catalog,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ export interface SCContactPointWithoutReferences
|
|||||||
* A contact point
|
* A contact point
|
||||||
*
|
*
|
||||||
* @see http://schema.org/ContactPoint
|
* @see http://schema.org/ContactPoint
|
||||||
*
|
*
|
||||||
* @validatable
|
* @validatable
|
||||||
* @indexable
|
* @indexable
|
||||||
*/
|
*/
|
||||||
@@ -101,7 +101,7 @@ export class SCContactPointMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
areaServed: 'Arbeitsraum',
|
areaServed: 'Arbeitsraum',
|
||||||
email: 'E-Mail-Addresse',
|
email: 'E-Mail-Addresse',
|
||||||
faxNumber: 'Faxnummer',
|
faxNumber: 'Faxnummer',
|
||||||
@@ -110,7 +110,7 @@ export class SCContactPointMeta
|
|||||||
url: 'Link',
|
url: 'Link',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
areaServed: 'location',
|
areaServed: 'location',
|
||||||
email: 'email address',
|
email: 'email address',
|
||||||
faxNumber: 'fax number',
|
faxNumber: 'fax number',
|
||||||
@@ -125,11 +125,11 @@ export class SCContactPointMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
type: 'Kontaktinformation',
|
type: 'Kontaktinformation',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
type: SCThingType.ContactPoint,
|
type: SCThingType.ContactPoint,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -115,9 +115,9 @@ export class SCCourseOfStudyMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCAcademicDegreeMeta.getInstance<SCAcademicDegreeMeta>()
|
...new SCAcademicDegreeMeta()
|
||||||
.fieldTranslations.de,
|
.fieldTranslations.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldTranslations.de,
|
.fieldTranslations.de,
|
||||||
department: 'Fachbereich',
|
department: 'Fachbereich',
|
||||||
mainLanguage: 'Unterrichtssprache',
|
mainLanguage: 'Unterrichtssprache',
|
||||||
@@ -127,9 +127,9 @@ export class SCCourseOfStudyMeta
|
|||||||
timeMode: 'Zeitmodell',
|
timeMode: 'Zeitmodell',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCAcademicDegreeMeta.getInstance<SCAcademicDegreeMeta>()
|
...new SCAcademicDegreeMeta()
|
||||||
.fieldTranslations.en,
|
.fieldTranslations.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldTranslations.de,
|
.fieldTranslations.de,
|
||||||
department: 'department',
|
department: 'department',
|
||||||
mainLanguage: 'main language',
|
mainLanguage: 'main language',
|
||||||
@@ -145,7 +145,7 @@ export class SCCourseOfStudyMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCAcademicDegreeMeta.getInstance().fieldValueTranslations.de,
|
...new SCAcademicDegreeMeta().fieldValueTranslations.de,
|
||||||
modes: {
|
modes: {
|
||||||
combination: 'Kombinationsstudiengang',
|
combination: 'Kombinationsstudiengang',
|
||||||
'double-degree': 'Doppelstudium',
|
'double-degree': 'Doppelstudium',
|
||||||
@@ -159,7 +159,7 @@ export class SCCourseOfStudyMeta
|
|||||||
type: 'Studiengang',
|
type: 'Studiengang',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCAcademicDegreeMeta.getInstance().fieldValueTranslations.en,
|
...new SCAcademicDegreeMeta().fieldValueTranslations.en,
|
||||||
modes: {
|
modes: {
|
||||||
combination: 'combination course of study',
|
combination: 'combination course of study',
|
||||||
'double-degree': 'double degree course of study',
|
'double-degree': 'double degree course of study',
|
||||||
|
|||||||
@@ -123,9 +123,9 @@ export class SCDateSeriesMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations
|
...new SCThingInPlaceMeta().fieldTranslations
|
||||||
.de,
|
.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCSportCoursePriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCSportCoursePriceGroup>()
|
||||||
.fieldTranslations.de,
|
.fieldTranslations.de,
|
||||||
dates: 'Einzeltermine',
|
dates: 'Einzeltermine',
|
||||||
duration: 'Dauer',
|
duration: 'Dauer',
|
||||||
@@ -135,9 +135,9 @@ export class SCDateSeriesMeta
|
|||||||
performers: 'Vortragende',
|
performers: 'Vortragende',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations
|
...new SCThingInPlaceMeta().fieldTranslations
|
||||||
.en,
|
.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCSportCoursePriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCSportCoursePriceGroup>()
|
||||||
.fieldTranslations.en,
|
.fieldTranslations.en,
|
||||||
dates: 'dates',
|
dates: 'dates',
|
||||||
duration: 'duration',
|
duration: 'duration',
|
||||||
@@ -153,16 +153,16 @@ export class SCDateSeriesMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>()
|
...new SCThingInPlaceMeta()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCSportCoursePriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCSportCoursePriceGroup>()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
type: 'Terminserie',
|
type: 'Terminserie',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>()
|
...new SCThingInPlaceMeta()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCSportCoursePriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCSportCoursePriceGroup>()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
type: SCThingType.DateSeries,
|
type: SCThingType.DateSeries,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -73,14 +73,14 @@ export class SCDiffMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
action: 'Aktion',
|
action: 'Aktion',
|
||||||
changes: 'Änderungen',
|
changes: 'Änderungen',
|
||||||
dateCreated: 'Erstellungsdatum',
|
dateCreated: 'Erstellungsdatum',
|
||||||
object: 'Objekt',
|
object: 'Objekt',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
action: 'action',
|
action: 'action',
|
||||||
changes: 'changes',
|
changes: 'changes',
|
||||||
dateCreated: 'date created',
|
dateCreated: 'date created',
|
||||||
@@ -93,7 +93,7 @@ export class SCDiffMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
action: {
|
action: {
|
||||||
'changed': 'geändert',
|
'changed': 'geändert',
|
||||||
'removed': 'gelöscht',
|
'removed': 'gelöscht',
|
||||||
@@ -101,7 +101,7 @@ export class SCDiffMeta
|
|||||||
type: 'Unterschied',
|
type: 'Unterschied',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
type: SCThingType.Diff,
|
type: SCThingType.Diff,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -202,9 +202,9 @@ export class SCDishMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCDishCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCDishCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldTranslations.de,
|
.fieldTranslations.de,
|
||||||
additives: 'Zusatzstoffe',
|
additives: 'Zusatzstoffe',
|
||||||
characteristics: 'Merkmale',
|
characteristics: 'Merkmale',
|
||||||
@@ -212,9 +212,9 @@ export class SCDishMeta
|
|||||||
nutrition: 'Nährwertangaben',
|
nutrition: 'Nährwertangaben',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCDishCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCDishCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldTranslations.en,
|
.fieldTranslations.en,
|
||||||
additives: 'additives',
|
additives: 'additives',
|
||||||
characteristics: 'characteristics',
|
characteristics: 'characteristics',
|
||||||
@@ -228,9 +228,9 @@ export class SCDishMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCDishCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCDishCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
categories: {
|
categories: {
|
||||||
appetizer: 'Vorspeise',
|
appetizer: 'Vorspeise',
|
||||||
@@ -243,9 +243,9 @@ export class SCDishMeta
|
|||||||
type: 'Essen',
|
type: 'Essen',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCDishCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCDishCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
type: SCThingType.Dish,
|
type: SCThingType.Dish,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -114,13 +114,13 @@ export class SCFloorMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations
|
...new SCThingInPlaceMeta().fieldTranslations
|
||||||
.de,
|
.de,
|
||||||
floorName: 'Etagenbezeichnung',
|
floorName: 'Etagenbezeichnung',
|
||||||
plan: 'Grundriss',
|
plan: 'Grundriss',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations
|
...new SCThingInPlaceMeta().fieldTranslations
|
||||||
.en,
|
.en,
|
||||||
floorName: 'floor name',
|
floorName: 'floor name',
|
||||||
plan: 'plan',
|
plan: 'plan',
|
||||||
@@ -132,12 +132,12 @@ export class SCFloorMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>()
|
...new SCThingInPlaceMeta()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
type: 'Etage',
|
type: 'Etage',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>()
|
...new SCThingInPlaceMeta()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
type: SCThingType.Floor,
|
type: SCThingType.Floor,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -130,9 +130,8 @@ export class SCMessageMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
...new SCCreativeWorkMeta().fieldTranslations.de,
|
||||||
.de,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCMessageCategories,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCMessageCategories,
|
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
audienceOrganizations: 'Zielgruppenorganisationen',
|
audienceOrganizations: 'Zielgruppenorganisationen',
|
||||||
audiences: 'Zielgruppen',
|
audiences: 'Zielgruppen',
|
||||||
@@ -141,9 +140,8 @@ export class SCMessageMeta
|
|||||||
sequenceIndex: 'Sequenzindex',
|
sequenceIndex: 'Sequenzindex',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
...new SCCreativeWorkMeta().fieldTranslations.en,
|
||||||
.en,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCMessageCategories,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCMessageCategories,
|
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
audienceOrganizations: 'audience organizations',
|
audienceOrganizations: 'audience organizations',
|
||||||
audiences: 'audiences',
|
audiences: 'audiences',
|
||||||
@@ -158,8 +156,9 @@ export class SCMessageMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>()
|
...new SCCreativeWorkMeta().fieldValueTranslations.de,
|
||||||
.fieldValueTranslations.de,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCMessageCategories,
|
||||||
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
audiences: {
|
audiences: {
|
||||||
employees: 'Angestellte',
|
employees: 'Angestellte',
|
||||||
guests: 'Gäste',
|
guests: 'Gäste',
|
||||||
@@ -171,8 +170,9 @@ export class SCMessageMeta
|
|||||||
type: 'Nachricht',
|
type: 'Nachricht',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>()
|
...new SCCreativeWorkMeta().fieldValueTranslations.en,
|
||||||
.fieldValueTranslations.en,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCMessageCategories,
|
||||||
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
type: SCThingType.Message,
|
type: SCThingType.Message,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -57,11 +57,11 @@ export class SCOrganizationMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations.de,
|
...new SCThingInPlaceMeta().fieldTranslations.de,
|
||||||
contactPoints: 'Kontaktinformationen',
|
contactPoints: 'Kontaktinformationen',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations.en,
|
...new SCThingInPlaceMeta().fieldTranslations.en,
|
||||||
contactPoints: 'contact details',
|
contactPoints: 'contact details',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -71,11 +71,11 @@ export class SCOrganizationMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldValueTranslations.de,
|
...new SCThingInPlaceMeta().fieldValueTranslations.de,
|
||||||
type: 'Einrichtung',
|
type: 'Einrichtung',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldValueTranslations.en,
|
...new SCThingInPlaceMeta().fieldValueTranslations.en,
|
||||||
type: SCThingType.Organization,
|
type: SCThingType.Organization,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -102,18 +102,18 @@ export class SCPeriodicalMeta extends SCThingMeta implements SCMetaTranslations<
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations.de,
|
...new SCCreativeWorkMeta().fieldTranslations.de,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCPeriodicalCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCPeriodicalCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>().fieldTranslations.de,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.de,
|
||||||
categories: 'Format',
|
categories: 'Format',
|
||||||
ISSNs: 'ISSN',
|
ISSNs: 'ISSN',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations.en,
|
...new SCCreativeWorkMeta().fieldTranslations.en,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCPeriodicalCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCPeriodicalCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>().fieldTranslations.en,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.en,
|
||||||
categories: 'format',
|
categories: 'format',
|
||||||
ISSNs: 'ISSN',
|
ISSNs: 'ISSN',
|
||||||
},
|
},
|
||||||
@@ -124,10 +124,10 @@ export class SCPeriodicalMeta extends SCThingMeta implements SCMetaTranslations<
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>()
|
...new SCCreativeWorkMeta().fieldValueTranslations.de,
|
||||||
.fieldValueTranslations.de,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCPeriodicalCategories,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
.fieldValueTranslations.de,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldValueTranslations.de,
|
||||||
type: 'Periodikum',
|
type: 'Periodikum',
|
||||||
categories: {
|
categories: {
|
||||||
electronic: 'E-Journal',
|
electronic: 'E-Journal',
|
||||||
@@ -135,10 +135,10 @@ export class SCPeriodicalMeta extends SCThingMeta implements SCMetaTranslations<
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>()
|
...new SCCreativeWorkMeta().fieldValueTranslations.en,
|
||||||
.fieldValueTranslations.en,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCPeriodicalCategories,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
.fieldValueTranslations.en,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldValueTranslations.en,
|
||||||
type: 'periodical',
|
type: 'periodical',
|
||||||
categories: {
|
categories: {
|
||||||
electronic: 'E-Journal',
|
electronic: 'E-Journal',
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ export class SCPersonMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
additionalName: 'Zusatzname',
|
additionalName: 'Zusatzname',
|
||||||
affiliations: 'Zugehörigkeiten',
|
affiliations: 'Zugehörigkeiten',
|
||||||
birthDate: 'Geburtsdatum',
|
birthDate: 'Geburtsdatum',
|
||||||
@@ -192,7 +192,7 @@ export class SCPersonMeta
|
|||||||
workLocations: 'Arbeitsstandorte',
|
workLocations: 'Arbeitsstandorte',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
additionalName: 'additional name',
|
additionalName: 'additional name',
|
||||||
affiliations: 'affiliations',
|
affiliations: 'affiliations',
|
||||||
birthDate: 'birth date',
|
birthDate: 'birth date',
|
||||||
@@ -217,7 +217,7 @@ export class SCPersonMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
gender: {
|
gender: {
|
||||||
'female': 'weiblich',
|
'female': 'weiblich',
|
||||||
'inter': 'divers',
|
'inter': 'divers',
|
||||||
@@ -227,7 +227,7 @@ export class SCPersonMeta
|
|||||||
type: 'Person',
|
type: 'Person',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
type: SCThingType.Person,
|
type: SCThingType.Person,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -82,17 +82,17 @@ export class SCPointOfInterestMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCPointOfInterestCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCPointOfInterestCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldTranslations.de,
|
...new SCPlaceWithoutReferencesMeta().fieldTranslations.de,
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations
|
...new SCThingInPlaceMeta().fieldTranslations
|
||||||
.de,
|
.de,
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCPointOfInterestCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCPointOfInterestCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldTranslations.en,
|
...new SCPlaceWithoutReferencesMeta().fieldTranslations.en,
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations
|
...new SCThingInPlaceMeta().fieldTranslations
|
||||||
.en,
|
.en,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -102,9 +102,9 @@ export class SCPointOfInterestMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCPointOfInterestCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCPointOfInterestCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldValueTranslations.de,
|
...new SCPlaceWithoutReferencesMeta().fieldValueTranslations.de,
|
||||||
categories: {
|
categories: {
|
||||||
'card charger': 'Kartenaufwerter',
|
'card charger': 'Kartenaufwerter',
|
||||||
'computer': 'Computer',
|
'computer': 'Computer',
|
||||||
@@ -115,9 +115,9 @@ export class SCPointOfInterestMeta
|
|||||||
type: 'Sonderziel',
|
type: 'Sonderziel',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCPointOfInterestCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCPointOfInterestCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldValueTranslations.en,
|
...new SCPlaceWithoutReferencesMeta().fieldValueTranslations.en,
|
||||||
type: SCThingType.PointOfInterest,
|
type: SCThingType.PointOfInterest,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -78,12 +78,12 @@ export class SCPublicationEventMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldTranslations.de,
|
...new SCEventMeta().fieldTranslations.de,
|
||||||
locations: 'Erscheinungsorte',
|
locations: 'Erscheinungsorte',
|
||||||
publisher: 'Verlag',
|
publisher: 'Verlag',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldTranslations.en,
|
...new SCEventMeta().fieldTranslations.en,
|
||||||
locations: 'places of publication',
|
locations: 'places of publication',
|
||||||
publisher: 'publisher',
|
publisher: 'publisher',
|
||||||
},
|
},
|
||||||
@@ -94,11 +94,11 @@ export class SCPublicationEventMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldValueTranslations.de,
|
...new SCEventMeta().fieldValueTranslations.de,
|
||||||
type: 'Veröffentlichung',
|
type: 'Veröffentlichung',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldValueTranslations.en,
|
...new SCEventMeta().fieldValueTranslations.en,
|
||||||
type: 'publication event',
|
type: 'publication event',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -127,23 +127,23 @@ export class SCRoomMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldTranslations.de,
|
...new SCPlaceWithoutReferencesMeta().fieldTranslations.de,
|
||||||
...SCThingThatAcceptsPaymentsWithoutReferencesMeta.getInstance<SCThingThatAcceptsPaymentsWithoutReferencesMeta>()
|
...new SCThingThatAcceptsPaymentsWithoutReferencesMeta()
|
||||||
.fieldTranslations.de,
|
.fieldTranslations.de,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCRoomCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCRoomCategories,
|
||||||
SCRoomSpecificValues>().fieldTranslations.de,
|
SCRoomSpecificValues>().fieldTranslations.de,
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations
|
...new SCThingInPlaceMeta().fieldTranslations
|
||||||
.de,
|
.de,
|
||||||
floorName: 'Etagenbezeichnung',
|
floorName: 'Etagenbezeichnung',
|
||||||
inventory: 'Bestand',
|
inventory: 'Bestand',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldTranslations.en,
|
...new SCPlaceWithoutReferencesMeta().fieldTranslations.en,
|
||||||
...SCThingThatAcceptsPaymentsWithoutReferencesMeta.getInstance<SCThingThatAcceptsPaymentsWithoutReferencesMeta>()
|
...new SCThingThatAcceptsPaymentsWithoutReferencesMeta()
|
||||||
.fieldTranslations.en,
|
.fieldTranslations.en,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCRoomCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCRoomCategories,
|
||||||
SCRoomSpecificValues>().fieldTranslations.en,
|
SCRoomSpecificValues>().fieldTranslations.en,
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations
|
...new SCThingInPlaceMeta().fieldTranslations
|
||||||
.en,
|
.en,
|
||||||
floorName: 'floor name',
|
floorName: 'floor name',
|
||||||
inventory: 'inventory',
|
inventory: 'inventory',
|
||||||
@@ -155,12 +155,12 @@ export class SCRoomMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldValueTranslations.de,
|
...new SCPlaceWithoutReferencesMeta().fieldValueTranslations.de,
|
||||||
...SCThingThatAcceptsPaymentsWithoutReferencesMeta.getInstance<SCThingThatAcceptsPaymentsWithoutReferencesMeta>()
|
...new SCThingThatAcceptsPaymentsWithoutReferencesMeta()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCRoomCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCRoomCategories,
|
||||||
SCRoomSpecificValues>().fieldValueTranslations.de,
|
SCRoomSpecificValues>().fieldValueTranslations.de,
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>()
|
...new SCThingInPlaceMeta()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
categories: {
|
categories: {
|
||||||
'cafe': 'Café',
|
'cafe': 'Café',
|
||||||
@@ -180,12 +180,12 @@ export class SCRoomMeta
|
|||||||
type: 'Raum',
|
type: 'Raum',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCPlaceWithoutReferencesMeta.getInstance<SCPlaceWithoutReferencesMeta>().fieldValueTranslations.en,
|
...new SCPlaceWithoutReferencesMeta().fieldValueTranslations.en,
|
||||||
...SCThingThatAcceptsPaymentsWithoutReferencesMeta.getInstance<SCThingThatAcceptsPaymentsWithoutReferencesMeta>()
|
...new SCThingThatAcceptsPaymentsWithoutReferencesMeta()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCRoomCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCRoomCategories,
|
||||||
SCRoomSpecificValues>().fieldValueTranslations.en,
|
SCRoomSpecificValues>().fieldValueTranslations.en,
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>()
|
...new SCThingInPlaceMeta()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
type: SCThingType.Room,
|
type: SCThingType.Room,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ export class SCSemesterMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCAcademicTermWithoutReferencesMeta.getInstance<SCAcademicTermWithoutReferencesMeta>().fieldTranslations.de,
|
...new SCAcademicTermWithoutReferencesMeta().fieldTranslations.de,
|
||||||
acronym: 'Abkürzung',
|
acronym: 'Abkürzung',
|
||||||
endDate: 'Ende',
|
endDate: 'Ende',
|
||||||
eventsEndDate: 'Vorlesungsschluss',
|
eventsEndDate: 'Vorlesungsschluss',
|
||||||
@@ -73,7 +73,7 @@ export class SCSemesterMeta
|
|||||||
startDate: 'Beginn',
|
startDate: 'Beginn',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCAcademicTermWithoutReferencesMeta.getInstance<SCAcademicTermWithoutReferencesMeta>().fieldTranslations.en,
|
...new SCAcademicTermWithoutReferencesMeta().fieldTranslations.en,
|
||||||
acronym: 'acronym',
|
acronym: 'acronym',
|
||||||
endDate: 'end date',
|
endDate: 'end date',
|
||||||
eventsEndDate: 'semester ending',
|
eventsEndDate: 'semester ending',
|
||||||
@@ -87,12 +87,12 @@ export class SCSemesterMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCAcademicTermWithoutReferencesMeta.getInstance<SCAcademicTermWithoutReferencesMeta>()
|
...new SCAcademicTermWithoutReferencesMeta()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
type: 'Semester',
|
type: 'Semester',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCAcademicTermWithoutReferencesMeta.getInstance<SCAcademicTermWithoutReferencesMeta>()
|
...new SCAcademicTermWithoutReferencesMeta()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
type: SCThingType.Semester,
|
type: SCThingType.Semester,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ export class SCSettingMeta extends SCThingMeta implements SCMetaTranslations<SCS
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCSettingCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCSettingCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
defaultValue: 'Standard Wert',
|
defaultValue: 'Standard Wert',
|
||||||
inputType: 'Eingabetyp',
|
inputType: 'Eingabetyp',
|
||||||
@@ -138,7 +138,7 @@ export class SCSettingMeta extends SCThingMeta implements SCMetaTranslations<SCS
|
|||||||
values: 'Werte',
|
values: 'Werte',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCSettingCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCSettingCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
defaultValue: 'default value',
|
defaultValue: 'default value',
|
||||||
inputType: 'input type',
|
inputType: 'input type',
|
||||||
@@ -153,7 +153,7 @@ export class SCSettingMeta extends SCThingMeta implements SCMetaTranslations<SCS
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCSettingCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCSettingCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
categories: {
|
categories: {
|
||||||
credentials: 'Anmeldedaten',
|
credentials: 'Anmeldedaten',
|
||||||
@@ -171,7 +171,7 @@ export class SCSettingMeta extends SCThingMeta implements SCMetaTranslations<SCS
|
|||||||
type: 'Einstellung',
|
type: 'Einstellung',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<SCSettingCategories,
|
...new SCThingWithCategoriesWithoutReferencesMeta<SCSettingCategories,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
type: SCThingType.Setting,
|
type: SCThingType.Setting,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -52,10 +52,10 @@ export class SCSportCourseMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldTranslations.de,
|
...new SCEventMeta().fieldTranslations.de,
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldTranslations.en,
|
...new SCEventMeta().fieldTranslations.en,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -64,11 +64,11 @@ export class SCSportCourseMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldValueTranslations.de,
|
...new SCEventMeta().fieldValueTranslations.de,
|
||||||
type: 'Sportkurs',
|
type: 'Sportkurs',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCEventMeta.getInstance<SCEventMeta>().fieldValueTranslations.en,
|
...new SCEventMeta().fieldValueTranslations.en,
|
||||||
type: SCThingType.SportCourse,
|
type: SCThingType.SportCourse,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -150,8 +150,8 @@ export class SCStudyModuleMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldTranslations.de,
|
.fieldTranslations.de,
|
||||||
academicEvents: 'Veranstaltungen',
|
academicEvents: 'Veranstaltungen',
|
||||||
ects: 'ECTS-Punkte',
|
ects: 'ECTS-Punkte',
|
||||||
@@ -164,8 +164,8 @@ export class SCStudyModuleMeta
|
|||||||
secretary: 'Sekretariat',
|
secretary: 'Sekretariat',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldTranslations.en,
|
.fieldTranslations.en,
|
||||||
academicEvents: 'academic events',
|
academicEvents: 'academic events',
|
||||||
ects: 'ECTS points',
|
ects: 'ECTS points',
|
||||||
@@ -184,8 +184,8 @@ export class SCStudyModuleMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
necessity: {
|
necessity: {
|
||||||
'elective': 'Wahlfach',
|
'elective': 'Wahlfach',
|
||||||
@@ -195,8 +195,8 @@ export class SCStudyModuleMeta
|
|||||||
type: 'Studiengangmodul',
|
type: 'Studiengangmodul',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
type: SCThingType.StudyModule,
|
type: SCThingType.StudyModule,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -70,14 +70,14 @@ export class SCTicketMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations
|
...new SCThingInPlaceMeta().fieldTranslations
|
||||||
.de,
|
.de,
|
||||||
approxWaitingTime: 'ungefähre Wartezeit',
|
approxWaitingTime: 'ungefähre Wartezeit',
|
||||||
currentTicketNumber: 'aktuelle Ticketnummer',
|
currentTicketNumber: 'aktuelle Ticketnummer',
|
||||||
serviceType: 'Service Kategorie',
|
serviceType: 'Service Kategorie',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>().fieldTranslations
|
...new SCThingInPlaceMeta().fieldTranslations
|
||||||
.en,
|
.en,
|
||||||
approxWaitingTime: 'approximate waiting time',
|
approxWaitingTime: 'approximate waiting time',
|
||||||
currentTicketNumber: 'current ticket number',
|
currentTicketNumber: 'current ticket number',
|
||||||
@@ -90,12 +90,12 @@ export class SCTicketMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>()
|
...new SCThingInPlaceMeta()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
type: 'Ticket',
|
type: 'Ticket',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingInPlaceMeta.getInstance<SCThingInPlaceMeta>()
|
...new SCThingInPlaceMeta()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
type: SCThingType.Ticket,
|
type: SCThingType.Ticket,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -88,14 +88,14 @@ export class SCToDoMeta extends SCThingMeta implements SCMetaTranslations<SCToDo
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<string,
|
...new SCThingWithCategoriesWithoutReferencesMeta<string,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.de,
|
||||||
done: 'Erledigt',
|
done: 'Erledigt',
|
||||||
dueDate: 'Fälligkeitsdatum',
|
dueDate: 'Fälligkeitsdatum',
|
||||||
priority: 'Priorität',
|
priority: 'Priorität',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<string,
|
...new SCThingWithCategoriesWithoutReferencesMeta<string,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldTranslations.en,
|
||||||
done: 'done',
|
done: 'done',
|
||||||
dueDate: 'due date',
|
dueDate: 'due date',
|
||||||
@@ -108,12 +108,12 @@ export class SCToDoMeta extends SCThingMeta implements SCMetaTranslations<SCToDo
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<string,
|
...new SCThingWithCategoriesWithoutReferencesMeta<string,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.de,
|
||||||
type: 'ToDo',
|
type: 'ToDo',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingWithCategoriesWithoutReferencesMeta.getInstance<string,
|
...new SCThingWithCategoriesWithoutReferencesMeta<string,
|
||||||
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
SCThingWithCategoriesSpecificValues>().fieldValueTranslations.en,
|
||||||
type: SCThingType.ToDo,
|
type: SCThingType.ToDo,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -65,12 +65,12 @@ export class SCTourMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.de,
|
...new SCThingMeta().fieldTranslations.de,
|
||||||
init: 'Initiales Skript',
|
init: 'Initiales Skript',
|
||||||
steps: 'Schritte',
|
steps: 'Schritte',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldTranslations.en,
|
...new SCThingMeta().fieldTranslations.en,
|
||||||
init: 'initial script',
|
init: 'initial script',
|
||||||
steps: 'steps',
|
steps: 'steps',
|
||||||
},
|
},
|
||||||
@@ -81,11 +81,11 @@ export class SCTourMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.de,
|
...new SCThingMeta().fieldValueTranslations.de,
|
||||||
type: 'Tour',
|
type: 'Tour',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCThingMeta.getInstance<SCThingMeta>().fieldValueTranslations.en,
|
...new SCThingMeta().fieldValueTranslations.en,
|
||||||
type: SCThingType.Tour,
|
type: SCThingType.Tour,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -169,9 +169,9 @@ export class SCVideoMeta
|
|||||||
*/
|
*/
|
||||||
fieldTranslations = {
|
fieldTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
...new SCCreativeWorkMeta().fieldTranslations
|
||||||
.de,
|
.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>().fieldTranslations.de,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.de,
|
||||||
actors: 'Darsteller',
|
actors: 'Darsteller',
|
||||||
duration: 'Dauer',
|
duration: 'Dauer',
|
||||||
sources: 'Quellen',
|
sources: 'Quellen',
|
||||||
@@ -180,9 +180,9 @@ export class SCVideoMeta
|
|||||||
transcript: 'Transkript',
|
transcript: 'Transkript',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
...new SCCreativeWorkMeta().fieldTranslations
|
||||||
.en,
|
.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>().fieldTranslations.en,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.en,
|
||||||
actors: 'actors',
|
actors: 'actors',
|
||||||
duration: 'duration',
|
duration: 'duration',
|
||||||
sources: 'sources',
|
sources: 'sources',
|
||||||
@@ -197,16 +197,16 @@ export class SCVideoMeta
|
|||||||
*/
|
*/
|
||||||
fieldValueTranslations = {
|
fieldValueTranslations = {
|
||||||
de: {
|
de: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>()
|
...new SCCreativeWorkMeta()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldValueTranslations.de,
|
.fieldValueTranslations.de,
|
||||||
type: 'Video',
|
type: 'Video',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>()
|
...new SCCreativeWorkMeta()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
...SCThingThatCanBeOfferedMeta.getInstance<SCAcademicPriceGroup>()
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>()
|
||||||
.fieldValueTranslations.en,
|
.fieldValueTranslations.en,
|
||||||
type: SCThingType.Video,
|
type: SCThingType.Video,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -304,8 +304,8 @@ export class MetaTranslationSpec {
|
|||||||
const dishMetaTranslationsDE = translator.translatedPropertyNames(dish.type);
|
const dishMetaTranslationsDE = translator.translatedPropertyNames(dish.type);
|
||||||
const dishMetaTranslationsEN = translatorEN.translatedPropertyNames(dish.type);
|
const dishMetaTranslationsEN = translatorEN.translatedPropertyNames(dish.type);
|
||||||
expect(dishMetaTranslationsEN).to.not.deep.equal(dishMetaTranslationsDE);
|
expect(dishMetaTranslationsEN).to.not.deep.equal(dishMetaTranslationsDE);
|
||||||
expect(dishMetaTranslationsDE).to.deep.equal(SCDishMeta.getInstance().fieldTranslations.de);
|
expect(dishMetaTranslationsDE).to.deep.equal(new SCDishMeta().fieldTranslations.de);
|
||||||
expect(dishMetaTranslationsEN).to.deep.equal(SCDishMeta.getInstance().fieldTranslations.en);
|
expect(dishMetaTranslationsEN).to.deep.equal(new SCDishMeta().fieldTranslations.en);
|
||||||
}
|
}
|
||||||
|
|
||||||
@test
|
@test
|
||||||
@@ -313,9 +313,9 @@ export class MetaTranslationSpec {
|
|||||||
const dishTypeDE = translator.translatedPropertyValue(dish.type, 'type');
|
const dishTypeDE = translator.translatedPropertyValue(dish.type, 'type');
|
||||||
const dishTypeEN = translatorEN.translatedPropertyValue(dish.type, 'type', undefined);
|
const dishTypeEN = translatorEN.translatedPropertyValue(dish.type, 'type', undefined);
|
||||||
const dishTypeBASE = translatorWithFallback.translatedPropertyValue(dish.type, 'type');
|
const dishTypeBASE = translatorWithFallback.translatedPropertyValue(dish.type, 'type');
|
||||||
expect(dishTypeDE).to.deep.equal(SCDishMeta.getInstance().fieldValueTranslations.de.type);
|
expect(dishTypeDE).to.deep.equal(new SCDishMeta().fieldValueTranslations.de.type);
|
||||||
expect(dishTypeEN).to.deep.equal(SCDishMeta.getInstance().fieldValueTranslations.en.type);
|
expect(dishTypeEN).to.deep.equal(new SCDishMeta().fieldValueTranslations.en.type);
|
||||||
expect(dishTypeBASE).to.deep.equal(SCDishMeta.getInstance().fieldValueTranslations.en.type);
|
expect(dishTypeBASE).to.deep.equal(new SCDishMeta().fieldValueTranslations.en.type);
|
||||||
}
|
}
|
||||||
|
|
||||||
@test
|
@test
|
||||||
@@ -323,7 +323,7 @@ export class MetaTranslationSpec {
|
|||||||
const dishTypeDE = translator.translatedPropertyValue(dish.type, 'categories', 'main dish');
|
const dishTypeDE = translator.translatedPropertyValue(dish.type, 'categories', 'main dish');
|
||||||
const dishTypeEN = translatorEN.translatedPropertyValue(dish.type, 'categories', 'main dish');
|
const dishTypeEN = translatorEN.translatedPropertyValue(dish.type, 'categories', 'main dish');
|
||||||
const dishTypeBASE = translatorWithFallback.translatedPropertyValue(dish.type, 'categories', 'main dish');
|
const dishTypeBASE = translatorWithFallback.translatedPropertyValue(dish.type, 'categories', 'main dish');
|
||||||
expect(dishTypeDE).to.deep.equal(SCDishMeta.getInstance<SCDishMeta>().fieldValueTranslations.de.categories['main dish']);
|
expect(dishTypeDE).to.deep.equal(new SCDishMeta().fieldValueTranslations.de.categories['main dish']);
|
||||||
expect(dishTypeEN).to.deep.equal(dish.categories[0]);
|
expect(dishTypeEN).to.deep.equal(dish.categories[0]);
|
||||||
expect(dishTypeBASE).to.deep.equal(dish.categories[0]);
|
expect(dishTypeBASE).to.deep.equal(dish.categories[0]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user