diff --git a/rtdata/languages/default b/rtdata/languages/default index cd20f1e8c..5d16fe2e9 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -2301,6 +2301,7 @@ TP_LOCALLAB_EXECLU;Excluding spot TP_LOCALLAB_EXPOSE;Exposure TP_LOCALLAB_GRADFRA;Graduated Filter TP_LOCALLAB_FEATH_TOOLTIP;Gradient width in percent of the Spot diagonal\n.. +TP_LOCALLAB_GRADGEN_TOOLTIP;Graduated filter installed in Color and Light, Exposure & mask, Shadows Highlight.\n\nColor and Light & merge file are furnished with GF luminance, chrominance, Hue.\nFeather is located in settings. TP_LOCALLAB_GRADSTR_TOOLTIP;Filter strength in stops TP_LOCALLAB_GRADANG_TOOLTIP;Rotation angle in degrees : -180 0 +180 TP_LOCALLAB_GRADSTRAB_TOOLTIP;Filter chroma strength diff --git a/rtgui/locallab.cc b/rtgui/locallab.cc index c8d9d3ce0..368dc4057 100644 --- a/rtgui/locallab.cc +++ b/rtgui/locallab.cc @@ -708,7 +708,7 @@ pe(nullptr) } if (showtooltip) { - strcol->set_tooltip_text(M("TP_LOCALLAB_GRADSTR_TOOLTIP")); + strcol->set_tooltip_text(M("TP_LOCALLAB_GRADGEN_TOOLTIP")); strcolab->set_tooltip_text(M("TP_LOCALLAB_GRADSTRAB_TOOLTIP")); strcolh->set_tooltip_text(M("TP_LOCALLAB_GRADSTRHUE_TOOLTIP")); angcol->set_tooltip_text(M("TP_LOCALLAB_GRADANG_TOOLTIP")); @@ -1173,8 +1173,8 @@ pe(nullptr) fatlevel->setAdjusterListener(this); if (showtooltip) { - strexp->set_tooltip_text(M("TP_LOCALLAB_GRADSTR_TOOLTIP")); - strmaskexp->set_tooltip_text(M("TP_LOCALLAB_GRADSTR_TOOLTIP")); + strexp->set_tooltip_text(M("TP_LOCALLAB_GRADGEN_TOOLTIP")); + strmaskexp->set_tooltip_text(M("TP_LOCALLAB_GRADGEN_TOOLTIP")); angexp->set_tooltip_text(M("TP_LOCALLAB_GRADANG_TOOLTIP")); angmaskexp->set_tooltip_text(M("TP_LOCALLAB_GRADANG_TOOLTIP")); } @@ -1302,6 +1302,7 @@ pe(nullptr) fatFrame->add(*fatBox); gradFrame->set_label_align(0.025, 0.5); + ToolParamBlock* const gradBox = Gtk::manage(new ToolParamBlock()); gradBox->pack_start(*strexp); gradBox->pack_start(*angexp); @@ -1323,7 +1324,11 @@ pe(nullptr) exposeBox->pack_start(*structexp); exposeBox->pack_start(*blurexpde); exposeBox->pack_start(*gradFrame); - +/* + if (showtooltip) { + gradFrame->set_tooltip_markup(M("TP_LOCALLAB_GRADGEN_TOOLTIP")); + } +*/ exposeBox->pack_start(*softradiusexp); exposeBox->pack_start(*curveEditorG, Gtk::PACK_SHRINK, 4); // Padding is mandatory to correct behavior of curve editor exposeBox->pack_start(*inversex); @@ -1409,7 +1414,7 @@ pe(nullptr) } if (showtooltip) { - strSH->set_tooltip_text(M("TP_LOCALLAB_GRADSTR_TOOLTIP")); + strSH->set_tooltip_text(M("TP_LOCALLAB_GRADGEN_TOOLTIP")); angSH->set_tooltip_text(M("TP_LOCALLAB_GRADANG_TOOLTIP")); }