mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-09-14 21:46:35 +00:00
feat: add i18n - dict, en\ru, state
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
import type { Dict } from './dict';
|
||||
|
||||
export const en: Dict = {
|
||||
header: {
|
||||
workspace: 'Workspace',
|
||||
catalog: 'Catalog',
|
||||
sectionsAria: 'Sections',
|
||||
footerNote:
|
||||
'All operations run locally in your browser — your files are never uploaded anywhere.'
|
||||
},
|
||||
categories: {
|
||||
convert: 'Convert',
|
||||
alpha: 'Transparency',
|
||||
color: 'Color',
|
||||
geometry: 'Geometry',
|
||||
filters: 'Filters',
|
||||
analyze: 'Analyze',
|
||||
generate: 'Generate'
|
||||
},
|
||||
home: {
|
||||
defaultTitle: 'easy-png-tools — PNG utilities right in your browser',
|
||||
heroTitle: 'What do you want to do with the image?',
|
||||
heroLead: 'Find a tool — everything runs locally in your browser.',
|
||||
restoreLast: '↩ Restore last: {title}',
|
||||
changeTool: '← Change tool'
|
||||
},
|
||||
catalog: {
|
||||
pageTitle: 'All tools — easy-png-tools',
|
||||
metaDescription:
|
||||
'Full catalog of PNG utilities: convert, transparency, color, geometry, analysis and image generation.',
|
||||
heading: 'Tool catalog',
|
||||
lead: '{count} utilities for working with PNG. Everything runs locally in your browser.'
|
||||
},
|
||||
toolPage: {
|
||||
fallbackTitle: 'Tool',
|
||||
legendSource: 'Source',
|
||||
legendSummary: 'Summary',
|
||||
legendResult: 'Result',
|
||||
legendParams: 'Parameters',
|
||||
stepHeading: 'Step {n}',
|
||||
removeStepAria: 'Remove step',
|
||||
stepError: 'Step {n} ({title}): {msg}'
|
||||
},
|
||||
chain: {
|
||||
stepLabel: 'Step {n}: {title}',
|
||||
inputLegend: 'Input',
|
||||
resultLegend: 'Result',
|
||||
paramsLegend: 'Parameters',
|
||||
busyTitle: 'Processing…',
|
||||
busyHint: 'Running chain step',
|
||||
removeStepAria: 'Remove step'
|
||||
},
|
||||
sourceCard: {
|
||||
replaceImage: 'Replace image'
|
||||
},
|
||||
resultCard: {
|
||||
emptyTitle: 'The result will appear here',
|
||||
emptyHint: 'First upload a source image on the left',
|
||||
processingTitle: 'Processing…',
|
||||
processingHint: 'The image is being processed, this will take a moment',
|
||||
recalc: 'Recalculating…',
|
||||
nextTool: '⛓ Next tool',
|
||||
breakChain: '✂ Break the chain'
|
||||
},
|
||||
paramsCard: {
|
||||
noParams: 'This tool has no parameters — the result is ready as is.'
|
||||
},
|
||||
textInput: {
|
||||
heading: 'Text',
|
||||
placeholder: 'Paste data here',
|
||||
aria: 'Text data',
|
||||
decode: 'Decode'
|
||||
},
|
||||
textResult: {
|
||||
outputAria: 'Text result',
|
||||
copied: 'Copied',
|
||||
copy: 'Copy',
|
||||
downloadTxt: 'Download .txt'
|
||||
},
|
||||
download: {
|
||||
busy: 'Preparing file…',
|
||||
file: 'Download .{ext}'
|
||||
},
|
||||
infoPanel: {
|
||||
dimensions: 'Dimensions',
|
||||
alpha: 'Alpha channel',
|
||||
alphaYes: 'yes — there are semi-transparent pixels',
|
||||
alphaNo: 'no',
|
||||
colorCount: 'Unique colors (RGBA)'
|
||||
},
|
||||
dropZone: {
|
||||
pickDefault: 'Drop an image here or click to choose a file',
|
||||
overlayDefault: 'Release the file to replace the image'
|
||||
},
|
||||
search: {
|
||||
placeholder: 'Find a tool…',
|
||||
aria: 'Search tools',
|
||||
nothingFound: 'Nothing found — try another word.'
|
||||
},
|
||||
ui: {
|
||||
showMask: 'Show mask',
|
||||
decrease: 'Decrease',
|
||||
increase: 'Increase',
|
||||
reset: 'Reset',
|
||||
pipette: 'Eyedropper'
|
||||
},
|
||||
errors: {
|
||||
noImageRun: 'This tool does not process images',
|
||||
workerFailed: 'Worker execution failed',
|
||||
workerUnavailable: 'Worker is unavailable',
|
||||
notFound: 'Tool not found'
|
||||
},
|
||||
tools: {}
|
||||
};
|
||||
Reference in New Issue
Block a user