diff --git a/NKC_WF/site/KitRequestImporter.aspx.cs b/NKC_WF/site/KitRequestImporter.aspx.cs index 5e78b13..7569f73 100644 --- a/NKC_WF/site/KitRequestImporter.aspx.cs +++ b/NKC_WF/site/KitRequestImporter.aspx.cs @@ -59,7 +59,7 @@ namespace NKC_WF } catch (Exception exc) { - logger.lg.scriviLog($"KitCsvMan: Eccezione in Copia SQL file:{Environment.NewLine}{exc}"); + logger.lg.scriviLog($"{traduci("ErrKitReqImpCopyError")}:{Environment.NewLine}{exc}"); } // salvo dati cmp_kitImpCheck.fileName = e.FileName; diff --git a/NKC_WF/site/OrderManager.aspx.cs b/NKC_WF/site/OrderManager.aspx.cs index 6f68457..e54e0e7 100644 --- a/NKC_WF/site/OrderManager.aspx.cs +++ b/NKC_WF/site/OrderManager.aspx.cs @@ -113,7 +113,7 @@ namespace NKC_WF } catch (Exception exc) { - logger.lg.scriviLog($"Eccezione in Copia SQL file:{Environment.NewLine}{exc}"); + logger.lg.scriviLog($"{traduci("ErrOrderCsvImp01")}:{Environment.NewLine}{exc}"); DataLayer.man.taEL.insertQuery(DateTime.Now, "Copy CSV", $"{e.BatchName}", $"{e.BatchName}.{e.FileName}", $"Exception: {exc}"); } // chiamo stored caricamento @@ -125,7 +125,7 @@ namespace NKC_WF } catch (Exception exc) { - logger.lg.scriviLog($"Eccezione in IMPORT file:{Environment.NewLine}{exc}"); + logger.lg.scriviLog($"{traduci("ErrOrderCsvImp02")}:{Environment.NewLine}{exc}"); // salvo log errore... DataLayer.man.taEL.insertQuery(DateTime.Now, "Upload CSV", $"{e.BatchName}", $"{e.BatchName}.{e.FileName}", $"Exception: {exc}"); dataValidated = false; @@ -146,7 +146,7 @@ namespace NKC_WF } catch (Exception exc) { - logger.lg.scriviLog($"Eccezione in verifica file:{Environment.NewLine}{exc}"); + logger.lg.scriviLog($"{traduci("ErrOrderCsvImp03")}:{Environment.NewLine}{exc}"); dataValidated = false; } if (dataValidated && batchID > 0) @@ -200,7 +200,7 @@ namespace NKC_WF fileOk = System.IO.File.Exists(localPath); if (!fileOk) { - DataLayer.man.taEL.insertQuery(DateTime.Now, "I.1", $"B.{batchID}", $"{item.ItemExtCode}.dxf", $"DXF File not found {localPath} | part {item.ItemExtCode} | {item.ItemDesc}"); + DataLayer.man.taEL.insertQuery(DateTime.Now, "I.1", $"B.{batchID}", $"{item.ItemExtCode}.dxf", $"{traduci("ErrOrderDxfNotFound")} {localPath} | part {item.ItemExtCode} | {item.ItemDesc}"); allOk = false; missingDxfList.Add(item.ItemExtCode); }