i18n(ui): English UI labels for weekly report and notes (report body stays German)
This commit is contained in:
@@ -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!;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user