Files
TREK/shared/src/i18n/cs/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': 'Typ výplně',
'journey.studio.paint.none': 'Žádná',
'journey.studio.paint.solid': 'Plná',
'journey.studio.paint.gradient': 'Přechod',
'journey.studio.paint.pattern': 'Vzor',
'journey.studio.paint.linear': 'Lineární',
'journey.studio.paint.radial': 'Paprskový',
'journey.studio.paint.reverse': 'Obrátit přechod',
'journey.studio.paint.addStopHint': 'Kliknutím na pruh přidáte barevný bod',
'journey.studio.paint.stopAt': 'Bod na {pos} %',
'journey.studio.paint.removeStop': 'Odebrat bod',
'journey.studio.paint.angle': 'Úhel',
'journey.studio.paint.centre': 'Střed',
'journey.studio.paint.radius': 'Poloměr',
'journey.studio.paint.ink': 'Barva vzoru',
'journey.studio.paint.ground': 'Barva pozadí',
'journey.studio.paint.seeThrough': 'Průhledné',
'journey.studio.paint.scale': 'Velikost',
'journey.studio.paint.opacity': 'Krytí',
'journey.studio.paint.bookColours': 'Barvy v této knize',
'journey.studio.paint.photoColours': 'Barvy z fotek',
'journey.studio.paint.recentColours': 'Nedávné barvy',
'journey.studio.paint.background': 'Pozadí stránky',
'journey.studio.paint.paper': 'Papír',
'journey.studio.paint.applyAll': 'Použít na všechny stránky',
'journey.studio.paint.appliedAll': 'Použito na všechny stránky',
'journey.studio.paint.photoBackground': 'Fotka jako pozadí',
'journey.studio.paint.photoBackgroundHint':
'Položí fotku přes celou stránku včetně spadávky, zamčenou vzadu. Vyberte ji znovu a zmizí.',
'journey.studio.paint.removePhotoBackground': 'Odebrat fotku z pozadí',
'journey.studio.paint.noPhotos': 'Přidejte k cestě fotky a jednu použijte jako pozadí.',
'journey.studio.pattern.checker': 'Šachovnice',
'journey.studio.pattern.gingham': 'Kanafas',
'journey.studio.pattern.stripes': 'Pruhy',
'journey.studio.pattern.pinstripe': 'Proužky',
'journey.studio.pattern.dots': 'Tečky',
'journey.studio.pattern.polka': 'Puntíky',
'journey.studio.pattern.zigzag': 'Cikcak',
'journey.studio.pattern.waves': 'Vlny',
'journey.studio.pattern.grid': 'Mřížka',
'journey.studio.pattern.scales': 'Šupiny',
'journey.studio.pattern.sunburst': 'Paprsky',
'journey.studio.pattern.confetti': 'Konfety',
};
export default studioPaint;