feat: add date-fns dependency and enhance ExifPanel with additional EXIF data fields

- Added `date-fns` library to manage date formatting.
- Enhanced `ExifPanel` to display additional EXIF data including artist, copyright, lens make, and scene capture type.
- Updated localization files to include new translation keys for the added EXIF fields.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-06-14 18:00:58 +08:00
parent 0d709f807a
commit dc90bd8197
8 changed files with 244 additions and 99 deletions

View File

@@ -10,6 +10,7 @@
"error.temporary.description": "The application has encountered a temporary issue. Click the button below to try reloading the application or try other solutions?",
"error.title": "Sorry, the application encountered an error",
"exif.aperture.value": "Aperture Value",
"exif.artist": "Artist",
"exif.auto.white.balance.grb": "Auto White Balance GRB",
"exif.basic.info": "Basic Information",
"exif.blue.adjustment": "Blue Adjustment",
@@ -25,6 +26,7 @@
"exif.colorspace.adobe.rgb": "Adobe RGB",
"exif.colorspace.srgb": "sRGB",
"exif.colorspace.uncalibrated": "Uncalibrated",
"exif.copyright": "Copyright",
"exif.custom.rendered.normal": "Normal Process",
"exif.custom.rendered.special": "Custom Process",
"exif.custom.rendered.type": "Custom Rendered",
@@ -61,6 +63,7 @@
"exif.flash.forced.mode": "Flash fired, compulsory flash mode",
"exif.flash.forced.no.return": "Flash fired, compulsory flash mode, return light not detected",
"exif.flash.forced.return": "Flash fired, compulsory flash mode, return light detected",
"exif.flash.metering.mode": "Flash Metering Mode",
"exif.flash.no-flash": "No Flash",
"exif.flash.no.return": "Flash fired, return light not detected",
"exif.flash.off-did-not-fire": "Off, Did not fire",
@@ -98,6 +101,7 @@
"exif.header.title": "Photo Inspector",
"exif.highlight.tone": "Highlight Tone",
"exif.lens": "Lens",
"exif.lensmake": "Lens Make",
"exif.light.source.auto": "Auto",
"exif.light.source.cloudy": "Cloudy Weather",
"exif.light.source.cool.white.fluorescent": "Cool White Fluorescent (W 3900 4500K)",
@@ -133,12 +137,14 @@
"exif.metering.mode.type": "Metering Mode",
"exif.metering.mode.unknown": "Unknown",
"exif.noise.reduction": "Noise Reduction",
"exif.not.available": "N/A",
"exif.pixels": "Pixels",
"exif.red.adjustment": "Red Adjustment",
"exif.resolution.unit.cm": "Centimeters",
"exif.resolution.unit.inches": "Inches",
"exif.resolution.unit.none": "No Unit",
"exif.saturation": "Saturation",
"exif.scene.capture.type": "Scene Capture Type",
"exif.sensing.method.color.sequential.linear": "Color Sequential Linear Sensor",
"exif.sensing.method.color.sequential.main": "Color Sequential Area Sensor",
"exif.sensing.method.one-chip-color-area": "One-chip color area",
@@ -151,9 +157,11 @@
"exif.shadow.tone": "Shadow Tone",
"exif.sharpness": "Sharpness",
"exif.shutter.speed.value": "Shutter Speed Value",
"exif.software": "Software",
"exif.standard.white.balance.grb": "Standard White Balance GRB",
"exif.tags": "Tags",
"exif.technical.parameters": "Technical Parameters",
"exif.time.zone": "Time Zone",
"exif.unknown": "Unknown",
"exif.white.balance.auto": "Auto White Balance",
"exif.white.balance.bias": "White Balance Bias",