Commit e19ba6da authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: correctly translate audio effects strings

parent cc075868
...@@ -1313,10 +1313,10 @@ StereoWidener::StereoWidener( intf_thread_t *p_intf, QWidget *parent ) ...@@ -1313,10 +1313,10 @@ StereoWidener::StereoWidener( intf_thread_t *p_intf, QWidget *parent )
i_smallfont = -1; i_smallfont = -1;
const FilterSliderData::slider_data_t a[4] = const FilterSliderData::slider_data_t a[4] =
{ {
{ "stereowiden-delay", N_("Delay time"), "ms", 1.0, 100, 20, 1.0, 1.0 }, { "stereowiden-delay", qtr("Delay time"), "ms", 1.0, 100, 20, 1.0, 1.0 },
{ "stereowiden-feedback", N_("Feedback gain"), "%", 0.0, 0.9, 0.3, 0.1, 1.0 }, { "stereowiden-feedback", qtr("Feedback gain"), "%", 0.0, 0.9, 0.3, 0.1, 1.0 },
{ "stereowiden-crossfeed", N_("Crossfeed"), "%", 0.0, 0.8, 0.3, 0.1, 1.0 }, { "stereowiden-crossfeed", qtr("Crossfeed"), "%", 0.0, 0.8, 0.3, 0.1, 1.0 },
{ "stereowiden-dry-mix", N_("Dry mix"), "%", 0.0, 1.0, 0.8, 0.1, 1.0 }, { "stereowiden-dry-mix", qtr("Dry mix"), "%", 0.0, 1.0, 0.8, 0.1, 1.0 },
}; };
for( int i=0; i<4 ;i++ ) controls.append( a[i] ); for( int i=0; i<4 ;i++ ) controls.append( a[i] );
build(); build();
...@@ -1330,7 +1330,7 @@ PitchShifter::PitchShifter( intf_thread_t *p_intf, QWidget *parent ) ...@@ -1330,7 +1330,7 @@ PitchShifter::PitchShifter( intf_thread_t *p_intf, QWidget *parent )
: AudioFilterControlWidget( p_intf, parent, "scaletempo_pitch" ) : AudioFilterControlWidget( p_intf, parent, "scaletempo_pitch" )
{ {
i_smallfont = -1; i_smallfont = -1;
controls.append( { "pitch-shift", N_("Adjust pitch"), "semitones", controls.append( { "pitch-shift", qtr("Adjust pitch"), "semitones",
-12.0, 12.0, 0.0, 0.25, 1.0 } ); -12.0, 12.0, 0.0, 0.25, 1.0 } );
build(); build();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment