@@ -72,7 +72,7 @@ local function install_module()
7272 if not enf .module_installed then
7373 dt .register_lib (
7474 " enfuse" , -- plugin name
75- " enfuse" , -- name
75+ _ ( " enfuse" ) , -- name
7676 true , -- expandable
7777 false , -- resetable
7878 {[dt .gui .views .lighttable ] = {" DT_UI_CONTAINER_PANEL_RIGHT_CENTER" , 100 }}, -- containers
@@ -135,7 +135,7 @@ if enfuse_installed then
135135 if version < " 4.2" then
136136 exposure_mu = dt .new_widget (" slider" )
137137 {
138- label = " exposure mu" ,
138+ label = _ ( " exposure mu" ) ,
139139 tooltip = _ (" center also known as mean of gaussian weighting function (0 <= mean <= 1); default: 0.5" ),
140140 hard_min = 0 ,
141141 hard_max = 1 ,
@@ -144,7 +144,7 @@ if enfuse_installed then
144144 else
145145 exposure_mu = dt .new_widget (" slider" )
146146 {
147- label = " exposure optimum" ,
147+ label = _ ( " exposure optimum" ) ,
148148 tooltip = _ (" optimum exposure value, usually the maximum of the weighting function (0 <= optimum <=1); default 0.5" ),
149149 hard_min = 0 ,
150150 hard_max = 1 ,
@@ -154,7 +154,7 @@ if enfuse_installed then
154154
155155 local depth = dt .new_widget (" combobox" )
156156 {
157- label = " depth" ,
157+ label = _ ( " depth" ) ,
158158 tooltip = _ (" the number of bits per channel of the output image" ),
159159 value = dt .preferences .read (" enfuse" , " depth" , " integer" ),
160160 changed_callback = function (w ) dt .preferences .write (" enfuse" , " depth" , " integer" , w .selected ) end ,
@@ -163,7 +163,7 @@ if enfuse_installed then
163163
164164 local blend_colorspace = dt .new_widget (" combobox" )
165165 {
166- label = " blend colorspace" ,
166+ label = _ ( " blend colorspace" ) ,
167167 tooltip = _ (" force blending in selected colorspace" ),
168168 changed_callback = function (w ) dt .preferences .write (" enfuse" , " blend_colorspace" , " string" , w .selected ) end ,
169169 " " , " identity" , " ciecam"
0 commit comments