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>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
da4ceac7d5
commit
837a634a22
@@ -31,8 +31,8 @@ public sealed class TokenProvisionerTests
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Ein Sub-Token darf keine weiteren ausstellen. Das ist der Regelfall beim zweiten
|
||||
/// Start und muss als sauberer Fehler herauskommen, nicht als Absturz.
|
||||
/// A sub-token may not issue further ones. That is the normal case at the second
|
||||
/// start and must come out as a clean error, not as a crash.
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public async Task Abgelehnte_Provisionierung_wirft_mit_Code()
|
||||
@@ -50,12 +50,12 @@ public sealed class TokenProvisionerTests
|
||||
// ─── whoami (SDK 2.7.1) ───
|
||||
|
||||
/// <summary>
|
||||
/// Die Auskunft, auf die es ankommt: an welches Projekt das Token gebunden ist.
|
||||
/// The information that matters: which project the token is bound to.
|
||||
///
|
||||
/// <para>Seit SDK 2.8.1 erbt ein Watchdog-Monitor das Projekt seines Ping-Tokens.
|
||||
/// Fehlt die Bindung, landen die Befunde im Scheinprojekt „default" — und eine
|
||||
/// Abfrage nach dem eigenen Projekt liefert für eine laufende, meldende Instanz null
|
||||
/// Befunde. Die Aufsicht sähe aus wie „nichts auffällig".</para>
|
||||
/// <para>Since SDK 2.8.1 a watchdog monitor inherits the project of its ping token.
|
||||
/// If the binding is missing, the findings land in the phantom project "default" — and a
|
||||
/// query for the own project returns zero findings for a running, reporting instance.
|
||||
/// Supervision would look like "nothing unusual".</para>
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public async Task Whoami_liest_die_Projektbindung()
|
||||
@@ -85,7 +85,7 @@ public sealed class TokenProvisionerTests
|
||||
[Fact]
|
||||
public async Task Ein_Token_ohne_Projekt_faellt_auf()
|
||||
{
|
||||
// project_slug ist JSON-null, nicht abwesend - genau so kommt es vom Server.
|
||||
// project_slug is JSON null, not absent - exactly as it comes from the server.
|
||||
var handler = new CapturingHandler(HttpStatusCode.OK,
|
||||
"""
|
||||
{"status":"success","token_id":"tok_s_9","name":"Instanz","type":"sub",
|
||||
@@ -103,8 +103,8 @@ public sealed class TokenProvisionerTests
|
||||
[Fact]
|
||||
public async Task Eine_Antwort_ohne_Felder_wirft_nicht()
|
||||
{
|
||||
// Ein aelterer Server kennt whoami nicht in dieser Form. Die Auskunft darf
|
||||
// ausfallen; abstuerzen darf sie nicht.
|
||||
// An older server does not know whoami in this form. The information may
|
||||
// be missing; it must not crash.
|
||||
var handler = new CapturingHandler(HttpStatusCode.OK, """{"status":"success"}""");
|
||||
|
||||
using var api = new DeploymentcenterApi("https://dc.example", "t", new HttpClient(handler));
|
||||
|
||||
Reference in New Issue
Block a user