From 3e52f807a5208d0fa119af3d7e44696e1a3d01f3 Mon Sep 17 00:00:00 2001 From: SmartRootsSrl Date: Mon, 23 Mar 2026 17:03:47 +0100 Subject: [PATCH] fix: translate labels to Italian in anagrafica section (analisi + sottostanti) --- .../Implementations/AnagraficaSectionRenderer.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs index 052f00d..3c81372 100644 --- a/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/AnagraficaSectionRenderer.cs @@ -330,14 +330,14 @@ public class AnagraficaSectionRenderer : IPdfSectionRenderer var rightItems = new (string Label, string Value)[] { ("Rend. Capitale a Scadenza", info.CapitalReturnAtMaturity ?? "-"), - ("IRR", info.IRR ?? "-"), + ("Tasso Rendimento Interno", info.IRR ?? "-"), ("Protezione Capitale", info.BufferKProt ?? "-"), - ("Protezione Coupon", info.BufferCPNProt ?? "-"), - ("Valore Autocall", info.AutocallValue ?? "-"), - ("Distanza Autocall", info.TriggerAutocallDistance ?? "-"), - ("Rendimento Autocall", info.AutocallReturn ?? "-"), + ("Protezione Cedola", info.BufferCPNProt ?? "-"), + ("Valore Richiamo Anticipato", info.AutocallValue ?? "-"), + ("Distanza Richiamo Anticipato", info.TriggerAutocallDistance ?? "-"), + ("Rendimento Richiamo Anticipato", info.AutocallReturn ?? "-"), ("Fattore Airbag", string.IsNullOrWhiteSpace(info.FattoreAirbag) ? "—" : info.FattoreAirbag), - ("Trigger OneStar", string.IsNullOrWhiteSpace(info.TriggerOneStar) ? "—" : info.TriggerOneStar), + ("Livello OneStar", string.IsNullOrWhiteSpace(info.TriggerOneStar) ? "—" : info.TriggerOneStar), }; float leftY = DrawKVList(g, leftItems, 0, ColW, y); @@ -390,8 +390,8 @@ public class AnagraficaSectionRenderer : IPdfSectionRenderer grid.Style.CellPadding = new PdfPaddings(2, 2, 2, 2); // 9 colonne - string[] headers = { "Nome", "Strike", "Last", "% Perf.", "Barriera Capitale", - "Buffer Capitale", "Trigger Cedola", "Buffer Cedola", "Trigger Autocall" }; + string[] headers = { "Nome", "Livello Iniziale", "Ultimo Prezzo", "% Perf.", "Barriera Capitale", + "Protezione Capitale", "Livello Cedola", "Protezione Cedola", "Livello Richiamo Anticipato" }; foreach (var _ in headers) grid.Columns.Add();