[dyad] Adding internationalization with next-intl - wrote 19 file(s), renamed 5 file(s), added next-intl package(s)

This commit is contained in:
[dyad]
2026-01-18 16:26:22 +01:00
parent d33dceb08c
commit 918e2334f7
19 changed files with 656 additions and 93 deletions

100
messages/en.json Normal file
View File

@@ -0,0 +1,100 @@
{
"HomePage": {
"title": "Image Web Exporter",
"subtitle": "Upload a picture, then export it in a different resolution and format."
},
"ImageUploadArea": {
"title": "Upload Images",
"prompt": "Click or drag and drop to upload",
"supportedFormats": "PNG, JPG, WEBP supported"
},
"ImageList": {
"title": "Uploaded Images",
"clearAll": "Clear All",
"clearAllTooltip": "Remove all uploaded images.",
"downloadAll": "Download All ({count})",
"downloadAllDefault": "Download All",
"converting": "Converting...",
"downloadAllTooltip": "Convert and download all images with the current settings."
},
"ImageListItem": {
"baseName": "Base Name",
"finalName": "Final name: {finalFilename}.{format}",
"downloadTooltip": "Download this image",
"removeTooltip": "Remove this image"
},
"SettingsPanel": {
"imageSettingsTitle": "Image Settings",
"imageSettingsSubtitle": "Adjust resolution and scaling for all images.",
"filenameSettingsTitle": "Filename Settings",
"filenameSettingsSubtitle": "Customize the output filenames.",
"qualitySettingsTitle": "Quality Settings",
"qualitySettingsSubtitle": "Choose format and compression level."
},
"ImageSettings": {
"aspectRatio": "Aspect Ratio",
"aspectRatioTooltip": "Choose a preset aspect ratio or select 'Custom' to enter dimensions manually.",
"custom": "Custom",
"square": "1:1 (Square)",
"standard": "4:3 (Standard)",
"photography": "3:2 (Photography)",
"widescreen": "16:9 (Widescreen)",
"width": "Width (px)",
"widthTooltip": "Set the output width in pixels. Leave blank to use the original width.",
"swapTooltip": "Swap the entered width and height values.",
"height": "Height (px)",
"heightTooltip": "Set the output height in pixels. Leave blank to use the original height.",
"keepOrientation": "Keep original orientation",
"keepOrientationTooltip": "Automatically swaps width and height to match the original image's orientation.",
"scaling": "Scaling",
"scalingTooltip": "Determines how the image fits into the new dimensions.",
"fill": "Fill (stretch to fit)",
"cover": "Cover (crop to fit)",
"contain": "Contain (letterbox)",
"position": "Position",
"positionTooltip": "Sets the anchor point for 'Cover' or 'Contain' scaling."
},
"FilenameSettings": {
"useDefaultBaseName": "Use default base name",
"useDefaultBaseNameTooltip": "When enabled, all newly uploaded images will use the specified default base name.",
"defaultBaseName": "Default base name",
"applyToAll": "Apply to all",
"applyToAllTooltip": "Apply this base name to all currently uploaded images.",
"prefix": "Prefix",
"prefixTooltip": "Add text to the beginning of every filename.",
"suffix": "Suffix",
"suffixTooltip": "Add text to the end of every filename (before the number).",
"addSequentialNumber": "Add sequential number",
"addSequentialNumberTooltip": "Append a numbered sequence to each filename.",
"startNumber": "Start number",
"startNumberTooltip": "The first number to use in the sequence.",
"paddingDigits": "Padding digits",
"paddingDigitsTooltip": "Total number of digits for the counter, padded with leading zeros (e.g., 3 for 001)."
},
"QualitySettings": {
"format": "Format",
"formatTooltip": "Choose the output file format for the images.",
"quality": "Quality",
"qualityTooltip": "Set compression quality for JPEG/WEBP. Higher is better quality but larger file size.",
"pngWarning": "Quality slider is disabled for PNG (lossless format)."
},
"ActionButtons": {
"reset": "Reset",
"resetTooltip": "Reset all settings to their default values.",
"apply": "Apply",
"applyTooltip": "Confirm and apply all the settings above. This does not download the images."
},
"Footer": {
"imprint": "Imprint",
"privacy": "Privacy"
},
"ChangelogPage": {
"back": "Back to Converter"
},
"ImprintPage": {
"back": "Back to Converter"
},
"PrivacyPage": {
"back": "Back to Converter"
}
}