Admin panel in English and Polish, reworded per docs/dev/admin-ux.md

- admin-i18n module: AdminText { en, pl }, component texts under the ipal
  namespace (project translations win), en + pl admin languages when the
  project sets none (project's supportedLanguages wins)
- every plugin label, description, option, tab and group as { en, pl };
  explicit labels instead of auto-labels; sentence case; glossary terms
- visible renames (slugs, names, data unchanged): Cookie banner, Form
  messages, Privacy group, Search engines, Maintenance, Spam protection,
  E-mail sending, stats nav link Overview (hidden without access)
- Polish visitor defaults by page locale: cookie banner, form messages,
  validators, lightbox, accessibility widget; {field} uses the label
- fixes: e-mail status banner used Turnstile wording; developer words and
  env var names out of editor messages; stats numbers/dates in the admin
  language; test e-mail no longer says ipal-kit
- test/adminUx.test.ts: length limits, en + pl present, no developer words

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-27 15:46:25 +01:00
co-authored by Claude Opus 5.5
parent eeac33ed2f
commit 6b46bc0c14
108 changed files with 2806 additions and 981 deletions
+16 -4
View File
@@ -9,6 +9,12 @@ export type CookieTableLabels = {
purpose: string
}
/** Default column headings, per language. */
export const COOKIE_TABLE_LABELS: { en: CookieTableLabels; pl: CookieTableLabels } = {
en: { name: 'Cookie', category: 'Category', duration: 'Duration', provider: 'Provider', purpose: 'Purpose' },
pl: { name: 'Plik cookie', category: 'Kategoria', duration: 'Okres', provider: 'Dostawca', purpose: 'Cel' },
}
type CookieTableProps = {
/** Optional caption above the table. */
caption?: string
@@ -16,8 +22,13 @@ type CookieTableProps = {
categories?: ConsentTexts['categories']
/** Classes per element; nothing is styled by default. */
classNames?: Partial<Record<'caption' | 'table' | 'td' | 'th' | 'tr', string>>
/** Column headings in the page's language — from the project (panel field or page content). */
labels: CookieTableLabels
/**
* Column headings — from the project (panel field or page content). Missing
* ones use the defaults for `locale` (Polish for 'pl', else English).
*/
labels?: Partial<CookieTableLabels>
/** Page language — picks the default column headings. */
locale?: string
/** From getCookieTable({ payload, locale }) — Cookie Settings → Cookies. */
rows: CookieTableRow[]
}
@@ -29,10 +40,11 @@ type CookieTableProps = {
* component (no state).
*
* const rows = await getCookieTable({ payload, locale })
* <CookieTable rows={rows} labels={…from the panel…} categories={texts.categories} />
* <CookieTable rows={rows} locale={locale} categories={texts.categories} /> // labels={…} to change the headings
*/
export function CookieTable({ caption, categories, classNames = {}, labels, rows }: CookieTableProps) {
export function CookieTable({ caption, categories, classNames = {}, labels: given, locale, rows }: CookieTableProps) {
if (rows.length === 0) {return null}
const labels = { ...(locale?.toLowerCase().startsWith('pl') ? COOKIE_TABLE_LABELS.pl : COOKIE_TABLE_LABELS.en), ...Object.fromEntries(Object.entries(given ?? {}).filter(([, v]) => v)) }
return (
<table className={classNames.table}>
{caption ? <caption className={classNames.caption}>{caption}</caption> : null}
+15
View File
@@ -0,0 +1,15 @@
import type { AdminText } from '../admin-i18n/index.js'
import type { ConsentCategory } from './categories.js'
import { CONSENT_CATEGORIES } from './categories.js'
/** Admin labels of the consent categories (select options in the panel). Values stay the category keys. */
export const CONSENT_CATEGORY_LABELS: Record<ConsentCategory, AdminText> = {
analytics: { en: 'Analytics', pl: 'Analityczne' },
functional: { en: 'Functional', pl: 'Funkcjonalne' },
marketing: { en: 'Marketing', pl: 'Marketingowe' },
necessary: { en: 'Necessary', pl: 'Niezbędne' },
}
/** Select options for a consent category field. */
export const consentCategoryOptions = () => CONSENT_CATEGORIES.map((c) => ({ label: CONSENT_CATEGORY_LABELS[c], value: c }))
+14 -6
View File
@@ -6,6 +6,7 @@ import { userMeetsRole } from '../access/predicates.js'
import { createDailyPurge } from '../shared/purge.js'
import { clientIp, consumeRateLimit } from '../shared/rateLimit.js'
import { CONSENT_CATEGORIES } from './categories.js'
import { CONSENT_CATEGORY_LABELS } from './categoryLabels.js'
/**
* Consent log — proof of consent (GDPR Art. 7(1): the controller must be able
@@ -45,20 +46,27 @@ export function buildConsentLogCollection(): CollectionConfig {
},
admin: {
defaultColumns: ['consentId', 'version', 'createdAt'],
description: 'Proof of cookie consent: random id (also in the visitor cookie), choices, policy version, time. No personal data.',
group: 'Settings',
description: {
en: 'Proof of each cookie banner choice, stored with a random ID and no personal data.',
pl: 'Dowód każdego wyboru na banerze cookies, zapisany z losowym identyfikatorem, bez danych osobowych.',
},
group: { en: 'Privacy', pl: 'Prywatność' },
useAsTitle: 'consentId',
},
fields: [
{ name: 'consentId', type: 'text', index: true, required: true },
{ name: 'version', type: 'number', required: true },
{ name: 'consentId', type: 'text', index: true, label: { en: 'Consent ID', pl: 'Identyfikator zgody' }, required: true },
{ name: 'version', type: 'number', label: { en: 'Consent version', pl: 'Wersja zgody' }, required: true },
{
name: 'choices',
type: 'group',
fields: CONSENT_CATEGORIES.map((c) => ({ name: c, type: 'checkbox' as const })),
fields: CONSENT_CATEGORIES.map((c) => ({ name: c, type: 'checkbox' as const, label: CONSENT_CATEGORY_LABELS[c] })),
label: { en: 'Choices', pl: 'Wybór' },
},
],
labels: { plural: 'Consent records', singular: 'Consent record' },
labels: {
plural: { en: 'Consent records', pl: 'Rejestr zgód' },
singular: { en: 'Consent record', pl: 'Zapis zgody' },
},
timestamps: true,
}
}
+40 -9
View File
@@ -8,8 +8,8 @@ import { getSystemPagePath } from '../pages/index.js'
import { getGlobal } from '../payload/index.js'
import { CONSENT_CATEGORIES, type ConsentCategory } from './categories.js'
/** English fallback used when the global has no value for a field. */
const FALLBACK: ConsentTexts = {
/** English defaults, used per field when the global has no value. */
export const CONSENT_FALLBACK: ConsentTexts = {
buttons: {
acceptAll: 'Accept all',
back: 'Back',
@@ -19,8 +19,8 @@ const FALLBACK: ConsentTexts = {
settings: 'Settings',
},
categories: {
analytics: { description: 'Help us understand usage.', title: 'Analytics' },
functional: { description: 'Remember preferences.', title: 'Functional' },
analytics: { description: 'Help us understand how the site is used.', title: 'Analytics' },
functional: { description: 'Remember your preferences.', title: 'Functional' },
marketing: { description: 'Used to show relevant ads.', title: 'Marketing' },
necessary: {
description:
@@ -35,8 +35,38 @@ const FALLBACK: ConsentTexts = {
settingsTitle: 'Cookie settings',
}
/** Polish defaults — used on a page whose locale is Polish. */
export const CONSENT_FALLBACK_PL: ConsentTexts = {
buttons: {
acceptAll: 'Akceptuj wszystkie',
back: 'Wstecz',
close: 'Zamknij',
reject: 'Odrzuć',
save: 'Zapisz ustawienia',
settings: 'Ustawienia',
},
categories: {
analytics: { description: 'Pomagają zrozumieć, jak odwiedzający korzystają z witryny.', title: 'Analityczne' },
functional: { description: 'Zapamiętują wybrane ustawienia.', title: 'Funkcjonalne' },
marketing: { description: 'Służą do wyświetlania dopasowanych reklam.', title: 'Marketingowe' },
necessary: {
description: 'Niezbędne do działania witryny, w tym do zapamiętania języka i motywu. Zawsze włączone.',
title: 'Niezbędne',
},
},
details: { cookies: 'Używane cookies', duration: 'Okres', provider: 'Dostawca', purpose: 'Cel' },
message:
'Używamy plików cookies, aby witryna działała, aby analizować ruch i ulepszać witrynę. Można zaakceptować wszystkie, odrzucić te, które nie są niezbędne, lub wybrać je samodzielnie.',
privacyLink: null,
settingsTitle: 'Ustawienia cookies',
}
/** Defaults for a page language: Polish for 'pl' / 'pl-PL', English for anything else. */
export const consentFallback = (locale?: string): ConsentTexts =>
locale?.toLowerCase().startsWith('pl') ? CONSENT_FALLBACK_PL : CONSENT_FALLBACK
/** Last-resort link text — only when neither the panel nor the page has one. */
const FALLBACK_PRIVACY_LABEL = 'Privacy policy'
const privacyFallbackLabel = (locale?: string) => (locale?.toLowerCase().startsWith('pl') ? 'Polityka prywatności' : 'Privacy policy')
type CookieSettingsData = {
alwaysActiveLabel?: null | string
@@ -104,8 +134,8 @@ async function readPrivacyPage(payload: BasePayload, settingsSlug: string): Prom
}
/**
* Resolves consent banner texts from the CookieSettings global, falling back to
* English defaults per field. The privacy-policy link target comes from the
* Resolves consent banner texts from the CookieSettings global, falling back per
* field to the defaults in the page's language (Polish for 'pl', else English). The privacy-policy link target comes from the
* pages module (system page role, read automatically); its text from
* CookieSettings.privacyLinkLabel — both editable in the panel, per locale.
*/
@@ -117,6 +147,7 @@ export async function getConsentTexts({
settingsSlug = 'site-settings',
}: GetConsentTextsArgs): Promise<ConsentTexts> {
const g = await getGlobal<CookieSettingsData>(payload, 'cookie-settings', { locale })
const FALLBACK = consentFallback(locale)
const categories = {} as ConsentTexts['categories']
for (const cat of CONSENT_CATEGORIES) {
@@ -140,7 +171,7 @@ export async function getConsentTexts({
g.privacyLinkLabel?.trim() ||
privacyPolicy?.label?.trim() ||
resolveLocalized(page.title, locale).trim() ||
FALLBACK_PRIVACY_LABEL
privacyFallbackLabel(locale)
privacyLink = { href, label }
}
}
@@ -165,7 +196,7 @@ export async function getConsentTexts({
message: g.message || FALLBACK.message,
privacyLink,
settingsTitle: g.settingsTitle || FALLBACK.settingsTitle,
// optional copy — no English fallback: empty in the panel = element not rendered
// optional copy — no fallback: empty in the panel = element not rendered
...(g.eyebrow?.trim() ? { eyebrow: g.eyebrow.trim() } : {}),
...(g.title?.trim() ? { title: g.title.trim() } : {}),
...(g.settingsDescription?.trim() ? { settingsDescription: g.settingsDescription.trim() } : {}),
+2 -1
View File
@@ -8,9 +8,10 @@ export {
REJECT_ALL_CONSENT,
} from './categories.js'
export type { ConsentCategory, ConsentState } from './categories.js'
export { CONSENT_CATEGORY_LABELS, consentCategoryOptions } from './categoryLabels.js'
export { buildConsentLogCollection, buildConsentLogEndpoint, CONSENT_LOG_SLUG } from './consentLog.js'
export type { ConsentLogOptions } from './consentLog.js'
export { getConsentTexts, getCookieTable } from './getConsentTexts.js'
export { CONSENT_FALLBACK, CONSENT_FALLBACK_PL, consentFallback, getConsentTexts, getCookieTable } from './getConsentTexts.js'
export type { CookieTableRow } from './getConsentTexts.js'
export { setDefaultConsent, updateConsent } from './googleConsent.js'
export {
@@ -7,6 +7,7 @@ import { useEffect, useState } from 'react'
import type { CookieScanLabels } from './labels.js'
import type { CookieScanSummary } from './types.js'
import { formatDateTime } from '../../admin-i18n/t.js'
import { COOKIE_SCAN_LABELS } from './labels.js'
type CrawlState = {
@@ -48,7 +49,7 @@ export function CookieScanButton({ crawl = false, labels = COOKIE_SCAN_LABELS }:
const [crawlState, setCrawlState] = useState<CrawlState | null>(null)
const [crawlStarting, setCrawlStarting] = useState(false)
const crawlEndpoint = endpoint.replace(/cookie-scan$/, 'cookie-crawl')
const when = (iso: null | string) => (iso ? new Date(iso).toLocaleString(i18n.language) : '')
const when = (iso: null | string) => (iso ? formatDateTime(iso, i18n.language) : '')
useEffect(() => {
if (!crawl) {return}
@@ -155,7 +156,7 @@ export function CookieScanButton({ crawl = false, labels = COOKIE_SCAN_LABELS }:
{t.crawlButton}
</Button>
<span role="status">
{crawlState && !crawlState.configured ? `${t.crawlNotConfigured} (${crawlState.missing.join(', ')})` : null}
{crawlState && !crawlState.configured ? t.crawlNotConfigured : null}
{crawlState?.configured && crawlState.status === 'running' ? fill(t.crawlRunning, { startedAt: when(crawlState.startedAt) }) : null}
{crawlState?.configured && crawlState.status === 'done'
? fill(t.crawlDone, { finishedAt: when(crawlState.finishedAt), newUnknown: crawlState.summary?.newUnknown ?? 0, pages: crawlState.summary?.pages ?? 0, violations: crawlState.summary?.violations ?? 0 })
+1 -1
View File
@@ -95,7 +95,7 @@ export function buildCookieReviewCollection(options: CookieScannerOptions = {}):
},
defaultColumns: ['name', 'vendor', 'category', 'status', 'source', 'listed', ...(crawl ? ['violation'] : [])],
description: L('collectionDescription'),
group: 'Settings',
group: { en: 'Privacy', pl: 'Prywatność' },
listSearchableFields: ['name', 'vendor'],
useAsTitle: 'name',
},
@@ -122,7 +122,7 @@ export function buildCookieCrawlEndpoints({
} catch (err) {
const message = err instanceof Error ? err.message : String(err)
req.payload.logger.error(`[ipal] cookie crawl: could not start — ${message}`)
await write(req, { error: `Could not reach the scanner service: ${message}`, finishedAt: new Date().toISOString(), jobId: null, status: 'failed' })
await write(req, { error: 'The checking service could not be reached. Please try again later.', finishedAt: new Date().toISOString(), jobId: null, status: 'failed' })
return Response.json({ error: 'service_unreachable', ok: false }, { status: 502 })
}
return Response.json({ ok: true, status: 'running' }, { status: 202 })
@@ -155,7 +155,7 @@ export function buildCookieCrawlEndpoints({
} catch (err) {
const message = err instanceof Error ? err.message : String(err)
req.payload.logger.error(`[ipal] cookie crawl: saving the result failed — ${message}`)
await write(req, { error: `Saving the result failed: ${message}`, finishedAt: new Date().toISOString(), jobId: null, status: 'failed' })
await write(req, { error: 'The result could not be saved. Please run the check again.', finishedAt: new Date().toISOString(), jobId: null, status: 'failed' })
return Response.json({ ok: false }, { status: 500 })
}
},
+7 -7
View File
@@ -3,7 +3,7 @@ import type { GlobalConfig } from 'payload'
import type { CookieScanLabels } from '../labels.js'
import { userMeetsRole } from '../../../access/predicates.js'
import { labelRecord } from '../labels.js'
import { labelFor, labelRecord } from '../labels.js'
import { COOKIE_CRAWL_SLUG } from './config.js'
/**
@@ -20,16 +20,16 @@ export function buildCookieCrawlGlobal(labels: Record<string, CookieScanLabels>)
read: ({ req }) => userMeetsRole(req, 'editor'),
update: ({ req }) => userMeetsRole(req, 'admin'),
},
admin: { description: L('crawlGlobalDescription'), group: 'Settings' },
admin: { description: L('crawlGlobalDescription'), group: { en: 'Privacy', pl: 'Prywatność' } },
fields: [
{
name: 'notifyEmails',
type: 'text',
admin: { description: L('notifyEmailsDescription') },
label: L('notifyEmails'),
validate: (value: null | string | undefined) => {
validate: (value: null | string | undefined, { req }: { req: { i18n?: { language?: string } } }) => {
const list = (value ?? '').split(',').map((v) => v.trim()).filter(Boolean)
return list.every((v) => /^[^\s@]+@[^\s@][^\s.@]*\.[^\s@]+$/.test(v)) || 'Comma-separated e-mail addresses.'
return list.every((v) => /^[^\s@]+@[^\s@][^\s.@]*\.[^\s@]+$/.test(v)) || labelFor(labels, req?.i18n?.language, 'notifyEmailsInvalid')
},
},
{
@@ -56,9 +56,9 @@ export function buildCookieCrawlGlobal(labels: Record<string, CookieScanLabels>)
fields: [
{ name: 'pages', type: 'number', admin: ro, label: L('crawlPages') },
{ name: 'violations', type: 'number', admin: ro, label: L('crawlViolations') },
{ name: 'newUnknown', type: 'number', admin: ro, label: L('unknown') },
{ name: 'created', type: 'number', admin: ro },
{ name: 'updated', type: 'number', admin: ro },
{ name: 'newUnknown', type: 'number', admin: ro, label: L('crawlNewUnknown') },
{ name: 'created', type: 'number', admin: ro, label: L('crawlCreated') },
{ name: 'updated', type: 'number', admin: ro, label: L('crawlUpdated') },
],
label: false,
},
+1 -1
View File
@@ -132,7 +132,7 @@ export async function finishCrawl({
...common,
data: {
// Not a failure, but the "after accept" half saw no consent — say so where the editor looks.
error: result.accepted ? null : 'The "Accept all" button was not found (acceptSelector), so the second run had no consent.',
error: result.accepted ? null : 'The "Accept all" button was not found, so the site could not be checked after consent.',
finishedAt: now,
jobId: null,
pages: result.pages,
+87 -77
View File
@@ -1,5 +1,5 @@
/**
* Admin labels of the cookie scanner, per admin language. Payload picks the
* Admin labels of the cookie scanner (review list, scan box, site check), per admin language. Payload picks the
* user's admin language from a `{ en, pl }` record; a language missing here falls
* back to English. Projects add or change languages with `cookieScanner.labels`.
*/
@@ -16,6 +16,7 @@ export type CookieScanLabels = {
collectionDescription: string
cookie: string
crawlButton: string
crawlCreated: string
crawlDone: string
crawlError: string
crawlFailed: string
@@ -23,6 +24,7 @@ export type CookieScanLabels = {
crawlGlobalDescription: string
crawlIdle: string
crawlIntro: string
crawlNewUnknown: string
crawlNotConfigured: string
crawlPages: string
crawlRequests: string
@@ -31,6 +33,7 @@ export type CookieScanLabels = {
crawlStateFailed: string
crawlStateRunning: string
crawlStatus: string
crawlUpdated: string
crawlViolations: string
database: string
domain: string
@@ -54,6 +57,7 @@ export type CookieScanLabels = {
necessary: string
notifyEmails: string
notifyEmailsDescription: string
notifyEmailsInvalid: string
plural: string
project: string
purpose: string
@@ -88,161 +92,167 @@ export const COOKIE_SCAN_LABELS: Record<'en' | 'pl', CookieScanLabels> = {
en: {
name: 'Name',
accepted: 'Accepted',
alertBody: 'Non-necessary cookies or trackers load before consent, or the site sets cookies nobody has described yet. Check the review list.',
alertFailed: 'Cookie crawl failed: {error}',
alertLink: 'Open Cookie review →',
alertTitle: 'Cookie crawl: {violations} violations, {newUnknown} new unknown cookies.',
alertBody: 'Cookies that are not necessary load before consent, or some cookies have no description yet. Check the cookie review.',
alertFailed: 'The cookie check failed: {error}',
alertLink: 'Open cookie review',
alertTitle: 'Cookie check: violations: {violations}, new unknown cookies: {newUnknown}.',
analytics: 'Analytics',
beforeConsentOn: 'before consent on {pages}',
category: 'Category',
categoryRequired: 'Pick a category before accepting.',
collectionDescription:
'Cookies found by "Scan cookies". Check each draft, then set it to Accepted (it is added to Cookie Settings → Cookies) or Rejected. A scan never deletes entries and never changes text you edited.',
categoryRequired: 'Choose a category before accepting.',
collectionDescription: 'Accept a cookie to add it to the cookie list; a new scan never overwrites your edits.',
cookie: 'Cookie',
crawlButton: 'Crawl site',
crawlDone: 'Last crawl {finishedAt}: {pages} pages, {violations} violations, {newUnknown} new unknown.',
crawlButton: 'Check site',
crawlCreated: 'New drafts',
crawlDone: 'Last check {finishedAt}: pages: {pages}, violations: {violations}, new unknown: {newUnknown}.',
crawlError: 'Error',
crawlFailed: 'The last crawl failed: {error}',
crawlGlobal: 'Cookie crawl',
crawlGlobalDescription: 'The latest browser crawl only. Start one from Cookie review → Crawl site.',
crawlIdle: 'Never run',
crawlIntro: 'Opens the site in a browser twice — without consent and after "Accept all" — and records cookies, storage and third-party requests. New findings become drafts.',
crawlNotConfigured: 'The crawl needs IPAL_COOKIE_SCAN_URL and IPAL_COOKIE_SCAN_TOKEN on the server.',
crawlPages: 'Pages crawled',
crawlFailed: 'The last check failed: {error}',
crawlGlobal: 'Cookie check',
crawlGlobalDescription: 'Result of the latest site check, started in Cookie review.',
crawlIdle: 'Not run yet',
crawlIntro: 'Opens the site in a browser before and after "Accept all", and records cookies, storage and requests to other services.',
crawlNewUnknown: 'New unknown cookies',
crawlNotConfigured: 'The site check is not set up on the server. Ask your administrator.',
crawlPages: 'Pages checked',
crawlRequests: 'Third-party requests',
crawlRunning: 'Crawling… started {startedAt}.',
crawlRunning: 'Checking… started {startedAt}.',
crawlStateDone: 'Done',
crawlStateFailed: 'Failed',
crawlStateRunning: 'Running',
crawlStatus: 'Status',
crawlUpdated: 'Updated drafts',
crawlViolations: 'Violations',
database: 'Open Cookie Database',
domain: 'Domain',
draft: 'Draft',
emailIntro: 'The latest cookie crawl of {site} found:',
emailSubject: 'Cookie crawl of {site}: {violations} violations, {newUnknown} new unknown',
emailIntro: 'The latest cookie check of {site} found:',
emailSubject: 'Cookie check of {site}: violations: {violations}, new unknown cookies: {newUnknown}',
finishedAt: 'Finished',
functional: 'Functional',
integration: 'Plugin integration',
integration: 'Built-in integration',
integrationsFound: 'Integrations in use',
integrationsNone: 'No integration with cookies is switched on.',
lastScannedAt: 'Last seen by a scan',
listed: 'In the cookie list',
listedDescription: 'Already in Cookie Settings → Cookies.',
integrationsNone: 'No integration that uses cookies is on.',
lastScannedAt: 'Last found',
listed: 'In cookie list',
listedDescription: 'Already in the cookie list of the cookie banner.',
localStorage: 'Local storage',
manual: 'Added by hand',
marketing: 'Marketing',
namesHint: 'Optional: cookie names seen in the browser (DevTools → Application → Cookies), one per line. They are looked up in the plugin and the Open Cookie Database.',
namesHint: 'Optional. Other cookie names, one per line. They are looked up in the Open Cookie Database.',
namesLabel: 'More cookie names',
necessary: 'Necessary',
notifyEmails: 'E-mail warnings to',
notifyEmailsDescription: 'Comma-separated addresses. After a crawl with violations or new unknown cookies, a warning is sent through the site\'s mail setup. Empty = no e-mail.',
notifyEmails: 'Warning e-mails to',
notifyEmailsDescription: 'Comma-separated addresses that get a warning when a check finds problems; leave empty for none.',
notifyEmailsInvalid: 'Enter e-mail addresses separated by commas, e.g. [email protected], [email protected].',
plural: 'Cookie review',
project: 'Project declaration',
project: 'Site configuration',
purpose: 'Purpose',
rejected: 'Rejected',
retention: 'Retention',
retention: 'Duration',
scanButton: 'Scan cookies',
scanError: 'The scan failed.',
scanIntro: 'Lists the cookies of the integrations switched on in this project as drafts to review.',
scanError: 'The scan failed. Please try again.',
scanIntro: 'Adds the cookies of the integrations in use as drafts to review.',
scanning: 'Scanning…',
scanResult: '{created} new, {updated} updated, {unchanged} unchanged, {unknown} unknown.',
scanResult: 'New: {created}, updated: {updated}, unchanged: {unchanged}, unknown: {unknown}.',
seenBeforeConsent: 'Seen before consent',
sessionStorage: 'Session storage',
setBeforeConsent: 'Set before consent',
setBeforeConsentDescription: 'May be set before the visitor decides. Only necessary cookies should be.',
singular: 'Cookie review entry',
setBeforeConsentDescription: 'Set before the visitor decides, which only necessary cookies may be.',
singular: 'Cookie',
source: 'Found by',
sourceDetail: 'Source',
startedAt: 'Started',
startedBy: 'Started by',
status: 'Status',
statusDescription: 'Accepted → added to Cookie Settings → Cookies. Rejecting never removes a row from that list.',
statusDescription: 'Accepted cookies are added to the cookie list; rejecting never removes them from it.',
storage: 'Stored in',
unknown: 'Unknown — fill in',
unknown: 'Unknown',
vendor: 'Provider',
violation: 'Violation',
violationDescription: 'Seen before consent in the latest crawl and not necessary.',
violationDescription: 'Not necessary, yet seen before consent in the latest site check.',
violationDetail: 'Violation details',
},
pl: {
name: 'Nazwa',
accepted: 'Zaakceptowany',
alertBody: 'Cookies lub skrypty śledzące, które nie są niezbędne, ładują się przed zgodą — albo strona ustawia cookies, których nikt jeszcze nie opisał. Sprawdź listę przeglądu.',
alertFailed: 'Skan cookies się nie powiódł: {error}',
alertLink: 'Otwórz Przegląd cookies →',
alertTitle: 'Skan cookies: naruszeń {violations}, nowych nieznanych cookies {newUnknown}.',
alertBody: 'Cookies, które nie są niezbędne, ładują się przed zgodą albo część cookies nie ma jeszcze opisu. Sprawdź przegląd cookies.',
alertFailed: 'Kontrola cookies nie powiodła się: {error}',
alertLink: 'Otwórz przegląd cookies',
alertTitle: 'Kontrola cookies: naruszenia: {violations}, nowe nieznane cookies: {newUnknown}.',
analytics: 'Analityczne',
beforeConsentOn: 'przed zgodą na {pages}',
category: 'Kategoria',
categoryRequired: 'Wybierz kategorię przed akceptacją.',
collectionDescription:
'Pliki cookie znalezione przez „Skanuj cookies”. Sprawdź każdy szkic i ustaw Zaakceptowany (trafi do Ustawień cookies → Cookies) albo Odrzucony. Skan nigdy nie usuwa wpisów ani nie zmienia poprawionych przez Ciebie tekstów.',
collectionDescription: 'Zaakceptuj plik cookie, aby dodać go do listy cookies; kolejny skan nie nadpisze zmian.',
cookie: 'Cookie',
crawlButton: 'Przeskanuj stronę',
crawlDone: 'Ostatni skan {finishedAt}: stron {pages}, naruszeń {violations}, nowych nieznanych {newUnknown}.',
crawlButton: 'Sprawdź witrynę',
crawlCreated: 'Nowe szkice',
crawlDone: 'Ostatnia kontrola {finishedAt}: strony: {pages}, naruszenia: {violations}, nowe nieznane: {newUnknown}.',
crawlError: 'Błąd',
crawlFailed: 'Ostatni skan się nie powiódł: {error}',
crawlGlobal: 'Skan cookies przeglądarką',
crawlGlobalDescription: 'Tylko ostatni skan przeglądarką. Uruchom go w Przeglądzie cookies → Przeskanuj stronę.',
crawlIdle: 'Nie uruchamiano',
crawlIntro: 'Otwiera stronę w przeglądarce dwa razy — bez zgody i po „Akceptuj wszystkie” — i zapisuje cookies, pamięć przeglądarki i zapytania do zewnętrznych serwisów. Nowe znaleziska trafiają jako szkice.',
crawlNotConfigured: 'Skan przeglądarką wymaga IPAL_COOKIE_SCAN_URL i IPAL_COOKIE_SCAN_TOKEN na serwerze.',
crawlPages: 'Przeskanowane strony',
crawlRequests: 'Zapytania do zewnętrznych serwisów',
crawlRunning: 'Skanowanie… rozpoczęte {startedAt}.',
crawlFailed: 'Ostatnia kontrola nie powiodła się: {error}',
crawlGlobal: 'Kontrola cookies',
crawlGlobalDescription: 'Wynik ostatniej kontroli witryny uruchomionej w przeglądzie cookies.',
crawlIdle: 'Jeszcze nie uruchomiono',
crawlIntro: 'Otwiera witrynę w przeglądarce przed i po „Akceptuj wszystkie” i zapisuje cookies, pamięć przeglądarki oraz zapytania do innych serwisów.',
crawlNewUnknown: 'Nowe nieznane cookies',
crawlNotConfigured: 'Kontrola witryny nie jest skonfigurowana na serwerze. Skontaktuj się z administratorem.',
crawlPages: 'Sprawdzone strony',
crawlRequests: 'Zapytania zewnętrzne',
crawlRunning: 'Sprawdzanie… rozpoczęte {startedAt}.',
crawlStateDone: 'Gotowe',
crawlStateFailed: 'Błąd',
crawlStateRunning: 'W toku',
crawlStatus: 'Status',
crawlUpdated: 'Zaktualizowane szkice',
crawlViolations: 'Naruszenia',
database: 'Open Cookie Database',
domain: 'Domena',
draft: 'Szkic',
emailIntro: 'Ostatni skan cookies strony {site} znalazł:',
emailSubject: 'Skan cookies {site}: naruszeń {violations}, nowych nieznanych {newUnknown}',
finishedAt: 'Zakończony',
emailIntro: 'Ostatnia kontrola cookies witryny {site} wykazała:',
emailSubject: 'Kontrola cookies {site}: naruszenia: {violations}, nowe nieznane cookies: {newUnknown}',
finishedAt: 'Zakończono',
functional: 'Funkcjonalne',
integration: 'Integracja wtyczki',
integration: 'Wbudowana integracja',
integrationsFound: 'Używane integracje',
integrationsNone: 'Żadna integracja z plikami cookie nie jest włączona.',
lastScannedAt: 'Ostatnio widziany w skanie',
integrationsNone: 'Żadna integracja używająca cookies nie jest włączona.',
lastScannedAt: 'Ostatnio znaleziony',
listed: 'Na liście cookies',
listedDescription: 'Już jest w Ustawieniach cookies → Cookies.',
listedDescription: 'Już jest na liście cookies banera.',
localStorage: 'Local storage',
manual: 'Dodany ręcznie',
marketing: 'Marketingowe',
namesHint: 'Opcjonalnie: nazwy cookies widoczne w przeglądarce (DevTools → Application → Cookies), po jednej w wierszu. Zostaną wyszukane we wtyczce i w Open Cookie Database.',
namesHint: 'Opcjonalnie. Inne nazwy cookies, po jednej w wierszu. Zostaną wyszukane w Open Cookie Database.',
namesLabel: 'Dodatkowe nazwy cookies',
necessary: 'Niezbędne',
notifyEmails: 'Ostrzeżenia e-mail do',
notifyEmailsDescription: 'Adresy po przecinku. Po skanie z naruszeniami lub nowymi nieznanymi cookies wysyłane jest ostrzeżenie przez konfigurację poczty strony. Puste = bez e-maili.',
notifyEmailsDescription: 'Adresy po przecinku, na które trafi ostrzeżenie, gdy kontrola wykryje problemy; zostaw puste, aby nie wysyłać.',
notifyEmailsInvalid: 'Wpisz adresy e-mail oddzielone przecinkami, np. [email protected], [email protected].',
plural: 'Przegląd cookies',
project: 'Deklaracja projektu',
project: 'Konfiguracja witryny',
purpose: 'Cel',
rejected: 'Odrzucony',
retention: 'Czas przechowywania',
retention: 'Okres',
scanButton: 'Skanuj cookies',
scanError: 'Skan się nie powiódł.',
scanIntro: 'Dodaje cookies integracji włączonych w tym projekcie jako szkice do przejrzenia.',
scanError: 'Skanowanie nie powiodło się. Spróbuj ponownie.',
scanIntro: 'Dodaje cookies używanych integracji jako szkice do przejrzenia.',
scanning: 'Skanowanie…',
scanResult: 'Nowe: {created}, zaktualizowane: {updated}, bez zmian: {unchanged}, nieznane: {unknown}.',
seenBeforeConsent: 'Widoczny przed zgodą',
sessionStorage: 'Session storage',
setBeforeConsent: 'Ustawiany przed zgodą',
setBeforeConsentDescription: 'Może powstać, zanim odwiedzający zdecyduje. Tylko niezbędne cookies powinny.',
singular: 'Wpis przeglądu cookies',
setBeforeConsentDescription: 'Ustawiany, zanim odwiedzający zdecyduje, co wolno tylko niezbędnym cookies.',
singular: 'Plik cookie',
source: 'Źródło',
sourceDetail: 'Skąd',
startedAt: 'Rozpoczęty',
startedBy: 'Uruchomił',
sourceDetail: 'Szczegóły źródła',
startedAt: 'Rozpoczęto',
startedBy: 'Uruchomił(a)',
status: 'Status',
statusDescription: 'Zaakceptowany → trafia do Ustawień cookies → Cookies. Odrzucenie nigdy nie usuwa wiersza z tej listy.',
storage: 'Przechowywany w',
unknown: 'Nieznany — uzupełnij',
statusDescription: 'Zaakceptowane cookies trafiają na listę cookies; odrzucenie nigdy ich z niej nie usuwa.',
storage: 'Miejsce zapisu',
unknown: 'Nieznane',
vendor: 'Dostawca',
violation: 'Naruszenie',
violationDescription: 'Widoczny przed zgodą w ostatnim skanie i nie jest niezbędny.',
violationDescription: 'Nie jest niezbędny, a pojawił się przed zgodą w ostatniej kontroli witryny.',
violationDetail: 'Szczegóły naruszenia',
},
}