Aggiunte icone split

This commit is contained in:
Annamaria Sassi
2026-08-18 10:22:22 +02:00
parent 27a1b08df1
commit 12fbe4ff65
16 changed files with 309 additions and 794 deletions
+21 -1
View File
@@ -319,8 +319,28 @@ namespace WebWindowComplex
//PendReq.Remove("Profile");
//await EC_PendantAction.InvokeAsync(PendReq);
}
if(Vocabulary != null)
if (Vocabulary == null)
{
string filePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Data", "Lemmi.json");
if (File.Exists(filePath))
{
string jsonText = await File.ReadAllTextAsync(filePath);
List<string>? tradList = JsonConvert.DeserializeObject<List<string>>(jsonText);
if (tradList != null)
{
Log.Info("Richiesta Traduzione");
prevReqTrad = true;
await EC_ReqTraduzione.InvokeAsync(tradList);
}
}
else
{
Log.Info("File Json non trovato");
}
}
else
{
CurrVocabulary = Vocabulary;
TableCDict = Vocabulary.Where(x => x.Key.Contains("CWTableC_")).ToDictionary(x => x.Key, y => y.Value);
if ((TableCDict == null || TableCDict.Count != 13) && !prevReqTrad)