From e1eb5c6cdf886b25ef6773aa388bb8091e4bb9d0 Mon Sep 17 00:00:00 2001 From: "zaccaria.majid" Date: Thu, 3 Nov 2022 12:09:31 +0100 Subject: [PATCH] aggiunta traduzione fase pagina dossier --- MP.SPEC/Components/ListDossiers.razor | 1 + MP.SPEC/Components/ListDossiers.razor.cs | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/MP.SPEC/Components/ListDossiers.razor b/MP.SPEC/Components/ListDossiers.razor index f8e127e8..5e031017 100644 --- a/MP.SPEC/Components/ListDossiers.razor +++ b/MP.SPEC/Components/ListDossiers.razor @@ -181,6 +181,7 @@ else @record.CodFlux +
@traduci(record.CodFlux)
@if (record.ValoreEdit != record.Valore) diff --git a/MP.SPEC/Components/ListDossiers.razor.cs b/MP.SPEC/Components/ListDossiers.razor.cs index 64c3f06a..127d76b4 100644 --- a/MP.SPEC/Components/ListDossiers.razor.cs +++ b/MP.SPEC/Components/ListDossiers.razor.cs @@ -81,6 +81,12 @@ namespace MP.SPEC.Components #region Protected Properties + private string traduci(string lemma) + { + var answ = MDService.Traduci(lemma, "IT"); + return answ; + } + [Inject] protected IJSRuntime JSRuntime { get; set; } = null!;