Übersetzung

This commit is contained in:
2025-07-07 15:15:31 +02:00
parent e12f863748
commit a9d0aa6bee
7 changed files with 54 additions and 51 deletions

View File

@@ -73,13 +73,13 @@ namespace BeWo.Service.DCEntityMapper
{
var record_dict = new Dictionary<string, object>
{
{"Address", customer.AddressString},
{"Adresse", customer.AddressString},
{"Alias", customer.CustomerAlias},
{"CustomerOid", customer.CustomerOid},
{"DateOfBirth", customer.DateOfBirthString},
{"EqutyContribution", customer.EquityContribution},
{"Fullname", customer.FullName},
{"InvoiceAddress", customer.InvoiceAddressString}
{"Klient-ID", customer.CustomerOid},
{"Geburtstag", customer.DateOfBirthString},
{"EigenkapitalBeitrag", customer.EquityContribution},
{"Name", customer.FullName},
{"Rechnungsadresse", customer.InvoiceAddressString}
};
return record_dict;

View File

@@ -40,9 +40,9 @@ namespace BeWo.Service.DCEntityMapper
{
var dict = new Dictionary<string, object>()
{
{"EmployeeOid", pDC.EmployeeOid },
{"PersonellNumber", pDC.PersonnelNumber },
{"FullName", pDC.FirstNameLastName },
{"Mitarbeiter-ID", pDC.EmployeeOid },
{"Personalnummer", pDC.PersonnelNumber },
{"Name", pDC.FirstNameLastName },
};
return dict;

View File

@@ -68,7 +68,7 @@ namespace BeWo.Service.DCEntityMapper
{
var jsonObject = new Dictionary<string, object>()
{
{"OrganisationOid", pDC.OrganisationOid },
{"Organisation-ID", pDC.OrganisationOid },
{"Name", pDC.Name },
{"Abteilung", pDC.Name2 },
{"Kundennummer", pDC.DebitorNumber },

View File

@@ -65,13 +65,13 @@ namespace BeWo.Service.DCEntityMapper
{
var jsonObject = new Dictionary<string, object>()
{
{"Address", pDC.AddressString },
{"DateOfBirth", pDC.Birthday },
{"CustomerOid", pDC.CustomerOid },
{"EmployeeOid", pDC.EmployeeOid },
{ "FullName", pDC.FullName },
{"Gender", pDC.Geschlecht.ToString() },
{"Function", pDC.Function },
{"Adresse", pDC.AddressString },
{"Geburtstag", pDC.Birthday },
{"Klient-ID", pDC.CustomerOid },
{"Mitarbeiter-ID", pDC.EmployeeOid },
{"Name", pDC.FullName },
{"Geschlecht", pDC.Geschlecht.ToString() },
{"Funktion", pDC.Function },
};
return jsonObject;

View File

@@ -76,14 +76,14 @@ namespace BeWo.Service.DCEntityMapper
var jsonObject = new Dictionary<string, object>()
{
{"SupportConceptOid", pDC.SupportConceptOid },
{"Address", pDC.AddressString },
{"AllCostBearerNames", pDC.AllCostBearerNames},
{"CostBearer", pDC.CostBearer },
{"CostBearerDetailStrings", pDC.CostBearerDetailStrings },
{"Customer", customer },
{"StartDate", pDC.StartDate },
{"EndDate", pDC.EndDate }
{"Hilfeplan-ID", pDC.SupportConceptOid },
{"Adresse", pDC.AddressString },
{"Kostentraegernamen", pDC.AllCostBearerNames},
{"Kostentraeger", pDC.CostBearer },
{"Kostentraeger Details", pDC.CostBearerDetailStrings },
{"Klient", customer },
{"Startdatum", pDC.StartDate },
{"Enddatum", pDC.EndDate }
};
return jsonObject;

View File

@@ -437,14 +437,14 @@ namespace BeWo.Service.DCEntityMapper
{
var jsonObject = new Dictionary<string, object>()
{
{"CustomerOid", c.CustomerOid },
{ "Fullname", $"{c.FirstName} {c.LastName}"},
{"Klient-ID", c.CustomerOid },
{ "Name", $"{c.FirstName} {c.LastName}"},
{"Alias", c.CustomerAlias },
{ "Birthday", c.DateOfBirth },
{"Gender", c.Sex.ToString() },
{ "Geburtstag", c.DateOfBirth },
{"Geschlecht", c.Sex.ToString() },
{"Nationalität", c.Nationalitaet?.DisplayName },
{"IsMigrant", c.IsMigrant },
{"MigrationBackground", c.Migrationshintergrund },
{"HatMigrationshintergrund", c.IsMigrant },
{"Migrationshintergrund", c.Migrationshintergrund },
{"Aufenthaltsstatus", c.AufenthaltsStatus?.DisplayName },
{"Familienstand", c.FamilyStatus.ToString() },
{"Beruf", c.Profession },
@@ -454,15 +454,18 @@ namespace BeWo.Service.DCEntityMapper
{"Versichertennummer", c.InsuranceNumber },
{"Versichertenstatus", c.VersichertenStatus },
{"Kommentar", c.Notice },
{"AdressLine1", c.AddressLine1 },
{"Street", c.Street },
{"PostalCode", c.PostalCode },
{"Town", c.Town },
{"DistanceInMeter", c.DistanceInMeter },
{"InvoiceAdressLine1", c.InvoiceAddressLine1 },
{"InvoiceStreet", c.InvoiceAddressStreet },
{"InvoicePostalCode", c.InvoiceAddressPostalCode },
{"InvoiceTown", c.InvoiceAddressTown }
{"Adressezeile 1", c.AddressLine1 },
{"Straße", c.Street },
{"PLZ", c.PostalCode },
{"Ort", c.Town },
{"Distanz in km", c.DistanceInMeter },
{"Rechnungsadresse", new Dictionary<string, object>()
{
{ "Adresszeile 1", c.InvoiceAddressLine1 },
{ "Strasse ", c.InvoiceAddressStreet},
{ "Ort", c.InvoiceAddressTown },
{ "PLZ", c.InvoiceAddressPostalCode },
}}
};
return jsonObject;

View File

@@ -271,22 +271,22 @@ namespace BeWo.Service.DCEntityMapper
{
var record_dict = new Dictionary<string, object>
{
{"ServiceRecordOid", service_record.ServiceRecordOid},
{ "StartDate", service_record.Start },
{ "EndDate", service_record.End },
{ "Duration (Std)", service_record.DurationInStunden },
{ "ServiceCategory", service_record.ServiceDescription.Category.Name },
{ "ServiceDescription", service_record.ServiceDescription.Name },
{ "Documentation", service_record.Notice
{"Zeiteintrag-ID", service_record.ServiceRecordOid},
{ "Startdatum", service_record.Start },
{ "Enddatum", service_record.End },
{ "Dauer in Stunden", service_record.DurationInStunden },
{ "Leistungskategorie", service_record.ServiceDescription.Category.Name },
{ "Leistungsbeschreibung", service_record.ServiceDescription.Name },
{ "Dokumentation", service_record.Notice
+ "\n" + service_record.Notice2
+ "\n" + service_record.Notice3
+ "\n" + service_record.Notice4
+ "\n" + service_record.Notice5},
{ "Distance (Meter)", service_record.DistanceInMeter ?? 0 },
{ "InsertedOn", service_record.InsertedOn },
{ "Distanze in Meter", service_record.DistanceInMeter ?? 0 },
{ "Eingetragen am", service_record.InsertedOn },
{ "Betrag", service_record.Betrag },
{ "InsertUser", service_record.InsUser },
{ "Employee", service_record.Employee }
{ "Eingetragen von", service_record.InsUser },
{ "Mitarbeiter", service_record.Employee }
};
return record_dict;