From 3a2d810784448571fa79fc18a8a0f213759693dd Mon Sep 17 00:00:00 2001 From: Desmis Date: Thu, 6 Feb 2020 14:37:32 +0100 Subject: [PATCH] Chnage some labels and tooltip --- rtdata/languages/default | 7 ++++--- rtgui/locallab.cc | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/rtdata/languages/default b/rtdata/languages/default index 88e57fed6..c90242e70 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -2233,7 +2233,7 @@ TP_LOCALLAB_BASELOG;Logarithm base TP_LOCALLAB_BILATERAL;Bilateral filter TP_LOCALLAB_BLACK_EV;Black Ev TP_LOCALLAB_BLENDMASKCOL;Blend -TP_LOCALLAB_BLGUID;Guided Filter Luminance +TP_LOCALLAB_BLGUID;Guided Filter TP_LOCALLAB_BLINV;Inverse TP_LOCALLAB_BLCO;Chrominance only TP_LOCALLAB_BLLO;Luminance only @@ -2242,8 +2242,8 @@ TP_LOCALLAB_BLMED;Median TP_LOCALLAB_BLMETHOD_TOOLTIP;Normal - direct blur and noise with all settings.\nInverse - Inverse blur and noise without scope and without enhanced algorithm.\nSymmetric - inverse blur and noise with all settings. Be careful some results may be curious TP_LOCALLAB_BLNORM;Normal TP_LOCALLAB_BLSYM;Symmetric -TP_LOCALLAB_BLUFR;Smooth - Blur - Noise - Grain -TP_LOCALLAB_BLUMETHOD_TOOLTIP;To blur the background and isolate the foreground:\n*Blur the background by a RT-spot fully covering the image (high values for scope and transition) - normal or inverse.\n*Isolate the foreground by one or more excluding RT-spot with the tools you want (increse scope), you can use a mask to enhance and amplify the effects +TP_LOCALLAB_BLUFR;Smooth - Blur - Grain (& additional denoise) +TP_LOCALLAB_BLUMETHOD_TOOLTIP;To blur the background and isolate the foreground:\n*Blur the background by a RT-spot fully covering the image (high values for scope and transition) - normal or inverse.\n*Isolate the foreground by one or more excluding RT-spot with the tools you want (increse scope), you can use a mask to enhance and amplify the effects.\n\nThis module can be used in additional noise reduction,including "median" and "Guided filter" TP_LOCALLAB_BLUR;Gaussian Blur - Noise - Grain TP_LOCALLAB_BLURCBDL;Blur levels 0-1-2-3-4 TP_LOCALLAB_BLURCOL;Radius Mask Blur @@ -2312,6 +2312,7 @@ TP_LOCALLAB_DEHAZ;Strength TP_LOCALLAB_DEHAZ_TOOLTIP;Negative values add haze TP_LOCALLAB_DELTAEC;Mask ΔE Image TP_LOCALLAB_DENOIS;Ψ Denoise +TP_LOCALLAB_DENOI_TOOLTIP;This module can be used alone (at the end of process), or in complement of main denoise (at the beginning).\nScope allows to differentiate the action according to the color (deltaE).\nYou can complete the action with "median" or "Guide Filter" (Smooth Blur...) TP_LOCALLAB_DEPTH;Depth TP_LOCALLAB_DETAIL;Local contrast TP_LOCALLAB_DETAILSH;Details diff --git a/rtgui/locallab.cc b/rtgui/locallab.cc index e28fef5a6..3bde9b07a 100644 --- a/rtgui/locallab.cc +++ b/rtgui/locallab.cc @@ -3939,6 +3939,9 @@ pe(nullptr) denoisBox->pack_start(*sensiden); expdenoi->add(*denoisBox, false); expdenoi->setLevel(2); + if (showtooltip) { + expdenoi->set_tooltip_markup(M("TP_LOCALLAB_DENOI_TOOLTIP")); + } // if (complexsoft < 2) { panel->pack_start(*expdenoi, false, false);