Enhance adjustment nodes with localized labels and improved state management

- Integrated localization for slider labels and prompts in color-adjust, curves, detail-adjust, and light-adjust nodes.
- Updated preset handling to include user-friendly prompts for saving presets.
- Improved state management for slider values and preset selections, enhancing user experience.
- Added reset actions to adjustment nodes for better control over user adjustments.
This commit is contained in:
Matthias
2026-04-02 23:56:45 +02:00
parent b0a844d3a3
commit ef98acd0de
8 changed files with 393 additions and 95 deletions

View File

@@ -1,6 +1,7 @@
{
"common": {
"save": "Speichern",
"reset": "Zurücksetzen",
"cancel": "Abbrechen",
"delete": "Löschen",
"close": "Schließen",
@@ -55,6 +56,58 @@
"compareProcessed": "Verarbeitet",
"custom": "Benutzerdefiniert",
"customize": "Anpassen",
"adjustments": {
"common": {
"presetPlaceholder": "Voreinstellung",
"presetNamePrompt": "Name der Voreinstellung",
"builtinPresetLabel": "Standard: {name}",
"userPresetLabel": "Benutzer: {name}"
},
"curves": {
"title": "Kurven",
"sliders": {
"blackPoint": "Schwarzpunkt",
"whitePoint": "Weißpunkt",
"gamma": "Gamma"
}
},
"colorAdjust": {
"title": "Farbe",
"sliders": {
"hue": "Farbton",
"saturation": "Sättigung",
"luminance": "Luminanz",
"temperature": "Temperatur",
"tint": "Tönung",
"vibrance": "Dynamik"
}
},
"lightAdjust": {
"title": "Licht",
"sliders": {
"brightness": "Helligkeit",
"contrast": "Kontrast",
"exposure": "Belichtung",
"highlights": "Lichter",
"shadows": "Schatten",
"whites": "Weißtöne",
"blacks": "Schwärzen",
"vignette": "Vignette"
}
},
"detailAdjust": {
"title": "Details",
"sliders": {
"sharpen": "Schärfen",
"radius": "Radius",
"threshold": "Schwellwert",
"clarity": "Klarheit",
"denoiseLuma": "Entrauschen Luma",
"denoiseColor": "Entrauschen Farbe",
"grain": "Körnung"
}
}
},
"prompts": {
"prompt1": "Prompt 1",
"prompt2": "Prompt 2",
@@ -121,6 +174,7 @@
"toasts": {
"canvas": {
"imageUploaded": "Bild hochgeladen",
"adjustmentPresetSaved": "Voreinstellung gespeichert",
"uploadFailed": "Upload fehlgeschlagen",
"uploadFormatError": "Format „{format}“ wird nicht unterstützt. Erlaubt: PNG, JPG, WebP.",
"uploadSizeError": "Maximale Dateigröße: {maxMb} MB.",

View File

@@ -1,6 +1,7 @@
{
"common": {
"save": "Save",
"reset": "Reset",
"cancel": "Cancel",
"delete": "Delete",
"close": "Close",
@@ -55,6 +56,58 @@
"compareProcessed": "Processed",
"custom": "Custom",
"customize": "Customize",
"adjustments": {
"common": {
"presetPlaceholder": "Preset",
"presetNamePrompt": "Preset name",
"builtinPresetLabel": "Built-in: {name}",
"userPresetLabel": "User: {name}"
},
"curves": {
"title": "Curves",
"sliders": {
"blackPoint": "Black Point",
"whitePoint": "White Point",
"gamma": "Gamma"
}
},
"colorAdjust": {
"title": "Color",
"sliders": {
"hue": "Hue",
"saturation": "Saturation",
"luminance": "Luminance",
"temperature": "Temperature",
"tint": "Tint",
"vibrance": "Vibrance"
}
},
"lightAdjust": {
"title": "Light",
"sliders": {
"brightness": "Brightness",
"contrast": "Contrast",
"exposure": "Exposure",
"highlights": "Highlights",
"shadows": "Shadows",
"whites": "Whites",
"blacks": "Blacks",
"vignette": "Vignette"
}
},
"detailAdjust": {
"title": "Detail",
"sliders": {
"sharpen": "Sharpen",
"radius": "Radius",
"threshold": "Threshold",
"clarity": "Clarity",
"denoiseLuma": "Denoise Luma",
"denoiseColor": "Denoise Color",
"grain": "Grain"
}
}
},
"prompts": {
"prompt1": "Prompt 1",
"prompt2": "Prompt 2",
@@ -121,6 +174,7 @@
"toasts": {
"canvas": {
"imageUploaded": "Image uploaded",
"adjustmentPresetSaved": "Preset saved",
"uploadFailed": "Upload failed",
"uploadFormatError": "Format \"{format}\" is not supported. Allowed: PNG, JPG, WebP.",
"uploadSizeError": "Maximum file size: {maxMb} MB.",