From ffaa528b2eea733958ffdf63eaee46f10334064a Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 1 Feb 2021 15:58:07 +0000 Subject: [PATCH] --- .vscode/launch.json | 2 +- server/AyaNova/resource/de.json | 25 +++++++++++++------------ server/AyaNova/resource/en.json | 22 +++++++++++----------- server/AyaNova/resource/es.json | 27 ++++++++++++++------------- server/AyaNova/resource/fr.json | 19 ++++++++++--------- server/AyaNova/util/Seeder.cs | 13 +++++++------ 6 files changed, 56 insertions(+), 52 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 0e2049e9..8fd97968 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -53,7 +53,7 @@ "AYANOVA_FOLDER_USER_FILES": "c:\\temp\\RavenTestData\\userfiles", "AYANOVA_FOLDER_BACKUP_FILES": "c:\\temp\\RavenTestData\\backupfiles", "AYANOVA_FOLDER_TEMPORARY_SERVER_FILES": "c:\\temp\\RavenTestData\\tempfiles", - "AYANOVA_SERVER_TEST_MODE": "false", + "AYANOVA_SERVER_TEST_MODE": "true", "AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small", "AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-7", "AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_13\\bin\\" diff --git a/server/AyaNova/resource/de.json b/server/AyaNova/resource/de.json index e86b2d8c..e192193e 100644 --- a/server/AyaNova/resource/de.json +++ b/server/AyaNova/resource/de.json @@ -591,7 +591,7 @@ "PartNotes": "Anmerkungen", "PartPartNumber": "Teilenummer", "PartRetail": "Einzelhandel", - "PartCost":"Kosten", + "PartCost": "Kosten", "PartTrackSerialNumber": "Seriennummer verfolgen", "PartUPC": "EAN", "PartWholesalerID": "Großhändler", @@ -655,8 +655,8 @@ "PartSerialNumbersAvailable": "Verfügbare Seriennummern", "PartWarehouseDescription": "Beschreibung", "PartWarehouseList": "Teilelager", - "PartWarehouseName": "Teilelager - Name", - "PartWarehouseNotes": "Anmerkungen", + "PartWarehouseName": "Teilelager - Name", + "PartWarehouseNotes": "Anmerkungen", "PartWarehouseCustom1": "Angepasstes Feld 1", "PartWarehouseCustom2": "Angepasstes Feld 2", "PartWarehouseCustom3": "Angepasstes Feld 3", @@ -2135,13 +2135,14 @@ "TaxCodeCustom14": "Angepasstes Feld 14", "TaxCodeCustom15": "Angepasstes Feld 15", "TaxCodeCustom16": "Angepasstes Feld 16", - "PartInventoryList":"Teileinventar", - "PartInventoryTransactionList":"Inventurtransaktionen", - "PartInventoryTransaction":"Inventartransaktion", - "PartInventoryTransactionDescription":"Beschreibung", - "PartInventoryTransactionEntryDate":"Datum", - "PartInventoryTransactionSource":"Transaktionsquelle", - "PartInventoryTransactionQuantity":"Menge", - "PartInventoryBalance":"Menge zur Hand", - "PartStockingLevels":"Mindestbestand an Teilen" + "PartInventoryList": "Teileinventar", + "PartInventoryTransactionList": "Inventurtransaktionen", + "PartInventoryTransaction": "Inventartransaktion", + "PartInventoryTransactionDescription": "Beschreibung", + "PartInventoryTransactionEntryDate": "Datum", + "PartInventoryTransactionSource": "Transaktionsquelle", + "PartInventoryTransactionQuantity": "Menge", + "PartInventoryBalance": "Menge zur Hand", + "PartStockingLevels": "Mindestbestand an Teilen", + "Columns": "Spalten" } \ No newline at end of file diff --git a/server/AyaNova/resource/en.json b/server/AyaNova/resource/en.json index f0aec91a..787c92c3 100644 --- a/server/AyaNova/resource/en.json +++ b/server/AyaNova/resource/en.json @@ -591,7 +591,7 @@ "PartNotes": "Notes", "PartPartNumber": "Part Number", "PartRetail": "Retail", - "PartCost":"Cost", + "PartCost": "Cost", "PartTrackSerialNumber": "Track Serial Number", "PartUPC": "UPC", "PartWholesalerID": "Wholesaler", @@ -2135,14 +2135,14 @@ "TaxCodeCustom14": "Custom14", "TaxCodeCustom15": "Custom15", "TaxCodeCustom16": "Custom16", - "PartInventoryList":"Part inventory", - "PartInventoryTransactionList":"Inventory transactions", - "PartInventoryTransaction":"Inventory transaction", - "PartInventoryTransactionDescription":"Description", - "PartInventoryTransactionEntryDate":"Date", - "PartInventoryTransactionSource":"Transaction source", - "PartInventoryTransactionQuantity":"Quantity", - "PartInventoryBalance":"On hand quantity", - "PartStockingLevels":"Part stocking levels" - + "PartInventoryList": "Part inventory", + "PartInventoryTransactionList": "Inventory transactions", + "PartInventoryTransaction": "Inventory transaction", + "PartInventoryTransactionDescription": "Description", + "PartInventoryTransactionEntryDate": "Date", + "PartInventoryTransactionSource": "Transaction source", + "PartInventoryTransactionQuantity": "Quantity", + "PartInventoryBalance": "On hand quantity", + "PartStockingLevels": "Part stocking levels", + "Columns": "Columns" } \ No newline at end of file diff --git a/server/AyaNova/resource/es.json b/server/AyaNova/resource/es.json index 4d9fca93..675f6f35 100644 --- a/server/AyaNova/resource/es.json +++ b/server/AyaNova/resource/es.json @@ -590,7 +590,7 @@ "PartNotes": "Notas", "PartPartNumber": "Número de pieza", "PartRetail": "Minorista", - "PartCost":"Coste", + "PartCost": "Coste", "PartTrackSerialNumber": "Seguimiento número de serie", "PartUPC": "UPC", "PartWholesalerID": "Mayorista", @@ -654,8 +654,8 @@ "PartSerialNumbersAvailable": "Números de serie disponibles", "PartWarehouseDescription": "Descripción", "PartWarehouseList": "Almacenes de piezas", - "PartWarehouseName": "Nombre de almacén de la pieza", - "PartWarehouseNotes": "Notas", + "PartWarehouseName": "Nombre de almacén de la pieza", + "PartWarehouseNotes": "Notas", "PartWarehouseCustom1": "Campo personalizado 1", "PartWarehouseCustom2": "Campo personalizado 2", "PartWarehouseCustom3": "Campo personalizado 3", @@ -671,7 +671,7 @@ "PartWarehouseCustom13": "Campo personalizado 13", "PartWarehouseCustom14": "Campo personalizado 14", "PartWarehouseCustom15": "Campo personalizado 15", - "PartWarehouseCustom16": "Campo personalizado 16", + "PartWarehouseCustom16": "Campo personalizado 16", "PriorityColor": "Color", "PriorityList": "Prioridades", "PriorityName": "Nombre prioridad", @@ -2135,13 +2135,14 @@ "TaxCodeCustom14": "Campo personalizado 14", "TaxCodeCustom15": "Campo personalizado 15", "TaxCodeCustom16": "Campo personalizado 16", - "PartInventoryList":"Inventario de piezas", - "PartInventoryTransactionList":"Transacciones de inventario", - "PartInventoryTransaction":"Transacción de inventario", - "PartInventoryTransactionDescription":"Descripción", - "PartInventoryTransactionEntryDate":"Fecha", - "PartInventoryTransactionSource":"Origen de la transacción", - "PartInventoryTransactionQuantity":"Cantidad", - "PartInventoryBalance":"Cantidad en mano", - "PartStockingLevels":"Niveles de existencias de piezas" + "PartInventoryList": "Inventario de piezas", + "PartInventoryTransactionList": "Transacciones de inventario", + "PartInventoryTransaction": "Transacción de inventario", + "PartInventoryTransactionDescription": "Descripción", + "PartInventoryTransactionEntryDate": "Fecha", + "PartInventoryTransactionSource": "Origen de la transacción", + "PartInventoryTransactionQuantity": "Cantidad", + "PartInventoryBalance": "Cantidad en mano", + "PartStockingLevels": "Niveles de existencias de piezas", + "Columns": "Columnas" } \ No newline at end of file diff --git a/server/AyaNova/resource/fr.json b/server/AyaNova/resource/fr.json index 848e6afc..c92e45c7 100644 --- a/server/AyaNova/resource/fr.json +++ b/server/AyaNova/resource/fr.json @@ -2135,13 +2135,14 @@ "TaxCodeCustom14": "Champ personnalisé 14", "TaxCodeCustom15": "Champ personnalisé 15", "TaxCodeCustom16": "Champ personnalisé 16", - "PartInventoryList":"Inventaire des pièces", - "PartInventoryTransactionList":"Opérations d'inventaire", - "PartInventoryTransaction":"Transaction d'inventaire", - "PartInventoryTransactionDescription":"La description", - "PartInventoryTransactionEntryDate":"Date", - "PartInventoryTransactionSource":"Source de transaction", - "PartInventoryTransactionQuantity":"Quantité", - "PartInventoryBalance":"Quantité disponible", - "PartStockingLevels":"Niveaux de stockage des pièces" + "PartInventoryList": "Inventaire des pièces", + "PartInventoryTransactionList": "Opérations d'inventaire", + "PartInventoryTransaction": "Transaction d'inventaire", + "PartInventoryTransactionDescription": "La description", + "PartInventoryTransactionEntryDate": "Date", + "PartInventoryTransactionSource": "Source de transaction", + "PartInventoryTransactionQuantity": "Quantité", + "PartInventoryBalance": "Quantité disponible", + "PartStockingLevels": "Niveaux de stockage des pièces", + "Columns": "Colonnes" } \ No newline at end of file diff --git a/server/AyaNova/util/Seeder.cs b/server/AyaNova/util/Seeder.cs index 95f13945..1e1de421 100644 --- a/server/AyaNova/util/Seeder.cs +++ b/server/AyaNova/util/Seeder.cs @@ -572,7 +572,8 @@ namespace AyaNova.Util ho.Phone1 = Fake.Phone.PhoneNumber(); ho.Phone2 = Fake.Phone.PhoneNumber(); ho.Phone3 = Fake.Phone.PhoneNumber(); - ho.WebAddress = Fake.Internet.Url(); + ho.WebAddress = Fake.Internet.Protocol() + "://example." + Fake.Internet.DomainSuffix(); + ho.EmailAddress = Fake.Internet.ExampleEmail(); using (AyContext ct = ServiceProviderProvider.DBContext) @@ -613,7 +614,7 @@ namespace AyaNova.Util o.Phone1 = Fake.Phone.PhoneNumber(); o.Phone2 = Fake.Phone.PhoneNumber(); o.Phone3 = Fake.Phone.PhoneNumber(); - o.WebAddress = Fake.Internet.Url(); + o.WebAddress = Fake.Internet.Protocol() + "://example." + Fake.Internet.DomainSuffix(); o.EmailAddress = Fake.Internet.ExampleEmail(); @@ -660,7 +661,7 @@ namespace AyaNova.Util o.Phone1 = Fake.Phone.PhoneNumber(); o.Phone2 = Fake.Phone.PhoneNumber(); o.Phone3 = Fake.Phone.PhoneNumber(); - o.WebAddress = Fake.Internet.Url(); + o.WebAddress = Fake.Internet.Protocol() + "://example." + Fake.Internet.DomainSuffix(); o.EmailAddress = Fake.Internet.ExampleEmail(); //This seems wrong to do in a loop but is 4 times faster this way ?!? @@ -986,7 +987,7 @@ namespace AyaNova.Util o.Phone1 = Fake.Phone.PhoneNumber(); o.Phone2 = Fake.Phone.PhoneNumber(); o.Phone3 = Fake.Phone.PhoneNumber(); - o.WebAddress = Fake.Internet.Url(); + o.WebAddress = Fake.Internet.Protocol() + "://example." + Fake.Internet.DomainSuffix(); o.EmailAddress = Fake.Internet.ExampleEmail(); if (headOfficeId != null) @@ -1051,7 +1052,7 @@ namespace AyaNova.Util o.Phone1 = Fake.Phone.PhoneNumber(); o.Phone2 = Fake.Phone.PhoneNumber(); o.Phone3 = Fake.Phone.PhoneNumber(); - o.WebAddress = Fake.Internet.Url(); + o.WebAddress = Fake.Internet.Protocol() + "://example." + Fake.Internet.DomainSuffix(); o.EmailAddress = Fake.Internet.ExampleEmail(); @@ -1111,7 +1112,7 @@ namespace AyaNova.Util o.Phone1 = Fake.Phone.PhoneNumber(); o.Phone2 = Fake.Phone.PhoneNumber(); o.Phone3 = Fake.Phone.PhoneNumber(); - o.WebAddress = Fake.Internet.Url(); + o.WebAddress = Fake.Internet.Protocol() + "://example." + Fake.Internet.DomainSuffix(); o.EmailAddress = Fake.Internet.ExampleEmail(); //This seems wrong to do in a loop but is 4 times faster this way ?!?