Commit 0551c2b4 authored by Clément Stenac's avatar Clément Stenac

Fix strings

parent 061d67bd
...@@ -53,14 +53,23 @@ static void Close( vlc_object_t * ); ...@@ -53,14 +53,23 @@ static void Close( vlc_object_t * );
"requested to access the stream." ) "requested to access the stream." )
#define MIME_TEXT N_("Mime") #define MIME_TEXT N_("Mime")
#define MIME_LONGTEXT N_("Allows you to give the mime returned by the server." ) #define MIME_LONGTEXT N_("Allows you to give the mime returned by the server." )
#define CERT_TEXT N_( "Certificate file" ) #define CERT_TEXT N_( "Certificate file" )
#define CERT_LONGTEXT N_( "HTTP/SSL stream output x509 PEM certificate file" ) #define CERT_LONGTEXT N_( "Path to the x509 PEM certificate file that will "\
"be used by the HTTP/SSL stream output" )
#define KEY_TEXT N_( "Private key file" ) #define KEY_TEXT N_( "Private key file" )
#define KEY_LONGTEXT N_( "HTTP/SSL stream output x509 PEM private key file" ) #define KEY_LONGTEXT N_( "Path to the x509 PEM private key file that will " \
" be used by the HTTP/SSL stream output. Leave " \
"empty if you don't have one." )
#define CA_TEXT N_( "Root CA file" ) #define CA_TEXT N_( "Root CA file" )
#define CA_LONGTEXT N_( "HTTP/SSL stream output x509 PEM trusted root CA certificates file" ) #define CA_LONGTEXT N_( "Path to the x509 PEM trusted root CA certificates " \
"(certificate authority) file that will be used by " \
"the HTTP/SSL stream output. Leave empty if you " \
"don't have one." )
#define CRL_TEXT N_( "CRL file" ) #define CRL_TEXT N_( "CRL file" )
#define CRL_LONGTEXT N_( "HTTP/SSL stream output Certificates Revocation List file" ) #define CRL_LONGTEXT N_( "Path to the x509 PEM Certificates Revocation List " \
"file that will be HTTP/SSL stream output. Leave " \
"empty if you don't have one." )
vlc_module_begin(); vlc_module_begin();
set_description( _("HTTP stream output") ); set_description( _("HTTP stream output") );
...@@ -68,13 +77,20 @@ vlc_module_begin(); ...@@ -68,13 +77,20 @@ vlc_module_begin();
add_shortcut( "http" ); add_shortcut( "http" );
add_shortcut( "https" ); add_shortcut( "https" );
add_shortcut( "mmsh" ); add_shortcut( "mmsh" );
add_string( SOUT_CFG_PREFIX "user", "", NULL, USER_TEXT, USER_LONGTEXT, VLC_TRUE ); add_string( SOUT_CFG_PREFIX "user", "", NULL,
add_string( SOUT_CFG_PREFIX "pwd", "", NULL, PASS_TEXT, PASS_LONGTEXT, VLC_TRUE ); USER_TEXT, USER_LONGTEXT, VLC_TRUE );
add_string( SOUT_CFG_PREFIX "mime", "", NULL, MIME_TEXT, MIME_LONGTEXT, VLC_TRUE ); add_string( SOUT_CFG_PREFIX "pwd", "", NULL,
add_string( SOUT_CFG_PREFIX "cert", "vlc.pem", NULL, CERT_TEXT, CERT_LONGTEXT, VLC_TRUE ); PASS_TEXT, PASS_LONGTEXT, VLC_TRUE );
add_string( SOUT_CFG_PREFIX "key", NULL, NULL, KEY_TEXT, KEY_LONGTEXT, VLC_TRUE ); add_string( SOUT_CFG_PREFIX "mime", "", NULL,
add_string( SOUT_CFG_PREFIX "ca", NULL, NULL, CA_TEXT, CA_LONGTEXT, VLC_TRUE ); MIME_TEXT, MIME_LONGTEXT, VLC_TRUE );
add_string( SOUT_CFG_PREFIX "crl", NULL, NULL, CRL_TEXT, CRL_LONGTEXT, VLC_TRUE ); add_string( SOUT_CFG_PREFIX "cert", "vlc.pem", NULL,
CERT_TEXT, CERT_LONGTEXT, VLC_TRUE );
add_string( SOUT_CFG_PREFIX "key", NULL, NULL,
KEY_TEXT, KEY_LONGTEXT, VLC_TRUE );
add_string( SOUT_CFG_PREFIX "ca", NULL, NULL,
CA_TEXT, CA_LONGTEXT, VLC_TRUE );
add_string( SOUT_CFG_PREFIX "crl", NULL, NULL,
CRL_TEXT, CRL_LONGTEXT, VLC_TRUE );
set_callbacks( Open, Close ); set_callbacks( Open, Close );
vlc_module_end(); vlc_module_end();
......
...@@ -63,8 +63,8 @@ static void Close( vlc_object_t * ); ...@@ -63,8 +63,8 @@ static void Close( vlc_object_t * );
#define ANALYSE_LONGTEXT N_( "This selects the analysing mode.") #define ANALYSE_LONGTEXT N_( "This selects the analysing mode.")
#define KEYINT_TEXT N_("Sets maximum interval between I frames") #define KEYINT_TEXT N_("Sets maximum interval between I frames")
#define KEYINT_LONGTEXT N_( "Larger values save bits, thus improve quality, " \ #define KEYINT_LONGTEXT N_( "Larger values save bits, thus improve quality "\
"at the cost of seeking precision." ) "for a given bitrate, at the cost of seeking precision." )
#define IDRINT_TEXT N_("IDR frames") #define IDRINT_TEXT N_("IDR frames")
#define IDRINT_LONGTEXT N_("In H.264, I-Frames do not necessarily bound a " \ #define IDRINT_LONGTEXT N_("In H.264, I-Frames do not necessarily bound a " \
......
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