feat(studio): a second shelf of shapes, cut edges and a drawn line with heads and ornaments

- Fifty more shapes: arches, paper cut-outs (leaves, coral, weed, organic
  circles, a wonky star and sun), stamps, a postmark, a rosette, tags and
  ticket stubs, sunbursts, ribbons and bands, speech bubbles, drawn arrows,
  hearts, stars, photo frames and ornaments (scroll, laurel, fleuron, corner).
  The broad ones are photo frames too, and each tile is drawn at its shape's
  own proportions, which a new shape is also placed at.
- A cut edge on rectangles, circles, arches and the other broad shapes, painted
  or not, and on a photo's cut: zigzag, scallop, a postage stamp's perforation,
  wavy, torn and deckle, with a depth in millimetres. Cut in millimetres, so
  holes stay round on a wide frame.
- A line element: two to 32 points dragged on the canvas (a handle pulled from
  the middle adds one, a double-click removes it), straight or curved, solid,
  dashed or dotted, a wave or a zigzag, a hand-drawn wobble, a head on either
  end and an ornament in the middle. A shelf of lines and dividers places them.
- The assistant reaches all of it: add and style take the line (its points on
  the spread in mm) and the edges, describe_book_page says them, and two new
  findings say when a line is too thin to print and when an edge is set on a
  shape that takes none. A photo's mask is checked against the shape set
  rather than listed again, which keeps the page edit's schema smaller.
