fix: standardize punctuation in tooltips and comments across multiple locales and code files

This commit is contained in:
Linus Rath
2026-05-14 21:44:24 +02:00
parent b4a76bc4d1
commit c646c87030
31 changed files with 150 additions and 128 deletions
+5 -5
View File
@@ -47,14 +47,14 @@ function sanitizeFilename(name: string): string {
}
/**
* POST /api/setup/branding wizard branding upload.
* POST /api/setup/branding - wizard branding upload.
*
* Multipart form fields:
* file the image (SVG/PNG/JPEG/WebP/ICO, max 2 MB)
* slot which branding key (faviconUrl, loginLogoLightUrl, etc.)
* file - the image (SVG/PNG/JPEG/WebP/ICO, max 2 MB)
* slot - which branding key (faviconUrl, loginLogoLightUrl, etc.)
*
* Mirrors /api/admin/branding but authenticates via the wizard cookie
* instead of admin session admin auth doesn't exist yet during bootstrap.
* instead of admin session - admin auth doesn't exist yet during bootstrap.
* Files land in the same directory; the public read endpoint at
* /api/admin/branding/<filename> serves both wizard- and admin-uploaded
* assets after setup.
@@ -126,7 +126,7 @@ export async function POST(request: NextRequest) {
}
/**
* DELETE /api/setup/branding remove an uploaded asset and clear the
* DELETE /api/setup/branding - remove an uploaded asset and clear the
* config override so the slot falls back to the system default.
*
* Body: { slot: string }