42 lines
1.8 KiB
TypeScript
42 lines
1.8 KiB
TypeScript
// English messages of the branding module (spec §10.4). `__tests__/i18n.test.ts` fails when
|
|
// lt.ts does not hold exactly the same keys.
|
|
|
|
export const en = {
|
|
title: "Brand",
|
|
intro:
|
|
"Your organization's name, colours and logos as its members see them. The layout and typography of the app stay as they are, so a brand cannot make a page hard to read.",
|
|
readOnly: "Only administrators can change the brand.",
|
|
displayName: "Display name",
|
|
primary: "Primary colour",
|
|
accent: "Accent colour",
|
|
colourHint: "A hex colour such as #1a1a8c. Leave empty to keep the app's own.",
|
|
logoLight: "Logo for the light theme",
|
|
logoDark: "Logo for the dark theme",
|
|
logoHint:
|
|
"PNG, WebP or SVG. A PNG or WebP up to 2 MB is resized for you; an SVG, up to 256 KB, is refused if it contains a script or a link to another file. Set only one logo and it is used on both themes.",
|
|
currentLogo: "Current logo",
|
|
logoShows: "Logo shown on each theme",
|
|
logoOwn: "its own logo",
|
|
logoOther: "the {other} logo, because this theme has none of its own",
|
|
logoApp: "the app's logo, because no logo is set",
|
|
clearLogo: "Remove the {theme} logo",
|
|
themeLight: "light",
|
|
themeDark: "dark",
|
|
save: "Save the brand",
|
|
saved: "The brand was saved.",
|
|
preview: {
|
|
title: "Preview",
|
|
dark: "Dark theme",
|
|
light: "Light theme",
|
|
action: "Primary action",
|
|
link: "A link in this colour",
|
|
sample: "Sample text in the page's own colour.",
|
|
fillContrast: "Text on the colour: {ratio} to 1",
|
|
inkContrast: "The colour as text on the page: {ratio} to 1",
|
|
edgeContrast: "The colour against the page: {ratio} to 1",
|
|
meets: "Meets WCAG AA",
|
|
below: "Below WCAG AA",
|
|
adjusted: "As text, the colour is lightened or darkened so that links stay readable.",
|
|
},
|
|
} as const
|