Files
RichardandClaude Opus 5.5 837a634a22 Stufe 4c (#764): Kommentare in C#, WebUI-Skripten, CSS und HTML auf Englisch
Rund 2.600 Kommentarblöcke in 310 C#-Dateien übersetzt, Begründungen vollständig
erhalten: blockweise gleiche Anzahl wie vorher, kein Block unter 60 % seiner
Länge, der Code außerhalb der Kommentare per Tokenizer byte-identisch geprüft.
Zitate deutscher Oberflächentexte und Testdaten bleiben deutsch.

WebUI: Kommentare in JS/CSS/HTML übersetzt, JSDoc-@param an die in 4b
umbenannten Parameter angeglichen.

Dabei behoben:
- 4b hatte "tag" (HTML-Tag) als deutsches "Tag" gelesen und zu "dayValue"
  gemacht (makeElement, svg, Tagesübersicht) - zurück auf tag/day.
- Aufgaben "InProgress" bekamen die Plakettenart "laufend", für die es nie eine
  CSS-Klasse gab - jetzt "success" wie laufende Instanzen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 12:45:03 +02:00

27 lines
1.1 KiB
C#

using ClawdDotNet.Core.Instances;
namespace ClawdDotNet.Web.Tests.Infrastructure;
/// <summary>
/// A test that only says something where the instance socket is a file.
///
/// <para>Under Linux it is a Unix domain socket in the instance directory and thus an
/// entry in the file system — it survives the process, it has rights, it can be left
/// behind. Under Windows it is a named pipe: no entry, no corpse, nothing
/// to clean up.</para>
///
/// <para>Letting such tests run along under Windows would mean seeing them green without
/// anything having been checked. Hence a skip with a reason instead of a
/// silent <c>return</c>: in the report it is then visible that something was <em>not</em>
/// checked here. The same pattern as <c>LinuxFactAttribute</c> in the core tests.</para>
/// </summary>
public sealed class SocketFileFactAttribute : FactAttribute
{
public SocketFileFactAttribute()
{
if (InstanceEndpoint.UsesNamedPipe)
Skip = "Nur dort aussagekräftig, wo der Socket eine Datei ist — "
+ "unter Windows ist er eine Named Pipe.";
}
}