[vlc-commits] Qt: correctly translate audio effects strings

Jean-Baptiste Kempf git at videolan.org
Tue Jan 30 00:47:22 CET 2018


vlc/vlc-3.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jan 30 00:40:02 2018 +0100| [3529532c4e870ddbca808716875e1b115b0a6cd0] | committer: Jean-Baptiste Kempf

Qt: correctly translate audio effects strings

(cherry picked from commit e19ba6da106775a883df10320cbf1a66674af3c4)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=3529532c4e870ddbca808716875e1b115b0a6cd0
---

 modules/gui/qt/components/extended_panels.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/gui/qt/components/extended_panels.cpp b/modules/gui/qt/components/extended_panels.cpp
index fd82a43fe1..2433833a0b 100644
--- a/modules/gui/qt/components/extended_panels.cpp
+++ b/modules/gui/qt/components/extended_panels.cpp
@@ -1313,10 +1313,10 @@ StereoWidener::StereoWidener( intf_thread_t *p_intf, QWidget *parent )
     i_smallfont = -1;
     const FilterSliderData::slider_data_t a[4] =
     {
-        { "stereowiden-delay",     N_("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-crossfeed", N_("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-delay",     qtr("Delay time"),    "ms", 1.0, 100,  20, 1.0, 1.0 },
+        { "stereowiden-feedback",  qtr("Feedback gain"), "%",  0.0, 0.9, 0.3, 0.1, 1.0 },
+        { "stereowiden-crossfeed", qtr("Crossfeed"),     "%",  0.0, 0.8, 0.3, 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] );
     build();
@@ -1330,7 +1330,7 @@ PitchShifter::PitchShifter( intf_thread_t *p_intf, QWidget *parent )
     : AudioFilterControlWidget( p_intf, parent, "scaletempo_pitch" )
 {
     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 } );
     build();
 }



More information about the vlc-commits mailing list