gate locale behind functional consent
This commit is contained in:
+4
-2
@@ -2,12 +2,14 @@ import { ALL_SYSTEM_PAGE_ROLES } from './types.js';
|
||||
/** Admin-facing labels per role. */ const ROLE_LABELS = {
|
||||
cookiePolicy: 'Cookie Policy',
|
||||
homepage: 'Homepage',
|
||||
privacyPolicy: 'Privacy Policy'
|
||||
privacyPolicy: 'Privacy Policy',
|
||||
termsOfService: 'Terms of Service'
|
||||
};
|
||||
/** Admin descriptions per role. */ const ROLE_DESCRIPTIONS = {
|
||||
cookiePolicy: 'Page linked from the cookie consent banner.',
|
||||
homepage: 'Page served at the locale root (e.g. /pl, /en).',
|
||||
privacyPolicy: 'Page linked as the privacy policy.'
|
||||
privacyPolicy: 'Page linked as the privacy policy.',
|
||||
termsOfService: 'Page linked as the terms of service / site regulations.'
|
||||
};
|
||||
/**
|
||||
* Builds one relationship field per configured system-page role.
|
||||
|
||||
Reference in New Issue
Block a user