mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +00:00
feat(studio): photo look with border, hard shadow, zoom, mirror, adjustments, duotone and cutout
Photos get a look beyond crop, mask and frame style, in Studio and for the assistant alike: - border (width and colour, following the mask or the corner radius), a hard offset shadow and a die-cut cutout edge, all flat vector shapes in print - zoom 1 to 4 about the focal point and a left to right mirror - brightness, contrast, saturation and warmth, and a duotone; these are filters, labelled raster in print in the inspector - the print resolution of the selected photo in the inspector, with a warning under 200 dpi, measured from the original PhotoView moves out of SpreadView into its own file and uses per instance SVG ids, so a spread drawn twice keeps its clips and filters apart. The style operation takes the look, describe-spread lists it, the dpi and crop findings account for zoom and mirror, and a new raster_effect finding notes filters on a large photo. BOOK_SCHEMA_REV goes to 6.
This commit is contained in:
@@ -29,6 +29,7 @@ import {
|
||||
} from './book-op-enums';
|
||||
import { bookElementIdSchema, bookGridIdSchema, bookSpreadIdSchema } from './book-op-ids';
|
||||
import { bookPaintInSchema } from './book-paint.schema';
|
||||
import { BOOK_PHOTO_LOOK_PROPS } from './book-photo-look.schema';
|
||||
import { bookStickerIdSchema } from './book-sticker';
|
||||
import {
|
||||
MAX_BOOK_COUNTRIES,
|
||||
@@ -196,7 +197,8 @@ const METRICS = z.array(bookMetricSchema).min(1).max(7);
|
||||
* resolves them from the journey, exactly as the Travel panel does.
|
||||
*/
|
||||
export const bookElementPropsSchema = z.discriminatedUnion('kind', [
|
||||
z.strictObject({ kind: z.literal('photo'), ...PHOTO_PROPS }),
|
||||
// The photo look only here, not on `add`: a new frame is styled after it exists, and the field list stays out of the add schema twice over.
|
||||
z.strictObject({ kind: z.literal('photo'), ...PHOTO_PROPS, ...BOOK_PHOTO_LOOK_PROPS }),
|
||||
z.strictObject({ kind: z.literal('text'), ...TEXT_PROPS }),
|
||||
z.strictObject({ kind: z.literal('shape'), shape: bookShapeIdSchema.optional(), ...SHAPE_PROPS }),
|
||||
z.strictObject({ kind: z.literal('icon'), ...ICON_PROPS }),
|
||||
|
||||
@@ -4,6 +4,7 @@ import { bookFontCountsInMix, bookFontsUsed } from './book-fonts';
|
||||
import { visibleSpread } from './book-groups';
|
||||
import type { BookPhotoInfo } from './book-ops-core';
|
||||
import { BOOK_OP_LIMITS, type BookFinding } from './book-ops.schema';
|
||||
import { photoZoomBox, photoZoomOf } from './book-photo-look';
|
||||
import type { BookDocument, BookElement, BookFrame, BookPageSetup, BookPhotoElement, BookSpread } from './book.schema';
|
||||
|
||||
/**
|
||||
@@ -42,7 +43,7 @@ const centreIn = (b: Box, px: number, py: number) => px >= b.x && px <= b.x + b.
|
||||
*/
|
||||
export function bookPhotoCrop(el: BookPhotoElement, info: BookPhotoInfo | undefined): Box | null {
|
||||
if (!info?.width || !info.height) return null;
|
||||
const f = el.frame;
|
||||
const f = photoZoomBox(el.frame, photoZoomOf(el), el.focalX, el.focalY);
|
||||
const pick = el.fit === 'contain' ? Math.min : Math.max;
|
||||
const scale = pick(f.w / info.width, f.h / info.height);
|
||||
const w = info.width * scale;
|
||||
@@ -64,7 +65,9 @@ export function bookBusyUnder(el: BookPhotoElement, info: BookPhotoInfo | undefi
|
||||
const crop = bookPhotoCrop(el, info);
|
||||
const grid = info?.busy;
|
||||
if (!crop || !grid || grid.length !== 64) return null;
|
||||
const onPhoto = overlap(box, el.frame);
|
||||
// A mirrored picture shows under the box what lies under its mirror image.
|
||||
const under = el.flipX ? { ...box, x: 2 * el.frame.x + el.frame.w - box.x - box.w } : box;
|
||||
const onPhoto = overlap(under, el.frame);
|
||||
const area = onPhoto && overlap(onPhoto, crop);
|
||||
if (!area) return null;
|
||||
const cw = crop.w / 8;
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
import type { BookFinding } from './book-ops.schema';
|
||||
import { photoLookOf } from './book-photo-look';
|
||||
import type { BookPageSetup, BookSpread } from './book.schema';
|
||||
|
||||
/**
|
||||
* What the photo look (book-photo-look.schema.ts) is worth knowing about on a
|
||||
* proof.
|
||||
*
|
||||
* Adjustments and a duotone are drawn through filters, and a filtered picture
|
||||
* goes to the printer as a raster the browser made rather than as the
|
||||
* original's own pixels. On a small picture nobody sees the difference; on a
|
||||
* picture a quarter of a page or larger it can print softer than the same
|
||||
* picture without the filter, so the finding says so, as context.
|
||||
*/
|
||||
|
||||
/** The share of one page a filtered picture covers before the finding speaks. */
|
||||
const RASTER_EFFECT_SHARE = 0.25;
|
||||
|
||||
export function photoLookChecks(spread: BookSpread, page: BookPageSetup): BookFinding[] {
|
||||
const pageArea = page.pageWidth * page.pageHeight;
|
||||
if (pageArea <= 0) return [];
|
||||
const out: BookFinding[] = [];
|
||||
for (const el of spread.elements) {
|
||||
if (el.kind !== 'photo' || el.photoId == null) continue;
|
||||
const look = photoLookOf(el);
|
||||
const what = [look.adjust ? 'adjustments' : null, look.duotone ? 'a duotone' : null].filter(Boolean);
|
||||
if (!what.length) continue;
|
||||
const share = (el.frame.w * el.frame.h) / pageArea;
|
||||
if (share < RASTER_EFFECT_SHARE) continue;
|
||||
out.push({
|
||||
code: 'raster_effect',
|
||||
severity: 'info',
|
||||
elementIds: [el.id],
|
||||
message: `photo ${el.id} carries ${what.join(' and ')} over ${Math.round(share * 100)}% of a page; filters print as a raster and can look softer than the original, drop them where the picture should stay sharp`,
|
||||
});
|
||||
}
|
||||
return out;
|
||||
}
|
||||
@@ -1,9 +1,11 @@
|
||||
import { bookVisiblePart, sortBookFindings } from './book-findings-design';
|
||||
import { photoLookChecks } from './book-findings-photo';
|
||||
import { stickerFindings } from './book-findings-sticker';
|
||||
import { bookFontFace } from './book-fonts';
|
||||
import { visibleSpread } from './book-groups';
|
||||
import type { BookPhotoInfo } from './book-ops-core';
|
||||
import type { BookFinding } from './book-ops.schema';
|
||||
import { photoZoomOf } from './book-photo-look';
|
||||
import type { BookElement, BookPageSetup, BookPhotoElement, BookSpread, BookTextElement } from './book.schema';
|
||||
|
||||
/**
|
||||
@@ -66,7 +68,8 @@ export function photoDpi(el: BookPhotoElement, info: BookPhotoInfo | undefined):
|
||||
el.fit === 'contain'
|
||||
? Math.min(el.frame.w / info.width, el.frame.h / info.height)
|
||||
: Math.max(el.frame.w / info.width, el.frame.h / info.height);
|
||||
return Math.round(25.4 / mmPerPx);
|
||||
// A zoomed picture spreads each pixel over that many times the paper.
|
||||
return Math.round(25.4 / (mmPerPx * photoZoomOf(el)));
|
||||
}
|
||||
|
||||
/** Average letter width per em at weight 400, per family: the catalogue's measure (book-fonts.data.ts). */
|
||||
@@ -504,6 +507,7 @@ export function spreadFindings(
|
||||
emptyFrames(ctx);
|
||||
overflow(ctx);
|
||||
photoChecks(ctx);
|
||||
ctx.out.push(...photoLookChecks(spread, page));
|
||||
parked(ctx);
|
||||
for (const f of stickerFindings(spread)) add(ctx, f);
|
||||
return sortBookFindings(ctx.out);
|
||||
|
||||
@@ -19,6 +19,7 @@ import {
|
||||
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 {
|
||||
bookBadgeValue,
|
||||
bookCountryMark,
|
||||
@@ -139,6 +140,7 @@ function statsOf(env: ElementOpEnv) {
|
||||
}
|
||||
|
||||
/** The look fields a kind takes, from the props schema, so `add` and `style` set exactly what `style` may set. */
|
||||
const PHOTO_LOOK_KEYS = new Set<string>(BOOK_PHOTO_LOOK_KEYS);
|
||||
const PROP_KEYS = new Map(bookElementPropsSchema.options.map((o) => [o.shape.kind.value, lookKeys(o.shape)]));
|
||||
|
||||
function lookKeys(shape: object): string[] {
|
||||
@@ -156,6 +158,11 @@ function withProps(el: BookElement, props: Record<string, unknown>): BookElement
|
||||
for (const key of keys) {
|
||||
const value = props[key];
|
||||
if (value === undefined || key === 'paint') continue;
|
||||
// A photo look part set to null is turned off, which leaves it out of the document.
|
||||
if (value === null && PHOTO_LOOK_KEYS.has(key)) {
|
||||
delete next[key];
|
||||
continue;
|
||||
}
|
||||
next[key] = (key === 'radius' || key === 'strokeWidth') && typeof value === 'number' ? round2(value) : value;
|
||||
}
|
||||
const made = withRealWeight(next as unknown as BookElement);
|
||||
|
||||
@@ -412,6 +412,7 @@ export const BOOK_FINDING_CODES = [
|
||||
'font_mix',
|
||||
'palette_drift',
|
||||
'repeat_layout',
|
||||
'raster_effect',
|
||||
] as const;
|
||||
export type BookFindingCode = (typeof BOOK_FINDING_CODES)[number];
|
||||
|
||||
|
||||
@@ -0,0 +1,104 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
/**
|
||||
* The photo look: what a picture wears beyond its crop, mask and frame style.
|
||||
*
|
||||
* - `border`: a band of one colour along the inside of the frame, `width`
|
||||
* millimetres deep, following the mask when the picture is cut to a shape
|
||||
* (the 3 to 6 mm white border of a postcard print).
|
||||
* - `shadow`: a hard copy of the picture's outline in one colour, offset by
|
||||
* `dx`/`dy` millimetres and drawn behind it at `alpha`. No blur, so it prints
|
||||
* as vector like everything else on the page.
|
||||
* - `zoom`: 1 to 4 times the crop the fit gives, centred on the focal point,
|
||||
* so the focal point keeps meaning what it meant.
|
||||
* - `flipX`: the picture mirrored left to right inside its frame; the frame,
|
||||
* the mask and the border stay as they are.
|
||||
* - `adjust`: brightness, contrast, saturation and warmth, each -1 to 1 with 0
|
||||
* as shot. Drawn as filters, so the picture prints as a raster.
|
||||
* - `duotone`: the picture's tones mapped from `dark` to `light`, also a
|
||||
* filter and also raster in print.
|
||||
* - `cutout`: a die-cut edge, the outline of the mask (or of the rounded
|
||||
* rectangle) grown by `width` millimetres and filled behind the picture: the
|
||||
* sticker look.
|
||||
*
|
||||
* Every field is optional and null means off, so a document from before them
|
||||
* reads as it always did and an older reader that drops them still draws the
|
||||
* picture. A value the reader cannot read falls back to off rather than
|
||||
* failing the photo or its page.
|
||||
*/
|
||||
|
||||
const hex = z.string().regex(/^#[0-9a-fA-F]{6}$/, 'expected #rrggbb');
|
||||
|
||||
/** The zoom range, against the crop the fit gives on its own. */
|
||||
export const PHOTO_ZOOM = { min: 1, max: 4 } as const;
|
||||
/** How deep a border or a cutout may be, in millimetres. */
|
||||
export const PHOTO_EDGE_MAX = 30;
|
||||
/** How far a hard shadow may fall, in millimetres either way. */
|
||||
export const PHOTO_SHADOW_REACH = 30;
|
||||
|
||||
type ObjectFactory = typeof z.object | typeof z.strictObject;
|
||||
|
||||
/**
|
||||
* The parts, built once for the document (plain objects, which drop a field
|
||||
* they do not know, as the rest of the document does) and once for the
|
||||
* operations (strict, as every operation is), so the two cannot drift.
|
||||
*/
|
||||
function lookSchemas(obj: ObjectFactory) {
|
||||
const edge = obj({ width: z.number().min(0.1).max(PHOTO_EDGE_MAX), color: hex });
|
||||
const reach = z.number().finite().min(-PHOTO_SHADOW_REACH).max(PHOTO_SHADOW_REACH);
|
||||
const signed = z.number().min(-1).max(1).optional();
|
||||
return {
|
||||
edge,
|
||||
shadow: obj({ dx: reach, dy: reach, color: hex, alpha: z.number().min(0).max(1) }),
|
||||
zoom: z.number().min(PHOTO_ZOOM.min).max(PHOTO_ZOOM.max),
|
||||
adjust: obj({ brightness: signed, contrast: signed, saturation: signed, warmth: signed }),
|
||||
duotone: obj({ dark: hex, light: hex }),
|
||||
};
|
||||
}
|
||||
|
||||
const doc = lookSchemas(z.object);
|
||||
|
||||
export const bookPhotoEdgeSchema = doc.edge;
|
||||
export const bookPhotoShadowSchema = doc.shadow;
|
||||
export const bookPhotoAdjustSchema = doc.adjust;
|
||||
export const bookPhotoDuotoneSchema = doc.duotone;
|
||||
export type BookPhotoEdge = z.infer<typeof bookPhotoEdgeSchema>;
|
||||
export type BookPhotoShadow = z.infer<typeof bookPhotoShadowSchema>;
|
||||
export type BookPhotoAdjust = z.infer<typeof bookPhotoAdjustSchema>;
|
||||
export type BookPhotoDuotone = z.infer<typeof bookPhotoDuotoneSchema>;
|
||||
|
||||
/** Optional, null for off, and off again when the stored value cannot be read. */
|
||||
const field = <T extends z.ZodType>(schema: T) => schema.nullable().optional().catch(undefined);
|
||||
|
||||
/** The fields a photo element carries, spread into its schema in book.schema.ts. */
|
||||
export const BOOK_PHOTO_LOOK_FIELDS = {
|
||||
border: field(doc.edge),
|
||||
shadow: field(doc.shadow),
|
||||
zoom: doc.zoom.optional().catch(undefined),
|
||||
flipX: z.boolean().optional().catch(undefined),
|
||||
adjust: field(doc.adjust),
|
||||
duotone: field(doc.duotone),
|
||||
cutout: field(doc.edge),
|
||||
};
|
||||
|
||||
/** The names of the look fields, for the operations that take any of them. */
|
||||
export const BOOK_PHOTO_LOOK_KEYS = Object.keys(BOOK_PHOTO_LOOK_FIELDS) as (keyof typeof BOOK_PHOTO_LOOK_FIELDS)[];
|
||||
|
||||
const ops = lookSchemas(z.strictObject);
|
||||
|
||||
/**
|
||||
* The look fields as the `style` operation takes them. Short descriptions on
|
||||
* purpose: the page edit's tool schema is held under a size ceiling.
|
||||
*/
|
||||
export const BOOK_PHOTO_LOOK_PROPS = {
|
||||
border: ops.edge.nullable().optional().describe('A band inside the frame edge, width mm; null removes it.'),
|
||||
shadow: ops.shadow.nullable().optional().describe('A hard offset shadow, dx/dy mm, alpha 0..1; null removes it.'),
|
||||
zoom: ops.zoom.optional().describe('1 to 4 times the crop, about the focal point.'),
|
||||
flipX: z.boolean().optional().describe('Mirror the picture left to right.'),
|
||||
adjust: ops.adjust
|
||||
.nullable()
|
||||
.optional()
|
||||
.describe('Each -1..1, 0 or left out is as shot; prints as raster. null resets.'),
|
||||
duotone: ops.duotone.nullable().optional().describe('Tones mapped from dark to light; prints as raster.'),
|
||||
cutout: ops.edge.nullable().optional().describe('A die-cut edge grown width mm around the shape, behind the photo.'),
|
||||
};
|
||||
@@ -0,0 +1,247 @@
|
||||
import { photoDpi, spreadFindings } from './book-findings';
|
||||
import { bookBusyUnder, bookPhotoCrop, bookVisiblePart } from './book-findings-design';
|
||||
import { photoLookChecks } from './book-findings-photo';
|
||||
import { normalizeBookDocument } from './book-normalize';
|
||||
import { applyBookOps } from './book-ops';
|
||||
import { bookPageOpSchema } from './book-ops.schema';
|
||||
import { blankBook } from './book-pages';
|
||||
import {
|
||||
PHOTO_LOOK_STARTS,
|
||||
photoAdjustOf,
|
||||
photoLookIsRaster,
|
||||
photoLookOf,
|
||||
photoLookWords,
|
||||
photoZoomBox,
|
||||
photoZoomOf,
|
||||
} from './book-photo-look';
|
||||
import { BOOK_PHOTO_LOOK_KEYS, PHOTO_ZOOM } from './book-photo-look.schema';
|
||||
import {
|
||||
bookPageSetupSchema,
|
||||
bookPhotoElementSchema,
|
||||
type BookDocument,
|
||||
type BookPhotoElement,
|
||||
type BookSpread,
|
||||
} from './book.schema';
|
||||
import { describeSpread } from './describe-spread';
|
||||
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
/**
|
||||
* The photo look: border, hard shadow, zoom, mirror, adjustments, duotone and
|
||||
* cutout. How the document reads them (and what it does with one it cannot
|
||||
* read), how the findings and the words for a model take them into account,
|
||||
* and how the page edit sets and clears them.
|
||||
*/
|
||||
|
||||
const frame = { x: 230, y: 20, w: 80, h: 60 };
|
||||
const photo = (over: Record<string, unknown> = {}): BookPhotoElement =>
|
||||
bookPhotoElementSchema.parse({ id: 'p1', kind: 'photo', frame, photoId: 1, ...over });
|
||||
const page = bookPageSetupSchema.parse({});
|
||||
const info = { photoId: 1, width: 4000, height: 3000 };
|
||||
|
||||
function book(elements: BookPhotoElement[]): BookDocument {
|
||||
const doc = blankBook({ title: 'Iceland', newId: (p) => `${p}-x` });
|
||||
const spreads = doc.spreads.map((s, i) => ({ ...s, id: i === 2 ? 'sp-in' : `sp-${i}` }));
|
||||
spreads[2] = { ...(spreads[2] as BookSpread), elements };
|
||||
return { ...doc, spreads };
|
||||
}
|
||||
const inner = (doc: BookDocument) => doc.spreads[2] as BookSpread;
|
||||
const style = (doc: BookDocument, set: Record<string, unknown>) =>
|
||||
applyBookOps(
|
||||
doc,
|
||||
{ spreadId: 'sp-in', ops: [{ op: 'style', elementId: 'p1', set: { kind: 'photo', ...set } }] },
|
||||
{
|
||||
newId: (p) => `${p}-n`,
|
||||
photos: [info],
|
||||
},
|
||||
);
|
||||
|
||||
describe('the photo look in the document', () => {
|
||||
it('BKLOOK-001: a photo from before the look reads with every part off', () => {
|
||||
const plain = photo();
|
||||
for (const key of BOOK_PHOTO_LOOK_KEYS) expect(plain[key]).toBeUndefined();
|
||||
expect(photoLookOf(plain)).toEqual({
|
||||
border: null,
|
||||
shadow: null,
|
||||
zoom: 1,
|
||||
flipX: false,
|
||||
adjust: null,
|
||||
duotone: null,
|
||||
cutout: null,
|
||||
});
|
||||
expect(photoLookIsRaster(plain)).toBe(false);
|
||||
expect(photoLookWords(plain)).toEqual([]);
|
||||
});
|
||||
|
||||
it('BKLOOK-002: keeps every part it can read, and turns off a part it cannot rather than losing the photo', () => {
|
||||
const look = {
|
||||
border: { width: 4, color: '#ffffff' },
|
||||
shadow: { dx: 2, dy: -1.5, color: '#1a1a1a', alpha: 0.4 },
|
||||
zoom: 1.8,
|
||||
flipX: true,
|
||||
adjust: { brightness: 0.2, warmth: -0.3 },
|
||||
duotone: { dark: '#1e3a8a', light: '#f5e6c8' },
|
||||
cutout: { width: 3, color: '#ffeedd' },
|
||||
};
|
||||
expect(photo(look)).toMatchObject(look);
|
||||
const odd = photo({
|
||||
border: { width: 900, color: '#fff' },
|
||||
zoom: 9,
|
||||
flipX: 'yes',
|
||||
adjust: { brightness: 4 },
|
||||
cutout: 'thick',
|
||||
duotone: null,
|
||||
});
|
||||
expect(odd.border).toBeUndefined();
|
||||
expect(odd.zoom).toBeUndefined();
|
||||
expect(odd.flipX).toBeUndefined();
|
||||
expect(odd.adjust).toBeUndefined();
|
||||
expect(odd.cutout).toBeUndefined();
|
||||
expect(odd.duotone).toBeNull();
|
||||
expect(odd.photoId).toBe(1);
|
||||
});
|
||||
|
||||
it('BKLOOK-003: a stored book with a look survives normalising whole', () => {
|
||||
const doc = book([photo({ border: { width: 5, color: '#ffffff' }, zoom: 2 })]);
|
||||
const read = normalizeBookDocument(JSON.parse(JSON.stringify(doc)));
|
||||
expect(inner(read).elements[0]).toMatchObject({ border: { width: 5, color: '#ffffff' }, zoom: 2 });
|
||||
});
|
||||
});
|
||||
|
||||
describe('reading the look', () => {
|
||||
it('BKLOOK-004: an adjustment that moves nothing is none, and a partial one names every part', () => {
|
||||
expect(photoAdjustOf(undefined)).toBeNull();
|
||||
expect(photoAdjustOf({ brightness: 0, contrast: 0 })).toBeNull();
|
||||
expect(photoAdjustOf({ contrast: 0.5 })).toEqual({ brightness: 0, contrast: 0.5, saturation: 0, warmth: 0 });
|
||||
expect(photoLookIsRaster(photo({ adjust: { saturation: -1 } }))).toBe(true);
|
||||
expect(photoLookIsRaster(photo({ duotone: PHOTO_LOOK_STARTS.duotone }))).toBe(true);
|
||||
expect(photoLookIsRaster(photo({ border: PHOTO_LOOK_STARTS.border, cutout: PHOTO_LOOK_STARTS.cutout }))).toBe(
|
||||
false,
|
||||
);
|
||||
});
|
||||
|
||||
it('BKLOOK-005: the zoom stays inside its range, and the zoom box keeps the focal point where it was', () => {
|
||||
expect(photoZoomOf({ zoom: undefined })).toBe(PHOTO_ZOOM.min);
|
||||
expect(photoZoomOf({ zoom: Number.NaN })).toBe(PHOTO_ZOOM.min);
|
||||
expect(photoZoomOf({ zoom: 2.5 })).toBe(2.5);
|
||||
expect(photoZoomOf({ zoom: 12 })).toBe(PHOTO_ZOOM.max);
|
||||
expect(photoZoomBox(frame, 1, 0.3, 0.7)).toBe(frame);
|
||||
const box = photoZoomBox(frame, 2, 0.25, 0.75);
|
||||
expect(box).toEqual({ x: 210, y: -25, w: 160, h: 120 });
|
||||
// The focal point, as a fraction of the zoomed box, lands on the same place of the frame.
|
||||
expect(box.x + box.w * 0.25).toBe(frame.x + frame.w * 0.25);
|
||||
expect(box.y + box.h * 0.75).toBe(frame.y + frame.h * 0.75);
|
||||
});
|
||||
|
||||
it('BKLOOK-006: says every part a photo wears, with the filters marked as raster in print', () => {
|
||||
const words = photoLookWords(
|
||||
photo({
|
||||
border: { width: 4, color: '#ffffff' },
|
||||
shadow: { dx: 2, dy: 2.04, color: '#1a1a1a', alpha: 0.35 },
|
||||
zoom: 1.5,
|
||||
flipX: true,
|
||||
adjust: { brightness: 0.2, contrast: -0.1 },
|
||||
duotone: { dark: '#000000', light: '#ffffff' },
|
||||
cutout: { width: 3, color: '#ffffff' },
|
||||
}),
|
||||
);
|
||||
expect(words).toEqual([
|
||||
'border 4 mm #ffffff',
|
||||
'hard shadow 2/2 mm #1a1a1a at 35%',
|
||||
'zoom x1.5',
|
||||
'mirrored',
|
||||
'adjusted brightness +0.2 contrast -0.1 (raster in print)',
|
||||
'duotone #000000 to #ffffff (raster in print)',
|
||||
'cutout 3 mm #ffffff',
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
describe('the findings with a look', () => {
|
||||
it('BKLOOK-007: a zoomed picture prints at the resolution its zoom leaves it', () => {
|
||||
const plain = photoDpi(photo(), info);
|
||||
const zoomed = photoDpi(photo({ zoom: 2 }), info);
|
||||
expect(plain).toBe(1270);
|
||||
expect(zoomed).toBe(635);
|
||||
const big = photo({ frame: { x: 0, y: 0, w: 400, h: 300 }, zoom: 2 });
|
||||
expect(spreadFindings({ ...inner(book([big])) }, page, [info]).map((f) => f.code)).toContain('low_dpi');
|
||||
});
|
||||
|
||||
it('BKLOOK-008: the crop and the visible part follow the zoom, and a mirrored picture reads its busy grid mirrored', () => {
|
||||
const zoomed = photo({ zoom: 2, focalX: 0, focalY: 0 });
|
||||
expect(bookPhotoCrop(zoomed, info)).toEqual({ x: 230, y: 20, w: 160, h: 120 });
|
||||
expect(bookVisiblePart(zoomed, info)).toEqual({ x: 0, y: 0, w: 0.5, h: 0.5 });
|
||||
// Busy in the left quarter of the picture, calm everywhere else.
|
||||
const busy = 'ff000000'.repeat(8);
|
||||
const left = { x: 230, y: 20, w: 15, h: 60 };
|
||||
const square = { photoId: 1, width: 3000, height: 3000, busy };
|
||||
const sq = { frame: { x: 230, y: 20, w: 60, h: 60 } };
|
||||
expect(bookBusyUnder(photo(sq), square, left)).toBe(15);
|
||||
expect(bookBusyUnder(photo({ ...sq, flipX: true }), square, left)).toBe(0);
|
||||
});
|
||||
|
||||
it('BKLOOK-009: a filtered picture over a quarter of a page is worth a word, a small one and an unfiltered one are not', () => {
|
||||
const large = photo({ frame: { x: 230, y: 20, w: 150, h: 150 }, adjust: { contrast: 0.3 } });
|
||||
const both = photo({
|
||||
id: 'p2',
|
||||
frame: { x: 0, y: 0, w: 210, h: 210 },
|
||||
adjust: { warmth: 1 },
|
||||
duotone: PHOTO_LOOK_STARTS.duotone,
|
||||
});
|
||||
const small = photo({ id: 'p3', adjust: { contrast: 0.3 } });
|
||||
const plain = photo({ id: 'p4', frame: { x: 0, y: 0, w: 210, h: 210 } });
|
||||
const empty = photo({ id: 'p5', photoId: null, frame: { x: 0, y: 0, w: 210, h: 210 }, adjust: { contrast: 1 } });
|
||||
const spread = inner(book([large, both, small, plain, empty]));
|
||||
const found = photoLookChecks(spread, page);
|
||||
expect(found.map((f) => f.elementIds[0])).toEqual(['p1', 'p2']);
|
||||
expect(found[0]).toMatchObject({ code: 'raster_effect', severity: 'info' });
|
||||
expect(found[1]?.message).toContain('adjustments and a duotone');
|
||||
expect(found.every((f) => f.message.length <= 300)).toBe(true);
|
||||
expect(photoLookChecks(spread, { ...page, pageWidth: 0 })).toEqual([]);
|
||||
expect(spreadFindings(inner(book([large])), page).map((f) => f.code)).toContain('raster_effect');
|
||||
});
|
||||
|
||||
it('BKLOOK-010: describe-spread lists the look beside the crop', () => {
|
||||
const doc = book([photo({ border: { width: 4, color: '#ffffff' }, flipX: true })]);
|
||||
const text = describeSpread(doc, 'sp-in', [info])?.text ?? '';
|
||||
expect(text).toContain('border 4 mm #ffffff');
|
||||
expect(text).toContain('mirrored');
|
||||
});
|
||||
});
|
||||
|
||||
describe('setting the look from the page edit', () => {
|
||||
it('BKLOOK-011: style sets every part, and null turns a part off by leaving it out', () => {
|
||||
const set = {
|
||||
border: { width: 6, color: '#ffffff' },
|
||||
shadow: { dx: 3, dy: 3, color: '#000000', alpha: 0.5 },
|
||||
zoom: 1.4,
|
||||
flipX: true,
|
||||
adjust: { brightness: 0.1 },
|
||||
duotone: { dark: '#112233', light: '#ddeeff' },
|
||||
cutout: { width: 2, color: '#ffffff' },
|
||||
};
|
||||
const result = style(book([photo()]), set);
|
||||
if (!result.ok) throw new Error(result.error.message);
|
||||
expect(inner(result.doc).elements[0]).toMatchObject(set);
|
||||
|
||||
const off = style(result.doc, { border: null, shadow: null, adjust: null, duotone: null, cutout: null });
|
||||
if (!off.ok) throw new Error(off.error.message);
|
||||
const el = inner(off.doc).elements[0] as BookPhotoElement;
|
||||
for (const key of ['border', 'shadow', 'adjust', 'duotone', 'cutout']) expect(key in el).toBe(false);
|
||||
expect(el).toMatchObject({ zoom: 1.4, flipX: true });
|
||||
});
|
||||
|
||||
it('BKLOOK-012: the page edit refuses a look outside the format', () => {
|
||||
const op = (set: Record<string, unknown>) =>
|
||||
bookPageOpSchema.safeParse({ op: 'style', elementId: 'p1', set: { kind: 'photo', ...set } }).success;
|
||||
expect(op({ zoom: 2 })).toBe(true);
|
||||
expect(op({ zoom: 5 })).toBe(false);
|
||||
expect(op({ border: { width: 40, color: '#ffffff' } })).toBe(false);
|
||||
expect(op({ shadow: { dx: 2, dy: 2, color: '#000000', alpha: 2 } })).toBe(false);
|
||||
expect(op({ adjust: { brightness: 0.5, glow: 1 } })).toBe(false);
|
||||
expect(op({ duotone: { dark: 'navy', light: '#ffffff' } })).toBe(false);
|
||||
// The look is styled onto a frame that exists, so a new one takes none of it.
|
||||
const add = { op: 'add', element: { kind: 'photo', zoom: 2 } };
|
||||
expect(bookPageOpSchema.safeParse(add).success).toBe(false);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,138 @@
|
||||
import {
|
||||
BOOK_PHOTO_LOOK_KEYS,
|
||||
PHOTO_ZOOM,
|
||||
type BookPhotoAdjust,
|
||||
type BookPhotoDuotone,
|
||||
type BookPhotoEdge,
|
||||
type BookPhotoShadow,
|
||||
} from './book-photo-look.schema';
|
||||
import type { BookFrame, BookPhotoElement } from './book.schema';
|
||||
|
||||
/**
|
||||
* Reading the photo look (book-photo-look.schema.ts) the way the renderer,
|
||||
* the findings and the words for a model all read it: off where a field is
|
||||
* missing or null, an adjustment that changes nothing counted as none, the
|
||||
* zoom clamped to what the format allows.
|
||||
*/
|
||||
|
||||
/** The four adjustments, in the order the inspector lists them. */
|
||||
export const PHOTO_ADJUSTMENTS = ['brightness', 'contrast', 'saturation', 'warmth'] as const;
|
||||
export type PhotoAdjustment = (typeof PHOTO_ADJUSTMENTS)[number];
|
||||
|
||||
/** The look of one photo, every part resolved. */
|
||||
export interface PhotoLook {
|
||||
border: BookPhotoEdge | null;
|
||||
shadow: BookPhotoShadow | null;
|
||||
zoom: number;
|
||||
flipX: boolean;
|
||||
/** Null when every adjustment is 0. */
|
||||
adjust: Required<BookPhotoAdjust> | null;
|
||||
duotone: BookPhotoDuotone | null;
|
||||
cutout: BookPhotoEdge | null;
|
||||
}
|
||||
|
||||
type LookSource = Pick<BookPhotoElement, (typeof BOOK_PHOTO_LOOK_KEYS)[number]>;
|
||||
|
||||
/** The adjustments with every one named, or null when none of them moves the picture. */
|
||||
export function photoAdjustOf(adjust: BookPhotoAdjust | null | undefined): Required<BookPhotoAdjust> | null {
|
||||
if (!adjust) return null;
|
||||
const full = {
|
||||
brightness: adjust.brightness ?? 0,
|
||||
contrast: adjust.contrast ?? 0,
|
||||
saturation: adjust.saturation ?? 0,
|
||||
warmth: adjust.warmth ?? 0,
|
||||
};
|
||||
return PHOTO_ADJUSTMENTS.some((k) => full[k] !== 0) ? full : null;
|
||||
}
|
||||
|
||||
/** The zoom a photo is drawn at: 1 when unset, inside the format's range otherwise. */
|
||||
export function photoZoomOf(el: Pick<BookPhotoElement, 'zoom'>): number {
|
||||
const z = el.zoom;
|
||||
if (typeof z !== 'number' || !Number.isFinite(z)) return PHOTO_ZOOM.min;
|
||||
return Math.min(PHOTO_ZOOM.max, Math.max(PHOTO_ZOOM.min, z));
|
||||
}
|
||||
|
||||
export function photoLookOf(el: LookSource): PhotoLook {
|
||||
return {
|
||||
border: el.border ?? null,
|
||||
shadow: el.shadow ?? null,
|
||||
zoom: photoZoomOf(el),
|
||||
flipX: el.flipX === true,
|
||||
adjust: photoAdjustOf(el.adjust),
|
||||
duotone: el.duotone ?? null,
|
||||
cutout: el.cutout ?? null,
|
||||
};
|
||||
}
|
||||
|
||||
/** Whether the look draws the picture through a filter, which prints it as a raster. */
|
||||
export function photoLookIsRaster(el: LookSource): boolean {
|
||||
const look = photoLookOf(el);
|
||||
return look.adjust !== null || look.duotone !== null;
|
||||
}
|
||||
|
||||
/**
|
||||
* The box the picture is fitted into, in the frame's own coordinates: the
|
||||
* frame itself at zoom 1, and at zoom z a box z times its size placed so the
|
||||
* focal point sits where it sat. That is what keeps a focal point meaning the
|
||||
* same part of the picture at every zoom.
|
||||
*/
|
||||
export function photoZoomBox(frame: BookFrame, zoom: number, focalX: number, focalY: number): BookFrame {
|
||||
if (zoom <= 1) return frame;
|
||||
return {
|
||||
x: frame.x - (zoom - 1) * frame.w * focalX,
|
||||
y: frame.y - (zoom - 1) * frame.h * focalY,
|
||||
w: frame.w * zoom,
|
||||
h: frame.h * zoom,
|
||||
};
|
||||
}
|
||||
|
||||
const n = (v: number) => `${Math.round(v * 10) / 10}`;
|
||||
const signed = (v: number) => `${v > 0 ? '+' : ''}${Math.round(v * 100) / 100}`;
|
||||
|
||||
/** The look in words, for a model reading a page; empty when the photo wears none of it. */
|
||||
export function photoLookWords(el: LookSource): string[] {
|
||||
const look = photoLookOf(el);
|
||||
const parts: string[] = [];
|
||||
if (look.border) parts.push(`border ${n(look.border.width)} mm ${look.border.color}`);
|
||||
if (look.shadow) {
|
||||
const s = look.shadow;
|
||||
parts.push(`hard shadow ${n(s.dx)}/${n(s.dy)} mm ${s.color} at ${Math.round(s.alpha * 100)}%`);
|
||||
}
|
||||
if (look.zoom > 1) parts.push(`zoom x${Math.round(look.zoom * 100) / 100}`);
|
||||
if (look.flipX) parts.push('mirrored');
|
||||
if (look.adjust) {
|
||||
const a = look.adjust;
|
||||
const moved = PHOTO_ADJUSTMENTS.filter((k) => a[k] !== 0).map((k) => `${k} ${signed(a[k])}`);
|
||||
parts.push(`adjusted ${moved.join(' ')} (raster in print)`);
|
||||
}
|
||||
if (look.duotone) parts.push(`duotone ${look.duotone.dark} to ${look.duotone.light} (raster in print)`);
|
||||
if (look.cutout) parts.push(`cutout ${n(look.cutout.width)} mm ${look.cutout.color}`);
|
||||
return parts;
|
||||
}
|
||||
|
||||
/**
|
||||
* Where a part of the look starts when someone turns it on: a white print
|
||||
* border, a soft-black shadow down and to the right, a white die-cut edge,
|
||||
* and a navy to sand duotone. Print ink, not app chrome, which is why they
|
||||
* live here rather than in the theme.
|
||||
*/
|
||||
export const PHOTO_LOOK_STARTS = {
|
||||
border: { width: 4, color: '#ffffff' },
|
||||
shadow: { dx: 2, dy: 2, color: '#1a1a1a', alpha: 0.35 },
|
||||
cutout: { width: 3, color: '#ffffff' },
|
||||
duotone: { dark: '#1e3a8a', light: '#f5e6c8' },
|
||||
} as const satisfies {
|
||||
border: BookPhotoEdge;
|
||||
shadow: BookPhotoShadow;
|
||||
cutout: BookPhotoEdge;
|
||||
duotone: BookPhotoDuotone;
|
||||
};
|
||||
|
||||
/** The duotones the inspector offers in one press, dark ink first: navy on sand, ink on paper, plum, forest, wine. */
|
||||
export const PHOTO_DUOTONES = [
|
||||
{ dark: '#1e3a8a', light: '#f5e6c8' },
|
||||
{ dark: '#141414', light: '#f4efe6' },
|
||||
{ dark: '#4c1d95', light: '#fbcfb8' },
|
||||
{ dark: '#0f3d2e', light: '#e6efd6' },
|
||||
{ dark: '#9f1239', light: '#fde68a' },
|
||||
] as const satisfies readonly BookPhotoDuotone[];
|
||||
@@ -35,8 +35,9 @@ import type { BookDocument } from './book.schema';
|
||||
* - 3: paint on shapes and pages (`paint`, `backgroundPaint`, book-paint.schema.ts).
|
||||
* - 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).
|
||||
*/
|
||||
export const BOOK_SCHEMA_REV = 5;
|
||||
export const BOOK_SCHEMA_REV = 6;
|
||||
|
||||
/** 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';
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { BOOK_FONTS_IDS, BOOK_WEIGHTS, type BookFontFamily } from './book-fonts.data';
|
||||
import { bookPaintFieldSchema } from './book-paint.schema';
|
||||
import { BOOK_PHOTO_LOOK_FIELDS } from './book-photo-look.schema';
|
||||
import { MAX_STICKER_SLOTS } from './stickers/sticker-types';
|
||||
|
||||
import { z } from 'zod';
|
||||
@@ -253,6 +254,8 @@ export const bookPhotoElementSchema = z.object({
|
||||
* and it is the one thing you cannot express with either.
|
||||
*/
|
||||
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,
|
||||
});
|
||||
|
||||
export const bookTextElementSchema = z.object({
|
||||
|
||||
@@ -13,6 +13,7 @@ import type {
|
||||
BookSpreadSummary,
|
||||
} from './book-ops.schema';
|
||||
import { paintWords } from './book-paint';
|
||||
import { photoLookWords } from './book-photo-look';
|
||||
import { bookStickerWords } from './book-sticker';
|
||||
import {
|
||||
bookPageSetupSchema,
|
||||
@@ -78,6 +79,7 @@ function photoWords(el: BookPhotoElement, info: BookPhotoInfo | undefined): stri
|
||||
if (el.mask) parts.push(`mask ${el.mask}`);
|
||||
if (el.frameStyle !== 'none') parts.push(`frame style ${el.frameStyle}`);
|
||||
if (el.radius > 0) parts.push(`radius ${n(el.radius)}`);
|
||||
parts.push(...photoLookWords(el));
|
||||
return parts.join(', ');
|
||||
}
|
||||
|
||||
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'التكبير',
|
||||
'journey.studio.photo.flip': 'عكس الصورة',
|
||||
'journey.studio.photo.dpi': 'تُطبع بدقة {dpi} نقطة لكل بوصة تقريبًا',
|
||||
'journey.studio.photo.dpiLow': 'دون {min} نقطة لكل بوصة تبدو الطباعة باهتة. صغّر الإطار أو قلّل التكبير.',
|
||||
'journey.studio.photo.edges': 'الحد والظل',
|
||||
'journey.studio.photo.border': 'الحد',
|
||||
'journey.studio.photo.width': 'العرض',
|
||||
'journey.studio.photo.shadow': 'ظل حاد',
|
||||
'journey.studio.photo.dx': 'أفقيًا',
|
||||
'journey.studio.photo.dy': 'عموديًا',
|
||||
'journey.studio.photo.cutout': 'حافة القص',
|
||||
'journey.studio.photo.adjust': 'ضبط',
|
||||
'journey.studio.photo.brightness': 'السطوع',
|
||||
'journey.studio.photo.contrast': 'التباين',
|
||||
'journey.studio.photo.saturation': 'التشبع',
|
||||
'journey.studio.photo.warmth': 'الدفء',
|
||||
'journey.studio.photo.reset': 'إعادة الضبط',
|
||||
'journey.studio.photo.rasterHint': 'تُطبع كصورة نقطية، مثل المرشحات.',
|
||||
'journey.studio.photo.duotone': 'لونان',
|
||||
'journey.studio.photo.duotoneDark': 'الظلال',
|
||||
'journey.studio.photo.duotoneLight': 'الإضاءات',
|
||||
'assistant.card.book.finding.raster_effect': 'مرشحات على صورة كبيرة',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Böyütmə',
|
||||
'journey.studio.photo.flip': 'Güzgü kimi çevir',
|
||||
'journey.studio.photo.dpi': 'Təxminən {dpi} dpi ilə çap olunur',
|
||||
'journey.studio.photo.dpiLow': '{min} dpi-dən aşağı çap yumşaq görünür. Çərçivəni kiçildin və ya uzaqlaşdırın.',
|
||||
'journey.studio.photo.edges': 'Haşiyə və kölgə',
|
||||
'journey.studio.photo.border': 'Haşiyə',
|
||||
'journey.studio.photo.width': 'En',
|
||||
'journey.studio.photo.shadow': 'Sərt kölgə',
|
||||
'journey.studio.photo.dx': 'Üfüqi',
|
||||
'journey.studio.photo.dy': 'Şaquli',
|
||||
'journey.studio.photo.cutout': 'Kəsim haşiyəsi',
|
||||
'journey.studio.photo.adjust': 'Tənzimlə',
|
||||
'journey.studio.photo.brightness': 'Parlaqlıq',
|
||||
'journey.studio.photo.contrast': 'Kontrast',
|
||||
'journey.studio.photo.saturation': 'Doyğunluq',
|
||||
'journey.studio.photo.warmth': 'İstilik',
|
||||
'journey.studio.photo.reset': 'Sıfırla',
|
||||
'journey.studio.photo.rasterHint': 'Filtrlər kimi raster şəkil olaraq çap olunur.',
|
||||
'journey.studio.photo.duotone': 'İkiton',
|
||||
'journey.studio.photo.duotoneDark': 'Kölgələr',
|
||||
'journey.studio.photo.duotoneLight': 'İşıqlı yerlər',
|
||||
'assistant.card.book.finding.raster_effect': 'Böyük fotoda filtrlər',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Zoom', // same-as-en
|
||||
'journey.studio.photo.flip': 'Espelhar',
|
||||
'journey.studio.photo.dpi': 'Imprime a cerca de {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow':
|
||||
'Abaixo de {min} dpi a impressão fica suave demais. Diminua a moldura ou afaste o zoom.',
|
||||
'journey.studio.photo.edges': 'Borda e sombra',
|
||||
'journey.studio.photo.border': 'Borda',
|
||||
'journey.studio.photo.width': 'Largura',
|
||||
'journey.studio.photo.shadow': 'Sombra dura',
|
||||
'journey.studio.photo.dx': 'Horizontal',
|
||||
'journey.studio.photo.dy': 'Vertical',
|
||||
'journey.studio.photo.cutout': 'Borda recortada',
|
||||
'journey.studio.photo.adjust': 'Ajustar',
|
||||
'journey.studio.photo.brightness': 'Brilho',
|
||||
'journey.studio.photo.contrast': 'Contraste',
|
||||
'journey.studio.photo.saturation': 'Saturação',
|
||||
'journey.studio.photo.warmth': 'Calor',
|
||||
'journey.studio.photo.reset': 'Redefinir',
|
||||
'journey.studio.photo.rasterHint': 'É impressa como imagem rasterizada, como os filtros.',
|
||||
'journey.studio.photo.duotone': 'Duotônico',
|
||||
'journey.studio.photo.duotoneDark': 'Sombras',
|
||||
'journey.studio.photo.duotoneLight': 'Realces',
|
||||
'assistant.card.book.finding.raster_effect': 'Filtros em uma foto grande',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -123,6 +124,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Zoom', // same-as-en
|
||||
'journey.studio.photo.flip': 'Emmiralla',
|
||||
'journey.studio.photo.dpi': 'S’imprimeix a uns {dpi} ppp',
|
||||
'journey.studio.photo.dpiLow':
|
||||
'Per sota de {min} ppp una impressió es veu tova. Fes el marc més petit o allunya el zoom.',
|
||||
'journey.studio.photo.edges': 'Vora i ombra',
|
||||
'journey.studio.photo.border': 'Vora',
|
||||
'journey.studio.photo.width': 'Amplada',
|
||||
'journey.studio.photo.shadow': 'Ombra dura',
|
||||
'journey.studio.photo.dx': 'Horitzontal',
|
||||
'journey.studio.photo.dy': 'Vertical',
|
||||
'journey.studio.photo.cutout': 'Vora retallada',
|
||||
'journey.studio.photo.adjust': 'Ajusta',
|
||||
'journey.studio.photo.brightness': 'Brillantor',
|
||||
'journey.studio.photo.contrast': 'Contrast', // same-as-en
|
||||
'journey.studio.photo.saturation': 'Saturació',
|
||||
'journey.studio.photo.warmth': 'Calidesa',
|
||||
'journey.studio.photo.reset': 'Restableix',
|
||||
'journey.studio.photo.rasterHint': 'S’imprimeix com a imatge ràster, com els filtres.',
|
||||
'journey.studio.photo.duotone': 'Duotò',
|
||||
'journey.studio.photo.duotoneDark': 'Ombres',
|
||||
'journey.studio.photo.duotoneLight': 'Llums',
|
||||
'assistant.card.book.finding.raster_effect': 'Filtres en una foto gran',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Přiblížení',
|
||||
'journey.studio.photo.flip': 'Zrcadlit',
|
||||
'journey.studio.photo.dpi': 'Tiskne se zhruba v {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Pod {min} dpi vypadá tisk měkce. Zmenšete rámeček nebo oddalte.',
|
||||
'journey.studio.photo.edges': 'Okraj a stín',
|
||||
'journey.studio.photo.border': 'Okraj',
|
||||
'journey.studio.photo.width': 'Šířka',
|
||||
'journey.studio.photo.shadow': 'Ostrý stín',
|
||||
'journey.studio.photo.dx': 'Vodorovně',
|
||||
'journey.studio.photo.dy': 'Svisle',
|
||||
'journey.studio.photo.cutout': 'Vysekaný okraj',
|
||||
'journey.studio.photo.adjust': 'Úpravy',
|
||||
'journey.studio.photo.brightness': 'Jas',
|
||||
'journey.studio.photo.contrast': 'Kontrast',
|
||||
'journey.studio.photo.saturation': 'Sytost',
|
||||
'journey.studio.photo.warmth': 'Teplota',
|
||||
'journey.studio.photo.reset': 'Obnovit',
|
||||
'journey.studio.photo.rasterHint': 'Tiskne se jako rastrový obrázek, stejně jako filtry.',
|
||||
'journey.studio.photo.duotone': 'Duotón',
|
||||
'journey.studio.photo.duotoneDark': 'Stíny',
|
||||
'journey.studio.photo.duotoneLight': 'Světla',
|
||||
'assistant.card.book.finding.raster_effect': 'Filtry na velké fotce',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Zoom', // same-as-en
|
||||
'journey.studio.photo.flip': 'Spiegeln',
|
||||
'journey.studio.photo.dpi': 'Druckt mit etwa {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Unter {min} dpi wirkt ein Druck weich. Verkleinere den Rahmen oder zoome heraus.',
|
||||
'journey.studio.photo.edges': 'Rand und Schatten',
|
||||
'journey.studio.photo.border': 'Rand',
|
||||
'journey.studio.photo.width': 'Breite',
|
||||
'journey.studio.photo.shadow': 'Harter Schatten',
|
||||
'journey.studio.photo.dx': 'Seitlich',
|
||||
'journey.studio.photo.dy': 'Nach unten',
|
||||
'journey.studio.photo.cutout': 'Stanzrand',
|
||||
'journey.studio.photo.adjust': 'Anpassen',
|
||||
'journey.studio.photo.brightness': 'Helligkeit',
|
||||
'journey.studio.photo.contrast': 'Kontrast',
|
||||
'journey.studio.photo.saturation': 'Sättigung',
|
||||
'journey.studio.photo.warmth': 'Wärme',
|
||||
'journey.studio.photo.reset': 'Zurücksetzen',
|
||||
'journey.studio.photo.rasterHint': 'Wird als Rasterbild gedruckt, wie die Filter.',
|
||||
'journey.studio.photo.duotone': 'Duoton',
|
||||
'journey.studio.photo.duotoneDark': 'Tiefen',
|
||||
'journey.studio.photo.duotoneLight': 'Lichter',
|
||||
'assistant.card.book.finding.raster_effect': 'Filter auf einem großen Foto',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Zoom',
|
||||
'journey.studio.photo.flip': 'Mirror',
|
||||
'journey.studio.photo.dpi': 'Prints at about {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Under {min} dpi a print looks soft. Make the frame smaller or zoom out.',
|
||||
'journey.studio.photo.edges': 'Border and shadow',
|
||||
'journey.studio.photo.border': 'Border',
|
||||
'journey.studio.photo.width': 'Width',
|
||||
'journey.studio.photo.shadow': 'Hard shadow',
|
||||
'journey.studio.photo.dx': 'Across',
|
||||
'journey.studio.photo.dy': 'Down',
|
||||
'journey.studio.photo.cutout': 'Cutout edge',
|
||||
'journey.studio.photo.adjust': 'Adjust',
|
||||
'journey.studio.photo.brightness': 'Brightness',
|
||||
'journey.studio.photo.contrast': 'Contrast',
|
||||
'journey.studio.photo.saturation': 'Saturation',
|
||||
'journey.studio.photo.warmth': 'Warmth',
|
||||
'journey.studio.photo.reset': 'Reset',
|
||||
'journey.studio.photo.rasterHint': 'Prints as a raster image, like the filters.',
|
||||
'journey.studio.photo.duotone': 'Duotone',
|
||||
'journey.studio.photo.duotoneDark': 'Shadows',
|
||||
'journey.studio.photo.duotoneLight': 'Highlights',
|
||||
'assistant.card.book.finding.raster_effect': 'Filters on a large photo',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Zoom', // same-as-en
|
||||
'journey.studio.photo.flip': 'Reflejar',
|
||||
'journey.studio.photo.dpi': 'Se imprime a unos {dpi} ppp',
|
||||
'journey.studio.photo.dpiLow':
|
||||
'Por debajo de {min} ppp una impresión se ve borrosa. Reduce el marco o aleja el zoom.',
|
||||
'journey.studio.photo.edges': 'Borde y sombra',
|
||||
'journey.studio.photo.border': 'Borde',
|
||||
'journey.studio.photo.width': 'Ancho',
|
||||
'journey.studio.photo.shadow': 'Sombra dura',
|
||||
'journey.studio.photo.dx': 'Horizontal',
|
||||
'journey.studio.photo.dy': 'Vertical',
|
||||
'journey.studio.photo.cutout': 'Borde troquelado',
|
||||
'journey.studio.photo.adjust': 'Ajustar',
|
||||
'journey.studio.photo.brightness': 'Brillo',
|
||||
'journey.studio.photo.contrast': 'Contraste',
|
||||
'journey.studio.photo.saturation': 'Saturación',
|
||||
'journey.studio.photo.warmth': 'Calidez',
|
||||
'journey.studio.photo.reset': 'Restablecer',
|
||||
'journey.studio.photo.rasterHint': 'Se imprime como imagen rasterizada, igual que los filtros.',
|
||||
'journey.studio.photo.duotone': 'Duotono',
|
||||
'journey.studio.photo.duotoneDark': 'Sombras',
|
||||
'journey.studio.photo.duotoneLight': 'Luces',
|
||||
'assistant.card.book.finding.raster_effect': 'Filtros en una foto grande',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Suum',
|
||||
'journey.studio.photo.flip': 'Peegelda',
|
||||
'journey.studio.photo.dpi': 'Trükitakse umbes {dpi} dpi-ga',
|
||||
'journey.studio.photo.dpiLow': 'Alla {min} dpi näeb trükk pehme välja. Tee raam väiksemaks või suumi välja.',
|
||||
'journey.studio.photo.edges': 'Ääris ja vari',
|
||||
'journey.studio.photo.border': 'Ääris',
|
||||
'journey.studio.photo.width': 'Laius',
|
||||
'journey.studio.photo.shadow': 'Terav vari',
|
||||
'journey.studio.photo.dx': 'Külgsuunas',
|
||||
'journey.studio.photo.dy': 'Allapoole',
|
||||
'journey.studio.photo.cutout': 'Väljalõike serv',
|
||||
'journey.studio.photo.adjust': 'Kohanda',
|
||||
'journey.studio.photo.brightness': 'Heledus',
|
||||
'journey.studio.photo.contrast': 'Kontrastsus',
|
||||
'journey.studio.photo.saturation': 'Küllastus',
|
||||
'journey.studio.photo.warmth': 'Soojus',
|
||||
'journey.studio.photo.reset': 'Lähtesta',
|
||||
'journey.studio.photo.rasterHint': 'Trükitakse rasterpildina, nagu filtridki.',
|
||||
'journey.studio.photo.duotone': 'Duotoon',
|
||||
'journey.studio.photo.duotoneDark': 'Varjud',
|
||||
'journey.studio.photo.duotoneLight': 'Heledad toonid',
|
||||
'assistant.card.book.finding.raster_effect': 'Filtrid suurel fotol',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Zoom', // same-as-en
|
||||
'journey.studio.photo.flip': 'Miroir',
|
||||
'journey.studio.photo.dpi': 'Imprimée à environ {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Sous {min} dpi, un tirage paraît flou. Réduisez le cadre ou dézoomez.',
|
||||
'journey.studio.photo.edges': 'Bordure et ombre',
|
||||
'journey.studio.photo.border': 'Bordure',
|
||||
'journey.studio.photo.width': 'Largeur',
|
||||
'journey.studio.photo.shadow': 'Ombre nette',
|
||||
'journey.studio.photo.dx': 'Horizontal',
|
||||
'journey.studio.photo.dy': 'Vertical',
|
||||
'journey.studio.photo.cutout': 'Contour découpé',
|
||||
'journey.studio.photo.adjust': 'Ajuster',
|
||||
'journey.studio.photo.brightness': 'Luminosité',
|
||||
'journey.studio.photo.contrast': 'Contraste',
|
||||
'journey.studio.photo.saturation': 'Saturation', // same-as-en
|
||||
'journey.studio.photo.warmth': 'Chaleur',
|
||||
'journey.studio.photo.reset': 'Réinitialiser',
|
||||
'journey.studio.photo.rasterHint': 'S’imprime en image matricielle, comme les filtres.',
|
||||
'journey.studio.photo.duotone': 'Bichromie',
|
||||
'journey.studio.photo.duotoneDark': 'Ombres',
|
||||
'journey.studio.photo.duotoneLight': 'Hautes lumières',
|
||||
'assistant.card.book.finding.raster_effect': 'Filtres sur une grande photo',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Μεγέθυνση',
|
||||
'journey.studio.photo.flip': 'Κατοπτρισμός',
|
||||
'journey.studio.photo.dpi': 'Τυπώνεται σε περίπου {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Κάτω από {min} dpi η εκτύπωση δείχνει θολή. Μίκρυνε το πλαίσιο ή κάνε σμίκρυνση.',
|
||||
'journey.studio.photo.edges': 'Περίγραμμα και σκιά',
|
||||
'journey.studio.photo.border': 'Περίγραμμα',
|
||||
'journey.studio.photo.width': 'Πλάτος',
|
||||
'journey.studio.photo.shadow': 'Σκληρή σκιά',
|
||||
'journey.studio.photo.dx': 'Οριζόντια',
|
||||
'journey.studio.photo.dy': 'Κάθετα',
|
||||
'journey.studio.photo.cutout': 'Περίγραμμα κοπής',
|
||||
'journey.studio.photo.adjust': 'Προσαρμογή',
|
||||
'journey.studio.photo.brightness': 'Φωτεινότητα',
|
||||
'journey.studio.photo.contrast': 'Αντίθεση',
|
||||
'journey.studio.photo.saturation': 'Κορεσμός',
|
||||
'journey.studio.photo.warmth': 'Θερμότητα',
|
||||
'journey.studio.photo.reset': 'Επαναφορά',
|
||||
'journey.studio.photo.rasterHint': 'Τυπώνεται ως εικόνα ράστερ, όπως τα φίλτρα.',
|
||||
'journey.studio.photo.duotone': 'Δίτονο',
|
||||
'journey.studio.photo.duotoneDark': 'Σκιές',
|
||||
'journey.studio.photo.duotoneLight': 'Φωτεινά σημεία',
|
||||
'assistant.card.book.finding.raster_effect': 'Φίλτρα σε μεγάλη φωτογραφία',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Nagyítás',
|
||||
'journey.studio.photo.flip': 'Tükrözés',
|
||||
'journey.studio.photo.dpi': 'Körülbelül {dpi} dpi-vel nyomtatódik',
|
||||
'journey.studio.photo.dpiLow': '{min} dpi alatt a nyomat lágynak hat. Kicsinyítsd a keretet, vagy nagyíts ki.',
|
||||
'journey.studio.photo.edges': 'Szegély és árnyék',
|
||||
'journey.studio.photo.border': 'Szegély',
|
||||
'journey.studio.photo.width': 'Szélesség',
|
||||
'journey.studio.photo.shadow': 'Éles árnyék',
|
||||
'journey.studio.photo.dx': 'Vízszintesen',
|
||||
'journey.studio.photo.dy': 'Függőlegesen',
|
||||
'journey.studio.photo.cutout': 'Kivágott szegély',
|
||||
'journey.studio.photo.adjust': 'Beállítás',
|
||||
'journey.studio.photo.brightness': 'Fényerő',
|
||||
'journey.studio.photo.contrast': 'Kontraszt',
|
||||
'journey.studio.photo.saturation': 'Telítettség',
|
||||
'journey.studio.photo.warmth': 'Melegség',
|
||||
'journey.studio.photo.reset': 'Visszaállítás',
|
||||
'journey.studio.photo.rasterHint': 'Raszteres képként nyomtatódik, mint a szűrők.',
|
||||
'journey.studio.photo.duotone': 'Duotónus',
|
||||
'journey.studio.photo.duotoneDark': 'Árnyékok',
|
||||
'journey.studio.photo.duotoneLight': 'Csúcsfények',
|
||||
'assistant.card.book.finding.raster_effect': 'Szűrők egy nagy fotón',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Perbesar',
|
||||
'journey.studio.photo.flip': 'Cerminkan',
|
||||
'journey.studio.photo.dpi': 'Dicetak sekitar {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Di bawah {min} dpi hasil cetak tampak lembut. Perkecil bingkai atau perkecil zoom.',
|
||||
'journey.studio.photo.edges': 'Bingkai dan bayangan',
|
||||
'journey.studio.photo.border': 'Bingkai',
|
||||
'journey.studio.photo.width': 'Lebar',
|
||||
'journey.studio.photo.shadow': 'Bayangan tegas',
|
||||
'journey.studio.photo.dx': 'Mendatar',
|
||||
'journey.studio.photo.dy': 'Menurun',
|
||||
'journey.studio.photo.cutout': 'Tepi potongan',
|
||||
'journey.studio.photo.adjust': 'Sesuaikan',
|
||||
'journey.studio.photo.brightness': 'Kecerahan',
|
||||
'journey.studio.photo.contrast': 'Kontras',
|
||||
'journey.studio.photo.saturation': 'Saturasi',
|
||||
'journey.studio.photo.warmth': 'Kehangatan',
|
||||
'journey.studio.photo.reset': 'Atur ulang',
|
||||
'journey.studio.photo.rasterHint': 'Dicetak sebagai gambar raster, seperti filter.',
|
||||
'journey.studio.photo.duotone': 'Dua nada',
|
||||
'journey.studio.photo.duotoneDark': 'Bayangan',
|
||||
'journey.studio.photo.duotoneLight': 'Sorotan',
|
||||
'assistant.card.book.finding.raster_effect': 'Filter pada foto besar',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Zoom', // same-as-en
|
||||
'journey.studio.photo.flip': 'Specchia',
|
||||
'journey.studio.photo.dpi': 'Stampa a circa {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow':
|
||||
'Sotto i {min} dpi una stampa appare morbida. Rimpicciolisci la cornice o riduci lo zoom.',
|
||||
'journey.studio.photo.edges': 'Bordo e ombra',
|
||||
'journey.studio.photo.border': 'Bordo',
|
||||
'journey.studio.photo.width': 'Larghezza',
|
||||
'journey.studio.photo.shadow': 'Ombra netta',
|
||||
'journey.studio.photo.dx': 'In orizzontale',
|
||||
'journey.studio.photo.dy': 'In verticale',
|
||||
'journey.studio.photo.cutout': 'Bordo fustellato',
|
||||
'journey.studio.photo.adjust': 'Regola',
|
||||
'journey.studio.photo.brightness': 'Luminosità',
|
||||
'journey.studio.photo.contrast': 'Contrasto',
|
||||
'journey.studio.photo.saturation': 'Saturazione',
|
||||
'journey.studio.photo.warmth': 'Calore',
|
||||
'journey.studio.photo.reset': 'Ripristina',
|
||||
'journey.studio.photo.rasterHint': 'Viene stampata come immagine raster, come i filtri.',
|
||||
'journey.studio.photo.duotone': 'Bicromia',
|
||||
'journey.studio.photo.duotoneDark': 'Ombre',
|
||||
'journey.studio.photo.duotoneLight': 'Luci',
|
||||
'assistant.card.book.finding.raster_effect': 'Filtri su una foto grande',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'ズーム',
|
||||
'journey.studio.photo.flip': '左右反転',
|
||||
'journey.studio.photo.dpi': '約 {dpi} dpi で印刷されます',
|
||||
'journey.studio.photo.dpiLow': '{min} dpi を下回ると印刷がぼやけて見えます。枠を小さくするかズームを下げてください。',
|
||||
'journey.studio.photo.edges': 'フチと影',
|
||||
'journey.studio.photo.border': 'フチ',
|
||||
'journey.studio.photo.width': '幅',
|
||||
'journey.studio.photo.shadow': 'くっきりした影',
|
||||
'journey.studio.photo.dx': '横',
|
||||
'journey.studio.photo.dy': '縦',
|
||||
'journey.studio.photo.cutout': '切り抜きのフチ',
|
||||
'journey.studio.photo.adjust': '調整',
|
||||
'journey.studio.photo.brightness': '明るさ',
|
||||
'journey.studio.photo.contrast': 'コントラスト',
|
||||
'journey.studio.photo.saturation': '彩度',
|
||||
'journey.studio.photo.warmth': '暖かさ',
|
||||
'journey.studio.photo.reset': 'リセット',
|
||||
'journey.studio.photo.rasterHint': 'フィルターと同じく、ラスター画像として印刷されます。',
|
||||
'journey.studio.photo.duotone': 'ダブルトーン',
|
||||
'journey.studio.photo.duotoneDark': 'シャドウ',
|
||||
'journey.studio.photo.duotoneLight': 'ハイライト',
|
||||
'assistant.card.book.finding.raster_effect': '大きな写真のフィルター',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': '확대',
|
||||
'journey.studio.photo.flip': '좌우 반전',
|
||||
'journey.studio.photo.dpi': '약 {dpi} dpi로 인쇄됩니다',
|
||||
'journey.studio.photo.dpiLow': '{min} dpi 미만이면 인쇄가 흐릿해 보입니다. 프레임을 줄이거나 축소하세요.',
|
||||
'journey.studio.photo.edges': '테두리와 그림자',
|
||||
'journey.studio.photo.border': '테두리',
|
||||
'journey.studio.photo.width': '너비',
|
||||
'journey.studio.photo.shadow': '선명한 그림자',
|
||||
'journey.studio.photo.dx': '가로',
|
||||
'journey.studio.photo.dy': '세로',
|
||||
'journey.studio.photo.cutout': '오려낸 테두리',
|
||||
'journey.studio.photo.adjust': '조정',
|
||||
'journey.studio.photo.brightness': '밝기',
|
||||
'journey.studio.photo.contrast': '대비',
|
||||
'journey.studio.photo.saturation': '채도',
|
||||
'journey.studio.photo.warmth': '따뜻함',
|
||||
'journey.studio.photo.reset': '초기화',
|
||||
'journey.studio.photo.rasterHint': '필터처럼 래스터 이미지로 인쇄됩니다.',
|
||||
'journey.studio.photo.duotone': '듀오톤',
|
||||
'journey.studio.photo.duotoneDark': '어두운 영역',
|
||||
'journey.studio.photo.duotoneLight': '밝은 영역',
|
||||
'assistant.card.book.finding.raster_effect': '큰 사진의 필터',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Zoom', // same-as-en
|
||||
'journey.studio.photo.flip': 'Spiegelen',
|
||||
'journey.studio.photo.dpi': 'Wordt gedrukt op ongeveer {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Onder {min} dpi oogt een afdruk zacht. Maak het kader kleiner of zoom uit.',
|
||||
'journey.studio.photo.edges': 'Rand en schaduw',
|
||||
'journey.studio.photo.border': 'Rand',
|
||||
'journey.studio.photo.width': 'Breedte',
|
||||
'journey.studio.photo.shadow': 'Harde schaduw',
|
||||
'journey.studio.photo.dx': 'Horizontaal',
|
||||
'journey.studio.photo.dy': 'Verticaal',
|
||||
'journey.studio.photo.cutout': 'Snijrand',
|
||||
'journey.studio.photo.adjust': 'Aanpassen',
|
||||
'journey.studio.photo.brightness': 'Helderheid',
|
||||
'journey.studio.photo.contrast': 'Contrast', // same-as-en
|
||||
'journey.studio.photo.saturation': 'Verzadiging',
|
||||
'journey.studio.photo.warmth': 'Warmte',
|
||||
'journey.studio.photo.reset': 'Herstellen',
|
||||
'journey.studio.photo.rasterHint': 'Wordt als rasterafbeelding gedrukt, net als de filters.',
|
||||
'journey.studio.photo.duotone': 'Duotoon',
|
||||
'journey.studio.photo.duotoneDark': 'Schaduwen',
|
||||
'journey.studio.photo.duotoneLight': 'Hooglichten',
|
||||
'assistant.card.book.finding.raster_effect': 'Filters op een grote foto',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Powiększenie',
|
||||
'journey.studio.photo.flip': 'Odbij lustrzanie',
|
||||
'journey.studio.photo.dpi': 'Drukuje się w około {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Poniżej {min} dpi wydruk wygląda miękko. Zmniejsz ramkę albo oddal.',
|
||||
'journey.studio.photo.edges': 'Ramka i cień',
|
||||
'journey.studio.photo.border': 'Ramka',
|
||||
'journey.studio.photo.width': 'Szerokość',
|
||||
'journey.studio.photo.shadow': 'Ostry cień',
|
||||
'journey.studio.photo.dx': 'W poziomie',
|
||||
'journey.studio.photo.dy': 'W pionie',
|
||||
'journey.studio.photo.cutout': 'Krawędź wycięcia',
|
||||
'journey.studio.photo.adjust': 'Dostosuj',
|
||||
'journey.studio.photo.brightness': 'Jasność',
|
||||
'journey.studio.photo.contrast': 'Kontrast',
|
||||
'journey.studio.photo.saturation': 'Nasycenie',
|
||||
'journey.studio.photo.warmth': 'Ciepło',
|
||||
'journey.studio.photo.reset': 'Resetuj',
|
||||
'journey.studio.photo.rasterHint': 'Drukuje się jako obraz rastrowy, tak jak filtry.',
|
||||
'journey.studio.photo.duotone': 'Duoton',
|
||||
'journey.studio.photo.duotoneDark': 'Cienie',
|
||||
'journey.studio.photo.duotoneLight': 'Światła',
|
||||
'assistant.card.book.finding.raster_effect': 'Filtry na dużym zdjęciu',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Масштаб',
|
||||
'journey.studio.photo.flip': 'Отразить',
|
||||
'journey.studio.photo.dpi': 'Печатается примерно с {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Ниже {min} dpi отпечаток выглядит мягким. Уменьшите рамку или отдалите.',
|
||||
'journey.studio.photo.edges': 'Рамка и тень',
|
||||
'journey.studio.photo.border': 'Рамка',
|
||||
'journey.studio.photo.width': 'Ширина',
|
||||
'journey.studio.photo.shadow': 'Жёсткая тень',
|
||||
'journey.studio.photo.dx': 'По горизонтали',
|
||||
'journey.studio.photo.dy': 'По вертикали',
|
||||
'journey.studio.photo.cutout': 'Контур вырезки',
|
||||
'journey.studio.photo.adjust': 'Коррекция',
|
||||
'journey.studio.photo.brightness': 'Яркость',
|
||||
'journey.studio.photo.contrast': 'Контраст',
|
||||
'journey.studio.photo.saturation': 'Насыщенность',
|
||||
'journey.studio.photo.warmth': 'Теплота',
|
||||
'journey.studio.photo.reset': 'Сбросить',
|
||||
'journey.studio.photo.rasterHint': 'Печатается как растровое изображение, как и фильтры.',
|
||||
'journey.studio.photo.duotone': 'Дуотон',
|
||||
'journey.studio.photo.duotoneDark': 'Тени',
|
||||
'journey.studio.photo.duotoneLight': 'Света',
|
||||
'assistant.card.book.finding.raster_effect': 'Фильтры на большом фото',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Priblíženie',
|
||||
'journey.studio.photo.flip': 'Zrkadliť',
|
||||
'journey.studio.photo.dpi': 'Tlačí sa zhruba v {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Pod {min} dpi pôsobí tlač mäkko. Zmenšite rámček alebo oddiaľte.',
|
||||
'journey.studio.photo.edges': 'Okraj a tieň',
|
||||
'journey.studio.photo.border': 'Okraj',
|
||||
'journey.studio.photo.width': 'Šírka',
|
||||
'journey.studio.photo.shadow': 'Ostrý tieň',
|
||||
'journey.studio.photo.dx': 'Vodorovne',
|
||||
'journey.studio.photo.dy': 'Zvisle',
|
||||
'journey.studio.photo.cutout': 'Vysekaný okraj',
|
||||
'journey.studio.photo.adjust': 'Úpravy',
|
||||
'journey.studio.photo.brightness': 'Jas',
|
||||
'journey.studio.photo.contrast': 'Kontrast',
|
||||
'journey.studio.photo.saturation': 'Sýtosť',
|
||||
'journey.studio.photo.warmth': 'Teplota',
|
||||
'journey.studio.photo.reset': 'Obnoviť',
|
||||
'journey.studio.photo.rasterHint': 'Tlačí sa ako rastrový obrázok, rovnako ako filtre.',
|
||||
'journey.studio.photo.duotone': 'Duotón',
|
||||
'journey.studio.photo.duotoneDark': 'Tiene',
|
||||
'journey.studio.photo.duotoneLight': 'Svetlá',
|
||||
'assistant.card.book.finding.raster_effect': 'Filtre na veľkej fotke',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Zoom', // same-as-en
|
||||
'journey.studio.photo.flip': 'Spegelvänd',
|
||||
'journey.studio.photo.dpi': 'Trycks med ungefär {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Under {min} dpi ser ett tryck mjukt ut. Gör ramen mindre eller zooma ut.',
|
||||
'journey.studio.photo.edges': 'Kant och skugga',
|
||||
'journey.studio.photo.border': 'Kant',
|
||||
'journey.studio.photo.width': 'Bredd',
|
||||
'journey.studio.photo.shadow': 'Hård skugga',
|
||||
'journey.studio.photo.dx': 'I sidled',
|
||||
'journey.studio.photo.dy': 'Nedåt',
|
||||
'journey.studio.photo.cutout': 'Stanskant',
|
||||
'journey.studio.photo.adjust': 'Justera',
|
||||
'journey.studio.photo.brightness': 'Ljusstyrka',
|
||||
'journey.studio.photo.contrast': 'Kontrast',
|
||||
'journey.studio.photo.saturation': 'Mättnad',
|
||||
'journey.studio.photo.warmth': 'Värme',
|
||||
'journey.studio.photo.reset': 'Återställ',
|
||||
'journey.studio.photo.rasterHint': 'Trycks som rasterbild, precis som filtren.',
|
||||
'journey.studio.photo.duotone': 'Duoton',
|
||||
'journey.studio.photo.duotoneDark': 'Skuggor',
|
||||
'journey.studio.photo.duotoneLight': 'Högdagrar',
|
||||
'assistant.card.book.finding.raster_effect': 'Filter på ett stort foto',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'ซูม',
|
||||
'journey.studio.photo.flip': 'กลับด้าน',
|
||||
'journey.studio.photo.dpi': 'พิมพ์ที่ประมาณ {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'ต่ำกว่า {min} dpi งานพิมพ์จะดูไม่คม ลองย่อกรอบหรือซูมออก',
|
||||
'journey.studio.photo.edges': 'ขอบและเงา',
|
||||
'journey.studio.photo.border': 'ขอบ',
|
||||
'journey.studio.photo.width': 'ความกว้าง',
|
||||
'journey.studio.photo.shadow': 'เงาคม',
|
||||
'journey.studio.photo.dx': 'แนวนอน',
|
||||
'journey.studio.photo.dy': 'แนวตั้ง',
|
||||
'journey.studio.photo.cutout': 'ขอบตัด',
|
||||
'journey.studio.photo.adjust': 'ปรับแต่ง',
|
||||
'journey.studio.photo.brightness': 'ความสว่าง',
|
||||
'journey.studio.photo.contrast': 'คอนทราสต์',
|
||||
'journey.studio.photo.saturation': 'ความอิ่มตัว',
|
||||
'journey.studio.photo.warmth': 'ความอุ่น',
|
||||
'journey.studio.photo.reset': 'รีเซ็ต',
|
||||
'journey.studio.photo.rasterHint': 'พิมพ์เป็นภาพแรสเตอร์ เช่นเดียวกับฟิลเตอร์',
|
||||
'journey.studio.photo.duotone': 'ดูโอโทน',
|
||||
'journey.studio.photo.duotoneDark': 'เงามืด',
|
||||
'journey.studio.photo.duotoneLight': 'ส่วนสว่าง',
|
||||
'assistant.card.book.finding.raster_effect': 'ฟิลเตอร์บนรูปภาพขนาดใหญ่',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Yakınlaştırma',
|
||||
'journey.studio.photo.flip': 'Aynala',
|
||||
'journey.studio.photo.dpi': 'Yaklaşık {dpi} dpi ile basılır',
|
||||
'journey.studio.photo.dpiLow': '{min} dpi altında baskı yumuşak görünür. Çerçeveyi küçültün ya da uzaklaştırın.',
|
||||
'journey.studio.photo.edges': 'Kenarlık ve gölge',
|
||||
'journey.studio.photo.border': 'Kenarlık',
|
||||
'journey.studio.photo.width': 'Genişlik',
|
||||
'journey.studio.photo.shadow': 'Sert gölge',
|
||||
'journey.studio.photo.dx': 'Yatay',
|
||||
'journey.studio.photo.dy': 'Dikey',
|
||||
'journey.studio.photo.cutout': 'Kesim kenarı',
|
||||
'journey.studio.photo.adjust': 'Ayarla',
|
||||
'journey.studio.photo.brightness': 'Parlaklık',
|
||||
'journey.studio.photo.contrast': 'Kontrast',
|
||||
'journey.studio.photo.saturation': 'Doygunluk',
|
||||
'journey.studio.photo.warmth': 'Sıcaklık',
|
||||
'journey.studio.photo.reset': 'Sıfırla',
|
||||
'journey.studio.photo.rasterHint': 'Filtreler gibi raster görüntü olarak basılır.',
|
||||
'journey.studio.photo.duotone': 'Çift ton',
|
||||
'journey.studio.photo.duotoneDark': 'Gölgeler',
|
||||
'journey.studio.photo.duotoneLight': 'Parlak tonlar',
|
||||
'assistant.card.book.finding.raster_effect': 'Büyük bir fotoğrafta filtreler',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Масштаб',
|
||||
'journey.studio.photo.flip': 'Віддзеркалити',
|
||||
'journey.studio.photo.dpi': 'Друкується приблизно з {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Нижче {min} dpi відбиток виглядає м’яким. Зменште рамку або віддаліть.',
|
||||
'journey.studio.photo.edges': 'Рамка і тінь',
|
||||
'journey.studio.photo.border': 'Рамка',
|
||||
'journey.studio.photo.width': 'Ширина',
|
||||
'journey.studio.photo.shadow': 'Жорстка тінь',
|
||||
'journey.studio.photo.dx': 'По горизонталі',
|
||||
'journey.studio.photo.dy': 'По вертикалі',
|
||||
'journey.studio.photo.cutout': 'Контур вирізу',
|
||||
'journey.studio.photo.adjust': 'Корекція',
|
||||
'journey.studio.photo.brightness': 'Яскравість',
|
||||
'journey.studio.photo.contrast': 'Контраст',
|
||||
'journey.studio.photo.saturation': 'Насиченість',
|
||||
'journey.studio.photo.warmth': 'Теплота',
|
||||
'journey.studio.photo.reset': 'Скинути',
|
||||
'journey.studio.photo.rasterHint': 'Друкується як растрове зображення, як і фільтри.',
|
||||
'journey.studio.photo.duotone': 'Дуотон',
|
||||
'journey.studio.photo.duotoneDark': 'Тіні',
|
||||
'journey.studio.photo.duotoneLight': 'Світлі ділянки',
|
||||
'assistant.card.book.finding.raster_effect': 'Фільтри на великому фото',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': 'Thu phóng',
|
||||
'journey.studio.photo.flip': 'Lật gương',
|
||||
'journey.studio.photo.dpi': 'In ở khoảng {dpi} dpi',
|
||||
'journey.studio.photo.dpiLow': 'Dưới {min} dpi bản in trông mềm. Hãy thu nhỏ khung hoặc giảm thu phóng.',
|
||||
'journey.studio.photo.edges': 'Viền và bóng',
|
||||
'journey.studio.photo.border': 'Viền',
|
||||
'journey.studio.photo.width': 'Độ rộng',
|
||||
'journey.studio.photo.shadow': 'Bóng cứng',
|
||||
'journey.studio.photo.dx': 'Ngang',
|
||||
'journey.studio.photo.dy': 'Dọc',
|
||||
'journey.studio.photo.cutout': 'Viền cắt',
|
||||
'journey.studio.photo.adjust': 'Điều chỉnh',
|
||||
'journey.studio.photo.brightness': 'Độ sáng',
|
||||
'journey.studio.photo.contrast': 'Độ tương phản',
|
||||
'journey.studio.photo.saturation': 'Độ bão hòa',
|
||||
'journey.studio.photo.warmth': 'Độ ấm',
|
||||
'journey.studio.photo.reset': 'Đặt lại',
|
||||
'journey.studio.photo.rasterHint': 'In dưới dạng ảnh raster, giống như các bộ lọc.',
|
||||
'journey.studio.photo.duotone': 'Hai tông màu',
|
||||
'journey.studio.photo.duotoneDark': 'Vùng tối',
|
||||
'journey.studio.photo.duotoneLight': 'Vùng sáng',
|
||||
'assistant.card.book.finding.raster_effect': 'Bộ lọc trên một ảnh lớn',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -121,6 +122,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...notif,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': '縮放',
|
||||
'journey.studio.photo.flip': '鏡像',
|
||||
'journey.studio.photo.dpi': '約以 {dpi} dpi 列印',
|
||||
'journey.studio.photo.dpiLow': '低於 {min} dpi 時列印會顯得模糊。請縮小相框或拉遠畫面。',
|
||||
'journey.studio.photo.edges': '邊框與陰影',
|
||||
'journey.studio.photo.border': '邊框',
|
||||
'journey.studio.photo.width': '寬度',
|
||||
'journey.studio.photo.shadow': '硬陰影',
|
||||
'journey.studio.photo.dx': '水平',
|
||||
'journey.studio.photo.dy': '垂直',
|
||||
'journey.studio.photo.cutout': '裁切邊',
|
||||
'journey.studio.photo.adjust': '調整',
|
||||
'journey.studio.photo.brightness': '亮度',
|
||||
'journey.studio.photo.contrast': '對比',
|
||||
'journey.studio.photo.saturation': '飽和度',
|
||||
'journey.studio.photo.warmth': '色溫',
|
||||
'journey.studio.photo.reset': '重設',
|
||||
'journey.studio.photo.rasterHint': '與濾鏡一樣,以點陣圖像列印。',
|
||||
'journey.studio.photo.duotone': '雙色調',
|
||||
'journey.studio.photo.duotoneDark': '暗部',
|
||||
'journey.studio.photo.duotoneLight': '亮部',
|
||||
'assistant.card.book.finding.raster_effect': '大照片上的濾鏡',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -62,6 +62,7 @@ import storage from './storage';
|
||||
import studioFonts from './studioFonts';
|
||||
import studioLayers from './studioLayers';
|
||||
import studioPaint from './studioPaint';
|
||||
import studioPhoto from './studioPhoto';
|
||||
import studioStickers from './studioStickers';
|
||||
import system_notice from './system_notice';
|
||||
import todo from './todo';
|
||||
@@ -122,6 +123,7 @@ const locale = {
|
||||
...studioFonts,
|
||||
...studioPaint,
|
||||
...studioStickers,
|
||||
...studioPhoto,
|
||||
...oauth,
|
||||
...system_notice,
|
||||
...transport,
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
/** TREK Studio: the photo look, its border, shadow, zoom, adjustments and duotone, and the print resolution. */
|
||||
const studioPhoto: TranslationStrings = {
|
||||
'journey.studio.photo.zoom': '缩放',
|
||||
'journey.studio.photo.flip': '镜像',
|
||||
'journey.studio.photo.dpi': '约以 {dpi} dpi 打印',
|
||||
'journey.studio.photo.dpiLow': '低于 {min} dpi 时打印会显得发虚。请缩小相框或缩小画面。',
|
||||
'journey.studio.photo.edges': '边框和阴影',
|
||||
'journey.studio.photo.border': '边框',
|
||||
'journey.studio.photo.width': '宽度',
|
||||
'journey.studio.photo.shadow': '硬阴影',
|
||||
'journey.studio.photo.dx': '水平',
|
||||
'journey.studio.photo.dy': '垂直',
|
||||
'journey.studio.photo.cutout': '裁切边',
|
||||
'journey.studio.photo.adjust': '调整',
|
||||
'journey.studio.photo.brightness': '亮度',
|
||||
'journey.studio.photo.contrast': '对比度',
|
||||
'journey.studio.photo.saturation': '饱和度',
|
||||
'journey.studio.photo.warmth': '色温',
|
||||
'journey.studio.photo.reset': '重置',
|
||||
'journey.studio.photo.rasterHint': '与滤镜一样,以位图图像打印。',
|
||||
'journey.studio.photo.duotone': '双色调',
|
||||
'journey.studio.photo.duotoneDark': '暗部',
|
||||
'journey.studio.photo.duotoneLight': '亮部',
|
||||
'assistant.card.book.finding.raster_effect': '大照片上的滤镜',
|
||||
};
|
||||
|
||||
export default studioPhoto;
|
||||
@@ -164,6 +164,8 @@ export * from './book/book-map-sources';
|
||||
export * from './book/book-colour';
|
||||
export * from './book/book-paint.schema';
|
||||
export * from './book/book-paint';
|
||||
export * from './book/book-photo-look.schema';
|
||||
export * from './book/book-photo-look';
|
||||
export * from './book/book-findings-design';
|
||||
export * from './book/book-groups';
|
||||
export * from './book/book-arrange';
|
||||
|
||||
Reference in New Issue
Block a user