[vlc-commits] Resampler: don't translate complex technical strings
Jean-Baptiste Kempf
git at videolan.org
Fri Nov 24 16:14:19 CET 2017
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 24 16:08:33 2017 +0100| [bb8cf576c160dadc6276278819b3307d558b1daa] | committer: Jean-Baptiste Kempf
Resampler: don't translate complex technical strings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bb8cf576c160dadc6276278819b3307d558b1daa
---
modules/audio_filter/resampler/soxr.c | 15 ++++++++-------
modules/audio_filter/resampler/speex.c | 3 +--
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/modules/audio_filter/resampler/soxr.c b/modules/audio_filter/resampler/soxr.c
index d348769778..2db9921a5a 100644
--- a/modules/audio_filter/resampler/soxr.c
+++ b/modules/audio_filter/resampler/soxr.c
@@ -37,16 +37,17 @@
#include <math.h>
#include <soxr.h>
-#define SOXR_QUALITY_TEXT N_( "Sox Resampling quality" )
+#define SOXR_QUALITY_TEXT N_( "Resampling quality" )
+#define SOXR_QUALITY_LONGTEXT N_( "Resampling quality, from worst to best" )
static const int soxr_resampler_quality_vlclist[] = { 0, 1, 2, 3, 4 };
static const char *const soxr_resampler_quality_vlctext[] =
{
- N_( "Quick cubic interpolation" ),
- N_( "Low 16-bit with larger roll-off" ),
- N_( "Medium 16-bit with medium roll-off" ),
- N_( "High quality" ),
- N_( "Very high quality" )
+ "Quick cubic interpolation",
+ "Low 16-bit with larger roll-off",
+ "Medium 16-bit with medium roll-off",
+ "High quality",
+ "Very high quality"
};
static const soxr_datatype_t soxr_resampler_quality_list[] =
{
@@ -63,7 +64,7 @@ static int OpenResampler( vlc_object_t * );
static void Close( vlc_object_t * );
vlc_module_begin ()
- set_shortname( "SoX Resampler" )
+ set_shortname( N_("SoX Resampler") )
set_category( CAT_AUDIO )
set_subcategory( SUBCAT_AUDIO_RESAMPLER )
add_integer( "soxr-resampler-quality", 2,
diff --git a/modules/audio_filter/resampler/speex.c b/modules/audio_filter/resampler/speex.c
index a1e09e4eb8..fb2e349d9e 100644
--- a/modules/audio_filter/resampler/speex.c
+++ b/modules/audio_filter/resampler/speex.c
@@ -32,8 +32,7 @@
#include <speex/speex_resampler.h>
#define QUALITY_TEXT N_("Resampling quality")
-#define QUALITY_LONGTEXT N_( \
- "Resampling quality (0 = worst and fastest, 10 = best and slowest).")
+#define QUALITY_LONGTEXT N_( "Resampling quality, from worst to best" )
static int Open (vlc_object_t *);
static int OpenResampler (vlc_object_t *);
More information about the vlc-commits
mailing list