Random fixes. Lang file

This commit is contained in:
Marcel Baumgartner
2023-04-12 19:33:26 +02:00
parent 57b519e6bd
commit 24f131f264
4 changed files with 24 additions and 17 deletions

View File

@@ -21,6 +21,8 @@ public class SmartTranslateHelper
foreach (var line in lines)
{
var parts = line.Split(";");
if(!content.ContainsKey(parts[0]))
content.Add(parts[0], parts[1]);
}

View File

@@ -52,10 +52,7 @@ else
{
receivedExceptions.Add(exception);
var user = await IdentityService.Get();
var id = user == null ? -1 : user.Id;
Logger.Error($"[{id}] An unhanded exception occured:");
Logger.Error($"An unhanded exception occured:");
Logger.Error(exception);
await base.OnErrorAsync(exception);

View File

@@ -100,6 +100,8 @@
{
await lazyLoader.SetText(node.Name);
try
{
var containerStats = await NodeService.GetContainerStats(node);
foreach (var container in containerStats.Containers)
@@ -118,6 +120,11 @@
}
}
}
catch (Exception)
{
// ignored
}
}
}
private async Task StopAll()

View File

@@ -554,4 +554,5 @@ You have no domains;You have no domains
We were not able to find any domains associated with your account;We were not able to find any domains associated with your account
You have no websites;You have no websites
We were not able to find any websites associated with your account;We were not able to find any websites associated with your account
The name should only consist of lower case characters;The name should only consist of lower case characters
Guest;Guest
You need a domain;You need a domain