Commit 02ef32e6 authored by Lyndon Brown's avatar Lyndon Brown Committed by Jean-Baptiste Kempf
Browse files

remove some useless option longtexts

longtext should add something of value, otherwise results in useless
tooltips and a waste of translator time.

in the ball case, feedback was that the longtext was better than the
existing shorttext.
parent d75459a3
......@@ -95,7 +95,7 @@ int ffmpeg_OpenCodec( decoder_t *p_dec, AVCodecContext *, const AVCodec * );
"(-1=None, 0=Default, 1=B-frames, 2=P-frames, 3=B+P frames, 4=all frames)." )
#define DEBUG_TEXT N_( "Debug mask" )
#define DEBUG_LONGTEXT N_( "Set FFmpeg debug mask" )
#define DEBUG_LONGTEXT NULL
#define CODEC_TEXT N_( "Codec name" )
#define CODEC_LONGTEXT N_( "Internal libavcodec codec name" )
......@@ -133,8 +133,7 @@ int ffmpeg_OpenCodec( decoder_t *p_dec, AVCodecContext *, const AVCodec * );
"motion estimation algorithms. This requires more CPU." )
#define ENC_PRE_ME_TEXT N_( "Pre-motion estimation" )
#define ENC_PRE_ME_LONGTEXT N_( "Enable the pre-motion " \
"estimation algorithm.")
#define ENC_PRE_ME_LONGTEXT NULL
#define ENC_RC_BUF_TEXT N_( "Rate control buffer size" )
#define ENC_RC_BUF_LONGTEXT N_( "Rate control " \
......
......@@ -55,7 +55,7 @@ static int OpenScaler( filter_t * );
static void CloseScaler( filter_t * );
#define SCALEMODE_TEXT N_("Scaling mode")
#define SCALEMODE_LONGTEXT N_("Scaling mode to use.")
#define SCALEMODE_LONGTEXT NULL
static const int pi_mode_values[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
static const char *const ppsz_mode_descriptions[] =
......
......@@ -99,8 +99,7 @@ static int getBallColor( vlc_object_t *p_this, char const *psz_newval );
*****************************************************************************/
#define BALL_COLOR_TEXT N_("Ball color")
#define EDGE_VISIBLE_TEXT N_("Edge visible")
#define EDGE_VISIBLE_LONGTEXT N_("Set edge visibility.")
#define EDGE_VISIBLE_TEXT N_("Set edge visibility")
#define BALL_SPEED_TEXT N_("Ball speed")
#define BALL_SPEED_LONGTEXT N_("Set ball speed, the displacement value " \
......@@ -142,7 +141,7 @@ vlc_module_begin ()
GRAD_THRESH_TEXT, GRAD_THRESH_LONGTEXT, false )
add_bool( FILTER_PREFIX "edge-visible", true,
EDGE_VISIBLE_TEXT, EDGE_VISIBLE_LONGTEXT, true )
EDGE_VISIBLE_TEXT, NULL, true )
add_shortcut( "ball" )
set_callback_video_filter( Create )
......
......@@ -56,7 +56,7 @@
#define BORDER_TEXT N_("Border")
#define BORDER_LONGTEXT N_("Unshuffled Border width.")
#define PREVIEW_TEXT N_("Small preview")
#define PREVIEW_LONGTEXT N_("Show small preview.")
#define PREVIEW_LONGTEXT NULL
#define PREVIEWSIZE_TEXT N_("Small preview size")
#define PREVIEWSIZE_LONGTEXT N_("Show small preview size (percent of source).")
#define SHAPE_SIZE_TEXT N_("Piece edge shape size")
......
......@@ -55,7 +55,7 @@ VIDEO_FILTER_WRAPPER_CLOSE(Filter, Destroy)
* Module descriptor
*****************************************************************************/
#define SEPIA_INTENSITY_TEXT N_("Sepia intensity")
#define SEPIA_INTENSITY_LONGTEXT N_("Intensity of sepia effect" )
#define SEPIA_INTENSITY_LONGTEXT NULL
#define CFG_PREFIX "sepia-"
......
......@@ -49,10 +49,10 @@
"Something like ft.noise or ftkleine.noise")
#define T_WIDTH N_("Width")
#define LT_WIDTH N_("Video width")
#define LT_WIDTH NULL
#define T_HEIGHT N_("Height")
#define LT_HEIGHT N_("Video height")
#define LT_HEIGHT NULL
static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
video_format_t *fmtp, vlc_video_context *context);
......
......@@ -210,8 +210,7 @@ static const char *const ppsz_stereo_mode_texts[] = { N_("Unset"),
#define AUDIO_REPLAY_GAIN_MODE_TEXT N_( \
"Replay gain mode" )
#define AUDIO_REPLAY_GAIN_MODE_LONGTEXT N_( \
"Select the replay gain mode" )
#define AUDIO_REPLAY_GAIN_MODE_LONGTEXT NULL
#define AUDIO_REPLAY_GAIN_PREAMP_TEXT N_( \
"Replay preamp" )
#define AUDIO_REPLAY_GAIN_PREAMP_LONGTEXT N_( \
......@@ -340,9 +339,7 @@ static const char *const ppsz_align_descriptions[] =
#define MOUSE_HIDE_TIMEOUT_TEXT N_("Hide cursor and fullscreen " \
"controller after x milliseconds")
#define MOUSE_HIDE_TIMEOUT_LONGTEXT N_( \
"Hide mouse cursor and fullscreen controller after " \
"n milliseconds.")
#define MOUSE_HIDE_TIMEOUT_LONGTEXT NULL
#define DEINTERLACE_TEXT N_("Deinterlace")
static const int pi_deinterlace[] = {
......
Supports Markdown
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