X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_config_cat.h;h=00d7352f061379bd7eca6cbfea6af347dd5ea0cb;hb=26a502e2ffed4103ed3854f91c7593eed3da5b4d;hp=80962408d105725f417a08ab35459725ecf64823;hpb=6f258887aa634d8cceaf9797779521dfd8340be2;p=vlc diff --git a/include/vlc_config_cat.h b/include/vlc_config_cat.h index 80962408d1..00d7352f06 100644 --- a/include/vlc_config_cat.h +++ b/include/vlc_config_cat.h @@ -1,29 +1,30 @@ /***************************************************************************** * vlc_config_cat.h : Definition of configuration categories ***************************************************************************** - * Copyright (C) 2003 the VideoLAN team + * Copyright (C) 2003 VLC authors and VideoLAN * $Id$ * * Authors: Clément Stenac * Anil Daoud * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ #ifndef VLC_HELP_H #define VLC_HELP_H 1 +# include /* * First, we need help strings for the General Settings and for the @@ -73,18 +74,15 @@ #define VIDEO_GENERAL_HELP N_( "General video settings" ) #define _VOUT_TITLE N_("Output modules" ) -#define VOUT_HELP N_( \ - "Choose your preferred video output and configure it here." ) +#define VOUT_HELP N_("General settings for video output modules.") #define VFILTER_TITLE N_("Filters" ) -#define VFILTER_HELP N_( \ - "Video filters are used to process the video stream." ) +#define VFILTER_HELP N_("Video filters are used to process the video stream." ) -#define SUBPIC_TITLE N_( "Subtitles/OSD") +#define SUBPIC_TITLE N_( "Subtitles / OSD") #define SUBPIC_HELP N_( "Settings related to On-Screen-Display,"\ " subtitles and \"overlay subpictures\"") /* -#define TEXT_TITLE N_("Text rendering") #define TEXT_HELP N_( \ "Use the settings of the \"freetype\" module to choose the font you " \ "want VLC to use for text rendering (to display subtitles for example).") @@ -114,10 +112,9 @@ #define ADEC_TITLE N_( "Audio codecs" ) #define ADEC_HELP N_( "Settings for the audio-only decoders and encoders." ) -#define SDEC_TITLE N_( "Subtitles codecs") -#define SDEC_HELP N_( "Settings for subtitles, teletext and CC decoders and encoders." ) +#define SDEC_TITLE N_( "Subtitle codecs") +#define SDEC_HELP N_( "Settings for subtitle, teletext and CC decoders and encoders." ) -#define ADVANCED_TITLE N_("General Input" ) #define ADVANCED_HELP N_( "General input settings. Use with care..." ) /* Sout */ @@ -162,11 +159,6 @@ "more information. You can configure default options for " \ "each sout stream module here.") -#define SOUT_SAP_TITLE N_( "SAP" ) -#define SOUT_SAP_HELP N_( \ - "SAP is a way to publically announce streams that are being "\ - "sent using multicast UDP or RTP." ) - #define SOUT_VOD_TITLE N_( "VOD" ) #define SOUT_VOD_HELP N_( "VLC's implementation of Video On Demand" ) @@ -186,48 +178,8 @@ #define AADVANCED_TITLE N_( "Advanced" ) #define AADVANCED_HELP N_( "Advanced settings. Use with care...") -#define CPU_TITLE N_( "CPU features" ) -#define CPU_HELP N_( "You can choose to disable some CPU accelerations " \ - "here. Use with extreme care!" ) - #define MISC_TITLE N_( "Advanced settings" ) - -/* OLD */ -#if 0 -#define NETWORK_TITLE N_( "Network" ) -#define NETWORK_HELP N_( "These modules provide network functions to all " \ - "other parts of VLC." ) - -#define CHROMA_TITLE N_("Chroma modules settings") -#define CHROMA_HELP N_("These settings affect chroma transformation modules.") - -#define PACKETIZER_TITLE N_("Packetizer modules settings" ) -#define PACKETIZER_HELP "These are general settings for the "\ - "packetizers used in VLC's stream output subsystem." - -#define ENCODER_TITLE N_("Encoders settings") -#define ENCODER_HELP N_( \ - "These are general settings for video/audio/subtitles encoding modules.") - - -#define DIALOGS_TITLE N_("Dialog providers settings") -#define DIALOGS_HELP N_( \ - "Dialog providers can be configured here.") - -#define SUBTITLE_DEMUX_TITLE N_("Subtitle demuxer settings") -#define SUBTITLE_DEMUX_HELP N_( \ - "In this section you can force the behavior of the subtitle demuxer, " \ - "for example by setting the subtitles type or file name.") - -/* - * A little help for modules with unknown capabilities - */ - -#define UNKNOWN_TITLE N_("No help available" ) -#define UNKNOWN_HELP N_("There is no help available for these modules.") -#endif - /* This function is deprecated and is kept only for compatibility */ static const struct config_category_t categories_array[] = { @@ -266,7 +218,6 @@ static const struct config_category_t categories_array[] = { SUBCAT_SOUT_MUX, SOUT_MUX_TITLE, SOUT_MUX_HELP }, { SUBCAT_SOUT_ACO, SOUT_ACO_TITLE, SOUT_ACO_HELP }, { SUBCAT_SOUT_PACKETIZER, SOUT_PACKET_TITLE, SOUT_PACKET_HELP }, - { SUBCAT_SOUT_SAP, SOUT_SAP_TITLE, SOUT_SAP_HELP }, { SUBCAT_SOUT_VOD, SOUT_VOD_TITLE, SOUT_VOD_HELP }, { CAT_PLAYLIST, PLAYLIST_TITLE , PLAYLIST_HELP }, @@ -274,13 +225,12 @@ static const struct config_category_t categories_array[] = { SUBCAT_PLAYLIST_SD, SD_TITLE, SD_HELP }, { CAT_ADVANCED, AADVANCED_TITLE, AADVANCED_HELP }, - { SUBCAT_ADVANCED_CPU, CPU_TITLE, CPU_HELP }, { SUBCAT_ADVANCED_MISC, MISC_TITLE, AADVANCED_HELP }, { -1, NULL, NULL } }; -LIBVLC_USED +VLC_USED static inline const char *config_CategoryNameGet( int i_value ) { int i = 0; @@ -295,7 +245,7 @@ static inline const char *config_CategoryNameGet( int i_value ) return NULL; } -LIBVLC_USED +VLC_USED static inline const char *config_CategoryHelpGet( int i_value ) { int i = 0;