From 7ae95684ff34b32eaaed9e789b70f4338ccf9f00 Mon Sep 17 00:00:00 2001 From: Victor Forsiuk Date: Thu, 30 Apr 2026 11:16:31 +0300 Subject: [PATCH] Latitude is not the best term for linear region --- src/iop/filmic.c | 2 +- src/iop/filmicrgb.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/iop/filmic.c b/src/iop/filmic.c index 0f3a45d0633a..bed131f17b10 100644 --- a/src/iop/filmic.c +++ b/src/iop/filmic.c @@ -1533,7 +1533,7 @@ void gui_init(dt_iop_module_t *self) // latitude slider g->latitude_stops = dt_bauhaus_slider_new_with_range(self, 0.01, 16.0, 0, p->latitude_stops, 3); dt_bauhaus_slider_set_soft_range(g->latitude_stops, 2, 8.0); - dt_bauhaus_widget_set_label(g->latitude_stops, NULL, NC_("curve-linear-part-width", "latitude")); + dt_bauhaus_widget_set_label(g->latitude_stops, NULL, N_("linear region")); dt_bauhaus_slider_set_format(g->latitude_stops, _(" EV")); gtk_widget_set_tooltip_text(g->latitude_stops, _("width of the linear domain in the middle of the curve.\n" diff --git a/src/iop/filmicrgb.c b/src/iop/filmicrgb.c index ece6e5a6c366..2c57ceb2651f 100644 --- a/src/iop/filmicrgb.c +++ b/src/iop/filmicrgb.c @@ -179,7 +179,7 @@ typedef struct dt_iop_filmicrgb_params_t float black_point_target; // $MIN: 0.000 $MAX: 20.000 $DEFAULT: 0.01517634 $DESCRIPTION: "target black luminance" float white_point_target; // $MIN: 0 $MAX: 1600 $DEFAULT: 100 $DESCRIPTION: "target white luminance" float output_power; // $MIN: 1 $MAX: 10 $DEFAULT: 4.0 $DESCRIPTION: "hardness" - float latitude; // $MIN: 0.01 $MAX: 99 $DEFAULT: 0.01 + float latitude; // $MIN: 0.01 $MAX: 99 $DEFAULT: 0.01 $DESCRIPTION: "linear region" float contrast; // $MIN: 0 $MAX: 5 $DEFAULT: 1.0 float saturation; // $MIN: -200 $MAX: 200 $DEFAULT: 0 $DESCRIPTION: "extreme luminance saturation" float balance; // $MIN: -50 $MAX: 50 $DEFAULT: 0.0 $DESCRIPTION: "shadows ↔ highlights balance" @@ -4510,7 +4510,7 @@ void gui_init(dt_iop_module_t *self) "increase to make highlights brighter and less compressed.\n" "decrease to mute highlights.")); - g->latitude = dt_bauhaus_slider_from_params(self, NC_("curve-linear-part-width", "latitude")); + g->latitude = dt_bauhaus_slider_from_params(self, "latitude"); dt_bauhaus_slider_set_soft_range(g->latitude, 0.1, 90.0); dt_bauhaus_slider_set_format(g->latitude, "%"); gtk_widget_set_tooltip_text(g->latitude,