Files
ipal-kit/src/modules/admin-i18n/texts/content.ts
T
Radosław SmolińskiandClaude Opus 5.5 a92bc51814 Admin wording follow-ups from the browser check
- stats nav link reads "Statistics overview" (it renders after all nav groups)
- form-builder e-mails array labelled in en + pl
- dev import map: RowLabel (cookie banner rows)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 15:49:37 +01:00

113 lines
5.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { defineTexts } from '../define.js'
/**
* Admin component texts — content (statistics, SEO hints, row labels).
* Placeholders use Payload's {{name}} syntax. Plural sets end in One / Few /
* Many / Other (Intl.PluralRules categories); English uses One and Other.
*/
export const contentTexts = defineTexts({
en: {
// Statistics: nav link, view, widget, chart
statsBack: 'Back to statistics',
statsChartDay: '{{day}} · Visits: {{visits}} · Page views: {{views}}',
statsChartTable: 'Table',
statsColDay: 'Day',
statsColDevice: 'Device',
statsColEntryPage: 'Entry page',
statsColLastVisit: 'Last visit',
statsColPage: 'Page',
statsColReferrer: 'Referrer',
statsColViews: 'Views',
statsColVisitor: 'Visitor',
statsConsentedVisits: 'Visits with analytics consent',
statsDeviceDesktop: 'Desktop',
statsDeviceMobile: 'Mobile',
statsDeviceTablet: 'Tablet',
statsDirect: '(direct)',
statsFrom: 'from {{referrer}}',
statsIntro: 'Last 30 days, counted without cookies and without storing IP addresses.',
statsNavLink: 'Statistics overview',
statsNoAccess: 'You do not have access to statistics.',
statsNoData: 'No data yet. It appears after the first visits.',
statsNoVisitors: 'No visitor has accepted analytics cookies yet.',
statsPagesFew: '{{count}} pages',
statsPagesMany: '{{count}} pages',
statsPagesOne: '{{count}} page',
statsPagesOther: '{{count}} pages',
statsPagesPerVisit: 'Pages per visit',
statsPageViews: 'Page views',
statsSinglePageVisits: 'Single-page visits',
statsTitle: 'Statistics',
statsUnknownDevice: 'Unknown device',
statsVisitorErase: 'To erase this visitor’s data, filter the visits list by this visitor ID and delete the results.',
statsVisitorHeading: 'Visitor',
statsVisitorHistory: 'Visitor history (with consent)',
statsVisitorLink: 'Visitor {{id}}',
statsVisitorVisitsFew: '{{count}} visits recorded with analytics consent.',
statsVisitorVisitsMany: '{{count}} visits recorded with analytics consent.',
statsVisitorVisitsOne: '{{count}} visit recorded with analytics consent.',
statsVisitorVisitsOther: '{{count}} visits recorded with analytics consent.',
statsVisits: 'Visits',
statsVisitsPerDay: 'Visits per day',
statsWidgetLink: 'All statistics',
statsWidgetSummary: 'Last 30 days · Visits: {{visits}} · Page views: {{views}}',
// SEO: description check under the search result description
seoDescEmpty: 'Empty. The page uses the site description, the same as every other page.',
seoDescEmptyAutoFill: 'Empty. On save it is filled from the page content; writing your own is better.',
seoDescSameAs: 'Same description as “{{name}}”. Google ignores a description repeated across pages; make each one unique.',
seoDescSameAsSite: 'Same as the site description. Google ignores a description repeated across pages; write one for this page.',
// Array rows without a name
rowLabelItem: 'Item',
},
pl: {
rowLabelItem: 'Element',
seoDescEmpty: 'Puste. Strona użyje opisu witryny, takiego samego jak na innych stronach.',
seoDescEmptyAutoFill: 'Puste. Przy zapisie zostanie uzupełnione treścią strony; lepiej napisać własny opis.',
seoDescSameAs: 'Taki sam opis jak na stronie „{{name}}”. Google pomija opis powtarzany na wielu stronach; każdy powinien być inny.',
seoDescSameAsSite: 'Taki sam jak opis witryny. Google pomija opis powtarzany na wielu stronach; napisz opis tej strony.',
statsBack: 'Wróć do statystyk',
statsChartDay: '{{day}} · Wizyty: {{visits}} · Odsłony: {{views}}',
statsChartTable: 'Tabela',
statsColDay: 'Dzień',
statsColDevice: 'Urządzenie',
statsColEntryPage: 'Strona wejścia',
statsColLastVisit: 'Ostatnia wizyta',
statsColPage: 'Strona',
statsColReferrer: 'Strona odsyłająca',
statsColViews: 'Odsłony',
statsColVisitor: 'Odwiedzający',
statsConsentedVisits: 'Wizyty ze zgodą na analitykę',
statsDeviceDesktop: 'Komputer',
statsDeviceMobile: 'Telefon',
statsDeviceTablet: 'Tablet',
statsDirect: '(bezpośrednio)',
statsFrom: 'z {{referrer}}',
statsIntro: 'Ostatnie 30 dni, liczone bez cookies i bez zapisywania adresów IP.',
statsNavLink: 'Podsumowanie statystyk',
statsNoAccess: 'Brak dostępu do statystyk.',
statsNoData: 'Brak danych. Pojawią się po pierwszych wizytach.',
statsNoVisitors: 'Żaden odwiedzający nie zaakceptował jeszcze cookies analitycznych.',
statsPagesFew: '{{count}} strony',
statsPagesMany: '{{count}} stron',
statsPagesOne: '{{count}} strona',
statsPagesOther: '{{count}} strony',
statsPagesPerVisit: 'Strony na wizytę',
statsPageViews: 'Odsłony',
statsSinglePageVisits: 'Wizyty jednostronicowe',
statsTitle: 'Statystyki',
statsUnknownDevice: 'Nieznane urządzenie',
statsVisitorErase: 'Aby usunąć dane tego odwiedzającego, przefiltruj listę wizyt po jego identyfikatorze i usuń wyniki.',
statsVisitorHeading: 'Odwiedzający',
statsVisitorHistory: 'Historia odwiedzających (za zgodą)',
statsVisitorLink: 'Odwiedzający {{id}}',
statsVisitorVisitsFew: '{{count}} wizyty zapisane za zgodą na analitykę.',
statsVisitorVisitsMany: '{{count}} wizyt zapisanych za zgodą na analitykę.',
statsVisitorVisitsOne: '{{count}} wizyta zapisana za zgodą na analitykę.',
statsVisitorVisitsOther: '{{count}} wizyty zapisanej za zgodą na analitykę.',
statsVisits: 'Wizyty',
statsVisitsPerDay: 'Wizyty dziennie',
statsWidgetLink: 'Wszystkie statystyki',
statsWidgetSummary: 'Ostatnie 30 dni · Wizyty: {{visits}} · Odsłony: {{views}}',
},
})