[dyad] Added language switcher for English and German - wrote 10 file(s), renamed 2 file(s), added next-intl package(s)
This commit is contained in:
102
messages/en.json
Normal file
102
messages/en.json
Normal file
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"HomePage": {
|
||||
"title": "Image Web Exporter",
|
||||
"description": "Upload a picture, then export it in a different resolution and format."
|
||||
},
|
||||
"LanguageSwitcher": {
|
||||
"placeholder": "Language",
|
||||
"en": "English",
|
||||
"de": "German"
|
||||
},
|
||||
"ImageConverter": {
|
||||
"uploadTitle": "Upload Images",
|
||||
"uploadButton": "Click or drag and drop to upload",
|
||||
"uploadHint": "PNG, JPG, WEBP supported",
|
||||
"uploadedImagesTitle": "Uploaded Images",
|
||||
"clearAll": "Clear All",
|
||||
"clearAllTooltip": "Remove all uploaded images.",
|
||||
"downloadAll": "Download All ({count})",
|
||||
"downloadAllConverting": "Converting...",
|
||||
"downloadAllTooltip": "Convert and download all images with the current settings.",
|
||||
"baseNameLabel": "Base Name",
|
||||
"finalNameLabel": "Final name: {filename}",
|
||||
"downloadImageTooltip": "Download this image",
|
||||
"removeImageTooltip": "Remove this image",
|
||||
"applySettings": "Apply Settings",
|
||||
"applySettingsTooltip": "Confirm and apply all the settings above. This does not download the images.",
|
||||
"settings": {
|
||||
"image": {
|
||||
"title": "Image Settings",
|
||||
"description": "Adjust resolution and scaling for all images.",
|
||||
"aspectRatio": "Aspect Ratio",
|
||||
"aspectRatioTooltip": "Choose a preset aspect ratio or select 'Custom' to enter dimensions manually.",
|
||||
"aspectRatios": {
|
||||
"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.",
|
||||
"height": "Height (px)",
|
||||
"heightTooltip": "Set the output height in pixels. Leave blank to use the original height.",
|
||||
"swapDimensionsTooltip": "Swap the entered width and height values.",
|
||||
"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.",
|
||||
"scalingOptions": {
|
||||
"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."
|
||||
},
|
||||
"filename": {
|
||||
"title": "Filename Settings",
|
||||
"description": "Customize the output filenames.",
|
||||
"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)."
|
||||
},
|
||||
"quality": {
|
||||
"title": "Quality Settings",
|
||||
"description": "Choose format and compression level.",
|
||||
"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.",
|
||||
"pngHint": "Quality slider is disabled for PNG (lossless format)."
|
||||
}
|
||||
},
|
||||
"toasts": {
|
||||
"noImages": "Please upload images first.",
|
||||
"conversionStarting": "Starting conversion for {count} images...",
|
||||
"conversionSuccess": "Successfully exported all {count} images!",
|
||||
"conversionError": "An unknown error occurred during conversion.",
|
||||
"singleConversionStarting": "Starting conversion for {filename}...",
|
||||
"singleConversionSuccess": "Successfully exported {filename}!",
|
||||
"settingsApplied": "Settings updated and will be used for all downloads.",
|
||||
"noValidImages": "No valid image files found.",
|
||||
"imagesAdded": "{count} image(s) added.",
|
||||
"allCleared": "All images cleared.",
|
||||
"noDefaultBaseName": "Please enter a default base name to apply.",
|
||||
"uploadFirst": "Upload some images first.",
|
||||
"baseNameApplied": "Set base name to \"{baseName}\" for all {count} images."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user