From 00dcf466a24ab8db0a1c23597c6be61f512170fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20Paul=20K=C3=BChne?= Date: Sun, 5 Sep 2004 16:53:04 +0000 Subject: [PATCH] * string review --- modules/access/pvr/pvr.c | 6 +++--- modules/audio_filter/normvol.c | 2 +- modules/gui/macosx/equalizer.m | 2 +- modules/gui/ncurses.c | 2 +- modules/gui/wxwindows/bookmarks.cpp | 2 +- modules/gui/wxwindows/extrapanel.cpp | 6 +++--- modules/video_output/snapshot.c | 8 ++++---- src/audio_output/input.c | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/modules/access/pvr/pvr.c b/modules/access/pvr/pvr.c index f4c1d52764..0d6682a8d0 100644 --- a/modules/access/pvr/pvr.c +++ b/modules/access/pvr/pvr.c @@ -51,7 +51,7 @@ static void Close( vlc_object_t * ); static int i_norm_list[] = { V4L2_STD_UNKNOWN, V4L2_STD_SECAM, V4L2_STD_PAL, V4L2_STD_NTSC }; static char *psz_norm_list_text[] = { N_("Automatic"), N_("SECAM"), - N_("PAL"), N_("NSTC") }; + N_("PAL"), N_("NTSC") }; #define WIDTH_TEXT N_( "Width" ) #define WIDTH_LONGTEXT N_( "Width of the stream to capture (-1 for " \ @@ -68,7 +68,7 @@ static char *psz_norm_list_text[] = { N_("Automatic"), N_("SECAM"), #define KEYINT_LONGTEXT N_( "Interval between keyframes (-1 for " \ " auto)" ) #define BFRAMES_TEXT N_( "B Frames" ) -#define BFRAMES_LONGTEXT N_("If this option is set, B-Frames will be used." \ +#define BFRAMES_LONGTEXT N_("If this option is set, B-Frames will be used. " \ "Use this option to set the number of B-Frames.") #define BITRATE_TEXT N_( "Bitrate" ) #define BITRATE_LONGTEXT N_( "Bitrate to use (-1 for default)" ) @@ -80,7 +80,7 @@ static char *psz_norm_list_text[] = { N_("Automatic"), N_("SECAM"), #define BITMASK_LONGTEXT N_("This option allows setting of bitmask that will get used by the audio part of the card." ) #define CHAN_TEXT N_( "Channel" ) #define CHAN_LONGTEXT N_( "Channel of the card to use (Usually, 0 = tuner, " \ - "1 = composite, 2 = svideo )" ) + "1 = composite, 2 = svideo)" ) static int i_bitrates[] = { 0, 1 }; static char *psz_bitrates_list_text[] = { N_("vbr"), N_("cbr") }; diff --git a/modules/audio_filter/normvol.c b/modules/audio_filter/normvol.c index 803df3c71f..da3c2832b4 100644 --- a/modules/audio_filter/normvol.c +++ b/modules/audio_filter/normvol.c @@ -69,7 +69,7 @@ struct aout_filter_sys_t { #define BUFF_LONGTEXT N_("This is the number of audio buffers on which the " \ "power measurement is made. A higher number of buffers will " \ "increase the response time of the filter to a high " \ - "power but will make it less sensitive to short variations " ) + "power but will make it less sensitive to short variations." ) #define LEVEL_TEXT N_("Max level" ) #define LEVEL_LONGTEXT N_("If the average power over the last N buffers " \ diff --git a/modules/gui/macosx/equalizer.m b/modules/gui/macosx/equalizer.m index c8a2cb5564..18ef1981ee 100644 --- a/modules/gui/macosx/equalizer.m +++ b/modules/gui/macosx/equalizer.m @@ -140,7 +140,7 @@ static vlc_bool_t GetFiltersStatus( intf_thread_t *p_intf, [o_btn_equalizer setToolTip: _NS("Equalizer")]; [o_ckb_2pass setTitle: _NS("2 Pass")]; [o_ckb_2pass setToolTip: _NS("If you enable this settting, the " - "equalizer filter will be applied twice. The effect will be sharper")]; + "equalizer filter will be applied twice. The effect will be sharper.")]; [o_ckb_enable setTitle: _NS("Enable")]; [o_ckb_enable setToolTip: _NS("Enable the equalizer. You can either " "manually change the bands or use a preset.")]; diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c index 36436cf0b2..f8c7f0e203 100644 --- a/modules/gui/ncurses.c +++ b/modules/gui/ncurses.c @@ -85,7 +85,7 @@ static void ReadDir ( intf_thread_t * ); #define BROWSE_TEXT N_("Filebrowser starting point") #define BROWSE_LONGTEXT N_( \ - "This option allows you to specify directory the ncurses filebrowser " \ + "This option allows you to specify the directory the ncurses filebrowser " \ "will show you initially.") vlc_module_begin(); diff --git a/modules/gui/wxwindows/bookmarks.cpp b/modules/gui/wxwindows/bookmarks.cpp index 0bfe6b0c7b..c3effc994a 100644 --- a/modules/gui/wxwindows/bookmarks.cpp +++ b/modules/gui/wxwindows/bookmarks.cpp @@ -499,7 +499,7 @@ void BookmarksDialog::OnEdit( wxCommandEvent& event ) if( !p_input ) { wxMessageBox( wxU( _("No input found. The stream must be " - "playing or paused for bookmarks to work") ), + "playing or paused for bookmarks to work.") ), wxU( _("No input") ), wxICON_WARNING | wxOK, this ); return; diff --git a/modules/gui/wxwindows/extrapanel.cpp b/modules/gui/wxwindows/extrapanel.cpp index a8a53b713d..575bfbbc35 100644 --- a/modules/gui/wxwindows/extrapanel.cpp +++ b/modules/gui/wxwindows/extrapanel.cpp @@ -394,7 +394,7 @@ wxPanel *ExtraPanel::AudioPanel( wxWindow *parent ) wxCheckBox * normvol_check = new wxCheckBox( panel, NormVol_Event, wxU(_("Volume normalization"))); normvol_check->SetToolTip( wxU(_("This filter prevents the audio output " - "power from going over a defined value" ) ) ); + "power from going over a defined value." ) ) ); wxStaticText *normvol_label = new wxStaticText( panel, -1, wxU( _("Maximum level") ) ); @@ -465,7 +465,7 @@ wxPanel *ExtraPanel::EqzPanel( wxWindow *parent ) wxU(_("2 Pass") ) ); eq_2p_chkbox->SetToolTip( wxU(_("If you enable this settting, the " - "equalizer filter will be applied twice. The effect will be sharper") ) ); + "equalizer filter will be applied twice. The effect will be sharper.") ) ); top_sizer->Add( eq_2p_chkbox, 0, wxALL, 2 ); @@ -916,7 +916,7 @@ void ExtraPanel::OnFiltersInfo(wxCommandEvent& event) "You can then configure each filter.\n" "If you want fine control over the filters ( to choose " "the order in which they are applied ), you need to enter " - "manually a filters string (Preferences / General / Video." + "manually a filters string (Preferences / General / Video.)" ) ), wxU( _("More information" ) ), wxOK | wxICON_INFORMATION, this->p_parent ); diff --git a/modules/video_output/snapshot.c b/modules/video_output/snapshot.c index 15b791d29e..ee91f3fc12 100644 --- a/modules/video_output/snapshot.c +++ b/modules/video_output/snapshot.c @@ -44,16 +44,16 @@ static void Display ( vout_thread_t *, picture_t * ); * Module descriptor *****************************************************************************/ #define WIDTH_TEXT N_( "snapshot width" ) -#define WIDTH_LONGTEXT N_( "Set the width of the snapshot image" ) +#define WIDTH_LONGTEXT N_( "Set the width of the snapshot image." ) #define HEIGHT_TEXT N_( "snapshot height" ) -#define HEIGHT_LONGTEXT N_( "Set the height of the snapshot image" ) +#define HEIGHT_LONGTEXT N_( "Set the height of the snapshot image." ) #define CHROMA_TEXT N_( "chroma" ) -#define CHROMA_LONGTEXT N_( "Set the desired chroma for the snapshot image (a 4 character string)" ) +#define CHROMA_LONGTEXT N_( "Set the desired chroma for the snapshot image (a 4 character string)." ) #define CACHE_TEXT N_( "cache size (number of images)" ) -#define CACHE_LONGTEXT N_( "Set the cache size (number of images to keep)" ) +#define CACHE_LONGTEXT N_( "Set the cache size (number of images to keep)." ) vlc_module_begin( ); diff --git a/src/audio_output/input.c b/src/audio_output/input.c index f6b029bbf5..babfbcd1d1 100644 --- a/src/audio_output/input.c +++ b/src/audio_output/input.c @@ -118,7 +118,7 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input ) p_module = config_FindModule( VLC_OBJECT(p_aout), "goom" ); if( p_module ) { - val.psz_string = "goom"; text.psz_string = _("Goom"); + val.psz_string = "goom"; text.psz_string = "Goom"; var_Change( p_aout, "visual", VLC_VAR_ADDCHOICE, &val, &text ); } @@ -126,7 +126,7 @@ int aout_InputNew( aout_instance_t * p_aout, aout_input_t * p_input ) p_module = config_FindModule( VLC_OBJECT(p_aout), "galaktos" ); if( p_module ) { - val.psz_string = "galaktos"; text.psz_string = _("GaLaktos"); + val.psz_string = "galaktos"; text.psz_string = "GaLaktos"; var_Change( p_aout, "visual", VLC_VAR_ADDCHOICE, &val, &text ); } -- 2.39.5