fix(i18n): overhaul Japanese translations, localise pending UI labels, and update documentation

- Overhaul Japanese translation catalogue and synchronize with current documentation
- Localise pending UI labels across dialogues, panels, and settings
- Add Japanese translation mapping for provisional LiveSync messages
- Update and refine all Japanese documentation files
- Strip weak ETag prefix in ObsHttpHandler for object storage compatibility
This commit is contained in:
Chihiro WATANABE committed 2026-11-04 10:38:55 +09:00
1 parent 0fe7d82f46
commit 5ffa3b76ed
32 files changed
+6154 -1549

No files matched your search

@@ -147,4 +147,48 @@ describe("ObsHttpHandler response handling", () => {
await expect(new ObsHttpHandler().handle(requestWithBody(new ArrayBuffer(0)))).rejects.toBe(failure);
});
it("strips weak ETag prefix from incoming etag response headers", async () => {
requestUrlMock.mockResolvedValue({
headers: { etag: 'W/"weak-revision-123"' },
status: 200,
arrayBuffer: new ArrayBuffer(0),
});
const request = new HttpRequest({
protocol: "https:",
hostname: "objects.example.com",
method: "GET",
path: "/bucket/milestone.json",
headers: {},
});
const result = await new ObsHttpHandler().handle(request);
expect(result.response.headers.etag).toBe('"weak-revision-123"');
});
it("strips weak ETag prefix from outgoing if-match request headers", async () => {
requestUrlMock.mockResolvedValue({
headers: {},
status: 200,
arrayBuffer: new ArrayBuffer(0),
});
const request = new HttpRequest({
protocol: "https:",
hostname: "objects.example.com",
method: "PUT",
path: "/bucket/milestone.json",
headers: {
"if-match": 'W/"weak-revision-123"',
},
});
await new ObsHttpHandler().handle(request);
expect(requestUrlMock).toHaveBeenCalledWith(
expect.objectContaining({
headers: expect.objectContaining({
"if-match": '"weak-revision-123"',
}),
})
);
});
});