Commit 0af0de20 authored by Clément Stenac's avatar Clément Stenac

Access strings (Refs:#438)

parent 70855de9
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#define RECORD_PATH_TXT N_("Record directory") #define RECORD_PATH_TXT N_("Record directory")
#define RECORD_PATH_LONGTXT N_( \ #define RECORD_PATH_LONGTXT N_( \
"Allows you to specify the directory where the record will be stored" ) "Directory where the record will be stored." )
static int Open ( vlc_object_t * ); static int Open ( vlc_object_t * );
static void Close( vlc_object_t * ); static void Close( vlc_object_t * );
......
...@@ -42,8 +42,8 @@ static int Open ( vlc_object_t * ); ...@@ -42,8 +42,8 @@ static int Open ( vlc_object_t * );
static void Close( vlc_object_t * ); static void Close( vlc_object_t * );
#define GRANULARITY_TEXT N_("Timeshift granularity") #define GRANULARITY_TEXT N_("Timeshift granularity")
#define GRANULARITY_LONGTEXT N_( "Size of the temporary files use to store " \ #define GRANULARITY_LONGTEXT N_( "This is the size of the temporary files " \
"the timeshifted stream." ) "tha will be used to store the timeshifted streams." )
#define DIR_TEXT N_("Timeshift directory") #define DIR_TEXT N_("Timeshift directory")
#define DIR_LONGTEXT N_( "Directory used to store the timeshift temporary " \ #define DIR_LONGTEXT N_( "Directory used to store the timeshift temporary " \
"files." ) "files." )
......
...@@ -58,32 +58,33 @@ static void Close( vlc_object_t * ); ...@@ -58,32 +58,33 @@ static void Close( vlc_object_t * );
#define SOUT_CFG_PREFIX "sout-http-" #define SOUT_CFG_PREFIX "sout-http-"
#define USER_TEXT N_("Username") #define USER_TEXT N_("Username")
#define USER_LONGTEXT N_("Allows you to give a user name that will be " \ #define USER_LONGTEXT N_("User name that will be " \
"requested to access the stream." ) "requested to access the stream." )
#define PASS_TEXT N_("Password") #define PASS_TEXT N_("Password")
#define PASS_LONGTEXT N_("Allows you to give a password that will be " \ #define PASS_LONGTEXT N_("Password that will be " \
"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_("MIME returned by the server (autodetected " \
"if not specified." )
#define CERT_TEXT N_( "Certificate file" ) #define CERT_TEXT N_( "Certificate file" )
#define CERT_LONGTEXT N_( "Path to the x509 PEM certificate file that will "\ #define CERT_LONGTEXT N_( "Path to the x509 PEM certificate file that will "\
"be used by the HTTP/SSL stream output" ) "be used for HTTPS." )
#define KEY_TEXT N_( "Private key file" ) #define KEY_TEXT N_( "Private key file" )
#define KEY_LONGTEXT N_( "Path to the x509 PEM private key file that will " \ #define KEY_LONGTEXT N_( "Path to the x509 PEM private key file that will " \
" be used by the HTTP/SSL stream output. Leave " \ " be used for HTTPS. Leave " \
"empty if you don't have one." ) "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_( "Path to the x509 PEM trusted root CA certificates " \ #define CA_LONGTEXT N_( "Path to the x509 PEM trusted root CA certificates " \
"(certificate authority) file that will be used by " \ "(certificate authority) file that will be used for" \
"the HTTP/SSL stream output. Leave empty if you " \ "HTTPS. Leave empty if you " \
"don't have one." ) "don't have one." )
#define CRL_TEXT N_( "CRL file" ) #define CRL_TEXT N_( "CRL file" )
#define CRL_LONGTEXT N_( "Path to the x509 PEM Certificates Revocation List " \ #define CRL_LONGTEXT N_( "Path to the x509 PEM Certificates Revocation List " \
"file that will be HTTP/SSL stream output. Leave " \ "file that will be used for SSL. Leave " \
"empty if you don't have one." ) "empty if you don't have one." )
#define BONJOUR_TEXT N_( "Advertise with Bonjour") #define BONJOUR_TEXT N_( "Advertise with Bonjour")
#define BONJOUR_LONGTEXT N_( "Advertise the stream with the Bonjour protocol" ) #define BONJOUR_LONGTEXT N_( "Advertise the stream with the Bonjour protocol." )
vlc_module_begin(); vlc_module_begin();
......
...@@ -55,28 +55,31 @@ static void Close( vlc_object_t * ); ...@@ -55,28 +55,31 @@ static void Close( vlc_object_t * );
#define SOUT_CFG_PREFIX "sout-shout-" #define SOUT_CFG_PREFIX "sout-shout-"
#define NAME_TEXT N_("Stream-name") #define NAME_TEXT N_("Stream name")
#define NAME_LONGTEXT N_("The name this stream/channel will get on the icecast server." ) #define NAME_LONGTEXT N_("Name to give to this stream/channel on the " \
"icecast server." )
#define DESCRIPTION_TEXT N_("Stream-description") #define DESCRIPTION_TEXT N_("Stream description")
#define DESCRIPTION_LONGTEXT N_("A description of the stream content. (Information about " \ #define DESCRIPTION_LONGTEXT N_("Description of the stream content or " \
"your channel)." ) "information about your channel." )
#define MP3_TEXT N_("Stream MP3") #define MP3_TEXT N_("Stream MP3")
#define MP3_LONGTEXT N_("Normally you have to feed the shoutcast module with Ogg streams. " \ #define MP3_LONGTEXT N_("You normally have to feed the shoutcast module " \
"This option allows you to feed MP3 streams instead, so you can " \ "with Ogg streams. It is also possible to stream " \
"forward MP3 streams to the icecast server." ) "MP3 instead, so you can "\
"forward MP3 streams to the icecast server." )
vlc_module_begin(); vlc_module_begin();
set_description( _("libshout (icecast) output") ); set_description( _("IceCAST output") );
set_shortname( "Shout" ); set_shortname( "Shoutcast" );
set_capability( "sout access", 50 ); set_capability( "sout access", 50 );
set_category( CAT_SOUT ); set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_ACO ); set_subcategory( SUBCAT_SOUT_ACO );
add_shortcut( "shout" ); add_shortcut( "shout" );
add_string( SOUT_CFG_PREFIX "name", "VLC media player - Live stream", NULL, add_string( SOUT_CFG_PREFIX "name", "VLC media player - Live stream", NULL,
NAME_TEXT, NAME_LONGTEXT, VLC_FALSE ); NAME_TEXT, NAME_LONGTEXT, VLC_FALSE );
add_string( SOUT_CFG_PREFIX "description", "Live stream from VLC media player. " \ add_string( SOUT_CFG_PREFIX "description",
"Live stream from VLC media player. " \
"http://www.videolan.org/vlc", NULL, "http://www.videolan.org/vlc", NULL,
DESCRIPTION_TEXT, DESCRIPTION_LONGTEXT, VLC_FALSE ); DESCRIPTION_TEXT, DESCRIPTION_LONGTEXT, VLC_FALSE );
add_bool( SOUT_CFG_PREFIX "mp3", VLC_FALSE, NULL, add_bool( SOUT_CFG_PREFIX "mp3", VLC_FALSE, NULL,
......
...@@ -74,21 +74,21 @@ static void Close( vlc_object_t * ); ...@@ -74,21 +74,21 @@ static void Close( vlc_object_t * );
#define CACHING_TEXT N_("Caching value (ms)") #define CACHING_TEXT N_("Caching value (ms)")
#define CACHING_LONGTEXT N_( \ #define CACHING_LONGTEXT N_( \
"Allows you to modify the default caching value for UDP streams. This " \ "Default caching value for outbound UDP streams. This " \
"value should be set in millisecond units." ) "value should be set in milliseconds." )
#define TTL_TEXT N_("Time-To-Live (TTL)") #define TTL_TEXT N_("Time-To-Live (TTL)")
#define TTL_LONGTEXT N_("Allows you to define the Time-To-Live of the " \ #define TTL_LONGTEXT N_("Time-To-Live of the " \
"outgoing stream.") "outgoing stream.")
#define GROUP_TEXT N_("Group packets") #define GROUP_TEXT N_("Group packets")
#define GROUP_LONGTEXT N_("Packets can be sent one by one at the right time " \ #define GROUP_LONGTEXT N_("Packets can be sent one by one at the right time " \
"or by groups. This allows you to give the number " \ "or by groups. You can choose the number " \
"of packets that will be sent at a time. It " \ "of packets that will be sent at a time. It " \
"helps reducing the scheduling load on " \ "helps reducing the scheduling load on " \
"heavily-loaded systems." ) "heavily-loaded systems." )
#define RAW_TEXT N_("Raw write") #define RAW_TEXT N_("Raw write")
#define RAW_LONGTEXT N_("If you enable this option, packets will be sent " \ #define RAW_LONGTEXT N_("Packets will be sent " \
"directly, without trying to fill the MTU (ie, " \ "directly, without trying to fill the MTU (ie, " \
"without trying to make the biggest possible packets " \ "without trying to make the biggest possible packets " \
"in order to improve streaming)." ) "in order to improve streaming)." )
......
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