i18n(ui): English UI labels for weekly report and notes (report body stays German)
This commit is contained in:
@@ -72,16 +72,16 @@ public sealed partial class WeeklyReportModalViewModel : ViewModelBase
|
||||
[RelayCommand(CanExecute = nameof(CanGenerate))]
|
||||
private async Task Generate()
|
||||
{
|
||||
if (!RangeValid) { StatusMessage = "Ungültiger Zeitraum."; return; }
|
||||
if (!RangeValid) { StatusMessage = "Invalid date range."; return; }
|
||||
IsBusy = true;
|
||||
StatusMessage = "Bericht wird erstellt…";
|
||||
StatusMessage = "Generating report…";
|
||||
try
|
||||
{
|
||||
ReportMarkdown = await _worker.GenerateWeekReportAsync(
|
||||
DateOnly.FromDateTime(StartDate!.Value), DateOnly.FromDateTime(EndDate!.Value));
|
||||
StatusMessage = "";
|
||||
}
|
||||
catch (Exception ex) { StatusMessage = $"Fehler: {ex.Message}"; }
|
||||
catch (Exception ex) { StatusMessage = $"Error: {ex.Message}"; }
|
||||
finally { IsBusy = false; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user