@@ -1636,7 +1636,7 @@ void gui_changed(dt_iop_module_t *self, GtkWidget *widget, void *previous)
16361636static void _add_basic_curve_controls (dt_iop_module_t * self , dt_iop_basic_curve_controls_t * controls )
16371637{
16381638 GtkWidget * slider = NULL ;
1639- dt_iop_module_t * section = DT_IOP_SECTION_FOR_PARAMS (self , ( gchar * ) C_ ( "section" , "basic curve parameters" ));
1639+ dt_iop_module_t * section = DT_IOP_SECTION_FOR_PARAMS (self , N_ ( "basic curve parameters" ));
16401640
16411641 // curve_pivot_x_shift with picker
16421642 slider = dt_color_picker_new (self , DT_COLOR_PICKER_AREA | DT_COLOR_PICKER_DENOISE ,
@@ -1697,7 +1697,7 @@ static void _add_look_sliders(dt_iop_module_t *self, GtkWidget *parent_widget)
16971697 GtkWidget * original_self_widget = self -> widget ;
16981698 self -> widget = parent_widget ;
16991699
1700- dt_iop_module_t * section = DT_IOP_SECTION_FOR_PARAMS (self , _ ("look" ));
1700+ dt_iop_module_t * section = DT_IOP_SECTION_FOR_PARAMS (self , N_ ("look" ));
17011701
17021702 // Reuse the slider variable for all sliders instead of creating new ones in each scope
17031703 GtkWidget * slider = NULL ;
@@ -1783,7 +1783,7 @@ static GtkWidget* _create_advanced_box(dt_iop_module_t *self, dt_iop_agx_gui_dat
17831783 dt_gui_new_collapsible_section (& g -> advanced_section , "plugins/darkroom/agx/expand_curve_advanced" ,
17841784 _ ("advanced curve parameters" ), GTK_BOX (advanced_box ), DT_ACTION (self ));
17851785 self -> widget = GTK_WIDGET (g -> advanced_section .container );
1786- dt_iop_module_t * section = DT_IOP_SECTION_FOR_PARAMS (self , _ ("advanced curve parameters" ));
1786+ dt_iop_module_t * section = DT_IOP_SECTION_FOR_PARAMS (self , N_ ("advanced curve parameters" ));
17871787
17881788 // Reuse the slider variable for all sliders
17891789 GtkWidget * slider = NULL ;
@@ -1854,7 +1854,7 @@ static void _add_exposure_box(dt_iop_module_t *self, dt_iop_agx_gui_data_t *g)
18541854 // Create section label
18551855 gchar const * section_name = C_ ("section" , "input exposure range" );
18561856 dt_gui_box_add (self -> widget , dt_ui_section_label_new (section_name ));
1857- dt_iop_module_t * section = DT_IOP_SECTION_FOR_PARAMS (self , ( gchar * ) section_name );
1857+ dt_iop_module_t * section = DT_IOP_SECTION_FOR_PARAMS (self , N_ ( "input exposure range" ) );
18581858
18591859 // white point slider and picker
18601860 g -> white_exposure_picker =
@@ -2061,7 +2061,7 @@ static GtkWidget *_add_primaries_box(dt_iop_module_t *self)
20612061
20622062 GtkWidget * primaries_box = gtk_box_new (GTK_ORIENTATION_VERTICAL , DT_BAUHAUS_SPACE );
20632063 self -> widget = primaries_box ;
2064- dt_iop_module_t * section = DT_IOP_SECTION_FOR_PARAMS (self , _ ("primaries" ));
2064+ dt_iop_module_t * section = DT_IOP_SECTION_FOR_PARAMS (self , N_ ("primaries" ));
20652065
20662066 g -> disable_primaries_adjustments = dt_bauhaus_toggle_from_params (section , "disable_primaries_adjustments" );
20672067 gtk_widget_set_tooltip_text (g -> disable_primaries_adjustments ,
0 commit comments