Files
TREK/shared/src/i18n/sv/studioPaint.ts
T
Maurice 23c446b7e9 feat(studio): paint shapes and pages with gradients, alpha and twelve patterns
- A shape and a page take a paint: one colour with its own alpha, a linear or
  radial gradient of two to six stops, or one of twelve patterns (checks,
  gingham, stripes, pinstripes, dots, polka dots, zigzag, waves, grid, scales,
  sunburst, confetti). fill, gradient and background keep the colour that
  stands for the paint, so an older reader still draws something close, and a
  plain colour or the old cover fade is stored in the old fields alone.
- Gradients render as SVG in user space with ids per mounted copy, so the two
  halves of a spread in page mode never share a defs id; patterns are drawn
  out as geometry clipped to the outline and capped at 2000 primitives.
- The new paint picker has none, solid, gradient and pattern tabs, a stop bar
  to click, drag and pull stops off, an angle dial, a radial centre pad and
  pattern tiles drawn by the page's own generator.
- Every swatch row gains the book's own colours, colours read from the
  page's photos, recent colours and, where it applies, an opacity slider.
- With nothing selected the inspector sets the page background, gives it to
  every page of its kind, and lays a photo under the whole page.
- The assistant's background operation takes a paint as well as a colour,
  style and add set a shape's paint, and describe_book_page reads both.
- BOOK_SCHEMA_REV goes to 2.
2026-10-23 21:05:10 +02:00

50 lines
2.4 KiB
TypeScript

import type { TranslationStrings } from '../types';
/** TREK Studio: paint, gradients, patterns and the page background. */
const studioPaint: TranslationStrings = {
'journey.studio.paint.kind': 'Fyllning',
'journey.studio.paint.none': 'Ingen',
'journey.studio.paint.solid': 'Enfärgad',
'journey.studio.paint.gradient': 'Toning',
'journey.studio.paint.pattern': 'Mönster',
'journey.studio.paint.linear': 'Linjär',
'journey.studio.paint.radial': 'Radiell',
'journey.studio.paint.reverse': 'Vänd toningen',
'journey.studio.paint.addStopHint': 'Klicka på stapeln för att lägga till ett färgstopp',
'journey.studio.paint.stopAt': 'Stopp vid {pos} %',
'journey.studio.paint.removeStop': 'Ta bort stopp',
'journey.studio.paint.angle': 'Vinkel',
'journey.studio.paint.centre': 'Mitt',
'journey.studio.paint.radius': 'Radie',
'journey.studio.paint.ink': 'Mönsterfärg',
'journey.studio.paint.ground': 'Bakgrundsfärg',
'journey.studio.paint.seeThrough': 'Genomskinlig',
'journey.studio.paint.scale': 'Storlek',
'journey.studio.paint.opacity': 'Opacitet',
'journey.studio.paint.bookColours': 'Färger i den här boken',
'journey.studio.paint.photoColours': 'Färger från fotona',
'journey.studio.paint.recentColours': 'Senaste färger',
'journey.studio.paint.background': 'Sidbakgrund',
'journey.studio.paint.paper': 'Papper',
'journey.studio.paint.applyAll': 'Använd på alla sidor',
'journey.studio.paint.appliedAll': 'Använt på alla sidor',
'journey.studio.paint.photoBackground': 'Foto som bakgrund',
'journey.studio.paint.photoBackgroundHint':
'Lägger fotot över hela sidan, utfall inräknat, låst längst bak. Välj det igen för att ta bort det.',
'journey.studio.paint.removePhotoBackground': 'Ta bort bakgrundsfotot',
'journey.studio.paint.noPhotos': 'Lägg till foton i resan för att använda ett som bakgrund.',
'journey.studio.pattern.checker': 'Rutor',
'journey.studio.pattern.gingham': 'Gingham', // same-as-en
'journey.studio.pattern.stripes': 'Ränder',
'journey.studio.pattern.pinstripe': 'Kritstreck',
'journey.studio.pattern.dots': 'Prickar',
'journey.studio.pattern.polka': 'Polkaprickar',
'journey.studio.pattern.zigzag': 'Sicksack',
'journey.studio.pattern.waves': 'Vågor',
'journey.studio.pattern.grid': 'Rutnät',
'journey.studio.pattern.scales': 'Fjäll',
'journey.studio.pattern.sunburst': 'Solstrålar',
'journey.studio.pattern.confetti': 'Konfetti',
};
export default studioPaint;