@samitouri / QOSami-HFS / commits / 7bd6f68a

admin/logs: better english

Massimo Melina committed Aug 10, 2025 at 19:21 UTC 7bd6f68aa9946afb0d5ebd922f6b5cda9f8478bc
2 files changed +3 -3
admin/src/LogsPage.ts
+2 -2
@@ -82,9 +82,9 @@ export default function LogsPage({ setTitleSide }: PageProps) {
82 form: {
83 stickyBar: true,
84 fields: [
85 - { k: CFG.log, label: logLabels.log, sm: 6, helperText: "Requests are logged here" },
85 + { k: CFG.log, label: logLabels.log, sm: 6, helperText: "Requests are logged here. Empty to disable it." },
86 { k: CFG.error_log, label: logLabels.error_log, sm: 6, placeholder: "errors go to main log",
87 - helperText: "If you want errors in a different log"
87 + helperText: "Write errors in a different file. Empty to use same file."
88 },
89 { k: CFG.log_rotation, comp: SelectField, sm: 6, options: [{ value:'', label:"disabled" }, 'daily', 'weekly', 'monthly' ],
90 helperText: wikiLink('Logs#rotation', "To keep log-files smaller"),
e2e/frontend.spec.ts
+1 -1
@@ -258,7 +258,7 @@ test('admin1', async ({ page }) => {
258 await page.getByRole('tab').nth(3).click();
259 await page.getByRole('tab').nth(4).click();
260 await page.getByRole('button', { name: '(Options)' }).click();
261 - await page.locator('div').filter({ hasText: 'ServedRequests are logged hereNot servedIf you want errors in a different' }).nth(3).click();
261 + await page.locator('div').filter({ hasText: 'ServedRequests are logged here. Empty to disable it.Not servedWrite errors in a different file. Empty to use same file.' }).nth(3).click();
262 await page.getByRole('button', { name: '(Close)' }).click();
263 await expect(page.getByText('LogsServedNot')).toBeVisible();
264 await clickMenu('Language');