i18n(ui): English UI labels for weekly report and notes (report body stays German)

This commit is contained in:
mika kuns
2026-06-03 10:44:36 +02:00
parent 2d55f88a41
commit a935bf9664
8 changed files with 28 additions and 28 deletions

View File

@@ -11,7 +11,7 @@ namespace ClaudeDo.Worker.Report;
public sealed class WeekReportService : IWeekReportService
{
private static readonly string[] DefaultExcludes = { @"C:\Private" };
private const string NoActivity = "_Keine Aktivität in diesem Zeitraum._";
private const string NoActivity = "_No activity in this period._";
private readonly IClaudeHistoryReader _reader;
private readonly IDbContextFactory<ClaudeDoDbContext> _dbFactory;
@@ -72,7 +72,7 @@ public sealed class WeekReportService : IWeekReportService
var args = $"-p --output-format stream-json --verbose --permission-mode auto --model {safeModel}";
var result = await _claude.RunAsync(args, prompt, Path.GetTempPath(), _ => Task.CompletedTask, ct);
if (!result.IsSuccess)
throw new InvalidOperationException(result.ErrorMarkdown ?? "Claude konnte den Bericht nicht erzeugen.");
throw new InvalidOperationException(result.ErrorMarkdown ?? "Claude could not generate the report.");
markdown = result.ResultMarkdown!;
}