- BOOK_SCHEMA_REV goes to 6.
This commit is contained in:
Maurice
2026-10-23 21:36:08 +02:00
parent 7a7876b9f4
commit ce9c94a77b
102 changed files with 5960 additions and 140 deletions
@@ -1,4 +1,5 @@
import { idSchema } from '../common/primitives.schema';
import { BOOK_EDGE_PROPS, LINE_PROPS } from './book-line-ops.schema';
import {
BOOK_BINDING_HINT,
bookBadgeStyleSchema,
@@ -100,6 +101,7 @@ const PHOTO_PROPS = {
frameStyle: bookFrameStyleSchema.optional(),
filter: bookPhotoFilterSchema.optional(),
radius: z.number().finite().min(0).max(500).optional(),
...BOOK_EDGE_PROPS,
};
/** How a text is set, each field left as it is when not named: the style op's and the page edit's text op's. */
export const TEXT_STYLE_FIELDS = {
@@ -123,6 +125,7 @@ const SHAPE_PROPS = {
strokeWidth: z.number().finite().min(0).max(20).optional(),
strokeStyle: bookStrokeStyleSchema.optional(),
radius: z.number().finite().min(0).max(500).optional(),
...BOOK_EDGE_PROPS,
};
const ICON_PROPS = {
...COMMON,
@@ -208,6 +211,7 @@ export const bookElementPropsSchema = z.discriminatedUnion('kind', [
z.strictObject({ kind: z.literal('countries'), ...COUNTRIES_PROPS }),
z.strictObject({ kind: z.literal('badge'), ...BADGE_PROPS }),
z.strictObject({ kind: z.literal('list'), ...LIST_PROPS }),
z.strictObject({ kind: z.literal('line'), ...LINE_PROPS }),
]);
export type BookElementProps = z.infer<typeof bookElementPropsSchema>;
@@ -301,6 +305,7 @@ export const bookNewElementSchema = z.discriminatedUnion('kind', [
.refine((v) => (v.entryId === undefined) !== (v.items === undefined), {
message: 'give an entryId or the items, not both',
}),
z.strictObject({ kind: z.literal('line'), ...LINE_PROPS }),
]);
export type BookNewElement = z.infer<typeof bookNewElementSchema>;
+5 -2
View File
@@ -194,7 +194,8 @@ function pagesOf(ctx: Ctx): Box[] {
return [first, { x: w, y: 0, w, h }];
}
const isContent = (el: BookElement) => el.kind !== 'shape' || el.frame.w > 2 || el.frame.h > 2;
// A drawn line is a rule however long it runs, so it never counts as content.
const isContent = (el: BookElement) => el.kind !== 'line' && (el.kind !== 'shape' || el.frame.w > 2 || el.frame.h > 2);
/** How much of a page's live area (inside the safe margin) is covered, rastered in 4 mm cells. */
function coverage(page: Box, safe: number, els: readonly BookElement[]): number {
@@ -265,7 +266,9 @@ function offGrid(ctx: Ctx): void {
const baseX = [-bleed, 0, safe, W - safe, W, W + bleed, ...(inner ? [PW, PW - safe, PW + safe] : [])];
const baseY = [-bleed, 0, safe, H - safe, H, H + bleed];
// Shapes and stickers are laid freely; only the content is held to the grid.
const content = ctx.spread.elements.filter((e) => e.kind !== 'shape' && e.kind !== 'sticker' && !e.rotation);
const content = ctx.spread.elements.filter(
(e) => e.kind !== 'shape' && e.kind !== 'sticker' && e.kind !== 'line' && !e.rotation,
);
const near = (v: number, lines: number[]) => lines.some((l) => Math.abs(v - l) > 0.5 && Math.abs(v - l) < 3);
const onLine = (v: number, lines: number[]) => lines.some((l) => Math.abs(v - l) <= 0.5);
const misses = (edges: number[], lines: number[]) => edges.some((v) => near(v, lines) && !onLine(v, lines));
+49
View File
@@ -0,0 +1,49 @@
import type { BookFinding } from './book-ops.schema';
import { bookShapeTakesEdge } from './book-shapes-more';
import type { BookElement, BookSpread } from './book.schema';
/**
* The print checks of lines, outlines and cut edges, for spreadFindings.
*
* `hairline`: a line or an outline under a tenth of a millimetre. A press
* holds about that much; below it the line breaks up or disappears, and on
* screen at any zoom it still looks fine, which is why nobody notices.
*
* `edge_unused`: a cut edge set on a shape it is not cut along (a heart, a
* star). The renderer draws the plain outline, so the setting does nothing,
* and a model that set it should know.
*/
/** The thinnest line a print shop holds, in millimetres. */
const BOOK_HAIRLINE_MM = 0.1;
const mm = (v: number) => `${Math.round(v * 100) / 100}`;
function hairline(el: BookElement): BookFinding | null {
const width = el.kind === 'line' ? el.strokeWidth : el.kind === 'shape' && el.stroke ? el.strokeWidth : null;
if (width === null || width <= 0 || width >= BOOK_HAIRLINE_MM) return null;
return {
code: 'hairline',
severity: 'warn',
elementIds: [el.id],
message: `${el.kind} ${el.id} is drawn ${mm(width)} mm thin; under ${BOOK_HAIRLINE_MM} mm a line may not print`,
};
}
function edgeUnused(el: BookElement): BookFinding | null {
if (el.kind !== 'shape' && el.kind !== 'photo') return null;
if (!el.edge || el.edge === 'straight') return null;
const outline = el.kind === 'shape' ? el.shape : el.mask;
if (bookShapeTakesEdge(outline)) return null;
return {
code: 'edge_unused',
severity: 'info',
elementIds: [el.id],
message: `${el.kind} ${el.id} has a ${el.edge} edge, but ${outline} is not cut along one; it draws its plain outline`,
};
}
/** Every line, outline and edge finding of one page, in paint order. */
export function strokeFindings(spread: BookSpread): BookFinding[] {
return spread.elements.flatMap((el) => [hairline(el), edgeUnused(el)].filter((f): f is BookFinding => f !== null));
}
+2
View File
@@ -1,5 +1,6 @@
import { bookVisiblePart, sortBookFindings } from './book-findings-design';
import { photoLookChecks } from './book-findings-photo';
import { strokeFindings } from './book-findings-lines';
import { stickerFindings } from './book-findings-sticker';
import { bookFontFace } from './book-fonts';
import { visibleSpread } from './book-groups';
@@ -510,5 +511,6 @@ export function spreadFindings(
ctx.out.push(...photoLookChecks(spread, page));
parked(ctx);
for (const f of stickerFindings(spread)) add(ctx, f);
for (const f of strokeFindings(spread)) add(ctx, f);
return sortBookFindings(ctx.out);
}
+62
View File
@@ -0,0 +1,62 @@
import { BOOK_LINE_CAPS, BOOK_LINE_ORNAMENTS, MAX_LINE_POINTS } from './book-line.schema';
import { BOOK_EDGES, BOOK_EDGE_SIZE_MAX, BOOK_EDGE_SIZE_MIN } from './book-shapes-more';
import { z } from 'zod';
/**
* What the book tools take for the second shelf of shapes: the cut edge a
* shape or a photo can be given, and the drawn line. Joined into the props and
* the new-element union of book-element-ops.schema.ts, so `add` and `style`
* reach them as they reach every other kind.
*
* Each enum says in one line what its values draw, since the tool schema is
* all a model reads of them (book-op-enums.ts has the rest).
*/
const mmIn = z.number().finite().min(-10000).max(10000);
export const bookEdgeSchema = z
.enum(BOOK_EDGES)
.describe(
'A cut outline: zigzag, scallop, perforated (a stamp), wavy, torn, deckle (handmade paper); straight keeps it.',
);
/** The edge of a shape or a photo, each left as it is when not named. */
export const BOOK_EDGE_PROPS = {
edge: bookEdgeSchema.optional(),
edgeSize: z
.number()
.finite()
.min(BOOK_EDGE_SIZE_MIN)
.max(BOOK_EDGE_SIZE_MAX)
.describe('Depth of the cut in mm, 2 to 4 for a stamp.')
.optional(),
};
const capSchema = z.enum(BOOK_LINE_CAPS).describe('An end: arrow, open (a chevron), dot, bar or none.');
/** Points on the spread, in millimetres, from the first end to the last. */
export const bookLinePointsInSchema = z
.array(z.strictObject({ x: mmIn, y: mmIn }))
.min(2)
.max(MAX_LINE_POINTS)
.describe('Points on the spread in mm, start to end.');
/** How a line is drawn, each field left as it is when not named: the style op's, and the look of a new one. */
export const LINE_PROPS = {
opacity: z.number().min(0).max(1).optional(),
stroke: z
.string()
.regex(/^#[0-9a-fA-F]{6}$/, 'expected #rrggbb')
.optional(),
strokeWidth: z.number().finite().min(0.05).max(20).describe('Weight in mm.').optional(),
dash: z.enum(['solid', 'dashed', 'dotted']).optional(),
curve: z.enum(['straight', 'smooth']).describe('smooth is one curve through the points.').optional(),
squiggle: z.enum(['none', 'wave', 'zigzag']).describe('The body drawn as a wave or a zigzag.').optional(),
startCap: capSchema.optional(),
endCap: capSchema.optional(),
wobble: z.number().min(0).max(1).describe('Hand-drawn waver, 0 to 1.').optional(),
ornament: z.enum(BOOK_LINE_ORNAMENTS).describe('A motif in the middle, as on a divider.').optional(),
/** Moves the points; the frame is fitted around them. */
points: bookLinePointsInSchema.optional(),
};
+69
View File
@@ -0,0 +1,69 @@
import { z } from 'zod';
/**
* A drawn line: a rule, a route across a map, an arrow from a caption to the
* picture it is about, a hand-drawn squiggle under a title.
*
* ── Why its own kind ─────────────────────────────────────────────────────
*
* The rule the Studio always had is a hairline rectangle, and it stays: it
* is a box, snaps like a box and every book made so far is full of them. A
* box cannot point anywhere, though. A line has two ends that go where they
* are put, a head on either end, a bend, and a body that can be dashed,
* dotted, wavy or wobbled as though drawn by hand.
*
* ── Why the points are fractions of the frame ───────────────────────────
*
* The element keeps a frame like every other one, so it moves, turns, locks,
* aligns and parks with no special case anywhere in the editor or the engine.
* Its points are stored as fractions of that frame, so anything that moves or
* scales the frame (a drag, the `frame` operation, a spread pasted into a
* book of another size) carries the line along without knowing it is one.
* Dragging an end moves the point and refits the frame around the points
* (book-line.ts), which is the only place the two have to agree.
*/
const unit = z.number().finite().min(0).max(1);
const hex = z.string().regex(/^#[0-9a-fA-F]{6}$/, 'expected #rrggbb');
export const MAX_LINE_POINTS = 32;
/** What sits on an end: nothing, a filled head, an open chevron, a dot, a cross bar. */
export const BOOK_LINE_CAPS = ['none', 'arrow', 'open', 'dot', 'bar'] as const;
export type BookLineCap = (typeof BOOK_LINE_CAPS)[number];
/** A motif in the middle of a rule, the way a title is set between two hairlines. */
export const BOOK_LINE_ORNAMENTS = ['none', 'diamond', 'dot', 'star', 'sun', 'heart'] as const;
export type BookLineOrnament = (typeof BOOK_LINE_ORNAMENTS)[number];
export const BOOK_LINE_FIELDS = {
kind: z.literal('line'),
/** The points in order, as fractions of the frame. Two is a line, more a path. */
points: z
.array(z.object({ x: unit, y: unit }))
.min(2)
.max(MAX_LINE_POINTS)
.default([
{ x: 0, y: 0.5 },
{ x: 1, y: 0.5 },
]),
/** Straight between the points, or one smooth curve through them. */
curve: z.enum(['straight', 'smooth']).default('straight'),
stroke: hex.default('#141414'),
/** Millimetres. Named as a shape's outline is, so every place that rescales one rescales the other. */
strokeWidth: z
.number()
.finite()
.min(0.05)
.max(20)
.transform((v) => Math.round(v * 100) / 100)
.default(0.5),
dash: z.enum(['solid', 'dashed', 'dotted']).default('solid'),
/** The body of the line drawn as a wave or a zigzag along its course. */
squiggle: z.enum(['none', 'wave', 'zigzag']).default('none'),
startCap: z.enum(BOOK_LINE_CAPS).default('none'),
endCap: z.enum(BOOK_LINE_CAPS).default('none'),
/** How much it wavers, as if drawn by hand: 0 is ruled. Seeded by the element, so it wavers the same way every time. */
wobble: z.number().min(0).max(1).default(0),
ornament: z.enum(BOOK_LINE_ORNAMENTS).default('none'),
};
+111
View File
@@ -0,0 +1,111 @@
import type { BookLineCap } from './book-line.schema';
import type { BookFrame, BookLineElement } from './book.schema';
/**
* The geometry of a line element, in one place for the editor's handles and
* the book engine alike: where its points are on the spread, and the frame and
* fractions that put them back there.
*
* A line's points live as fractions of its frame (book-line.schema.ts). The
* frame is the box around the points, padded so the stroke and its heads stay
* inside it, and never thinner than `LINE_MIN_EXTENT`: a level rule has no
* height of its own, and a frame of zero height is one the contract refuses
* and nobody can click.
*/
type Pt = readonly [number, number];
/** The thinnest a line's frame gets across, so a level rule still has something to hold. */
export const LINE_MIN_EXTENT = 2;
const r2 = (v: number) => Math.round(v * 100) / 100;
const r4 = (v: number) => Math.round(v * 10000) / 10000;
/** How long an end's head is, in millimetres, for a line of this width: readable on a hairline, not a club on a thick one. */
export function bookLineCapSize(width: number): number {
return r2(1.6 + width * 3.2);
}
/** How far the frame reaches past the points: half the stroke, and most of a head where there is one. */
export function bookLinePad(width: number, caps: readonly BookLineCap[] = []): number {
const capped = caps.some((c) => c !== 'none');
return r2(width / 2 + (capped ? bookLineCapSize(width) * 0.6 : 0) + 0.5);
}
function rotate([x, y]: Pt, [cx, cy]: Pt, deg: number): [number, number] {
if (!deg) return [x, y];
const a = (deg * Math.PI) / 180;
const cos = Math.cos(a);
const sin = Math.sin(a);
const dx = x - cx;
const dy = y - cy;
return [cx + dx * cos - dy * sin, cy + dx * sin + dy * cos];
}
/** The points of a line on the spread, in millimetres, its turn applied: where they are drawn. */
export function bookLinePoints(el: Pick<BookLineElement, 'frame' | 'points' | 'rotation'>): [number, number][] {
const { x, y, w, h } = el.frame;
const centre: Pt = [x + w / 2, y + h / 2];
return el.points.map((p) => rotate([x + p.x * w, y + p.y * h], centre, el.rotation));
}
/**
* The frame and the fractions for points on the spread, the line turned by
* `rotation`.
*
* Turned lines are the reason this is not a bounding box: the frame is
* measured in the line's own turned axes, and its centre is turned back onto
* the spread, so every point lands exactly where it was given whatever the
* angle. A line at 0 degrees is the plain box around its points.
*/
export function bookLineFrame(
points: readonly Pt[],
opts: { rotation?: number; pad?: number } = {},
): { frame: BookFrame; points: { x: number; y: number }[] } {
const rotation = opts.rotation ?? 0;
const pad = opts.pad ?? 1;
const local = points.map((p) => rotate(p, [0, 0], -rotation));
const xs = local.map((p) => p[0]);
const ys = local.map((p) => p[1]);
let x0 = Math.min(...xs) - pad;
let x1 = Math.max(...xs) + pad;
let y0 = Math.min(...ys) - pad;
let y1 = Math.max(...ys) + pad;
if (x1 - x0 < LINE_MIN_EXTENT) {
const mid = (x0 + x1) / 2;
x0 = mid - LINE_MIN_EXTENT / 2;
x1 = mid + LINE_MIN_EXTENT / 2;
}
if (y1 - y0 < LINE_MIN_EXTENT) {
const mid = (y0 + y1) / 2;
y0 = mid - LINE_MIN_EXTENT / 2;
y1 = mid + LINE_MIN_EXTENT / 2;
}
const w = r2(x1 - x0);
const h = r2(y1 - y0);
const [cx, cy] = rotate([(x0 + x1) / 2, (y0 + y1) / 2], [0, 0], rotation);
const frame = { x: r2(cx - w / 2), y: r2(cy - h / 2), w, h };
const fractions = local.map(([px, py]) => ({
x: r4(Math.min(1, Math.max(0, (px - x0) / w))),
y: r4(Math.min(1, Math.max(0, (py - y0) / h))),
}));
return { frame, points: fractions };
}
/** A line refitted around new points on the spread, keeping its turn and padding for its stroke and heads. */
export function bookLineWithPoints<T extends BookLineElement>(el: T, points: readonly Pt[]): T {
const pad = bookLinePad(el.strokeWidth, [el.startCap, el.endCap]);
const fit = bookLineFrame(points, { rotation: el.rotation, pad });
return { ...el, frame: fit.frame, points: fit.points };
}
/** How long the line runs from its first point to its last, in millimetres, along its points. */
export function bookLineLength(points: readonly Pt[]): number {
let total = 0;
for (let i = 1; i < points.length; i++) {
const a = points[i - 1];
const b = points[i];
if (a && b) total += Math.hypot(b[0] - a[0], b[1] - a[1]);
}
return total;
}
+278
View File
@@ -0,0 +1,278 @@
import { strokeFindings } from './book-findings-lines';
import {
LINE_MIN_EXTENT,
bookLineCapSize,
bookLineFrame,
bookLineLength,
bookLinePad,
bookLinePoints,
bookLineWithPoints,
} from './book-line';
import { normalizeBookDocument } from './book-normalize';
import { applyBookOps } from './book-ops';
import { bookLineStyled, bookNewLine } from './book-ops-line';
import { BOOK_FINDING_CODES, type BookPageOpInput } from './book-ops.schema';
import { blankBook } from './book-pages';
import {
BOOK_EDGE_SHAPES,
BOOK_SHAPES_MORE,
BOOK_SHAPE_ASPECT,
bookShapeSize,
bookShapeTakesEdge,
} from './book-shapes-more';
import {
BOOK_SHAPES,
bookElementSchema,
bookLineElementSchema,
bookPhotoElementSchema,
bookShapeElementSchema,
bookSpreadSchema,
type BookDocument,
type BookElement,
type BookLineElement,
type BookSpread,
} from './book.schema';
import { bookEdgeWords, bookLineWords } from './describe-lines';
import { describeSpread } from './describe-spread';
import { describe, expect, it } from 'vitest';
/**
* The second shelf of shapes, cut edges and the drawn line: what the document
* keeps, the geometry the editor and the engine share, the `add` and `style`
* operations the assistant reaches them by, what a page description says of
* them and the two print checks.
*/
let seq = 0;
const newId = (p: string) => `${p}-n${++seq}`;
const frame = { x: 230, y: 40, w: 80, h: 60 };
const line = (over: Partial<BookLineElement> = {}) =>
bookLineElementSchema.parse({ id: 'l1', kind: 'line', frame: { x: 220, y: 100, w: 100, h: 4 }, ...over });
function book(elements: BookElement[]): BookDocument {
const doc = blankBook({ title: 'Iceland', newId: (p) => `${p}-x` });
const ids = ['sp-cover', 'sp-first', 'sp-in', 'sp-last', 'sp-back'];
const spreads = doc.spreads.map((s, i) => ({ ...s, id: ids[i] as string }));
spreads[2] = { ...(spreads[2] as BookSpread), elements };
return { ...doc, spreads };
}
const inner = (doc: BookDocument) => doc.spreads[2] as BookSpread;
const run = (doc: BookDocument, ops: BookPageOpInput[]) => applyBookOps(doc, { spreadId: 'sp-in', ops }, { newId });
function ok(result: ReturnType<typeof applyBookOps>): BookDocument {
if (!result.ok) throw new Error(`refused: ${result.error.code} ${result.error.message}`);
expect(bookSpreadSchema.safeParse(inner(result.doc)).success).toBe(true);
return result.doc;
}
const last = (doc: BookDocument) => inner(doc).elements[inner(doc).elements.length - 1] as BookElement;
const near = (a: readonly number[], b: readonly number[]) => a.every((v, i) => Math.abs(v - (b[i] ?? NaN)) < 0.05);
describe('the document', () => {
it('BKLINE-001: appends the second shelf behind the first, every id once, and keeps the aspect of each', () => {
const first = BOOK_SHAPES.indexOf(BOOK_SHAPES_MORE[0]);
expect(first).toBeGreaterThan(BOOK_SHAPES.indexOf('banner-flag'));
expect(new Set(BOOK_SHAPES).size).toBe(BOOK_SHAPES.length);
expect(Object.keys(BOOK_SHAPE_ASPECT).sort()).toEqual([...BOOK_SHAPES_MORE].sort());
for (const s of BOOK_EDGE_SHAPES) expect(BOOK_SHAPES).toContain(s);
});
it('BKLINE-002: reads an edge on a shape and a photo as optional, so a book from before parses back as it was', () => {
const old = bookShapeElementSchema.parse({ id: 's', kind: 'shape', frame });
expect('edge' in old).toBe(false);
const cut = bookShapeElementSchema.parse({ id: 's', kind: 'shape', frame, edge: 'perforated', edgeSize: 2.346 });
expect(cut).toMatchObject({ edge: 'perforated', edgeSize: 2.35 });
expect(bookShapeElementSchema.safeParse({ id: 's', kind: 'shape', frame, edgeSize: 0.1 }).success).toBe(false);
const photo = bookPhotoElementSchema.parse({ id: 'p', kind: 'photo', frame, mask: 'arch-tall', edge: 'deckle' });
expect(photo).toMatchObject({ mask: 'arch-tall', edge: 'deckle' });
});
it('BKLINE-003: fills a line from defaults, bounds its points, and keeps it through the salvage pass', () => {
const el = line();
expect(el).toMatchObject({ curve: 'straight', strokeWidth: 0.5, dash: 'solid', startCap: 'none', wobble: 0 });
expect(el.points).toEqual([
{ x: 0, y: 0.5 },
{ x: 1, y: 0.5 },
]);
expect(bookLineElementSchema.safeParse({ ...el, points: [{ x: 0, y: 0 }] }).success).toBe(false);
expect(bookLineElementSchema.safeParse({ ...el, points: [{ x: 1.2, y: 0 }, el.points[1]] }).success).toBe(false);
expect(bookElementSchema.parse(el)).toEqual(el);
const doc = normalizeBookDocument(book([el, { id: 'bad', kind: 'line', frame, points: 'no' } as never]));
expect(inner(doc).elements.map((e) => e.id)).toEqual(['l1']);
});
});
describe('the geometry of a line', () => {
it('BKLINE-004: fits a frame round its points, padded for its stroke, never thinner than a click', () => {
const level = bookLineFrame(
[
[10, 50],
[90, 50],
],
{ pad: 1 },
);
expect(level.frame).toEqual({ x: 9, y: 49, w: 82, h: LINE_MIN_EXTENT });
expect(level.points).toEqual([
{ x: 0.0122, y: 0.5 },
{ x: 0.9878, y: 0.5 },
]);
expect(bookLinePad(0.5)).toBe(0.75);
expect(bookLinePad(0.5, ['none', 'arrow'])).toBeGreaterThan(bookLinePad(0.5));
expect(bookLineCapSize(1)).toBe(4.8);
expect(
bookLineLength([
[0, 0],
[3, 4],
[3, 10],
]),
).toBe(11);
});
it('BKLINE-005: puts every point back where it was given, whatever the turn', () => {
const points: [number, number][] = [
[230, 40],
[300, 90],
[260, 150],
];
for (const rotation of [0, 17, -90, 135]) {
const placed = bookLineWithPoints(line({ rotation }), points);
expect(placed.rotation).toBe(rotation);
bookLinePoints(placed).forEach((p, i) => expect(near(p, points[i] as number[])).toBe(true));
}
});
});
describe('the line operations', () => {
it('BKLINE-006: adds a line half a page wide on the right-hand page, or through the points named', () => {
const plain = last(ok(run(book([]), [{ op: 'add', element: { kind: 'line' } }])));
expect(plain).toMatchObject({ kind: 'line', id: expect.stringMatching(/^l-/) });
const ends = bookLinePoints(plain as BookLineElement);
expect(near(ends[0] as number[], [262.5, 105])).toBe(true);
expect(near(ends[1] as number[], [367.5, 105])).toBe(true);
const element = {
kind: 'line' as const,
points: [
{ x: 230, y: 60 },
{ x: 330, y: 140 },
],
endCap: 'arrow' as const,
dash: 'dotted' as const,
strokeWidth: 0.8,
};
const arrow = last(ok(run(book([]), [{ op: 'add', element }]))) as BookLineElement;
expect(arrow).toMatchObject({ endCap: 'arrow', dash: 'dotted', strokeWidth: 0.8 });
expect(near(bookLinePoints(arrow)[1] as number[], [330, 140])).toBe(true);
const inFrame = last(ok(run(book([]), [{ op: 'add', element: { kind: 'line' }, frame }]))) as BookLineElement;
expect(near(bookLinePoints(inFrame)[0] as number[], [230, 70])).toBe(true);
});
it('BKLINE-007: restyles a line, refits it when its ends move or grow a head, and refuses another kind', () => {
const el = line();
const moved = ok(
run(book([el]), [
{
op: 'style',
elementId: 'l1',
set: {
kind: 'line',
points: [
{ x: 230, y: 30 },
{ x: 260, y: 80 },
{ x: 300, y: 30 },
],
curve: 'smooth',
},
},
]),
);
const out = inner(moved).elements[0] as BookLineElement;
expect(out.points).toHaveLength(3);
expect(out.curve).toBe('smooth');
expect(near(bookLinePoints(out)[1] as number[], [260, 80])).toBe(true);
const headed = bookLineStyled(el, { endCap: 'arrow', strokeWidth: 2 });
expect(headed.frame.h).toBeGreaterThan(el.frame.h);
bookLinePoints(headed).forEach((p, i) => expect(near(p, bookLinePoints(el)[i] as number[])).toBe(true));
expect(bookLineStyled(el, { stroke: '#ff0000' }).frame).toEqual(el.frame);
const wrong = run(book([el]), [{ op: 'style', elementId: 'l1', set: { kind: 'shape', fill: '#000000' } }]);
expect(wrong.ok ? null : wrong.error.code).toBe('wrong_kind');
const moveFrame = ok(run(book([el]), [{ op: 'frame', elementId: 'l1', x: 10 }]));
expect((inner(moveFrame).elements[0] as BookLineElement).points).toEqual(el.points);
});
it('BKLINE-008: makes a new line from the Studio shelf on a single page as on a spread', () => {
const page = book([]).page;
const single = bookNewLine({ dash: 'dashed' }, { id: 'l-s', frame: null, inner: false, page });
expect(near(bookLinePoints(single)[0] as number[], [52.5, 105])).toBe(true);
expect(single.dash).toBe('dashed');
});
});
describe('edges and the second shelf through the operations', () => {
it('BKLINE-009: cuts an edge on a shape and a photo by style, and sizes a new shape at its own proportions', () => {
const shape = bookShapeElementSchema.parse({ id: 's1', kind: 'shape', frame });
const photo = bookPhotoElementSchema.parse({ id: 'p1', kind: 'photo', frame });
const doc = ok(
run(book([shape, photo]), [
{ op: 'style', elementId: 's1', set: { kind: 'shape', edge: 'zigzag', edgeSize: 2.333 } },
{ op: 'style', elementId: 'p1', set: { kind: 'photo', edge: 'perforated', mask: 'stamp-rect' } },
]),
);
expect(inner(doc).elements[0]).toMatchObject({ edge: 'zigzag', edgeSize: 2.33 });
expect(inner(doc).elements[1]).toMatchObject({ edge: 'perforated', mask: 'stamp-rect' });
const ribbon = last(ok(run(book([]), [{ op: 'add', element: { kind: 'shape', shape: 'ribbon-ends' } }])));
expect(ribbon.frame.w / ribbon.frame.h).toBeCloseTo(BOOK_SHAPE_ASPECT['ribbon-ends'], 1);
expect(bookShapeSize('heart', 50)).toBeNull();
const scroll = bookShapeSize('flourish-scroll', 50);
expect(scroll?.w).toBe(100);
expect(bookShapeTakesEdge(null)).toBe(true);
expect(bookShapeTakesEdge('heart')).toBe(false);
});
});
describe('what a page says of them', () => {
it('BKLINE-010: describes a line by its points, length and look, and an edge by its kind and depth', () => {
const el = line({ endCap: 'arrow', wobble: 0.5, ornament: 'star', squiggle: 'wave', dash: 'dashed' });
const words = bookLineWords(el);
expect(words).toMatch(/^line through \(220, 102\) \(320, 102\), 100 mm long/);
expect(words).toContain('#141414 0.5 mm dashed');
expect(words).toContain('ends none / arrow');
expect(words).toContain('hand-drawn wobble 0.5');
expect(words).toContain('star in the middle');
expect(words).toContain('drawn as a wave');
expect(bookEdgeWords({ edge: 'torn', edgeSize: 4 })).toBe('torn edge 4 mm');
expect(bookEdgeWords({ edge: 'straight' })).toBeNull();
expect(bookEdgeWords({})).toBeNull();
const shape = bookShapeElementSchema.parse({ id: 's1', kind: 'shape', frame, edge: 'scallop' });
const doc = book([el, shape]);
const text = describeSpread(doc, 'sp-in')?.text ?? '';
expect(text).toContain('line l1 at');
expect(text).toContain('scallop edge 3 mm');
});
it('BKLINE-011: warns of a line or outline too thin to print, and of an edge set where none is cut', () => {
expect(BOOK_FINDING_CODES).toEqual(expect.arrayContaining(['hairline', 'edge_unused']));
const thin = line({ strokeWidth: 0.05 });
const outline = bookShapeElementSchema.parse({
id: 's1',
kind: 'shape',
frame,
stroke: '#000000',
strokeWidth: 0.06,
});
const heart = bookShapeElementSchema.parse({ id: 's2', kind: 'shape', frame, shape: 'heart', edge: 'zigzag' });
const fine = bookShapeElementSchema.parse({ id: 's3', kind: 'shape', frame, edge: 'zigzag', strokeWidth: 0.05 });
const photo = bookPhotoElementSchema.parse({ id: 'p1', kind: 'photo', frame, mask: 'star-5', edge: 'torn' });
const spread = inner(book([thin, outline, heart, fine, photo]));
const found = strokeFindings(spread).map((f) => `${f.code}:${f.elementIds.join()}`);
expect(found).toEqual(['hairline:l1', 'hairline:s1', 'edge_unused:s2', 'edge_unused:p1']);
const all = describeSpread(book([thin]), 'sp-in')?.findings.map((f) => f.code) ?? [];
expect(all).toContain('hairline');
});
});
+16 -4
View File
@@ -15,6 +15,7 @@ import {
bookShapeElementSchema,
bookStatsElementSchema,
bookTextElementSchema,
type BookShapeId,
} from './book.schema';
import { z } from 'zod';
@@ -58,15 +59,26 @@ export const bookWeightSchema = bookTextElementSchema.shape.weight
export const bookShapeIdSchema = z
.enum(BOOK_SHAPES)
.describe(
'A filled outline: rect, ellipse, line (a rule), polygons, arch and circle parts, stars, burst, seal, sparkle, arrows, chevrons, speech bubbles, nature and travel motifs, blobs and banners.',
'A filled outline: rect, ellipse, line (a rule), polygons, arches and circle parts, stars, burst, seal, sparkle, arrows, chevrons, speech bubbles, nature and travel motifs, blobs, banners and ribbons, paper cut-outs (leaf, coral, organic), stamps and badges, photo frames, ornaments (flourish, laurel, fleuron).',
);
export const bookPhotoFitSchema = photo.fit
.unwrap()
.describe('cover fills the frame, cropped at the focal point; contain shows all of it.');
export const bookPhotoMaskSchema = photo.mask
.unwrap()
.describe('A shape id to cut the photo to; null is the plain rectangle.');
const SHAPE_IDS: ReadonlySet<string> = new Set(BOOK_SHAPES);
/**
* A shape id to cut a photo to. Checked against the set rather than listed:
* the list is in the schema already under `shape`, and repeating it on every
* photo field doubled the page edit's schema.
*/
export const bookPhotoMaskSchema = z
.string()
.max(40)
.refine((s) => SHAPE_IDS.has(s), { message: 'not a shape the Studio draws' })
.transform((s) => s as BookShapeId)
.nullable()
.describe('A shape id, as for a shape, to cut the photo to; null is the plain rectangle.');
export const bookFrameStyleSchema = photo.frameStyle
.unwrap()
.describe('polaroid (deep bottom border), white border, shadow, film or tape around it; none is a plain print.');
+9 -2
View File
@@ -16,10 +16,12 @@ import {
unlockedElement,
type BookOpsContext,
} from './book-ops-core';
import { bookLineStyled, bookNewLine } from './book-ops-line';
import { newStickerElement } from './book-ops-sticker';
import { withShapePaint } from './book-paint';
import type { BookPaint } from './book-paint.schema';
import { BOOK_PHOTO_LOOK_KEYS } from './book-photo-look.schema';
import { bookShapeSize } from './book-shapes-more';
import {
bookBadgeValue,
bookCountryMark,
@@ -147,12 +149,15 @@ function lookKeys(shape: object): string[] {
return Object.keys(shape).filter((k) => k !== 'kind');
}
const MM_KEYS: ReadonlySet<string> = new Set(['radius', 'strokeWidth', 'edgeSize']);
/**
* The element with the given look fields set; millimetre fields rounded as the
* document stores them, and the weight moved onto one its family has, as the
* Studio's weight control does.
*/
function withProps(el: BookElement, props: Record<string, unknown>): BookElement {
if (el.kind === 'line') return bookLineStyled(el, props);
const keys = PROP_KEYS.get(el.kind) ?? [];
const next: Record<string, unknown> = { ...el };
for (const key of keys) {
@@ -163,7 +168,7 @@ function withProps(el: BookElement, props: Record<string, unknown>): BookElement
delete next[key];
continue;
}
next[key] = (key === 'radius' || key === 'strokeWidth') && typeof value === 'number' ? round2(value) : value;
next[key] = MM_KEYS.has(key) && typeof value === 'number' ? round2(value) : value;
}
const made = withRealWeight(next as unknown as BookElement);
return made.kind === 'shape' ? withPaintProps(made, props) : made;
@@ -215,6 +220,8 @@ function created(spread: BookSpread, spec: BookNewElement, frame: BookFrame | nu
return newText(spec, at, env);
case 'shape':
return newShape(spec, frame, spread, env);
case 'line':
return bookNewLine(spec, { id: env.newId('l'), frame, inner: isInner(spread), page: env.page });
case 'icon': {
const side = Math.min(env.page.pageWidth, env.page.pageHeight) * 0.18;
return {
@@ -313,7 +320,7 @@ function newShape(
const rule = s === 'line';
const size = rule
? { w: env.page.pageWidth * 0.5, h: 0.5 }
: { w: wide ? side * 1.7 : side, h: tall ? side * 1.35 : wide ? side * 0.55 : side };
: (bookShapeSize(s, side) ?? { w: wide ? side * 1.7 : side, h: tall ? side * 1.35 : wide ? side * 0.55 : side });
return {
...BASE,
id: env.newId('s'),
+103
View File
@@ -0,0 +1,103 @@
import { bookLineFrame, bookLinePad, bookLineWithPoints, bookLinePoints } from './book-line';
import type { BookFrame, BookLineElement, BookPageSetup } from './book.schema';
/**
* What `add` and `style` do to a line, for the element operations
* (book-ops-elements.ts): the Studio's own new line, and a restyle that
* refits the frame when the points move or the ends grow a head.
*/
type Pt = readonly [number, number];
const LOOK_KEYS = [
'opacity',
'stroke',
'strokeWidth',
'dash',
'curve',
'squiggle',
'startCap',
'endCap',
'wobble',
'ornament',
] as const;
/** What a line op may carry: its look, and points on the spread in millimetres. */
interface BookLineSpec {
points?: readonly { x: number; y: number }[];
[key: string]: unknown;
}
const tuples = (points: readonly { x: number; y: number }[]): Pt[] => points.map((p) => [p.x, p.y]);
/** The look fields of a spec set on a line, untouched where the spec leaves them out. */
function withLook(el: BookLineElement, spec: BookLineSpec): BookLineElement {
const next: Record<string, unknown> = { ...el };
for (const key of LOOK_KEYS) {
const value = spec[key];
if (value === undefined) continue;
next[key] = key === 'strokeWidth' && typeof value === 'number' ? Math.round(value * 100) / 100 : value;
}
return next as unknown as BookLineElement;
}
/**
* A line restyled. New points, a wider stroke or a new head each refit the
* frame, so the ends stay where they are drawn and the heads stay inside it.
*/
export function bookLineStyled(el: BookLineElement, spec: BookLineSpec): BookLineElement {
const styled = withLook(el, spec);
const reaches = spec.strokeWidth !== undefined || spec.startCap !== undefined || spec.endCap !== undefined;
const points = spec.points ? tuples(spec.points) : reaches ? bookLinePoints(el) : null;
return points ? bookLineWithPoints(styled, points) : styled;
}
/**
* A new line, as the Studio's Lines shelf places it: a rule across the middle
* of the given frame, or half a page wide across the right-hand page of a
* spread (the left-hand one is the fold's other side), unless points are named.
*/
export function bookNewLine(
spec: BookLineSpec,
opts: { id: string; frame: BookFrame | null; inner: boolean; page: BookPageSetup },
): BookLineElement {
const { page } = opts;
const origin = opts.inner ? page.pageWidth : 0;
const box = opts.frame ?? {
x: origin + page.pageWidth * 0.25,
y: page.pageHeight / 2,
w: page.pageWidth * 0.5,
h: 0,
};
const mid = box.y + box.h / 2;
const points: readonly Pt[] = spec.points
? tuples(spec.points)
: [
[box.x, mid],
[box.x + box.w, mid],
];
const base: BookLineElement = {
id: opts.id,
kind: 'line',
rotation: 0,
opacity: 1,
locked: false,
frame: { x: 0, y: 0, w: 1, h: 1 },
points: [
{ x: 0, y: 0.5 },
{ x: 1, y: 0.5 },
],
curve: 'straight',
stroke: '#141414',
strokeWidth: 0.5,
dash: 'solid',
squiggle: 'none',
startCap: 'none',
endCap: 'none',
wobble: 0,
ornament: 'none',
};
const look = withLook(base, spec);
const fit = bookLineFrame(points, { pad: bookLinePad(look.strokeWidth, [look.startCap, look.endCap]) });
return { ...look, frame: fit.frame, points: fit.points };
}
+2
View File
@@ -413,6 +413,8 @@ export const BOOK_FINDING_CODES = [
'palette_drift',
'repeat_layout',
'raster_effect',
'hairline',
'edge_unused',
] as const;
export type BookFindingCode = (typeof BOOK_FINDING_CODES)[number];
+2
View File
@@ -188,6 +188,8 @@ function elementColours(el: BookElement): string[] {
return [lower(el.color)];
case 'sticker':
return el.colors.map(lower);
case 'line':
return [lower(el.stroke)];
default:
return [lower(el.color), lower(el.accent)];
}
+3 -1
View File
@@ -36,8 +36,10 @@ import type { BookDocument } from './book.schema';
* - 4: the sticker kind (book-sticker.ts, stickers/).
* - 5: groups, names and hidden layers (`group`, `name`, `hidden`, a spread's `groups`).
* - 6: the photo look (`border`, `shadow`, `zoom`, `flipX`, `adjust`, `duotone`, `cutout`, book-photo-look.schema.ts).
* - 7: the second shelf of shapes, the cut edge of a shape and a photo (`edge`, `edgeSize`,
* book-shapes-more.ts) and the line kind (book-line.schema.ts).
*/
export const BOOK_SCHEMA_REV = 6;
export const BOOK_SCHEMA_REV = 7;
/** The `code` a refused save carries in its body when the stored book is newer than the writer. */
export const BOOK_SCHEMA_NEWER_CODE = 'book_schema_newer';
+227
View File
@@ -0,0 +1,227 @@
import { z } from 'zod';
/**
* The second shelf of shapes: the craft of a printed travel page rather than
* its geometry. Arches to cut a photo into, paper cut-outs in the manner of
* Matisse, postage stamps and postmarks, ribbons, tickets, speech bubbles,
* arrows that curve, and the flourishes a title sits between.
*
* Kept apart from the first list in book.schema.ts so the two can grow
* without touching each other, and appended behind it: a document only ever
* stores the id, so the order matters to the panel alone.
*
* Every entry is a single filled outline. The client draws them from its
* shape table (client/src/components/Studio/shapes-more.ts and friends), and a
* test there holds that every id here has a path.
*/
export const BOOK_SHAPES_MORE = [
// Arches, the frames a Mediterranean page is built from.
'arch-tall',
'arch-pointed',
'arch-double',
'arch-half',
'arch-rainbow',
// Paper cut-outs: leaves, coral and weed, wonky stars and suns.
'leaf-palm',
'leaf-oak',
'leaf-long',
'leaf-monstera',
'coral-1',
'coral-2',
'seaweed',
'star-organic',
'sun-cutout',
'organic-1',
'organic-2',
'organic-3',
// Stamps, badges and the things a travel scrapbook is stuck with.
'stamp-rect',
'stamp-circle',
'postmark',
'rosette',
'scallop-circle',
'badge-shield',
'label-tab',
'ticket-stub',
'sunburst-12',
'sunburst-24',
// Ribbons and bands.
'ribbon-ends',
'ribbon-arc',
'wavy-band',
'torn-strip',
// Speech.
'bubble-shout',
'bubble-side',
'bubble-capsule',
// Arrows that are drawn rather than ruled.
'arrow-curve',
'arrow-circle',
'arrow-notched',
'arrow-thin',
// Hearts and stars.
'heart-round',
'heart-pair',
'star-rounded',
'star-twinkle',
'flower-8',
// Photo frames.
'frame-notched',
'frame-chamfer',
'frame-cushion',
// Ornaments.
'flourish-scroll',
'laurel',
'fleuron',
'corner-flourish',
] as const;
/**
* How the outline of a shape, or of a photo's cut, is finished.
*
* `straight` is the drawn outline as it is. The rest replace it with a cut
* edge that bites into the shape by `edgeSize`: a zigzag of pinking shears,
* scallops, a postage stamp's perforation, a wave, a torn sheet and the soft
* irregular deckle of handmade paper.
*/
export const BOOK_EDGES = ['straight', 'zigzag', 'scallop', 'perforated', 'wavy', 'torn', 'deckle'] as const;
export type BookEdge = (typeof BOOK_EDGES)[number];
/**
* The shapes an edge is cut along: the broad, convex ones, where a bite into
* the outline stays inside it. A cut along a heart's notch or a star's
* valleys folds over itself, so those keep their drawn outline.
*/
export const BOOK_EDGE_SHAPES = [
'rect',
'squircle',
'ellipse',
'capsule',
'arch',
'arch-tall',
'half-circle',
'triangle',
'diamond',
'pentagon',
'hexagon',
'hexagon-flat',
'octagon',
'shield',
'frame-chamfer',
'frame-cushion',
'organic-1',
'organic-2',
'organic-3',
] as const;
const EDGE_SET: ReadonlySet<string> = new Set(BOOK_EDGE_SHAPES);
/** Whether an edge is cut along this shape; null is a photo's plain rectangle. */
export function bookShapeTakesEdge(shape: string | null): boolean {
return shape === null || EDGE_SET.has(shape);
}
/** The finest and the deepest edge, in millimetres. */
export const BOOK_EDGE_SIZE_MIN = 0.5;
export const BOOK_EDGE_SIZE_MAX = 30;
/**
* The two fields a shape and a photo carry for their edge.
*
* Optional rather than defaulted: a document written before edges existed
* reads exactly as it did, and parses back to exactly what was stored.
*/
export const BOOK_EDGE_FIELDS = {
edge: z.enum(BOOK_EDGES).optional(),
/** How deep the cut bites and, with it, how long one tooth is. Millimetres. */
edgeSize: z
.number()
.finite()
.min(BOOK_EDGE_SIZE_MIN)
.max(BOOK_EDGE_SIZE_MAX)
.transform((v) => Math.round(v * 100) / 100)
.optional(),
};
/**
* How wide each shape of this shelf is drawn against its height.
*
* The table stretches every outline to its frame, so a shape has no
* proportions of its own once placed; these are the ones it was drawn at,
* which is the frame the panel and the `add` operation give it and the box
* its tile is drawn in. A client test holds them to the drawings.
*/
export const BOOK_SHAPE_ASPECT: Readonly<Record<(typeof BOOK_SHAPES_MORE)[number], number>> = {
'arch-tall': 0.5,
'arch-pointed': 0.53,
'arch-double': 1.25,
'arch-half': 0.63,
'arch-rainbow': 2,
'stamp-rect': 0.81,
'stamp-circle': 1,
postmark: 1,
rosette: 0.76,
'scallop-circle': 1,
'badge-shield': 1.04,
'label-tab': 2,
'ticket-stub': 2.22,
'sunburst-12': 1,
'sunburst-24': 1,
'ribbon-ends': 3.7,
'ribbon-arc': 3.03,
'wavy-band': 3.13,
'torn-strip': 4.78,
'bubble-shout': 1.02,
'bubble-side': 1.43,
'bubble-capsule': 2.08,
'arrow-curve': 3.77,
'arrow-circle': 1.12,
'arrow-notched': 2,
'arrow-thin': 5.56,
'heart-round': 1.06,
'heart-pair': 1.25,
'star-rounded': 1.05,
'star-twinkle': 1,
'flower-8': 1,
'frame-notched': 1,
'frame-chamfer': 1,
'frame-cushion': 1,
'leaf-palm': 1.06,
'leaf-oak': 0.46,
'leaf-long': 0.22,
'leaf-monstera': 1.11,
'coral-1': 1.58,
'coral-2': 1.45,
seaweed: 0.38,
'star-organic': 1.05,
'sun-cutout': 0.98,
'organic-1': 1.14,
'organic-2': 0.86,
'organic-3': 1.11,
'flourish-scroll': 7.32,
laurel: 1.19,
fleuron: 1.29,
'corner-flourish': 0.99,
};
/**
* The size a new shape of this shelf arrives at: `side` across for a square
* one, and the same area at its own proportions otherwise. Null for a shape of
* the first shelf, which keeps the sizes it always had.
*/
export function bookShapeSize(shape: string, side: number): { w: number; h: number } | null {
const aspect = (BOOK_SHAPE_ASPECT as Readonly<Record<string, number>>)[shape];
if (aspect === undefined) return null;
// Very long ones (a scroll, a thin arrow) are held to a band rather than a needle.
const root = Math.sqrt(Math.min(aspect, 4));
const w = side * root;
return { w, h: w / aspect };
}
+13
View File
@@ -1,6 +1,8 @@
import { BOOK_FONTS_IDS, BOOK_WEIGHTS, type BookFontFamily } from './book-fonts.data';
import { BOOK_LINE_FIELDS } from './book-line.schema';
import { bookPaintFieldSchema } from './book-paint.schema';
import { BOOK_PHOTO_LOOK_FIELDS } from './book-photo-look.schema';
import { BOOK_EDGE_FIELDS, BOOK_SHAPES_MORE } from './book-shapes-more';
import { MAX_STICKER_SLOTS } from './stickers/sticker-types';
import { z } from 'zod';
@@ -158,6 +160,8 @@ export const BOOK_SHAPES = [
'banner-pennant',
'banner-bookmark',
'banner-flag',
...BOOK_SHAPES_MORE,
] as const;
export type BookShapeId = (typeof BOOK_SHAPES)[number];
@@ -256,6 +260,8 @@ export const bookPhotoElementSchema = z.object({
frameStyle: z.enum(['none', 'polaroid', 'white', 'shadow', 'film', 'tape']).default('none'),
/** Border, hard shadow, zoom, mirror, adjustments, duotone and cutout (book-photo-look.schema.ts). */
...BOOK_PHOTO_LOOK_FIELDS,
/** A cut edge along the mask, or along the rectangle (book-shapes-more.ts). */
...BOOK_EDGE_FIELDS,
});
export const bookTextElementSchema = z.object({
@@ -343,8 +349,13 @@ export const bookShapeElementSchema = z.object({
*/
strokeStyle: z.enum(['solid', 'dashed', 'dotted']).default('solid'),
radius: mm.default(0),
/** A cut edge along the outline (book-shapes-more.ts). */
...BOOK_EDGE_FIELDS,
});
/** A drawn line with two or more points (book-line.schema.ts). */
export const bookLineElementSchema = z.object({ ...elementBase, ...BOOK_LINE_FIELDS });
/**
* ── The travel elements ────────────────────────────────────────────────────
*
@@ -857,10 +868,12 @@ export const bookElementSchema = z.discriminatedUnion('kind', [
bookListElementSchema,
bookIconElementSchema,
bookStickerElementSchema,
bookLineElementSchema,
]);
export type BookElement = z.infer<typeof bookElementSchema>;
export type BookIconElement = z.infer<typeof bookIconElementSchema>;
export type BookStickerElement = z.infer<typeof bookStickerElementSchema>;
export type BookLineElement = z.infer<typeof bookLineElementSchema>;
export type BookPhotoElement = z.infer<typeof bookPhotoElementSchema>;
export type BookTextElement = z.infer<typeof bookTextElementSchema>;
export type BookShapeElement = z.infer<typeof bookShapeElementSchema>;
+32
View File
@@ -0,0 +1,32 @@
import { bookLineLength, bookLinePoints } from './book-line';
import type { BookLineElement, BookPhotoElement, BookShapeElement } from './book.schema';
/**
* The words describe-spread.ts says for a line and for a cut edge: what a
* model needs to move a line's end or to know a frame is a postage stamp.
*/
const n = (v: number) => `${Math.round(v * 10) / 10}`;
/** A shape's or a photo's cut edge, or nothing when it keeps its drawn outline. */
export function bookEdgeWords(el: Pick<BookShapeElement | BookPhotoElement, 'edge' | 'edgeSize'>): string | null {
if (!el.edge || el.edge === 'straight') return null;
return `${el.edge} edge ${n(el.edgeSize ?? 3)} mm`;
}
/** A line: where its points are on the spread, how long it runs, and how it is drawn. */
export function bookLineWords(el: BookLineElement): string {
const pts = bookLinePoints(el);
const shown = pts.slice(0, 6).map(([x, y]) => `(${n(x)}, ${n(y)})`);
const more = pts.length > 6 ? ` and ${pts.length - 6} more` : '';
const parts = [
`line through ${shown.join(' ')}${more}, ${n(bookLineLength(pts))} mm long`,
`${el.stroke} ${n(el.strokeWidth)} mm ${el.dash}`,
];
if (el.curve === 'smooth' && pts.length > 2) parts.push('smooth curve');
if (el.squiggle !== 'none') parts.push(`drawn as a ${el.squiggle}`);
if (el.startCap !== 'none' || el.endCap !== 'none') parts.push(`ends ${el.startCap} / ${el.endCap}`);
if (el.wobble > 0) parts.push(`hand-drawn wobble ${n(el.wobble)}`);
if (el.ornament !== 'none') parts.push(`${el.ornament} in the middle`);
return parts.join(', ');
}
+7
View File
@@ -23,6 +23,7 @@ import {
type BookPhotoElement,
type BookSpread,
} from './book.schema';
import { bookEdgeWords, bookLineWords } from './describe-lines';
/**
* A page in words, for a model that cannot see it and as the text beside a
@@ -78,6 +79,8 @@ function photoWords(el: BookPhotoElement, info: BookPhotoInfo | undefined): stri
if (el.filter !== 'none') parts.push(`filter ${el.filter}`);
if (el.mask) parts.push(`mask ${el.mask}`);
if (el.frameStyle !== 'none') parts.push(`frame style ${el.frameStyle}`);
const edge = bookEdgeWords(el);
if (edge) parts.push(edge);
if (el.radius > 0) parts.push(`radius ${n(el.radius)}`);
parts.push(...photoLookWords(el));
return parts.join(', ');
@@ -103,6 +106,8 @@ function elementWords(el: BookElement, photos: readonly BookPhotoInfo[] | undefi
return `icon ${el.name}, ${el.color}, line ${n(el.lineWidth)}`;
case 'sticker':
return bookStickerWords(el);
case 'line':
return bookLineWords(el);
default:
return travelWords(el);
}
@@ -113,6 +118,8 @@ function shapeWords(el: Extract<BookElement, { kind: 'shape' }>): string {
if (!el.paint && el.gradient !== 'none') parts.push(`fading ${el.gradient}`);
if (el.stroke) parts.push(`stroke ${el.stroke} ${n(el.strokeWidth)} mm ${el.strokeStyle}`);
if (el.radius > 0) parts.push(`radius ${n(el.radius)}`);
const edge = bookEdgeWords(el);
if (edge) parts.push(edge);
return parts.join(', ');
}
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'أقواس',
'journey.studio.shapeGroup.cutouts': 'قصاصات',
'journey.studio.shapeGroup.stamps': 'طوابع وشارات',
'journey.studio.shapeGroup.frames': 'إطارات',
'journey.studio.shapeGroup.ornaments': 'زخارف',
'journey.studio.drawnLines': 'خطوط مرسومة',
'journey.studio.dividers': 'فواصل',
'journey.studio.linePreset.straight': 'خط مستقيم',
'journey.studio.linePreset.arrow': 'سهم',
'journey.studio.linePreset.double': 'سهم مزدوج',
'journey.studio.linePreset.dashed': 'خط متقطع',
'journey.studio.linePreset.dotted': 'خط منقط',
'journey.studio.linePreset.curved': 'سهم منحن',
'journey.studio.linePreset.wave': 'خط متموج',
'journey.studio.linePreset.zigzag': 'خط متعرج',
'journey.studio.linePreset.hand': 'سهم مرسوم باليد',
'journey.studio.linePreset.route': 'مسار منقط',
'journey.studio.linePreset.divider-diamond': 'خط مع معين',
'journey.studio.linePreset.divider-sun': 'خط مع شمس',
'journey.studio.linePreset.divider-star': 'خط مع نجمة',
'journey.studio.linePreset.divider-heart': 'خط مع قلب',
'journey.studio.linePreset.divider-dot': 'خط مع نقطة',
'journey.studio.kind.line': 'خط',
'journey.studio.edgeStyle': 'حافة',
'journey.studio.edge.straight': 'مستقيمة',
'journey.studio.edge.zigzag': 'متعرجة',
'journey.studio.edge.scallop': 'مُصدَّفة',
'journey.studio.edge.perforated': 'مثقبة',
'journey.studio.edge.wavy': 'متموجة',
'journey.studio.edge.torn': 'ممزقة',
'journey.studio.edge.deckle': 'حافة ورق يدوي',
'journey.studio.edgeSize': 'العمق',
'journey.studio.edgeUnavailable':
'يحتفظ هذا الشكل بحدوده المرسومة. تُقص الحواف على الأشكال العريضة مثل المستطيلات والدوائر والأقواس.',
'journey.studio.wobble': 'باليد',
'journey.studio.lineCourseTitle': 'المسار',
'journey.studio.lineCourse.straight': 'مستقيم',
'journey.studio.lineCourse.smooth': 'منحن',
'journey.studio.lineBodyTitle': 'الجسم',
'journey.studio.lineBody.none': 'بسيط',
'journey.studio.lineBody.wave': 'موجة',
'journey.studio.lineBody.zigzag': 'تعرج',
'journey.studio.linePointsHint':
'اسحب نقطة على الصفحة لتحريكها. اسحب مقبضًا صغيرًا بين نقطتين لإضافة نقطة، وانقر نقرًا مزدوجًا على نقطة لإزالتها.',
'journey.studio.lineEnds': 'الطرفان',
'journey.studio.lineStart': 'البداية',
'journey.studio.lineEnd': 'النهاية',
'journey.studio.cap.none': 'بلا طرف',
'journey.studio.cap.arrow': 'سهم',
'journey.studio.cap.open': 'سهم مفتوح',
'journey.studio.cap.dot': 'نقطة',
'journey.studio.cap.bar': 'شَرطة',
'journey.studio.swapEnds': 'تبديل الطرفين',
'journey.studio.ornamentTitle': 'زخرفة',
'journey.studio.ornament.none': 'لا شيء',
'journey.studio.ornament.diamond': 'معين',
'journey.studio.ornament.dot': 'نقطة',
'journey.studio.ornament.star': 'نجمة',
'journey.studio.ornament.sun': 'شمس',
'journey.studio.ornament.heart': 'قلب',
'journey.studio.addPoint': 'اسحب لإضافة نقطة',
'journey.studio.removePoint': 'انقر مرتين للإزالة',
'assistant.card.book.finding.hairline': 'خط أرق من أن يُطبع',
'assistant.card.book.finding.edge_unused': 'حافة لا يقبلها هذا الشكل',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Tağlar',
'journey.studio.shapeGroup.cutouts': 'Kəsiklər',
'journey.studio.shapeGroup.stamps': 'Markalar və nişanlar',
'journey.studio.shapeGroup.frames': 'Çərçivələr',
'journey.studio.shapeGroup.ornaments': 'Ornamentlər',
'journey.studio.drawnLines': 'Çəkilmiş xətlər',
'journey.studio.dividers': 'Ayırıcılar',
'journey.studio.linePreset.straight': 'Düz xətt',
'journey.studio.linePreset.arrow': 'Ox',
'journey.studio.linePreset.double': 'İkitərəfli ox',
'journey.studio.linePreset.dashed': 'Qırıq xətt',
'journey.studio.linePreset.dotted': 'Nöqtəli xətt',
'journey.studio.linePreset.curved': 'Əyri ox',
'journey.studio.linePreset.wave': 'Dalğalı xətt',
'journey.studio.linePreset.zigzag': 'Ziqzaq xətt',
'journey.studio.linePreset.hand': 'Əllə çəkilmiş ox',
'journey.studio.linePreset.route': 'Nöqtəli marşrut',
'journey.studio.linePreset.divider-diamond': 'Rombla xətt',
'journey.studio.linePreset.divider-sun': 'Günəşlə xətt',
'journey.studio.linePreset.divider-star': 'Ulduzla xətt',
'journey.studio.linePreset.divider-heart': 'Ürəklə xətt',
'journey.studio.linePreset.divider-dot': 'Nöqtə ilə xətt',
'journey.studio.kind.line': 'Xətt',
'journey.studio.edgeStyle': 'Kənar',
'journey.studio.edge.straight': 'Düz',
'journey.studio.edge.zigzag': 'Ziqzaq',
'journey.studio.edge.scallop': 'Dilimli',
'journey.studio.edge.perforated': 'Perforasiyalı',
'journey.studio.edge.wavy': 'Dalğalı',
'journey.studio.edge.torn': 'Cırılmış',
'journey.studio.edge.deckle': 'Əl işi kağız kənarı',
'journey.studio.edgeSize': 'Dərinlik',
'journey.studio.edgeUnavailable':
'Bu forma çəkilmiş konturunu saxlayır. Kənarlar düzbucaqlı, dairə və tağ kimi geniş formalar boyunca kəsilir.',
'journey.studio.wobble': 'Əllə',
'journey.studio.lineCourseTitle': 'Gediş',
'journey.studio.lineCourse.straight': 'Düz',
'journey.studio.lineCourse.smooth': 'Əyri',
'journey.studio.lineBodyTitle': 'Gövdə',
'journey.studio.lineBody.none': 'Sadə',
'journey.studio.lineBody.wave': 'Dalğa',
'journey.studio.lineBody.zigzag': 'Ziqzaq',
'journey.studio.linePointsHint':
'Nöqtəni yerini dəyişmək üçün səhifədə sürüşdür. İki nöqtə arasındakı kiçik tutacağı çəkərək yeni nöqtə əlavə et, nöqtəyə iki dəfə klikləyərək onu sil.',
'journey.studio.lineEnds': 'Uclar',
'journey.studio.lineStart': 'Başlanğıc',
'journey.studio.lineEnd': 'Son',
'journey.studio.cap.none': 'Ucsuz',
'journey.studio.cap.arrow': 'Ox',
'journey.studio.cap.open': 'Açıq ox',
'journey.studio.cap.dot': 'Nöqtə',
'journey.studio.cap.bar': 'Zolaq',
'journey.studio.swapEnds': 'Ucları dəyiş',
'journey.studio.ornamentTitle': 'Ornament', // same-as-en
'journey.studio.ornament.none': 'Yoxdur',
'journey.studio.ornament.diamond': 'Romb',
'journey.studio.ornament.dot': 'Nöqtə',
'journey.studio.ornament.star': 'Ulduz',
'journey.studio.ornament.sun': 'Günəş',
'journey.studio.ornament.heart': 'Ürək',
'journey.studio.addPoint': 'Nöqtə əlavə etmək üçün çək',
'journey.studio.removePoint': 'Silmək üçün iki dəfə kliklə',
'assistant.card.book.finding.hairline': 'Çap üçün çox nazik xətt',
'assistant.card.book.finding.edge_unused': 'Bu formanın qəbul etmədiyi kənar',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Arcos',
'journey.studio.shapeGroup.cutouts': 'Recortes',
'journey.studio.shapeGroup.stamps': 'Selos e emblemas',
'journey.studio.shapeGroup.frames': 'Molduras',
'journey.studio.shapeGroup.ornaments': 'Ornamentos',
'journey.studio.drawnLines': 'Linhas desenhadas',
'journey.studio.dividers': 'Divisores',
'journey.studio.linePreset.straight': 'Linha reta',
'journey.studio.linePreset.arrow': 'Seta',
'journey.studio.linePreset.double': 'Seta dupla',
'journey.studio.linePreset.dashed': 'Linha tracejada',
'journey.studio.linePreset.dotted': 'Linha pontilhada',
'journey.studio.linePreset.curved': 'Seta curva',
'journey.studio.linePreset.wave': 'Linha ondulada',
'journey.studio.linePreset.zigzag': 'Linha em zigue-zague',
'journey.studio.linePreset.hand': 'Seta feita à mão',
'journey.studio.linePreset.route': 'Rota pontilhada',
'journey.studio.linePreset.divider-diamond': 'Fio com um losango',
'journey.studio.linePreset.divider-sun': 'Fio com um sol',
'journey.studio.linePreset.divider-star': 'Fio com uma estrela',
'journey.studio.linePreset.divider-heart': 'Fio com um coração',
'journey.studio.linePreset.divider-dot': 'Fio com um ponto',
'journey.studio.kind.line': 'Linha',
'journey.studio.edgeStyle': 'Borda',
'journey.studio.edge.straight': 'Reta',
'journey.studio.edge.zigzag': 'Zigue-zague',
'journey.studio.edge.scallop': 'Recortada em ondas',
'journey.studio.edge.perforated': 'Picotada',
'journey.studio.edge.wavy': 'Ondulada',
'journey.studio.edge.torn': 'Rasgada',
'journey.studio.edge.deckle': 'Borda de papel artesanal',
'journey.studio.edgeSize': 'Profundidade',
'journey.studio.edgeUnavailable':
'Esta forma mantém o contorno desenhado. As bordas são recortadas em formas largas, como retângulos, círculos e arcos.',
'journey.studio.wobble': 'À mão livre',
'journey.studio.lineCourseTitle': 'Traçado',
'journey.studio.lineCourse.straight': 'Reto',
'journey.studio.lineCourse.smooth': 'Curvo',
'journey.studio.lineBodyTitle': 'Corpo',
'journey.studio.lineBody.none': 'Simples',
'journey.studio.lineBody.wave': 'Onda',
'journey.studio.lineBody.zigzag': 'Zigue-zague',
'journey.studio.linePointsHint':
'Arraste um ponto na página para movê-lo. Puxe uma alça pequena entre dois pontos para adicionar um, dê um clique duplo em um ponto para removê-lo.',
'journey.studio.lineEnds': 'Pontas',
'journey.studio.lineStart': 'Início',
'journey.studio.lineEnd': 'Fim',
'journey.studio.cap.none': 'Sem ponta',
'journey.studio.cap.arrow': 'Seta',
'journey.studio.cap.open': 'Seta aberta',
'journey.studio.cap.dot': 'Ponto',
'journey.studio.cap.bar': 'Barra',
'journey.studio.swapEnds': 'Trocar as pontas',
'journey.studio.ornamentTitle': 'Ornamento',
'journey.studio.ornament.none': 'Nenhum',
'journey.studio.ornament.diamond': 'Losango',
'journey.studio.ornament.dot': 'Ponto',
'journey.studio.ornament.star': 'Estrela',
'journey.studio.ornament.sun': 'Sol',
'journey.studio.ornament.heart': 'Coração',
'journey.studio.addPoint': 'Puxe para adicionar um ponto',
'journey.studio.removePoint': 'Clique duplo para remover',
'assistant.card.book.finding.hairline': 'Uma linha fina demais para imprimir',
'assistant.card.book.finding.edge_unused': 'Uma borda que esta forma não aceita',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -125,6 +126,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Arcs',
'journey.studio.shapeGroup.cutouts': 'Retalls',
'journey.studio.shapeGroup.stamps': 'Segells i insígnies',
'journey.studio.shapeGroup.frames': 'Marcs',
'journey.studio.shapeGroup.ornaments': 'Ornaments', // same-as-en
'journey.studio.drawnLines': 'Línies dibuixades',
'journey.studio.dividers': 'Separadors',
'journey.studio.linePreset.straight': 'Línia recta',
'journey.studio.linePreset.arrow': 'Fletxa',
'journey.studio.linePreset.double': 'Fletxa doble',
'journey.studio.linePreset.dashed': 'Línia discontínua',
'journey.studio.linePreset.dotted': 'Línia de punts',
'journey.studio.linePreset.curved': 'Fletxa corba',
'journey.studio.linePreset.wave': 'Línia ondulada',
'journey.studio.linePreset.zigzag': 'Línia en ziga-zaga',
'journey.studio.linePreset.hand': 'Fletxa a mà alçada',
'journey.studio.linePreset.route': 'Ruta de punts',
'journey.studio.linePreset.divider-diamond': 'Filet amb un rombe',
'journey.studio.linePreset.divider-sun': 'Filet amb un sol',
'journey.studio.linePreset.divider-star': 'Filet amb una estrella',
'journey.studio.linePreset.divider-heart': 'Filet amb un cor',
'journey.studio.linePreset.divider-dot': 'Filet amb un punt',
'journey.studio.kind.line': 'Línia',
'journey.studio.edgeStyle': 'Vora',
'journey.studio.edge.straight': 'Recta',
'journey.studio.edge.zigzag': 'Ziga-zaga',
'journey.studio.edge.scallop': 'Festonejada',
'journey.studio.edge.perforated': 'Perforada',
'journey.studio.edge.wavy': 'Ondulada',
'journey.studio.edge.torn': 'Esquinçada',
'journey.studio.edge.deckle': 'Vora de paper fet a mà',
'journey.studio.edgeSize': 'Profunditat',
'journey.studio.edgeUnavailable':
'Aquesta forma conserva el contorn dibuixat. Les vores es retallen en formes amples com rectangles, cercles i arcs.',
'journey.studio.wobble': 'A mà alçada',
'journey.studio.lineCourseTitle': 'Traçat',
'journey.studio.lineCourse.straight': 'Recte',
'journey.studio.lineCourse.smooth': 'Corbat',
'journey.studio.lineBodyTitle': 'Cos',
'journey.studio.lineBody.none': 'Llis',
'journey.studio.lineBody.wave': 'Ona',
'journey.studio.lineBody.zigzag': 'Ziga-zaga',
'journey.studio.linePointsHint':
"Arrossega un punt a la pàgina per moure'l. Estira una nansa petita entre dos punts per afegir-ne un, fes doble clic en un punt per treure'l.",
'journey.studio.lineEnds': 'Extrems',
'journey.studio.lineStart': 'Inici',
'journey.studio.lineEnd': 'Final',
'journey.studio.cap.none': 'Sense extrem',
'journey.studio.cap.arrow': 'Fletxa',
'journey.studio.cap.open': 'Fletxa oberta',
'journey.studio.cap.dot': 'Punt',
'journey.studio.cap.bar': 'Barra',
'journey.studio.swapEnds': 'Intercanvia els extrems',
'journey.studio.ornamentTitle': 'Ornament', // same-as-en
'journey.studio.ornament.none': 'Cap',
'journey.studio.ornament.diamond': 'Rombe',
'journey.studio.ornament.dot': 'Punt',
'journey.studio.ornament.star': 'Estrella',
'journey.studio.ornament.sun': 'Sol',
'journey.studio.ornament.heart': 'Cor',
'journey.studio.addPoint': 'Estira per afegir un punt',
'journey.studio.removePoint': 'Doble clic per treure',
'assistant.card.book.finding.hairline': 'Una línia massa fina per imprimir',
'assistant.card.book.finding.edge_unused': 'Una vora que aquesta forma no admet',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Oblouky',
'journey.studio.shapeGroup.cutouts': 'Vystřihovánky',
'journey.studio.shapeGroup.stamps': 'Známky a odznaky',
'journey.studio.shapeGroup.frames': 'Rámečky',
'journey.studio.shapeGroup.ornaments': 'Ornamenty',
'journey.studio.drawnLines': 'Kreslené čáry',
'journey.studio.dividers': 'Oddělovače',
'journey.studio.linePreset.straight': 'Rovná čára',
'journey.studio.linePreset.arrow': 'Šipka',
'journey.studio.linePreset.double': 'Dvojitá šipka',
'journey.studio.linePreset.dashed': 'Čárkovaná čára',
'journey.studio.linePreset.dotted': 'Tečkovaná čára',
'journey.studio.linePreset.curved': 'Zahnutá šipka',
'journey.studio.linePreset.wave': 'Vlnovka',
'journey.studio.linePreset.zigzag': 'Klikatá čára',
'journey.studio.linePreset.hand': 'Ručně kreslená šipka',
'journey.studio.linePreset.route': 'Tečkovaná trasa',
'journey.studio.linePreset.divider-diamond': 'Linka s kosočtvercem',
'journey.studio.linePreset.divider-sun': 'Linka se sluncem',
'journey.studio.linePreset.divider-star': 'Linka s hvězdou',
'journey.studio.linePreset.divider-heart': 'Linka se srdcem',
'journey.studio.linePreset.divider-dot': 'Linka s tečkou',
'journey.studio.kind.line': 'Čára',
'journey.studio.edgeStyle': 'Okraj',
'journey.studio.edge.straight': 'Rovný',
'journey.studio.edge.zigzag': 'Cik cak',
'journey.studio.edge.scallop': 'Vroubkovaný',
'journey.studio.edge.perforated': 'Perforovaný',
'journey.studio.edge.wavy': 'Vlnitý',
'journey.studio.edge.torn': 'Natržený',
'journey.studio.edge.deckle': 'Ruční papír',
'journey.studio.edgeSize': 'Hloubka',
'journey.studio.edgeUnavailable':
'Tento tvar si ponechá nakreslený obrys. Okraje se stříhají podél širokých tvarů, jako jsou obdélníky, kruhy a oblouky.',
'journey.studio.wobble': 'Od ruky',
'journey.studio.lineCourseTitle': 'Průběh',
'journey.studio.lineCourse.straight': 'Rovný',
'journey.studio.lineCourse.smooth': 'Zakřivený',
'journey.studio.lineBodyTitle': 'Tělo',
'journey.studio.lineBody.none': 'Prostý',
'journey.studio.lineBody.wave': 'Vlna',
'journey.studio.lineBody.zigzag': 'Cik cak',
'journey.studio.linePointsHint':
'Přetažením bodu na stránce ho posunete. Zatáhněte za malý úchyt mezi dvěma body a přidáte bod, dvojklikem na bod ho odeberete.',
'journey.studio.lineEnds': 'Konce',
'journey.studio.lineStart': 'Začátek',
'journey.studio.lineEnd': 'Konec',
'journey.studio.cap.none': 'Bez konce',
'journey.studio.cap.arrow': 'Šipka',
'journey.studio.cap.open': 'Otevřená šipka',
'journey.studio.cap.dot': 'Tečka',
'journey.studio.cap.bar': 'Příčka',
'journey.studio.swapEnds': 'Prohodit konce',
'journey.studio.ornamentTitle': 'Ornament', // same-as-en
'journey.studio.ornament.none': 'Žádný',
'journey.studio.ornament.diamond': 'Kosočtverec',
'journey.studio.ornament.dot': 'Tečka',
'journey.studio.ornament.star': 'Hvězda',
'journey.studio.ornament.sun': 'Slunce',
'journey.studio.ornament.heart': 'Srdce',
'journey.studio.addPoint': 'Táhněte pro přidání bodu',
'journey.studio.removePoint': 'Dvojklikem odeberete',
'assistant.card.book.finding.hairline': 'Čára příliš tenká pro tisk',
'assistant.card.book.finding.edge_unused': 'Okraj, který tento tvar nepřijme',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Bögen',
'journey.studio.shapeGroup.cutouts': 'Scherenschnitte',
'journey.studio.shapeGroup.stamps': 'Briefmarken und Abzeichen',
'journey.studio.shapeGroup.frames': 'Rahmen',
'journey.studio.shapeGroup.ornaments': 'Ornamente',
'journey.studio.drawnLines': 'Gezeichnete Linien',
'journey.studio.dividers': 'Trenner',
'journey.studio.linePreset.straight': 'Gerade Linie',
'journey.studio.linePreset.arrow': 'Pfeil',
'journey.studio.linePreset.double': 'Doppelpfeil',
'journey.studio.linePreset.dashed': 'Gestrichelte Linie',
'journey.studio.linePreset.dotted': 'Gepunktete Linie',
'journey.studio.linePreset.curved': 'Geschwungener Pfeil',
'journey.studio.linePreset.wave': 'Wellenlinie',
'journey.studio.linePreset.zigzag': 'Zickzacklinie',
'journey.studio.linePreset.hand': 'Handgezeichneter Pfeil',
'journey.studio.linePreset.route': 'Gepunktete Route',
'journey.studio.linePreset.divider-diamond': 'Linie mit Raute',
'journey.studio.linePreset.divider-sun': 'Linie mit Sonne',
'journey.studio.linePreset.divider-star': 'Linie mit Stern',
'journey.studio.linePreset.divider-heart': 'Linie mit Herz',
'journey.studio.linePreset.divider-dot': 'Linie mit Punkt',
'journey.studio.kind.line': 'Linie',
'journey.studio.edgeStyle': 'Rand',
'journey.studio.edge.straight': 'Gerade',
'journey.studio.edge.zigzag': 'Zickzack',
'journey.studio.edge.scallop': 'Gebogt',
'journey.studio.edge.perforated': 'Perforiert',
'journey.studio.edge.wavy': 'Wellig',
'journey.studio.edge.torn': 'Gerissen',
'journey.studio.edge.deckle': 'Büttenrand',
'journey.studio.edgeSize': 'Tiefe',
'journey.studio.edgeUnavailable':
'Diese Form behält ihre gezeichnete Kontur. Ränder lassen sich an breiten Formen wie Rechtecken, Kreisen und Bögen schneiden.',
'journey.studio.wobble': 'Von Hand',
'journey.studio.lineCourseTitle': 'Verlauf',
'journey.studio.lineCourse.straight': 'Gerade',
'journey.studio.lineCourse.smooth': 'Geschwungen',
'journey.studio.lineBodyTitle': 'Strich',
'journey.studio.lineBody.none': 'Schlicht',
'journey.studio.lineBody.wave': 'Welle',
'journey.studio.lineBody.zigzag': 'Zickzack',
'journey.studio.linePointsHint':
'Zieh einen Punkt auf der Seite, um ihn zu verschieben. Zieh an einem kleinen Griff zwischen zwei Punkten, um einen hinzuzufügen, ein Doppelklick auf einen Punkt entfernt ihn.',
'journey.studio.lineEnds': 'Enden',
'journey.studio.lineStart': 'Anfang',
'journey.studio.lineEnd': 'Ende',
'journey.studio.cap.none': 'Kein Ende',
'journey.studio.cap.arrow': 'Pfeil',
'journey.studio.cap.open': 'Offener Pfeil',
'journey.studio.cap.dot': 'Punkt',
'journey.studio.cap.bar': 'Balken',
'journey.studio.swapEnds': 'Enden tauschen',
'journey.studio.ornamentTitle': 'Ornament', // same-as-en
'journey.studio.ornament.none': 'Keins',
'journey.studio.ornament.diamond': 'Raute',
'journey.studio.ornament.dot': 'Punkt',
'journey.studio.ornament.star': 'Stern',
'journey.studio.ornament.sun': 'Sonne',
'journey.studio.ornament.heart': 'Herz',
'journey.studio.addPoint': 'Ziehen, um einen Punkt hinzuzufügen',
'journey.studio.removePoint': 'Doppelklick zum Entfernen',
'assistant.card.book.finding.hairline': 'Eine Linie, zu dünn für den Druck',
'assistant.card.book.finding.edge_unused': 'Ein Rand, den diese Form nicht annimmt',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Arches',
'journey.studio.shapeGroup.cutouts': 'Cut-outs',
'journey.studio.shapeGroup.stamps': 'Stamps and badges',
'journey.studio.shapeGroup.frames': 'Frames',
'journey.studio.shapeGroup.ornaments': 'Ornaments',
'journey.studio.drawnLines': 'Drawn lines',
'journey.studio.dividers': 'Dividers',
'journey.studio.linePreset.straight': 'Straight line',
'journey.studio.linePreset.arrow': 'Arrow',
'journey.studio.linePreset.double': 'Double arrow',
'journey.studio.linePreset.dashed': 'Dashed line',
'journey.studio.linePreset.dotted': 'Dotted line',
'journey.studio.linePreset.curved': 'Curved arrow',
'journey.studio.linePreset.wave': 'Wavy line',
'journey.studio.linePreset.zigzag': 'Zigzag line',
'journey.studio.linePreset.hand': 'Hand-drawn arrow',
'journey.studio.linePreset.route': 'Dotted route',
'journey.studio.linePreset.divider-diamond': 'Rule with a diamond',
'journey.studio.linePreset.divider-sun': 'Rule with a sun',
'journey.studio.linePreset.divider-star': 'Rule with a star',
'journey.studio.linePreset.divider-heart': 'Rule with a heart',
'journey.studio.linePreset.divider-dot': 'Rule with a dot',
'journey.studio.kind.line': 'Line',
'journey.studio.edgeStyle': 'Edge',
'journey.studio.edge.straight': 'Straight',
'journey.studio.edge.zigzag': 'Zigzag',
'journey.studio.edge.scallop': 'Scalloped',
'journey.studio.edge.perforated': 'Perforated',
'journey.studio.edge.wavy': 'Wavy',
'journey.studio.edge.torn': 'Torn',
'journey.studio.edge.deckle': 'Deckled',
'journey.studio.edgeSize': 'Depth',
'journey.studio.edgeUnavailable':
'This shape keeps its drawn outline. Edges are cut along broad shapes such as rectangles, circles and arches.',
'journey.studio.wobble': 'Hand-drawn',
'journey.studio.lineCourseTitle': 'Course',
'journey.studio.lineCourse.straight': 'Straight',
'journey.studio.lineCourse.smooth': 'Curved',
'journey.studio.lineBodyTitle': 'Body',
'journey.studio.lineBody.none': 'Plain',
'journey.studio.lineBody.wave': 'Wave',
'journey.studio.lineBody.zigzag': 'Zigzag',
'journey.studio.linePointsHint':
'Drag a point on the page to move it. Pull a small handle between two points to add one, double-click a point to remove it.',
'journey.studio.lineEnds': 'Ends',
'journey.studio.lineStart': 'Start',
'journey.studio.lineEnd': 'End',
'journey.studio.cap.none': 'No end',
'journey.studio.cap.arrow': 'Arrow',
'journey.studio.cap.open': 'Open arrow',
'journey.studio.cap.dot': 'Dot',
'journey.studio.cap.bar': 'Bar',
'journey.studio.swapEnds': 'Swap ends',
'journey.studio.ornamentTitle': 'Ornament',
'journey.studio.ornament.none': 'None',
'journey.studio.ornament.diamond': 'Diamond',
'journey.studio.ornament.dot': 'Dot',
'journey.studio.ornament.star': 'Star',
'journey.studio.ornament.sun': 'Sun',
'journey.studio.ornament.heart': 'Heart',
'journey.studio.addPoint': 'Pull to add a point',
'journey.studio.removePoint': 'Double-click to remove',
'assistant.card.book.finding.hairline': 'A line too thin to print',
'assistant.card.book.finding.edge_unused': 'An edge this shape does not take',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Arcos',
'journey.studio.shapeGroup.cutouts': 'Recortes',
'journey.studio.shapeGroup.stamps': 'Sellos e insignias',
'journey.studio.shapeGroup.frames': 'Marcos',
'journey.studio.shapeGroup.ornaments': 'Ornamentos',
'journey.studio.drawnLines': 'Líneas dibujadas',
'journey.studio.dividers': 'Separadores',
'journey.studio.linePreset.straight': 'Línea recta',
'journey.studio.linePreset.arrow': 'Flecha',
'journey.studio.linePreset.double': 'Flecha doble',
'journey.studio.linePreset.dashed': 'Línea discontinua',
'journey.studio.linePreset.dotted': 'Línea de puntos',
'journey.studio.linePreset.curved': 'Flecha curva',
'journey.studio.linePreset.wave': 'Línea ondulada',
'journey.studio.linePreset.zigzag': 'Línea en zigzag',
'journey.studio.linePreset.hand': 'Flecha a mano alzada',
'journey.studio.linePreset.route': 'Ruta de puntos',
'journey.studio.linePreset.divider-diamond': 'Filete con un rombo',
'journey.studio.linePreset.divider-sun': 'Filete con un sol',
'journey.studio.linePreset.divider-star': 'Filete con una estrella',
'journey.studio.linePreset.divider-heart': 'Filete con un corazón',
'journey.studio.linePreset.divider-dot': 'Filete con un punto',
'journey.studio.kind.line': 'Línea',
'journey.studio.edgeStyle': 'Borde',
'journey.studio.edge.straight': 'Recto',
'journey.studio.edge.zigzag': 'Zigzag', // same-as-en
'journey.studio.edge.scallop': 'Festoneado',
'journey.studio.edge.perforated': 'Perforado',
'journey.studio.edge.wavy': 'Ondulado',
'journey.studio.edge.torn': 'Rasgado',
'journey.studio.edge.deckle': 'Barbas de papel',
'journey.studio.edgeSize': 'Profundidad',
'journey.studio.edgeUnavailable':
'Esta forma conserva su contorno dibujado. Los bordes se recortan en formas amplias como rectángulos, círculos y arcos.',
'journey.studio.wobble': 'A mano alzada',
'journey.studio.lineCourseTitle': 'Trazado',
'journey.studio.lineCourse.straight': 'Recto',
'journey.studio.lineCourse.smooth': 'Curvo',
'journey.studio.lineBodyTitle': 'Cuerpo',
'journey.studio.lineBody.none': 'Liso',
'journey.studio.lineBody.wave': 'Onda',
'journey.studio.lineBody.zigzag': 'Zigzag', // same-as-en
'journey.studio.linePointsHint':
'Arrastra un punto en la página para moverlo. Tira de un tirador pequeño entre dos puntos para añadir uno, haz doble clic en un punto para quitarlo.',
'journey.studio.lineEnds': 'Extremos',
'journey.studio.lineStart': 'Inicio',
'journey.studio.lineEnd': 'Final',
'journey.studio.cap.none': 'Sin extremo',
'journey.studio.cap.arrow': 'Flecha',
'journey.studio.cap.open': 'Flecha abierta',
'journey.studio.cap.dot': 'Punto',
'journey.studio.cap.bar': 'Barra',
'journey.studio.swapEnds': 'Intercambiar extremos',
'journey.studio.ornamentTitle': 'Ornamento',
'journey.studio.ornament.none': 'Ninguno',
'journey.studio.ornament.diamond': 'Rombo',
'journey.studio.ornament.dot': 'Punto',
'journey.studio.ornament.star': 'Estrella',
'journey.studio.ornament.sun': 'Sol',
'journey.studio.ornament.heart': 'Corazón',
'journey.studio.addPoint': 'Tira para añadir un punto',
'journey.studio.removePoint': 'Doble clic para quitar',
'assistant.card.book.finding.hairline': 'Una línea demasiado fina para imprimir',
'assistant.card.book.finding.edge_unused': 'Un borde que esta forma no admite',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Kaared',
'journey.studio.shapeGroup.cutouts': 'Lõiked',
'journey.studio.shapeGroup.stamps': 'Margid ja märgid',
'journey.studio.shapeGroup.frames': 'Raamid',
'journey.studio.shapeGroup.ornaments': 'Ornamendid',
'journey.studio.drawnLines': 'Joonistatud jooned',
'journey.studio.dividers': 'Eraldajad',
'journey.studio.linePreset.straight': 'Sirge joon',
'journey.studio.linePreset.arrow': 'Nool',
'journey.studio.linePreset.double': 'Kahepoolne nool',
'journey.studio.linePreset.dashed': 'Katkendjoon',
'journey.studio.linePreset.dotted': 'Punktiirjoon',
'journey.studio.linePreset.curved': 'Kõver nool',
'journey.studio.linePreset.wave': 'Lainejoon',
'journey.studio.linePreset.zigzag': 'Siksakjoon',
'journey.studio.linePreset.hand': 'Käsitsi joonistatud nool',
'journey.studio.linePreset.route': 'Punktiirmarsruut',
'journey.studio.linePreset.divider-diamond': 'Joon rombiga',
'journey.studio.linePreset.divider-sun': 'Joon päikesega',
'journey.studio.linePreset.divider-star': 'Joon tähega',
'journey.studio.linePreset.divider-heart': 'Joon südamega',
'journey.studio.linePreset.divider-dot': 'Joon punktiga',
'journey.studio.kind.line': 'Joon',
'journey.studio.edgeStyle': 'Serv',
'journey.studio.edge.straight': 'Sirge',
'journey.studio.edge.zigzag': 'Siksak',
'journey.studio.edge.scallop': 'Kaarjas',
'journey.studio.edge.perforated': 'Perforeeritud',
'journey.studio.edge.wavy': 'Laineline',
'journey.studio.edge.torn': 'Rebitud',
'journey.studio.edge.deckle': 'Käsitöö paberi serv',
'journey.studio.edgeSize': 'Sügavus',
'journey.studio.edgeUnavailable':
'See kujund jääb oma joonistatud piirjoonega. Servi lõigatakse laiade kujundite järgi, nagu ristkülikud, ringid ja kaared.',
'journey.studio.wobble': 'Käsitsi',
'journey.studio.lineCourseTitle': 'Kulg',
'journey.studio.lineCourse.straight': 'Sirge',
'journey.studio.lineCourse.smooth': 'Kõver',
'journey.studio.lineBodyTitle': 'Keha',
'journey.studio.lineBody.none': 'Lihtne',
'journey.studio.lineBody.wave': 'Laine',
'journey.studio.lineBody.zigzag': 'Siksak',
'journey.studio.linePointsHint':
'Lohista lehel punkti, et seda liigutada. Tõmba kahe punkti vahel väikest pidet, et lisada uus punkt, topeltklõps punktil eemaldab selle.',
'journey.studio.lineEnds': 'Otsad',
'journey.studio.lineStart': 'Algus',
'journey.studio.lineEnd': 'Lõpp',
'journey.studio.cap.none': 'Otsata',
'journey.studio.cap.arrow': 'Nool',
'journey.studio.cap.open': 'Avatud nool',
'journey.studio.cap.dot': 'Punkt',
'journey.studio.cap.bar': 'Põikjoon',
'journey.studio.swapEnds': 'Vaheta otsad',
'journey.studio.ornamentTitle': 'Ornament', // same-as-en
'journey.studio.ornament.none': 'Puudub',
'journey.studio.ornament.diamond': 'Romb',
'journey.studio.ornament.dot': 'Punkt',
'journey.studio.ornament.star': 'Täht',
'journey.studio.ornament.sun': 'Päike',
'journey.studio.ornament.heart': 'Süda',
'journey.studio.addPoint': 'Tõmba, et lisada punkt',
'journey.studio.removePoint': 'Topeltklõps eemaldab',
'assistant.card.book.finding.hairline': 'Trükkimiseks liiga peenike joon',
'assistant.card.book.finding.edge_unused': 'Serv, mida see kujund ei võta',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Arches', // same-as-en
'journey.studio.shapeGroup.cutouts': 'Découpages',
'journey.studio.shapeGroup.stamps': 'Timbres et badges',
'journey.studio.shapeGroup.frames': 'Cadres',
'journey.studio.shapeGroup.ornaments': 'Ornements',
'journey.studio.drawnLines': 'Lignes dessinées',
'journey.studio.dividers': 'Séparateurs',
'journey.studio.linePreset.straight': 'Ligne droite',
'journey.studio.linePreset.arrow': 'Flèche',
'journey.studio.linePreset.double': 'Double flèche',
'journey.studio.linePreset.dashed': 'Ligne en tirets',
'journey.studio.linePreset.dotted': 'Ligne pointillée',
'journey.studio.linePreset.curved': 'Flèche courbe',
'journey.studio.linePreset.wave': 'Ligne ondulée',
'journey.studio.linePreset.zigzag': 'Ligne en zigzag',
'journey.studio.linePreset.hand': 'Flèche tracée à la main',
'journey.studio.linePreset.route': 'Itinéraire pointillé',
'journey.studio.linePreset.divider-diamond': 'Filet avec un losange',
'journey.studio.linePreset.divider-sun': 'Filet avec un soleil',
'journey.studio.linePreset.divider-star': 'Filet avec une étoile',
'journey.studio.linePreset.divider-heart': 'Filet avec un cœur',
'journey.studio.linePreset.divider-dot': 'Filet avec un point',
'journey.studio.kind.line': 'Ligne',
'journey.studio.edgeStyle': 'Bord',
'journey.studio.edge.straight': 'Droit',
'journey.studio.edge.zigzag': 'Zigzag', // same-as-en
'journey.studio.edge.scallop': 'Festonné',
'journey.studio.edge.perforated': 'Perforé',
'journey.studio.edge.wavy': 'Ondulé',
'journey.studio.edge.torn': 'Déchiré',
'journey.studio.edge.deckle': 'Bord frangé',
'journey.studio.edgeSize': 'Profondeur',
'journey.studio.edgeUnavailable':
'Cette forme garde son contour dessiné. Les bords se découpent sur des formes larges comme les rectangles, les cercles et les arches.',
'journey.studio.wobble': 'À main levée',
'journey.studio.lineCourseTitle': 'Tracé',
'journey.studio.lineCourse.straight': 'Droit',
'journey.studio.lineCourse.smooth': 'Courbe',
'journey.studio.lineBodyTitle': 'Corps',
'journey.studio.lineBody.none': 'Simple',
'journey.studio.lineBody.wave': 'Vague',
'journey.studio.lineBody.zigzag': 'Zigzag', // same-as-en
'journey.studio.linePointsHint':
'Faites glisser un point sur la page pour le déplacer. Tirez une petite poignée entre deux points pour en ajouter un, double-cliquez sur un point pour le retirer.',
'journey.studio.lineEnds': 'Extrémités',
'journey.studio.lineStart': 'Début',
'journey.studio.lineEnd': 'Fin',
'journey.studio.cap.none': 'Aucune extrémité',
'journey.studio.cap.arrow': 'Flèche',
'journey.studio.cap.open': 'Flèche ouverte',
'journey.studio.cap.dot': 'Point',
'journey.studio.cap.bar': 'Barre',
'journey.studio.swapEnds': 'Inverser les extrémités',
'journey.studio.ornamentTitle': 'Ornement',
'journey.studio.ornament.none': 'Aucun',
'journey.studio.ornament.diamond': 'Losange',
'journey.studio.ornament.dot': 'Point',
'journey.studio.ornament.star': 'Étoile',
'journey.studio.ornament.sun': 'Soleil',
'journey.studio.ornament.heart': 'Cœur',
'journey.studio.addPoint': 'Tirez pour ajouter un point',
'journey.studio.removePoint': 'Double-cliquez pour retirer',
'assistant.card.book.finding.hairline': 'Une ligne trop fine pour être imprimée',
'assistant.card.book.finding.edge_unused': 'Un bord que cette forme ne prend pas',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Αψίδες',
'journey.studio.shapeGroup.cutouts': 'Χαρτοκοπτική',
'journey.studio.shapeGroup.stamps': 'Γραμματόσημα και σήματα',
'journey.studio.shapeGroup.frames': 'Κορνίζες',
'journey.studio.shapeGroup.ornaments': 'Διακοσμητικά',
'journey.studio.drawnLines': 'Σχεδιασμένες γραμμές',
'journey.studio.dividers': 'Διαχωριστικά',
'journey.studio.linePreset.straight': 'Ευθεία γραμμή',
'journey.studio.linePreset.arrow': 'Βέλος',
'journey.studio.linePreset.double': 'Διπλό βέλος',
'journey.studio.linePreset.dashed': 'Διακεκομμένη γραμμή',
'journey.studio.linePreset.dotted': 'Γραμμή με τελείες',
'journey.studio.linePreset.curved': 'Καμπύλο βέλος',
'journey.studio.linePreset.wave': 'Κυματιστή γραμμή',
'journey.studio.linePreset.zigzag': 'Ζιγκ ζαγκ γραμμή',
'journey.studio.linePreset.hand': 'Βέλος με το χέρι',
'journey.studio.linePreset.route': 'Διαδρομή με τελείες',
'journey.studio.linePreset.divider-diamond': 'Γραμμή με ρόμβο',
'journey.studio.linePreset.divider-sun': 'Γραμμή με ήλιο',
'journey.studio.linePreset.divider-star': 'Γραμμή με αστέρι',
'journey.studio.linePreset.divider-heart': 'Γραμμή με καρδιά',
'journey.studio.linePreset.divider-dot': 'Γραμμή με τελεία',
'journey.studio.kind.line': 'Γραμμή',
'journey.studio.edgeStyle': 'Άκρη',
'journey.studio.edge.straight': 'Ευθεία',
'journey.studio.edge.zigzag': 'Ζιγκ ζαγκ',
'journey.studio.edge.scallop': 'Οδοντωτή σε τόξα',
'journey.studio.edge.perforated': 'Διάτρητη',
'journey.studio.edge.wavy': 'Κυματιστή',
'journey.studio.edge.torn': 'Σκισμένη',
'journey.studio.edge.deckle': 'Άκρη χειροποίητου χαρτιού',
'journey.studio.edgeSize': 'Βάθος',
'journey.studio.edgeUnavailable':
'Αυτό το σχήμα κρατά το σχεδιασμένο περίγραμμά του. Οι άκρες κόβονται σε φαρδιά σχήματα, όπως ορθογώνια, κύκλους και αψίδες.',
'journey.studio.wobble': 'Με το χέρι',
'journey.studio.lineCourseTitle': 'Πορεία',
'journey.studio.lineCourse.straight': 'Ευθεία',
'journey.studio.lineCourse.smooth': 'Καμπύλη',
'journey.studio.lineBodyTitle': 'Σώμα',
'journey.studio.lineBody.none': 'Απλό',
'journey.studio.lineBody.wave': 'Κύμα',
'journey.studio.lineBody.zigzag': 'Ζιγκ ζαγκ',
'journey.studio.linePointsHint':
'Σύρετε ένα σημείο στη σελίδα για να το μετακινήσετε. Τραβήξτε μια μικρή λαβή ανάμεσα σε δύο σημεία για να προσθέσετε ένα, κάντε διπλό κλικ σε ένα σημείο για να το αφαιρέσετε.',
'journey.studio.lineEnds': 'Άκρα',
'journey.studio.lineStart': 'Αρχή',
'journey.studio.lineEnd': 'Τέλος',
'journey.studio.cap.none': 'Χωρίς άκρο',
'journey.studio.cap.arrow': 'Βέλος',
'journey.studio.cap.open': 'Ανοιχτό βέλος',
'journey.studio.cap.dot': 'Τελεία',
'journey.studio.cap.bar': 'Μπάρα',
'journey.studio.swapEnds': 'Εναλλαγή άκρων',
'journey.studio.ornamentTitle': 'Διακοσμητικό',
'journey.studio.ornament.none': 'Κανένα',
'journey.studio.ornament.diamond': 'Ρόμβος',
'journey.studio.ornament.dot': 'Τελεία',
'journey.studio.ornament.star': 'Αστέρι',
'journey.studio.ornament.sun': 'Ήλιος',
'journey.studio.ornament.heart': 'Καρδιά',
'journey.studio.addPoint': 'Τραβήξτε για να προσθέσετε σημείο',
'journey.studio.removePoint': 'Διπλό κλικ για αφαίρεση',
'assistant.card.book.finding.hairline': 'Γραμμή πολύ λεπτή για εκτύπωση',
'assistant.card.book.finding.edge_unused': 'Άκρη που αυτό το σχήμα δεν δέχεται',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Ívek',
'journey.studio.shapeGroup.cutouts': 'Kivágások',
'journey.studio.shapeGroup.stamps': 'Bélyegek és jelvények',
'journey.studio.shapeGroup.frames': 'Keretek',
'journey.studio.shapeGroup.ornaments': 'Díszítések',
'journey.studio.drawnLines': 'Rajzolt vonalak',
'journey.studio.dividers': 'Elválasztók',
'journey.studio.linePreset.straight': 'Egyenes vonal',
'journey.studio.linePreset.arrow': 'Nyíl',
'journey.studio.linePreset.double': 'Dupla nyíl',
'journey.studio.linePreset.dashed': 'Szaggatott vonal',
'journey.studio.linePreset.dotted': 'Pontozott vonal',
'journey.studio.linePreset.curved': 'Ívelt nyíl',
'journey.studio.linePreset.wave': 'Hullámvonal',
'journey.studio.linePreset.zigzag': 'Cikkcakkos vonal',
'journey.studio.linePreset.hand': 'Kézzel rajzolt nyíl',
'journey.studio.linePreset.route': 'Pontozott útvonal',
'journey.studio.linePreset.divider-diamond': 'Vonal rombusszal',
'journey.studio.linePreset.divider-sun': 'Vonal nappal',
'journey.studio.linePreset.divider-star': 'Vonal csillaggal',
'journey.studio.linePreset.divider-heart': 'Vonal szívvel',
'journey.studio.linePreset.divider-dot': 'Vonal ponttal',
'journey.studio.kind.line': 'Vonal',
'journey.studio.edgeStyle': 'Szél',
'journey.studio.edge.straight': 'Egyenes',
'journey.studio.edge.zigzag': 'Cikkcakk',
'journey.studio.edge.scallop': 'Csipkézett',
'journey.studio.edge.perforated': 'Perforált',
'journey.studio.edge.wavy': 'Hullámos',
'journey.studio.edge.torn': 'Szakadt',
'journey.studio.edge.deckle': 'Merített szél',
'journey.studio.edgeSize': 'Mélység',
'journey.studio.edgeUnavailable':
'Ez az alakzat megtartja a megrajzolt körvonalát. A szélek széles alakzatokon vághatók, például téglalapokon, köröken és íveken.',
'journey.studio.wobble': 'Kézi',
'journey.studio.lineCourseTitle': 'Lefutás',
'journey.studio.lineCourse.straight': 'Egyenes',
'journey.studio.lineCourse.smooth': 'Ívelt',
'journey.studio.lineBodyTitle': 'Test',
'journey.studio.lineBody.none': 'Sima',
'journey.studio.lineBody.wave': 'Hullám',
'journey.studio.lineBody.zigzag': 'Cikkcakk',
'journey.studio.linePointsHint':
'Húzz egy pontot az oldalon az áthelyezéséhez. Két pont között egy kis fogantyút húzva újat adsz hozzá, dupla kattintással egy pontot eltávolítasz.',
'journey.studio.lineEnds': 'Végek',
'journey.studio.lineStart': 'Kezdet',
'journey.studio.lineEnd': 'Vég',
'journey.studio.cap.none': 'Nincs vég',
'journey.studio.cap.arrow': 'Nyíl',
'journey.studio.cap.open': 'Nyitott nyíl',
'journey.studio.cap.dot': 'Pont',
'journey.studio.cap.bar': 'Vonalka',
'journey.studio.swapEnds': 'Végek felcserélése',
'journey.studio.ornamentTitle': 'Díszítés',
'journey.studio.ornament.none': 'Nincs',
'journey.studio.ornament.diamond': 'Rombusz',
'journey.studio.ornament.dot': 'Pont',
'journey.studio.ornament.star': 'Csillag',
'journey.studio.ornament.sun': 'Nap',
'journey.studio.ornament.heart': 'Szív',
'journey.studio.addPoint': 'Húzd egy pont hozzáadásához',
'journey.studio.removePoint': 'Dupla kattintás az eltávolításhoz',
'assistant.card.book.finding.hairline': 'Túl vékony vonal a nyomtatáshoz',
'assistant.card.book.finding.edge_unused': 'Ez az alakzat nem fogad ilyen szélt',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Lengkungan',
'journey.studio.shapeGroup.cutouts': 'Guntingan',
'journey.studio.shapeGroup.stamps': 'Prangko dan lencana',
'journey.studio.shapeGroup.frames': 'Bingkai',
'journey.studio.shapeGroup.ornaments': 'Ornamen',
'journey.studio.drawnLines': 'Garis gambar',
'journey.studio.dividers': 'Pemisah',
'journey.studio.linePreset.straight': 'Garis lurus',
'journey.studio.linePreset.arrow': 'Panah',
'journey.studio.linePreset.double': 'Panah ganda',
'journey.studio.linePreset.dashed': 'Garis putus-putus',
'journey.studio.linePreset.dotted': 'Garis titik-titik',
'journey.studio.linePreset.curved': 'Panah melengkung',
'journey.studio.linePreset.wave': 'Garis bergelombang',
'journey.studio.linePreset.zigzag': 'Garis zigzag',
'journey.studio.linePreset.hand': 'Panah gambar tangan',
'journey.studio.linePreset.route': 'Rute titik-titik',
'journey.studio.linePreset.divider-diamond': 'Garis dengan belah ketupat',
'journey.studio.linePreset.divider-sun': 'Garis dengan matahari',
'journey.studio.linePreset.divider-star': 'Garis dengan bintang',
'journey.studio.linePreset.divider-heart': 'Garis dengan hati',
'journey.studio.linePreset.divider-dot': 'Garis dengan titik',
'journey.studio.kind.line': 'Garis',
'journey.studio.edgeStyle': 'Tepi',
'journey.studio.edge.straight': 'Lurus',
'journey.studio.edge.zigzag': 'Zigzag', // same-as-en
'journey.studio.edge.scallop': 'Berkerang',
'journey.studio.edge.perforated': 'Berlubang',
'journey.studio.edge.wavy': 'Bergelombang',
'journey.studio.edge.torn': 'Sobek',
'journey.studio.edge.deckle': 'Tepi kertas buatan tangan',
'journey.studio.edgeSize': 'Kedalaman',
'journey.studio.edgeUnavailable':
'Bentuk ini mempertahankan garis tepi gambarnya. Tepi dipotong pada bentuk lebar seperti persegi panjang, lingkaran, dan lengkungan.',
'journey.studio.wobble': 'Gambar tangan',
'journey.studio.lineCourseTitle': 'Alur',
'journey.studio.lineCourse.straight': 'Lurus',
'journey.studio.lineCourse.smooth': 'Melengkung',
'journey.studio.lineBodyTitle': 'Badan',
'journey.studio.lineBody.none': 'Polos',
'journey.studio.lineBody.wave': 'Gelombang',
'journey.studio.lineBody.zigzag': 'Zigzag', // same-as-en
'journey.studio.linePointsHint':
'Seret titik di halaman untuk memindahkannya. Tarik pegangan kecil di antara dua titik untuk menambah titik, klik dua kali sebuah titik untuk menghapusnya.',
'journey.studio.lineEnds': 'Ujung',
'journey.studio.lineStart': 'Awal',
'journey.studio.lineEnd': 'Akhir',
'journey.studio.cap.none': 'Tanpa ujung',
'journey.studio.cap.arrow': 'Panah',
'journey.studio.cap.open': 'Panah terbuka',
'journey.studio.cap.dot': 'Titik',
'journey.studio.cap.bar': 'Batang',
'journey.studio.swapEnds': 'Tukar ujung',
'journey.studio.ornamentTitle': 'Ornamen',
'journey.studio.ornament.none': 'Tidak ada',
'journey.studio.ornament.diamond': 'Belah ketupat',
'journey.studio.ornament.dot': 'Titik',
'journey.studio.ornament.star': 'Bintang',
'journey.studio.ornament.sun': 'Matahari',
'journey.studio.ornament.heart': 'Hati',
'journey.studio.addPoint': 'Tarik untuk menambah titik',
'journey.studio.removePoint': 'Klik dua kali untuk menghapus',
'assistant.card.book.finding.hairline': 'Garis terlalu tipis untuk dicetak',
'assistant.card.book.finding.edge_unused': 'Tepi yang tidak diterima bentuk ini',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Archi',
'journey.studio.shapeGroup.cutouts': 'Ritagli',
'journey.studio.shapeGroup.stamps': 'Francobolli e distintivi',
'journey.studio.shapeGroup.frames': 'Cornici',
'journey.studio.shapeGroup.ornaments': 'Ornamenti',
'journey.studio.drawnLines': 'Linee disegnate',
'journey.studio.dividers': 'Divisori',
'journey.studio.linePreset.straight': 'Linea retta',
'journey.studio.linePreset.arrow': 'Freccia',
'journey.studio.linePreset.double': 'Doppia freccia',
'journey.studio.linePreset.dashed': 'Linea tratteggiata',
'journey.studio.linePreset.dotted': 'Linea punteggiata',
'journey.studio.linePreset.curved': 'Freccia curva',
'journey.studio.linePreset.wave': 'Linea ondulata',
'journey.studio.linePreset.zigzag': 'Linea a zigzag',
'journey.studio.linePreset.hand': 'Freccia a mano libera',
'journey.studio.linePreset.route': 'Percorso punteggiato',
'journey.studio.linePreset.divider-diamond': 'Filetto con un rombo',
'journey.studio.linePreset.divider-sun': 'Filetto con un sole',
'journey.studio.linePreset.divider-star': 'Filetto con una stella',
'journey.studio.linePreset.divider-heart': 'Filetto con un cuore',
'journey.studio.linePreset.divider-dot': 'Filetto con un punto',
'journey.studio.kind.line': 'Linea',
'journey.studio.edgeStyle': 'Bordo',
'journey.studio.edge.straight': 'Dritto',
'journey.studio.edge.zigzag': 'Zigzag', // same-as-en
'journey.studio.edge.scallop': 'Smerlato',
'journey.studio.edge.perforated': 'Perforato',
'journey.studio.edge.wavy': 'Ondulato',
'journey.studio.edge.torn': 'Strappato',
'journey.studio.edge.deckle': 'Bordo a sbavatura',
'journey.studio.edgeSize': 'Profondità',
'journey.studio.edgeUnavailable':
'Questa forma mantiene il suo contorno disegnato. I bordi si tagliano su forme ampie come rettangoli, cerchi e archi.',
'journey.studio.wobble': 'A mano libera',
'journey.studio.lineCourseTitle': 'Andamento',
'journey.studio.lineCourse.straight': 'Dritto',
'journey.studio.lineCourse.smooth': 'Curvo',
'journey.studio.lineBodyTitle': 'Corpo',
'journey.studio.lineBody.none': 'Semplice',
'journey.studio.lineBody.wave': 'Onda',
'journey.studio.lineBody.zigzag': 'Zigzag', // same-as-en
'journey.studio.linePointsHint':
'Trascina un punto sulla pagina per spostarlo. Tira una piccola maniglia tra due punti per aggiungerne uno, fai doppio clic su un punto per toglierlo.',
'journey.studio.lineEnds': 'Estremità',
'journey.studio.lineStart': 'Inizio',
'journey.studio.lineEnd': 'Fine',
'journey.studio.cap.none': 'Nessuna estremità',
'journey.studio.cap.arrow': 'Freccia',
'journey.studio.cap.open': 'Freccia aperta',
'journey.studio.cap.dot': 'Punto',
'journey.studio.cap.bar': 'Barra',
'journey.studio.swapEnds': 'Scambia le estremità',
'journey.studio.ornamentTitle': 'Ornamento',
'journey.studio.ornament.none': 'Nessuno',
'journey.studio.ornament.diamond': 'Rombo',
'journey.studio.ornament.dot': 'Punto',
'journey.studio.ornament.star': 'Stella',
'journey.studio.ornament.sun': 'Sole',
'journey.studio.ornament.heart': 'Cuore',
'journey.studio.addPoint': 'Tira per aggiungere un punto',
'journey.studio.removePoint': 'Doppio clic per togliere',
'assistant.card.book.finding.hairline': 'Una linea troppo sottile per la stampa',
'assistant.card.book.finding.edge_unused': 'Un bordo che questa forma non accetta',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'アーチ',
'journey.studio.shapeGroup.cutouts': '切り絵',
'journey.studio.shapeGroup.stamps': '切手とバッジ',
'journey.studio.shapeGroup.frames': 'フレーム',
'journey.studio.shapeGroup.ornaments': '装飾',
'journey.studio.drawnLines': '描いた線',
'journey.studio.dividers': '区切り線',
'journey.studio.linePreset.straight': '直線',
'journey.studio.linePreset.arrow': '矢印',
'journey.studio.linePreset.double': '両矢印',
'journey.studio.linePreset.dashed': '破線',
'journey.studio.linePreset.dotted': '点線',
'journey.studio.linePreset.curved': '曲がった矢印',
'journey.studio.linePreset.wave': '波線',
'journey.studio.linePreset.zigzag': 'ジグザグ線',
'journey.studio.linePreset.hand': '手描きの矢印',
'journey.studio.linePreset.route': '点線のルート',
'journey.studio.linePreset.divider-diamond': 'ひし形付きの罫線',
'journey.studio.linePreset.divider-sun': '太陽付きの罫線',
'journey.studio.linePreset.divider-star': '星付きの罫線',
'journey.studio.linePreset.divider-heart': 'ハート付きの罫線',
'journey.studio.linePreset.divider-dot': '点付きの罫線',
'journey.studio.kind.line': '線',
'journey.studio.edgeStyle': '縁',
'journey.studio.edge.straight': 'まっすぐ',
'journey.studio.edge.zigzag': 'ジグザグ',
'journey.studio.edge.scallop': 'スカラップ',
'journey.studio.edge.perforated': 'ミシン目',
'journey.studio.edge.wavy': '波形',
'journey.studio.edge.torn': 'ちぎり',
'journey.studio.edge.deckle': '耳付き和紙',
'journey.studio.edgeSize': '深さ',
'journey.studio.edgeUnavailable':
'この図形は描かれた輪郭のままです。縁は長方形、円、アーチなど幅のある図形に沿って切り抜けます。',
'journey.studio.wobble': '手描き風',
'journey.studio.lineCourseTitle': '道筋',
'journey.studio.lineCourse.straight': 'まっすぐ',
'journey.studio.lineCourse.smooth': '曲線',
'journey.studio.lineBodyTitle': '本体',
'journey.studio.lineBody.none': 'なし',
'journey.studio.lineBody.wave': '波',
'journey.studio.lineBody.zigzag': 'ジグザグ',
'journey.studio.linePointsHint':
'ページ上の点をドラッグすると移動します。2つの点の間の小さなハンドルを引くと点を追加し、点をダブルクリックすると削除します。',
'journey.studio.lineEnds': '端',
'journey.studio.lineStart': '始点',
'journey.studio.lineEnd': '終点',
'journey.studio.cap.none': '端なし',
'journey.studio.cap.arrow': '矢印',
'journey.studio.cap.open': '開いた矢印',
'journey.studio.cap.dot': '点',
'journey.studio.cap.bar': 'バー',
'journey.studio.swapEnds': '端を入れ替え',
'journey.studio.ornamentTitle': '装飾',
'journey.studio.ornament.none': 'なし',
'journey.studio.ornament.diamond': 'ひし形',
'journey.studio.ornament.dot': '点',
'journey.studio.ornament.star': '星',
'journey.studio.ornament.sun': '太陽',
'journey.studio.ornament.heart': 'ハート',
'journey.studio.addPoint': '引いて点を追加',
'journey.studio.removePoint': 'ダブルクリックで削除',
'assistant.card.book.finding.hairline': '印刷するには細すぎる線',
'assistant.card.book.finding.edge_unused': 'この図形では使えない縁',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': '아치',
'journey.studio.shapeGroup.cutouts': '종이 오리기',
'journey.studio.shapeGroup.stamps': '우표와 배지',
'journey.studio.shapeGroup.frames': '프레임',
'journey.studio.shapeGroup.ornaments': '장식',
'journey.studio.drawnLines': '그린 선',
'journey.studio.dividers': '구분선',
'journey.studio.linePreset.straight': '직선',
'journey.studio.linePreset.arrow': '화살표',
'journey.studio.linePreset.double': '양방향 화살표',
'journey.studio.linePreset.dashed': '파선',
'journey.studio.linePreset.dotted': '점선',
'journey.studio.linePreset.curved': '곡선 화살표',
'journey.studio.linePreset.wave': '물결선',
'journey.studio.linePreset.zigzag': '지그재그 선',
'journey.studio.linePreset.hand': '손으로 그린 화살표',
'journey.studio.linePreset.route': '점선 경로',
'journey.studio.linePreset.divider-diamond': '마름모가 있는 선',
'journey.studio.linePreset.divider-sun': '해가 있는 선',
'journey.studio.linePreset.divider-star': '별이 있는 선',
'journey.studio.linePreset.divider-heart': '하트가 있는 선',
'journey.studio.linePreset.divider-dot': '점이 있는 선',
'journey.studio.kind.line': '선',
'journey.studio.edgeStyle': '가장자리',
'journey.studio.edge.straight': '직선',
'journey.studio.edge.zigzag': '지그재그',
'journey.studio.edge.scallop': '물결 테두리',
'journey.studio.edge.perforated': '절취선',
'journey.studio.edge.wavy': '물결',
'journey.studio.edge.torn': '찢김',
'journey.studio.edge.deckle': '수제 종이 가장자리',
'journey.studio.edgeSize': '깊이',
'journey.studio.edgeUnavailable':
'이 도형은 그려진 윤곽을 유지합니다. 가장자리는 직사각형, 원, 아치처럼 넓은 도형을 따라 잘립니다.',
'journey.studio.wobble': '손그림',
'journey.studio.lineCourseTitle': '경로',
'journey.studio.lineCourse.straight': '직선',
'journey.studio.lineCourse.smooth': '곡선',
'journey.studio.lineBodyTitle': '몸체',
'journey.studio.lineBody.none': '기본',
'journey.studio.lineBody.wave': '물결',
'journey.studio.lineBody.zigzag': '지그재그',
'journey.studio.linePointsHint':
'페이지에서 점을 끌어 옮기세요. 두 점 사이의 작은 핸들을 당기면 점이 추가되고, 점을 두 번 클릭하면 제거됩니다.',
'journey.studio.lineEnds': '끝',
'journey.studio.lineStart': '시작',
'journey.studio.lineEnd': '끝점',
'journey.studio.cap.none': '끝 없음',
'journey.studio.cap.arrow': '화살표',
'journey.studio.cap.open': '열린 화살표',
'journey.studio.cap.dot': '점',
'journey.studio.cap.bar': '막대',
'journey.studio.swapEnds': '양 끝 바꾸기',
'journey.studio.ornamentTitle': '장식',
'journey.studio.ornament.none': '없음',
'journey.studio.ornament.diamond': '마름모',
'journey.studio.ornament.dot': '점',
'journey.studio.ornament.star': '별',
'journey.studio.ornament.sun': '해',
'journey.studio.ornament.heart': '하트',
'journey.studio.addPoint': '당겨서 점 추가',
'journey.studio.removePoint': '두 번 클릭해 제거',
'assistant.card.book.finding.hairline': '인쇄하기에 너무 가는 선',
'assistant.card.book.finding.edge_unused': '이 도형이 받지 않는 가장자리',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Bogen',
'journey.studio.shapeGroup.cutouts': 'Knipsels',
'journey.studio.shapeGroup.stamps': 'Postzegels en badges',
'journey.studio.shapeGroup.frames': 'Lijsten',
'journey.studio.shapeGroup.ornaments': 'Ornamenten',
'journey.studio.drawnLines': 'Getekende lijnen',
'journey.studio.dividers': 'Scheidingslijnen',
'journey.studio.linePreset.straight': 'Rechte lijn',
'journey.studio.linePreset.arrow': 'Pijl',
'journey.studio.linePreset.double': 'Dubbele pijl',
'journey.studio.linePreset.dashed': 'Gestreepte lijn',
'journey.studio.linePreset.dotted': 'Gestippelde lijn',
'journey.studio.linePreset.curved': 'Gebogen pijl',
'journey.studio.linePreset.wave': 'Golflijn',
'journey.studio.linePreset.zigzag': 'Zigzaglijn',
'journey.studio.linePreset.hand': 'Handgetekende pijl',
'journey.studio.linePreset.route': 'Gestippelde route',
'journey.studio.linePreset.divider-diamond': 'Lijn met een ruit',
'journey.studio.linePreset.divider-sun': 'Lijn met een zon',
'journey.studio.linePreset.divider-star': 'Lijn met een ster',
'journey.studio.linePreset.divider-heart': 'Lijn met een hart',
'journey.studio.linePreset.divider-dot': 'Lijn met een stip',
'journey.studio.kind.line': 'Lijn',
'journey.studio.edgeStyle': 'Rand',
'journey.studio.edge.straight': 'Recht',
'journey.studio.edge.zigzag': 'Zigzag', // same-as-en
'journey.studio.edge.scallop': 'Geschulpt',
'journey.studio.edge.perforated': 'Geperforeerd',
'journey.studio.edge.wavy': 'Golvend',
'journey.studio.edge.torn': 'Gescheurd',
'journey.studio.edge.deckle': 'Scheprand',
'journey.studio.edgeSize': 'Diepte',
'journey.studio.edgeUnavailable':
'Deze vorm houdt zijn getekende omtrek. Randen worden gesneden langs brede vormen zoals rechthoeken, cirkels en bogen.',
'journey.studio.wobble': 'Uit de hand',
'journey.studio.lineCourseTitle': 'Verloop',
'journey.studio.lineCourse.straight': 'Recht',
'journey.studio.lineCourse.smooth': 'Gebogen',
'journey.studio.lineBodyTitle': 'Lijf',
'journey.studio.lineBody.none': 'Gewoon',
'journey.studio.lineBody.wave': 'Golf',
'journey.studio.lineBody.zigzag': 'Zigzag', // same-as-en
'journey.studio.linePointsHint':
'Sleep een punt op de pagina om het te verplaatsen. Trek aan een kleine greep tussen twee punten om er een toe te voegen, dubbelklik op een punt om het te verwijderen.',
'journey.studio.lineEnds': 'Uiteinden',
'journey.studio.lineStart': 'Begin',
'journey.studio.lineEnd': 'Einde',
'journey.studio.cap.none': 'Geen uiteinde',
'journey.studio.cap.arrow': 'Pijl',
'journey.studio.cap.open': 'Open pijl',
'journey.studio.cap.dot': 'Stip',
'journey.studio.cap.bar': 'Balk',
'journey.studio.swapEnds': 'Uiteinden omwisselen',
'journey.studio.ornamentTitle': 'Ornament', // same-as-en
'journey.studio.ornament.none': 'Geen',
'journey.studio.ornament.diamond': 'Ruit',
'journey.studio.ornament.dot': 'Stip',
'journey.studio.ornament.star': 'Ster',
'journey.studio.ornament.sun': 'Zon',
'journey.studio.ornament.heart': 'Hart',
'journey.studio.addPoint': 'Trek om een punt toe te voegen',
'journey.studio.removePoint': 'Dubbelklik om te verwijderen',
'assistant.card.book.finding.hairline': 'Een lijn te dun om te drukken',
'assistant.card.book.finding.edge_unused': 'Een rand die deze vorm niet aanneemt',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Łuki',
'journey.studio.shapeGroup.cutouts': 'Wycinanki',
'journey.studio.shapeGroup.stamps': 'Znaczki i odznaki',
'journey.studio.shapeGroup.frames': 'Ramki',
'journey.studio.shapeGroup.ornaments': 'Ornamenty',
'journey.studio.drawnLines': 'Rysowane linie',
'journey.studio.dividers': 'Separatory',
'journey.studio.linePreset.straight': 'Linia prosta',
'journey.studio.linePreset.arrow': 'Strzałka',
'journey.studio.linePreset.double': 'Podwójna strzałka',
'journey.studio.linePreset.dashed': 'Linia przerywana',
'journey.studio.linePreset.dotted': 'Linia kropkowana',
'journey.studio.linePreset.curved': 'Zakrzywiona strzałka',
'journey.studio.linePreset.wave': 'Linia falista',
'journey.studio.linePreset.zigzag': 'Linia zygzakowata',
'journey.studio.linePreset.hand': 'Strzałka rysowana ręcznie',
'journey.studio.linePreset.route': 'Kropkowana trasa',
'journey.studio.linePreset.divider-diamond': 'Linia z rombem',
'journey.studio.linePreset.divider-sun': 'Linia ze słońcem',
'journey.studio.linePreset.divider-star': 'Linia z gwiazdą',
'journey.studio.linePreset.divider-heart': 'Linia z sercem',
'journey.studio.linePreset.divider-dot': 'Linia z kropką',
'journey.studio.kind.line': 'Linia',
'journey.studio.edgeStyle': 'Krawędź',
'journey.studio.edge.straight': 'Prosta',
'journey.studio.edge.zigzag': 'Zygzak',
'journey.studio.edge.scallop': 'Ząbkowana w łuki',
'journey.studio.edge.perforated': 'Perforowana',
'journey.studio.edge.wavy': 'Falista',
'journey.studio.edge.torn': 'Podarta',
'journey.studio.edge.deckle': 'Czerpany brzeg',
'journey.studio.edgeSize': 'Głębokość',
'journey.studio.edgeUnavailable':
'Ten kształt zachowuje narysowany obrys. Krawędzie wycina się na szerokich kształtach, takich jak prostokąty, koła i łuki.',
'journey.studio.wobble': 'Odręcznie',
'journey.studio.lineCourseTitle': 'Przebieg',
'journey.studio.lineCourse.straight': 'Prosty',
'journey.studio.lineCourse.smooth': 'Zakrzywiony',
'journey.studio.lineBodyTitle': 'Korpus',
'journey.studio.lineBody.none': 'Zwykły',
'journey.studio.lineBody.wave': 'Fala',
'journey.studio.lineBody.zigzag': 'Zygzak',
'journey.studio.linePointsHint':
'Przeciągnij punkt na stronie, aby go przesunąć. Pociągnij mały uchwyt między dwoma punktami, aby dodać punkt, kliknij punkt dwukrotnie, aby go usunąć.',
'journey.studio.lineEnds': 'Końce',
'journey.studio.lineStart': 'Początek',
'journey.studio.lineEnd': 'Koniec',
'journey.studio.cap.none': 'Bez końcówki',
'journey.studio.cap.arrow': 'Strzałka',
'journey.studio.cap.open': 'Otwarta strzałka',
'journey.studio.cap.dot': 'Kropka',
'journey.studio.cap.bar': 'Belka',
'journey.studio.swapEnds': 'Zamień końce',
'journey.studio.ornamentTitle': 'Ornament', // same-as-en
'journey.studio.ornament.none': 'Brak',
'journey.studio.ornament.diamond': 'Romb',
'journey.studio.ornament.dot': 'Kropka',
'journey.studio.ornament.star': 'Gwiazda',
'journey.studio.ornament.sun': 'Słońce',
'journey.studio.ornament.heart': 'Serce',
'journey.studio.addPoint': 'Pociągnij, aby dodać punkt',
'journey.studio.removePoint': 'Kliknij dwukrotnie, aby usunąć',
'assistant.card.book.finding.hairline': 'Linia zbyt cienka do druku',
'assistant.card.book.finding.edge_unused': 'Krawędź, której ten kształt nie przyjmuje',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Арки',
'journey.studio.shapeGroup.cutouts': 'Вырезки',
'journey.studio.shapeGroup.stamps': 'Марки и значки',
'journey.studio.shapeGroup.frames': 'Рамки',
'journey.studio.shapeGroup.ornaments': 'Орнаменты',
'journey.studio.drawnLines': 'Нарисованные линии',
'journey.studio.dividers': 'Разделители',
'journey.studio.linePreset.straight': 'Прямая линия',
'journey.studio.linePreset.arrow': 'Стрелка',
'journey.studio.linePreset.double': 'Двойная стрелка',
'journey.studio.linePreset.dashed': 'Штриховая линия',
'journey.studio.linePreset.dotted': 'Пунктирная линия',
'journey.studio.linePreset.curved': 'Изогнутая стрелка',
'journey.studio.linePreset.wave': 'Волнистая линия',
'journey.studio.linePreset.zigzag': 'Зигзаг',
'journey.studio.linePreset.hand': 'Стрелка от руки',
'journey.studio.linePreset.route': 'Пунктирный маршрут',
'journey.studio.linePreset.divider-diamond': 'Линейка с ромбом',
'journey.studio.linePreset.divider-sun': 'Линейка с солнцем',
'journey.studio.linePreset.divider-star': 'Линейка со звездой',
'journey.studio.linePreset.divider-heart': 'Линейка с сердцем',
'journey.studio.linePreset.divider-dot': 'Линейка с точкой',
'journey.studio.kind.line': 'Линия',
'journey.studio.edgeStyle': 'Край',
'journey.studio.edge.straight': 'Прямой',
'journey.studio.edge.zigzag': 'Зигзаг',
'journey.studio.edge.scallop': 'Фестоны',
'journey.studio.edge.perforated': 'Перфорация',
'journey.studio.edge.wavy': 'Волнистый',
'journey.studio.edge.torn': 'Рваный',
'journey.studio.edge.deckle': 'Кромка ручной бумаги',
'journey.studio.edgeSize': 'Глубина',
'journey.studio.edgeUnavailable':
'Эта фигура сохраняет нарисованный контур. Край вырезается у широких фигур: прямоугольников, кругов и арок.',
'journey.studio.wobble': 'От руки',
'journey.studio.lineCourseTitle': 'Ход',
'journey.studio.lineCourse.straight': 'Прямой',
'journey.studio.lineCourse.smooth': 'Изогнутый',
'journey.studio.lineBodyTitle': 'Тело',
'journey.studio.lineBody.none': 'Простое',
'journey.studio.lineBody.wave': 'Волна',
'journey.studio.lineBody.zigzag': 'Зигзаг',
'journey.studio.linePointsHint':
'Перетащите точку на странице, чтобы сдвинуть её. Потяните маленький маркер между двумя точками, чтобы добавить точку, дважды щёлкните по точке, чтобы удалить её.',
'journey.studio.lineEnds': 'Концы',
'journey.studio.lineStart': 'Начало',
'journey.studio.lineEnd': 'Конец',
'journey.studio.cap.none': 'Без конца',
'journey.studio.cap.arrow': 'Стрелка',
'journey.studio.cap.open': 'Открытая стрелка',
'journey.studio.cap.dot': 'Точка',
'journey.studio.cap.bar': 'Черта',
'journey.studio.swapEnds': 'Поменять концы',
'journey.studio.ornamentTitle': 'Орнамент',
'journey.studio.ornament.none': 'Нет',
'journey.studio.ornament.diamond': 'Ромб',
'journey.studio.ornament.dot': 'Точка',
'journey.studio.ornament.star': 'Звезда',
'journey.studio.ornament.sun': 'Солнце',
'journey.studio.ornament.heart': 'Сердце',
'journey.studio.addPoint': 'Потяните, чтобы добавить точку',
'journey.studio.removePoint': 'Двойной щелчок, чтобы удалить',
'assistant.card.book.finding.hairline': 'Линия слишком тонкая для печати',
'assistant.card.book.finding.edge_unused': 'Край, который эта фигура не принимает',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Oblúky',
'journey.studio.shapeGroup.cutouts': 'Vystrihovačky',
'journey.studio.shapeGroup.stamps': 'Známky a odznaky',
'journey.studio.shapeGroup.frames': 'Rámčeky',
'journey.studio.shapeGroup.ornaments': 'Ornamenty',
'journey.studio.drawnLines': 'Kreslené čiary',
'journey.studio.dividers': 'Oddeľovače',
'journey.studio.linePreset.straight': 'Rovná čiara',
'journey.studio.linePreset.arrow': 'Šípka',
'journey.studio.linePreset.double': 'Dvojitá šípka',
'journey.studio.linePreset.dashed': 'Čiarkovaná čiara',
'journey.studio.linePreset.dotted': 'Bodkovaná čiara',
'journey.studio.linePreset.curved': 'Zahnutá šípka',
'journey.studio.linePreset.wave': 'Vlnovka',
'journey.studio.linePreset.zigzag': 'Kľukatá čiara',
'journey.studio.linePreset.hand': 'Ručne kreslená šípka',
'journey.studio.linePreset.route': 'Bodkovaná trasa',
'journey.studio.linePreset.divider-diamond': 'Linka s kosoštvorcom',
'journey.studio.linePreset.divider-sun': 'Linka so slnkom',
'journey.studio.linePreset.divider-star': 'Linka s hviezdou',
'journey.studio.linePreset.divider-heart': 'Linka so srdcom',
'journey.studio.linePreset.divider-dot': 'Linka s bodkou',
'journey.studio.kind.line': 'Čiara',
'journey.studio.edgeStyle': 'Okraj',
'journey.studio.edge.straight': 'Rovný',
'journey.studio.edge.zigzag': 'Cik cak',
'journey.studio.edge.scallop': 'Vrúbkovaný',
'journey.studio.edge.perforated': 'Perforovaný',
'journey.studio.edge.wavy': 'Vlnitý',
'journey.studio.edge.torn': 'Natrhnutý',
'journey.studio.edge.deckle': 'Ručný papier',
'journey.studio.edgeSize': 'Hĺbka',
'journey.studio.edgeUnavailable':
'Tento tvar si ponechá nakreslený obrys. Okraje sa strihajú pozdĺž širokých tvarov, ako sú obdĺžniky, kruhy a oblúky.',
'journey.studio.wobble': 'Od ruky',
'journey.studio.lineCourseTitle': 'Priebeh',
'journey.studio.lineCourse.straight': 'Rovný',
'journey.studio.lineCourse.smooth': 'Zakrivený',
'journey.studio.lineBodyTitle': 'Telo',
'journey.studio.lineBody.none': 'Jednoduchý',
'journey.studio.lineBody.wave': 'Vlna',
'journey.studio.lineBody.zigzag': 'Cik cak',
'journey.studio.linePointsHint':
'Potiahnutím bodu na stránke ho posuniete. Potiahnite malý úchyt medzi dvoma bodmi a pridáte bod, dvojklikom na bod ho odstránite.',
'journey.studio.lineEnds': 'Konce',
'journey.studio.lineStart': 'Začiatok',
'journey.studio.lineEnd': 'Koniec',
'journey.studio.cap.none': 'Bez konca',
'journey.studio.cap.arrow': 'Šípka',
'journey.studio.cap.open': 'Otvorená šípka',
'journey.studio.cap.dot': 'Bodka',
'journey.studio.cap.bar': 'Priečka',
'journey.studio.swapEnds': 'Vymeniť konce',
'journey.studio.ornamentTitle': 'Ornament', // same-as-en
'journey.studio.ornament.none': 'Žiadny',
'journey.studio.ornament.diamond': 'Kosoštvorec',
'journey.studio.ornament.dot': 'Bodka',
'journey.studio.ornament.star': 'Hviezda',
'journey.studio.ornament.sun': 'Slnko',
'journey.studio.ornament.heart': 'Srdce',
'journey.studio.addPoint': 'Potiahnite a pridajte bod',
'journey.studio.removePoint': 'Dvojklikom odstránite',
'assistant.card.book.finding.hairline': 'Čiara príliš tenká na tlač',
'assistant.card.book.finding.edge_unused': 'Okraj, ktorý tento tvar neprijme',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Valv',
'journey.studio.shapeGroup.cutouts': 'Urklipp',
'journey.studio.shapeGroup.stamps': 'Frimärken och märken',
'journey.studio.shapeGroup.frames': 'Ramar',
'journey.studio.shapeGroup.ornaments': 'Ornament',
'journey.studio.drawnLines': 'Ritade linjer',
'journey.studio.dividers': 'Avdelare',
'journey.studio.linePreset.straight': 'Rak linje',
'journey.studio.linePreset.arrow': 'Pil',
'journey.studio.linePreset.double': 'Dubbelpil',
'journey.studio.linePreset.dashed': 'Streckad linje',
'journey.studio.linePreset.dotted': 'Prickad linje',
'journey.studio.linePreset.curved': 'Böjd pil',
'journey.studio.linePreset.wave': 'Våglinje',
'journey.studio.linePreset.zigzag': 'Sicksacklinje',
'journey.studio.linePreset.hand': 'Handritad pil',
'journey.studio.linePreset.route': 'Prickad rutt',
'journey.studio.linePreset.divider-diamond': 'Linje med en romb',
'journey.studio.linePreset.divider-sun': 'Linje med en sol',
'journey.studio.linePreset.divider-star': 'Linje med en stjärna',
'journey.studio.linePreset.divider-heart': 'Linje med ett hjärta',
'journey.studio.linePreset.divider-dot': 'Linje med en prick',
'journey.studio.kind.line': 'Linje',
'journey.studio.edgeStyle': 'Kant',
'journey.studio.edge.straight': 'Rak',
'journey.studio.edge.zigzag': 'Sicksack',
'journey.studio.edge.scallop': 'Bågad',
'journey.studio.edge.perforated': 'Perforerad',
'journey.studio.edge.wavy': 'Vågig',
'journey.studio.edge.torn': 'Riven',
'journey.studio.edge.deckle': 'Bräddad kant',
'journey.studio.edgeSize': 'Djup',
'journey.studio.edgeUnavailable':
'Den här formen behåller sin ritade kontur. Kanter klipps längs breda former som rektanglar, cirklar och valv.',
'journey.studio.wobble': 'Handritad',
'journey.studio.lineCourseTitle': 'Förlopp',
'journey.studio.lineCourse.straight': 'Rak',
'journey.studio.lineCourse.smooth': 'Böjd',
'journey.studio.lineBodyTitle': 'Kropp',
'journey.studio.lineBody.none': 'Enkel',
'journey.studio.lineBody.wave': 'Våg',
'journey.studio.lineBody.zigzag': 'Sicksack',
'journey.studio.linePointsHint':
'Dra en punkt på sidan för att flytta den. Dra i ett litet handtag mellan två punkter för att lägga till en, dubbelklicka på en punkt för att ta bort den.',
'journey.studio.lineEnds': 'Ändar',
'journey.studio.lineStart': 'Början',
'journey.studio.lineEnd': 'Slut',
'journey.studio.cap.none': 'Ingen ände',
'journey.studio.cap.arrow': 'Pil',
'journey.studio.cap.open': 'Öppen pil',
'journey.studio.cap.dot': 'Prick',
'journey.studio.cap.bar': 'Stapel',
'journey.studio.swapEnds': 'Byt ändar',
'journey.studio.ornamentTitle': 'Ornament', // same-as-en
'journey.studio.ornament.none': 'Ingen',
'journey.studio.ornament.diamond': 'Romb',
'journey.studio.ornament.dot': 'Prick',
'journey.studio.ornament.star': 'Stjärna',
'journey.studio.ornament.sun': 'Sol',
'journey.studio.ornament.heart': 'Hjärta',
'journey.studio.addPoint': 'Dra för att lägga till en punkt',
'journey.studio.removePoint': 'Dubbelklicka för att ta bort',
'assistant.card.book.finding.hairline': 'En linje för tunn för att tryckas',
'assistant.card.book.finding.edge_unused': 'En kant som den här formen inte tar',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'ซุ้มโค้ง',
'journey.studio.shapeGroup.cutouts': 'กระดาษตัด',
'journey.studio.shapeGroup.stamps': 'แสตมป์และตรา',
'journey.studio.shapeGroup.frames': 'กรอบ',
'journey.studio.shapeGroup.ornaments': 'ลวดลาย',
'journey.studio.drawnLines': 'เส้นวาด',
'journey.studio.dividers': 'เส้นคั่น',
'journey.studio.linePreset.straight': 'เส้นตรง',
'journey.studio.linePreset.arrow': 'ลูกศร',
'journey.studio.linePreset.double': 'ลูกศรสองทาง',
'journey.studio.linePreset.dashed': 'เส้นประ',
'journey.studio.linePreset.dotted': 'เส้นจุด',
'journey.studio.linePreset.curved': 'ลูกศรโค้ง',
'journey.studio.linePreset.wave': 'เส้นคลื่น',
'journey.studio.linePreset.zigzag': 'เส้นซิกแซก',
'journey.studio.linePreset.hand': 'ลูกศรวาดมือ',
'journey.studio.linePreset.route': 'เส้นทางจุด',
'journey.studio.linePreset.divider-diamond': 'เส้นคั่นมีรูปข้าวหลามตัด',
'journey.studio.linePreset.divider-sun': 'เส้นคั่นมีดวงอาทิตย์',
'journey.studio.linePreset.divider-star': 'เส้นคั่นมีดาว',
'journey.studio.linePreset.divider-heart': 'เส้นคั่นมีหัวใจ',
'journey.studio.linePreset.divider-dot': 'เส้นคั่นมีจุด',
'journey.studio.kind.line': 'เส้น',
'journey.studio.edgeStyle': 'ขอบ',
'journey.studio.edge.straight': 'ตรง',
'journey.studio.edge.zigzag': 'ซิกแซก',
'journey.studio.edge.scallop': 'หยักโค้ง',
'journey.studio.edge.perforated': 'รอยปรุ',
'journey.studio.edge.wavy': 'คลื่น',
'journey.studio.edge.torn': 'ฉีก',
'journey.studio.edge.deckle': 'ขอบกระดาษทำมือ',
'journey.studio.edgeSize': 'ความลึก',
'journey.studio.edgeUnavailable':
'รูปทรงนี้คงเส้นขอบที่วาดไว้ ขอบตัดได้กับรูปทรงกว้าง เช่น สี่เหลี่ยมผืนผ้า วงกลม และซุ้มโค้ง',
'journey.studio.wobble': 'วาดมือ',
'journey.studio.lineCourseTitle': 'แนวเส้น',
'journey.studio.lineCourse.straight': 'ตรง',
'journey.studio.lineCourse.smooth': 'โค้ง',
'journey.studio.lineBodyTitle': 'ตัวเส้น',
'journey.studio.lineBody.none': 'เรียบ',
'journey.studio.lineBody.wave': 'คลื่น',
'journey.studio.lineBody.zigzag': 'ซิกแซก',
'journey.studio.linePointsHint':
'ลากจุดบนหน้าเพื่อย้าย ดึงที่จับเล็กระหว่างสองจุดเพื่อเพิ่มจุด ดับเบิลคลิกที่จุดเพื่อลบ',
'journey.studio.lineEnds': 'ปลายเส้น',
'journey.studio.lineStart': 'จุดเริ่ม',
'journey.studio.lineEnd': 'จุดจบ',
'journey.studio.cap.none': 'ไม่มีปลาย',
'journey.studio.cap.arrow': 'ลูกศร',
'journey.studio.cap.open': 'ลูกศรเปิด',
'journey.studio.cap.dot': 'จุด',
'journey.studio.cap.bar': 'ขีด',
'journey.studio.swapEnds': 'สลับปลาย',
'journey.studio.ornamentTitle': 'ลวดลาย',
'journey.studio.ornament.none': 'ไม่มี',
'journey.studio.ornament.diamond': 'ข้าวหลามตัด',
'journey.studio.ornament.dot': 'จุด',
'journey.studio.ornament.star': 'ดาว',
'journey.studio.ornament.sun': 'ดวงอาทิตย์',
'journey.studio.ornament.heart': 'หัวใจ',
'journey.studio.addPoint': 'ดึงเพื่อเพิ่มจุด',
'journey.studio.removePoint': 'ดับเบิลคลิกเพื่อลบ',
'assistant.card.book.finding.hairline': 'เส้นบางเกินกว่าจะพิมพ์ได้',
'assistant.card.book.finding.edge_unused': 'ขอบที่รูปทรงนี้ใช้ไม่ได้',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Kemerler',
'journey.studio.shapeGroup.cutouts': 'Kesik kâğıtlar',
'journey.studio.shapeGroup.stamps': 'Pullar ve rozetler',
'journey.studio.shapeGroup.frames': 'Çerçeveler',
'journey.studio.shapeGroup.ornaments': 'Süslemeler',
'journey.studio.drawnLines': 'Çizilmiş çizgiler',
'journey.studio.dividers': 'Ayırıcılar',
'journey.studio.linePreset.straight': 'Düz çizgi',
'journey.studio.linePreset.arrow': 'Ok',
'journey.studio.linePreset.double': 'Çift ok',
'journey.studio.linePreset.dashed': 'Kesikli çizgi',
'journey.studio.linePreset.dotted': 'Noktalı çizgi',
'journey.studio.linePreset.curved': 'Kavisli ok',
'journey.studio.linePreset.wave': 'Dalgalı çizgi',
'journey.studio.linePreset.zigzag': 'Zikzak çizgi',
'journey.studio.linePreset.hand': 'Elle çizilmiş ok',
'journey.studio.linePreset.route': 'Noktalı rota',
'journey.studio.linePreset.divider-diamond': 'Baklavalı çizgi',
'journey.studio.linePreset.divider-sun': 'Güneşli çizgi',
'journey.studio.linePreset.divider-star': 'Yıldızlı çizgi',
'journey.studio.linePreset.divider-heart': 'Kalpli çizgi',
'journey.studio.linePreset.divider-dot': 'Noktalı ara çizgi',
'journey.studio.kind.line': 'Çizgi',
'journey.studio.edgeStyle': 'Kenar',
'journey.studio.edge.straight': 'Düz',
'journey.studio.edge.zigzag': 'Zikzak',
'journey.studio.edge.scallop': 'Fistolu',
'journey.studio.edge.perforated': 'Delikli',
'journey.studio.edge.wavy': 'Dalgalı',
'journey.studio.edge.torn': 'Yırtık',
'journey.studio.edge.deckle': 'El yapımı kâğıt kenarı',
'journey.studio.edgeSize': 'Derinlik',
'journey.studio.edgeUnavailable':
'Bu şekil çizilmiş dış hattını korur. Kenarlar dikdörtgen, daire ve kemer gibi geniş şekiller boyunca kesilir.',
'journey.studio.wobble': 'Elle çizim',
'journey.studio.lineCourseTitle': 'Gidiş',
'journey.studio.lineCourse.straight': 'Düz',
'journey.studio.lineCourse.smooth': 'Kavisli',
'journey.studio.lineBodyTitle': 'Gövde',
'journey.studio.lineBody.none': 'Sade',
'journey.studio.lineBody.wave': 'Dalga',
'journey.studio.lineBody.zigzag': 'Zikzak',
'journey.studio.linePointsHint':
'Taşımak için sayfadaki bir noktayı sürükleyin. Nokta eklemek için iki nokta arasındaki küçük tutamacı çekin, kaldırmak için noktaya çift tıklayın.',
'journey.studio.lineEnds': 'Uçlar',
'journey.studio.lineStart': 'Başlangıç',
'journey.studio.lineEnd': 'Bitiş',
'journey.studio.cap.none': 'Uç yok',
'journey.studio.cap.arrow': 'Ok',
'journey.studio.cap.open': 'Açık ok',
'journey.studio.cap.dot': 'Nokta',
'journey.studio.cap.bar': 'Çubuk',
'journey.studio.swapEnds': 'Uçları değiştir',
'journey.studio.ornamentTitle': 'Süsleme',
'journey.studio.ornament.none': 'Yok',
'journey.studio.ornament.diamond': 'Baklava',
'journey.studio.ornament.dot': 'Nokta',
'journey.studio.ornament.star': 'Yıldız',
'journey.studio.ornament.sun': 'Güneş',
'journey.studio.ornament.heart': 'Kalp',
'journey.studio.addPoint': 'Nokta eklemek için çekin',
'journey.studio.removePoint': 'Kaldırmak için çift tıklayın',
'assistant.card.book.finding.hairline': 'Basılamayacak kadar ince bir çizgi',
'assistant.card.book.finding.edge_unused': 'Bu şeklin almadığı bir kenar',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Арки',
'journey.studio.shapeGroup.cutouts': 'Вирізки',
'journey.studio.shapeGroup.stamps': 'Марки та значки',
'journey.studio.shapeGroup.frames': 'Рамки',
'journey.studio.shapeGroup.ornaments': 'Орнаменти',
'journey.studio.drawnLines': 'Намальовані лінії',
'journey.studio.dividers': 'Роздільники',
'journey.studio.linePreset.straight': 'Пряма лінія',
'journey.studio.linePreset.arrow': 'Стрілка',
'journey.studio.linePreset.double': 'Подвійна стрілка',
'journey.studio.linePreset.dashed': 'Штрихова лінія',
'journey.studio.linePreset.dotted': 'Пунктирна лінія',
'journey.studio.linePreset.curved': 'Вигнута стрілка',
'journey.studio.linePreset.wave': 'Хвиляста лінія',
'journey.studio.linePreset.zigzag': 'Зигзаг',
'journey.studio.linePreset.hand': 'Стрілка від руки',
'journey.studio.linePreset.route': 'Пунктирний маршрут',
'journey.studio.linePreset.divider-diamond': 'Лінійка з ромбом',
'journey.studio.linePreset.divider-sun': 'Лінійка з сонцем',
'journey.studio.linePreset.divider-star': 'Лінійка із зіркою',
'journey.studio.linePreset.divider-heart': 'Лінійка із серцем',
'journey.studio.linePreset.divider-dot': 'Лінійка з крапкою',
'journey.studio.kind.line': 'Лінія',
'journey.studio.edgeStyle': 'Край',
'journey.studio.edge.straight': 'Прямий',
'journey.studio.edge.zigzag': 'Зигзаг',
'journey.studio.edge.scallop': 'Фестони',
'journey.studio.edge.perforated': 'Перфорація',
'journey.studio.edge.wavy': 'Хвилястий',
'journey.studio.edge.torn': 'Рваний',
'journey.studio.edge.deckle': 'Кромка ручного паперу',
'journey.studio.edgeSize': 'Глибина',
'journey.studio.edgeUnavailable':
'Ця фігура зберігає намальований контур. Край вирізається у широких фігур: прямокутників, кіл і арок.',
'journey.studio.wobble': 'Від руки',
'journey.studio.lineCourseTitle': 'Хід',
'journey.studio.lineCourse.straight': 'Прямий',
'journey.studio.lineCourse.smooth': 'Вигнутий',
'journey.studio.lineBodyTitle': 'Тіло',
'journey.studio.lineBody.none': 'Просте',
'journey.studio.lineBody.wave': 'Хвиля',
'journey.studio.lineBody.zigzag': 'Зигзаг',
'journey.studio.linePointsHint':
'Перетягніть точку на сторінці, щоб посунути її. Потягніть маленький маркер між двома точками, щоб додати точку, двічі клацніть точку, щоб видалити її.',
'journey.studio.lineEnds': 'Кінці',
'journey.studio.lineStart': 'Початок',
'journey.studio.lineEnd': 'Кінець',
'journey.studio.cap.none': 'Без кінця',
'journey.studio.cap.arrow': 'Стрілка',
'journey.studio.cap.open': 'Відкрита стрілка',
'journey.studio.cap.dot': 'Крапка',
'journey.studio.cap.bar': 'Риска',
'journey.studio.swapEnds': 'Поміняти кінці',
'journey.studio.ornamentTitle': 'Орнамент',
'journey.studio.ornament.none': 'Немає',
'journey.studio.ornament.diamond': 'Ромб',
'journey.studio.ornament.dot': 'Крапка',
'journey.studio.ornament.star': 'Зірка',
'journey.studio.ornament.sun': 'Сонце',
'journey.studio.ornament.heart': 'Серце',
'journey.studio.addPoint': 'Потягніть, щоб додати точку',
'journey.studio.removePoint': 'Подвійне клацання, щоб видалити',
'assistant.card.book.finding.hairline': 'Лінія надто тонка для друку',
'assistant.card.book.finding.edge_unused': 'Край, який ця фігура не приймає',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+70
View File
@@ -0,0 +1,70 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': 'Mái vòm',
'journey.studio.shapeGroup.cutouts': 'Hình cắt giấy',
'journey.studio.shapeGroup.stamps': 'Tem và huy hiệu',
'journey.studio.shapeGroup.frames': 'Khung',
'journey.studio.shapeGroup.ornaments': 'Hoa văn',
'journey.studio.drawnLines': 'Đường vẽ',
'journey.studio.dividers': 'Đường phân cách',
'journey.studio.linePreset.straight': 'Đường thẳng',
'journey.studio.linePreset.arrow': 'Mũi tên',
'journey.studio.linePreset.double': 'Mũi tên hai chiều',
'journey.studio.linePreset.dashed': 'Đường gạch',
'journey.studio.linePreset.dotted': 'Đường chấm',
'journey.studio.linePreset.curved': 'Mũi tên cong',
'journey.studio.linePreset.wave': 'Đường lượn sóng',
'journey.studio.linePreset.zigzag': 'Đường zíc zắc',
'journey.studio.linePreset.hand': 'Mũi tên vẽ tay',
'journey.studio.linePreset.route': 'Lộ trình chấm',
'journey.studio.linePreset.divider-diamond': 'Đường kẻ có hình thoi',
'journey.studio.linePreset.divider-sun': 'Đường kẻ có mặt trời',
'journey.studio.linePreset.divider-star': 'Đường kẻ có ngôi sao',
'journey.studio.linePreset.divider-heart': 'Đường kẻ có trái tim',
'journey.studio.linePreset.divider-dot': 'Đường kẻ có dấu chấm',
'journey.studio.kind.line': 'Đường',
'journey.studio.edgeStyle': 'Viền',
'journey.studio.edge.straight': 'Thẳng',
'journey.studio.edge.zigzag': 'Zíc zắc',
'journey.studio.edge.scallop': 'Vỏ sò',
'journey.studio.edge.perforated': 'Răng cưa tem',
'journey.studio.edge.wavy': 'Lượn sóng',
'journey.studio.edge.torn': 'Xé',
'journey.studio.edge.deckle': 'Mép giấy thủ công',
'journey.studio.edgeSize': 'Độ sâu',
'journey.studio.edgeUnavailable':
'Hình này giữ nguyên đường viền đã vẽ. Viền được cắt theo các hình rộng như hình chữ nhật, hình tròn và mái vòm.',
'journey.studio.wobble': 'Vẽ tay',
'journey.studio.lineCourseTitle': 'Hướng đi',
'journey.studio.lineCourse.straight': 'Thẳng',
'journey.studio.lineCourse.smooth': 'Cong',
'journey.studio.lineBodyTitle': 'Thân',
'journey.studio.lineBody.none': 'Trơn',
'journey.studio.lineBody.wave': 'Sóng',
'journey.studio.lineBody.zigzag': 'Zíc zắc',
'journey.studio.linePointsHint':
'Kéo một điểm trên trang để di chuyển nó. Kéo tay nắm nhỏ giữa hai điểm để thêm một điểm, nhấp đúp vào một điểm để xóa nó.',
'journey.studio.lineEnds': 'Đầu mút',
'journey.studio.lineStart': 'Đầu',
'journey.studio.lineEnd': 'Cuối',
'journey.studio.cap.none': 'Không có đầu',
'journey.studio.cap.arrow': 'Mũi tên',
'journey.studio.cap.open': 'Mũi tên mở',
'journey.studio.cap.dot': 'Chấm',
'journey.studio.cap.bar': 'Vạch',
'journey.studio.swapEnds': 'Đổi hai đầu',
'journey.studio.ornamentTitle': 'Hoa văn',
'journey.studio.ornament.none': 'Không có',
'journey.studio.ornament.diamond': 'Hình thoi',
'journey.studio.ornament.dot': 'Chấm',
'journey.studio.ornament.star': 'Ngôi sao',
'journey.studio.ornament.sun': 'Mặt trời',
'journey.studio.ornament.heart': 'Trái tim',
'journey.studio.addPoint': 'Kéo để thêm một điểm',
'journey.studio.removePoint': 'Nhấp đúp để xóa',
'assistant.card.book.finding.hairline': 'Một đường quá mảnh để in',
'assistant.card.book.finding.edge_unused': 'Một kiểu viền hình này không nhận',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -123,6 +124,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...notif,
...oauth,
...system_notice,
+69
View File
@@ -0,0 +1,69 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': '拱形',
'journey.studio.shapeGroup.cutouts': '剪紙',
'journey.studio.shapeGroup.stamps': '郵票與徽章',
'journey.studio.shapeGroup.frames': '相框',
'journey.studio.shapeGroup.ornaments': '裝飾',
'journey.studio.drawnLines': '手繪線條',
'journey.studio.dividers': '分隔線',
'journey.studio.linePreset.straight': '直線',
'journey.studio.linePreset.arrow': '箭頭',
'journey.studio.linePreset.double': '雙向箭頭',
'journey.studio.linePreset.dashed': '虛線',
'journey.studio.linePreset.dotted': '點線',
'journey.studio.linePreset.curved': '彎曲箭頭',
'journey.studio.linePreset.wave': '波浪線',
'journey.studio.linePreset.zigzag': '鋸齒線',
'journey.studio.linePreset.hand': '手繪箭頭',
'journey.studio.linePreset.route': '點狀路線',
'journey.studio.linePreset.divider-diamond': '帶菱形的分隔線',
'journey.studio.linePreset.divider-sun': '帶太陽的分隔線',
'journey.studio.linePreset.divider-star': '帶星形的分隔線',
'journey.studio.linePreset.divider-heart': '帶愛心的分隔線',
'journey.studio.linePreset.divider-dot': '帶圓點的分隔線',
'journey.studio.kind.line': '線條',
'journey.studio.edgeStyle': '邊緣',
'journey.studio.edge.straight': '直邊',
'journey.studio.edge.zigzag': '鋸齒',
'journey.studio.edge.scallop': '扇貝邊',
'journey.studio.edge.perforated': '齒孔',
'journey.studio.edge.wavy': '波浪',
'journey.studio.edge.torn': '撕邊',
'journey.studio.edge.deckle': '毛邊紙',
'journey.studio.edgeSize': '深度',
'journey.studio.edgeUnavailable': '此形狀保留其繪製的輪廓。邊緣可沿矩形、圓形和拱形等寬闊形狀剪裁。',
'journey.studio.wobble': '手繪感',
'journey.studio.lineCourseTitle': '走向',
'journey.studio.lineCourse.straight': '直線',
'journey.studio.lineCourse.smooth': '曲線',
'journey.studio.lineBodyTitle': '線身',
'journey.studio.lineBody.none': '一般',
'journey.studio.lineBody.wave': '波浪',
'journey.studio.lineBody.zigzag': '鋸齒',
'journey.studio.linePointsHint':
'在頁面上拖曳一個點即可移動它。拉動兩點之間的小控點可新增一個點,按兩下一個點可將其移除。',
'journey.studio.lineEnds': '端點',
'journey.studio.lineStart': '起點',
'journey.studio.lineEnd': '終點',
'journey.studio.cap.none': '無端點',
'journey.studio.cap.arrow': '箭頭',
'journey.studio.cap.open': '開口箭頭',
'journey.studio.cap.dot': '圓點',
'journey.studio.cap.bar': '橫槓',
'journey.studio.swapEnds': '交換兩端',
'journey.studio.ornamentTitle': '裝飾',
'journey.studio.ornament.none': '無',
'journey.studio.ornament.diamond': '菱形',
'journey.studio.ornament.dot': '圓點',
'journey.studio.ornament.star': '星形',
'journey.studio.ornament.sun': '太陽',
'journey.studio.ornament.heart': '愛心',
'journey.studio.addPoint': '拉動以新增點',
'journey.studio.removePoint': '按兩下移除',
'assistant.card.book.finding.hairline': '線條太細,無法印刷',
'assistant.card.book.finding.edge_unused': '此形狀不支援的邊緣',
};
export default studioShapes;
+2
View File
@@ -64,6 +64,7 @@ import studioLayers from './studioLayers';
import studioPaint from './studioPaint';
import studioPhoto from './studioPhoto';
import studioStickers from './studioStickers';
import studioShapes from './studioShapes';
import system_notice from './system_notice';
import todo from './todo';
import tourCollection from './tourCollection';
@@ -124,6 +125,7 @@ const locale = {
...studioPaint,
...studioStickers,
...studioPhoto,
...studioShapes,
...oauth,
...system_notice,
...transport,
+69
View File
@@ -0,0 +1,69 @@
import type { TranslationStrings } from '../types';
/** Studio's second shelf of shapes, cut edges and drawn lines, and their two print checks. */
const studioShapes: TranslationStrings = {
'journey.studio.shapeGroup.arches': '拱形',
'journey.studio.shapeGroup.cutouts': '剪纸',
'journey.studio.shapeGroup.stamps': '邮票与徽章',
'journey.studio.shapeGroup.frames': '相框',
'journey.studio.shapeGroup.ornaments': '装饰',
'journey.studio.drawnLines': '手绘线条',
'journey.studio.dividers': '分隔线',
'journey.studio.linePreset.straight': '直线',
'journey.studio.linePreset.arrow': '箭头',
'journey.studio.linePreset.double': '双向箭头',
'journey.studio.linePreset.dashed': '虚线',
'journey.studio.linePreset.dotted': '点线',
'journey.studio.linePreset.curved': '弯曲箭头',
'journey.studio.linePreset.wave': '波浪线',
'journey.studio.linePreset.zigzag': '锯齿线',
'journey.studio.linePreset.hand': '手绘箭头',
'journey.studio.linePreset.route': '点状路线',
'journey.studio.linePreset.divider-diamond': '带菱形的分隔线',
'journey.studio.linePreset.divider-sun': '带太阳的分隔线',
'journey.studio.linePreset.divider-star': '带星形的分隔线',
'journey.studio.linePreset.divider-heart': '带爱心的分隔线',
'journey.studio.linePreset.divider-dot': '带圆点的分隔线',
'journey.studio.kind.line': '线条',
'journey.studio.edgeStyle': '边缘',
'journey.studio.edge.straight': '直边',
'journey.studio.edge.zigzag': '锯齿',
'journey.studio.edge.scallop': '扇贝边',
'journey.studio.edge.perforated': '齿孔',
'journey.studio.edge.wavy': '波浪',
'journey.studio.edge.torn': '撕边',
'journey.studio.edge.deckle': '毛边纸',
'journey.studio.edgeSize': '深度',
'journey.studio.edgeUnavailable': '此形状保留其绘制的轮廓。边缘可沿矩形、圆形和拱形等宽阔形状剪切。',
'journey.studio.wobble': '手绘感',
'journey.studio.lineCourseTitle': '走向',
'journey.studio.lineCourse.straight': '直线',
'journey.studio.lineCourse.smooth': '曲线',
'journey.studio.lineBodyTitle': '线身',
'journey.studio.lineBody.none': '普通',
'journey.studio.lineBody.wave': '波浪',
'journey.studio.lineBody.zigzag': '锯齿',
'journey.studio.linePointsHint':
'在页面上拖动一个点即可移动它。拉动两点之间的小手柄可添加一个点,双击一个点可将其删除。',
'journey.studio.lineEnds': '端点',
'journey.studio.lineStart': '起点',
'journey.studio.lineEnd': '终点',
'journey.studio.cap.none': '无端点',
'journey.studio.cap.arrow': '箭头',
'journey.studio.cap.open': '开口箭头',
'journey.studio.cap.dot': '圆点',
'journey.studio.cap.bar': '横杠',
'journey.studio.swapEnds': '交换两端',
'journey.studio.ornamentTitle': '装饰',
'journey.studio.ornament.none': '无',
'journey.studio.ornament.diamond': '菱形',
'journey.studio.ornament.dot': '圆点',
'journey.studio.ornament.star': '星形',
'journey.studio.ornament.sun': '太阳',
'journey.studio.ornament.heart': '爱心',
'journey.studio.addPoint': '拉动以添加点',
'journey.studio.removePoint': '双击删除',
'assistant.card.book.finding.hairline': '线条太细,无法印刷',
'assistant.card.book.finding.edge_unused': '此形状不支持的边缘',
};
export default studioShapes;
+5
View File
@@ -128,6 +128,11 @@ export * from './journey/journey-map.schema';
export * from './journey/trip-journal-link.schema';
export * from './book/book.schema';
export * from './book/book-fonts';
export * from './book/book-shapes-more';
export * from './book/book-line.schema';
export * from './book/book-line';
export * from './book/book-line-ops.schema';
export { bookNewLine, bookLineStyled } from './book/book-ops-line';
export * from './book/book-normalize';
export * from './book/book-schema-rev';
export * from './book/journey-stats.schema';