forked from unom/punktfunk
style(web): let biome format the message catalogues and the Logs story
Cosmetic only, and kept out of the feature commit it rode in on so neither has to be read through the other. `biome check --write` reindents both message catalogues from two spaces to tabs (877 lines each, no key, order, or value touched — verified by comparing the parsed objects) and rewraps the Logs story fixtures onto one argument per line with trailing commas. Worth knowing for next time: the catalogues are also written by inlang, which formats with two spaces, so an edit made through that tooling will pull them back. Nothing depends on either shape — `bun run codegen` compiles 440 messages for both locales either way. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,14 +16,54 @@ const entry = (
|
||||
): LogEntry => ({ seq, ts_ms: BASE + seq * 750, level, target, msg });
|
||||
|
||||
const fixtureEntries: LogEntry[] = [
|
||||
entry(1, "INFO", "punktfunk_host", "punktfunk-host 0.4.2 (punktfunk_core ABI v2)"),
|
||||
entry(2, "INFO", "punktfunk_host::mgmt", "management API listening over HTTPS addr=0.0.0.0:47990"),
|
||||
entry(3, "DEBUG", "punktfunk_host::discovery", "mDNS advertise _punktfunk._udp pair=required"),
|
||||
entry(4, "INFO", "punktfunk_host::punktfunk1", "session start mode=1920x1080@60 codec=hevc"),
|
||||
entry(5, "INFO", "punktfunk_host::inject", "virtual Xbox 360 created (Windows XUSB companion)"),
|
||||
entry(6, "WARN", "punktfunk_host::inject", "gamepad driver not attached to Global\\pfxusb-shm-0 after 3s — is the pf_xusb driver installed? (punktfunk-host.exe driver install --gamepad)"),
|
||||
entry(7, "ERROR", "punktfunk_host::inject", "virtual Xbox 360 creation failed — controller input disabled (is the pf_xusb driver installed?)"),
|
||||
entry(8, "INFO", "punktfunk_host::encode", "NVENC opened 1920x1080 nv12 gop=inf rfi=on"),
|
||||
entry(
|
||||
1,
|
||||
"INFO",
|
||||
"punktfunk_host",
|
||||
"punktfunk-host 0.4.2 (punktfunk_core ABI v2)",
|
||||
),
|
||||
entry(
|
||||
2,
|
||||
"INFO",
|
||||
"punktfunk_host::mgmt",
|
||||
"management API listening over HTTPS addr=0.0.0.0:47990",
|
||||
),
|
||||
entry(
|
||||
3,
|
||||
"DEBUG",
|
||||
"punktfunk_host::discovery",
|
||||
"mDNS advertise _punktfunk._udp pair=required",
|
||||
),
|
||||
entry(
|
||||
4,
|
||||
"INFO",
|
||||
"punktfunk_host::punktfunk1",
|
||||
"session start mode=1920x1080@60 codec=hevc",
|
||||
),
|
||||
entry(
|
||||
5,
|
||||
"INFO",
|
||||
"punktfunk_host::inject",
|
||||
"virtual Xbox 360 created (Windows XUSB companion)",
|
||||
),
|
||||
entry(
|
||||
6,
|
||||
"WARN",
|
||||
"punktfunk_host::inject",
|
||||
"gamepad driver not attached to Global\\pfxusb-shm-0 after 3s — is the pf_xusb driver installed? (punktfunk-host.exe driver install --gamepad)",
|
||||
),
|
||||
entry(
|
||||
7,
|
||||
"ERROR",
|
||||
"punktfunk_host::inject",
|
||||
"virtual Xbox 360 creation failed — controller input disabled (is the pf_xusb driver installed?)",
|
||||
),
|
||||
entry(
|
||||
8,
|
||||
"INFO",
|
||||
"punktfunk_host::encode",
|
||||
"NVENC opened 1920x1080 nv12 gop=inf rfi=on",
|
||||
),
|
||||
];
|
||||
|
||||
const meta = {
|
||||
|
||||
Reference in New Issue
Block a user