@@ -72,7 +72,7 @@ local function install_module()
72
72
if not enf .module_installed then
73
73
dt .register_lib (
74
74
" enfuse" , -- plugin name
75
- " enfuse" , -- name
75
+ _ ( " enfuse" ) , -- name
76
76
true , -- expandable
77
77
false , -- resetable
78
78
{[dt .gui .views .lighttable ] = {" DT_UI_CONTAINER_PANEL_RIGHT_CENTER" , 100 }}, -- containers
@@ -135,7 +135,7 @@ if enfuse_installed then
135
135
if version < " 4.2" then
136
136
exposure_mu = dt .new_widget (" slider" )
137
137
{
138
- label = " exposure mu" ,
138
+ label = _ ( " exposure mu" ) ,
139
139
tooltip = _ (" center also known as mean of gaussian weighting function (0 <= mean <= 1); default: 0.5" ),
140
140
hard_min = 0 ,
141
141
hard_max = 1 ,
@@ -144,7 +144,7 @@ if enfuse_installed then
144
144
else
145
145
exposure_mu = dt .new_widget (" slider" )
146
146
{
147
- label = " exposure optimum" ,
147
+ label = _ ( " exposure optimum" ) ,
148
148
tooltip = _ (" optimum exposure value, usually the maximum of the weighting function (0 <= optimum <=1); default 0.5" ),
149
149
hard_min = 0 ,
150
150
hard_max = 1 ,
@@ -154,7 +154,7 @@ if enfuse_installed then
154
154
155
155
local depth = dt .new_widget (" combobox" )
156
156
{
157
- label = " depth" ,
157
+ label = _ ( " depth" ) ,
158
158
tooltip = _ (" the number of bits per channel of the output image" ),
159
159
value = dt .preferences .read (" enfuse" , " depth" , " integer" ),
160
160
changed_callback = function (w ) dt .preferences .write (" enfuse" , " depth" , " integer" , w .selected ) end ,
@@ -163,7 +163,7 @@ if enfuse_installed then
163
163
164
164
local blend_colorspace = dt .new_widget (" combobox" )
165
165
{
166
- label = " blend colorspace" ,
166
+ label = _ ( " blend colorspace" ) ,
167
167
tooltip = _ (" force blending in selected colorspace" ),
168
168
changed_callback = function (w ) dt .preferences .write (" enfuse" , " blend_colorspace" , " string" , w .selected ) end ,
169
169
" " , " identity" , " ciecam"
0 commit comments