[vlc-devel] [PATCH] Fix typo 'allows to do' -> 'allows doing'.

Benjamin Drung bdrung at ubuntu.com
Sat Jul 23 20:36:01 CEST 2011


---
 modules/codec/wmafixed/bitstream.c   |    2 +-
 modules/gui/macosx/embeddedwindow.h  |    2 +-
 modules/gui/macosx/wizard.m          |   22 +++++++++++-----------
 modules/gui/skins2/utils/bezier.cpp  |    2 +-
 modules/mmx/fastmemcpy.h             |    2 +-
 modules/mux/mpeg/ts.c                |    2 +-
 modules/video_filter/atmo/README.txt |    6 +++---
 modules/video_filter/atmo/atmo.cpp   |    2 +-
 modules/video_filter/crop.c          |    2 +-
 modules/video_output/msw/directx.c   |    2 +-
 src/input/clock.h                    |    6 +++---
 src/libvlc-module.c                  |    2 +-
 12 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/modules/codec/wmafixed/bitstream.c b/modules/codec/wmafixed/bitstream.c
index 57e57ef..58f43b2 100644
--- a/modules/codec/wmafixed/bitstream.c
+++ b/modules/codec/wmafixed/bitstream.c
@@ -232,7 +232,7 @@ static int build_table(VLC *vlc, int table_nb_bits,
    'xxx_size' : gives the number of bytes of each entry of the 'bits'
    or 'codes' tables.
 
-   'wrap' and 'size' allows to use any memory configuration and types
+   'wrap' and 'size' allow using any memory configuration and types
    (byte/word/long) to store the 'bits' and 'codes' tables.
 
    'use_static' should be set to 1 for tables, which should be freed
diff --git a/modules/gui/macosx/embeddedwindow.h b/modules/gui/macosx/embeddedwindow.h
index 8641d39..76846ab 100644
--- a/modules/gui/macosx/embeddedwindow.h
+++ b/modules/gui/macosx/embeddedwindow.h
@@ -111,7 +111,7 @@
 
 - (void)enterFullscreen;
 - (void)leaveFullscreen;
-/* Allows to leave fullscreen by simply fading out the display */
+/* Allows leaving fullscreen by simply fading out the display */
 - (void)leaveFullscreenAndFadeOut: (BOOL)fadeout;
 
 /* private */
diff --git a/modules/gui/macosx/wizard.m b/modules/gui/macosx/wizard.m
index 1e41dca..5c462df 100644
--- a/modules/gui/macosx/wizard.m
+++ b/modules/gui/macosx/wizard.m
@@ -321,7 +321,7 @@ static VLCWizard *_o_sharedInstance = nil;
 
     /* page one ("Hello") */
     [o_t1_txt_title setStringValue: _NS("Streaming/Transcoding Wizard")];
-    [o_t1_txt_text setStringValue: _NS("This wizard allows to configure "
+    [o_t1_txt_text setStringValue: _NS("This wizard allows configuring "
         "simple streaming or transcoding setups.")];
     [o_t1_btn_mrInfo_strmg setTitle: _NS("More Info")];
     [o_t1_btn_mrInfo_trnscd setTitle: _NS("More Info")];
@@ -359,7 +359,7 @@ static VLCWizard *_o_sharedInstance = nil;
 
     /* page three ("Streaming 1") */
     [o_t3_txt_title setStringValue: _NS("Streaming")];
-    [o_t3_txt_text setStringValue: _NS("This page allows to select how "
+    [o_t3_txt_text setStringValue: _NS("This page allows selecting how "
         "the input stream will be sent.")];
     [o_t3_box_dest setTitle: _NS("Destination")];
     [o_t3_box_strmgMthd setTitle: _NS("Streaming method")];
@@ -372,7 +372,7 @@ static VLCWizard *_o_sharedInstance = nil;
 
     /* page four ("Transcode 1") */
     [o_t4_title setStringValue: _NS("Transcode")];
-    [o_t4_text setStringValue: _NS("This page allows to change the compression "
+    [o_t4_text setStringValue: _NS("This page allows changing the compression "
         "format of the audio or video tracks. To change only "
         "the container format, proceed to next page.")];
     [o_t4_box_audio setTitle: _NS("Audio")];
@@ -381,14 +381,14 @@ static VLCWizard *_o_sharedInstance = nil;
     [o_t4_ckb_video setTitle: _NS("Transcode video")];
     [o_t4_txt_videoBitrate setStringValue: _NS("Bitrate (kb/s)")];
     [o_t4_txt_videoCodec setStringValue: _NS("Codec")];
-    [o_t4_txt_hintAudio setStringValue: _NS("Enabling this allows to transcode "\
+    [o_t4_txt_hintAudio setStringValue: _NS("Enabling this allows transcoding "\
     "the audio track if one is present in the stream.")];
-    [o_t4_txt_hintVideo setStringValue: _NS("Enabling this allows to transcode "\
+    [o_t4_txt_hintVideo setStringValue: _NS("Enabling this allows transcoding "\
     "the video track if one is present in the stream.")];
 
     /* page five ("Encap") */
     [o_t5_title setStringValue: _NS("Encapsulation format")];
-    [o_t5_text setStringValue: _NS("This page allows to select how the "
+    [o_t5_text setStringValue: _NS("This page allows selecting how the "
         "stream will be encapsulated. Depending on previously chosen settings "
         "all formats won't be available.")];
 
@@ -1650,7 +1650,7 @@ static VLCWizard *_o_sharedInstance = nil;
     /* show a sheet for the help */
     NSBeginInformationalAlertSheet(_NS("Stream to network"),
         _NS("OK"), @"", @"", o_wizard_window, nil, nil, nil, nil,
-        _NS("This allows to stream on a network."));
+        _NS("This allows streaming on a network."));
 }
 
 - (IBAction)t1_mrInfo_transcode:(id)sender
@@ -1658,7 +1658,7 @@ static VLCWizard *_o_sharedInstance = nil;
     /* show a sheet for the help */
     NSBeginInformationalAlertSheet(_NS("Transcode/Save to file"),
         _NS("OK"), @"", @"", o_wizard_window, nil, nil, nil, nil,
-        _NS("This allows to save a stream to a file. The "
+        _NS("This allows saving a stream to a file. The "
         "can be reencoded on the fly. Whatever "
         "VLC can read can be saved.\nPlease note that VLC is not very suited "
         "for file to file transcoding. Its transcoding "
@@ -1791,7 +1791,7 @@ static VLCWizard *_o_sharedInstance = nil;
     } else {
         [o_t4_pop_audioCodec setEnabled:NO];
         [o_t4_pop_audioBitrate setEnabled:NO];
-        [o_t4_txt_hintAudio setStringValue: _NS("Enabling this allows to transcode "
+        [o_t4_txt_hintAudio setStringValue: _NS("Enabling this allows transcoding "
         "the audio track if one is present in the stream.")];
     }
 }
@@ -1808,7 +1808,7 @@ static VLCWizard *_o_sharedInstance = nil;
     } else {
         [o_t4_pop_videoCodec setEnabled:NO];
         [o_t4_pop_videoBitrate setEnabled:NO];
-        [o_t4_txt_hintVideo setStringValue: _NS("Enabling this allows to transcode "
+        [o_t4_txt_hintVideo setStringValue: _NS("Enabling this allows transcoding "
         "the video track if one is present in the stream.")];
 
     }
@@ -1838,7 +1838,7 @@ static VLCWizard *_o_sharedInstance = nil;
     /* show a sheet for the help */
     NSBeginInformationalAlertSheet(_NS("Time-To-Live (TTL)"),
         _NS("OK"), @"", @"", o_wizard_window, nil, nil, nil, nil,
-        _NS("This allows to define the TTL (Time-To-Live) of the stream. "
+        _NS("This allows defining the TTL (Time-To-Live) of the stream. "
             "This parameter is the maximum number of routers your stream can "
             "go through. If you don't know what it means, or if you want to "
             "stream on your local network only, leave this setting to 1."));
diff --git a/modules/gui/skins2/utils/bezier.cpp b/modules/gui/skins2/utils/bezier.cpp
index ea4d8c3..089f520 100644
--- a/modules/gui/skins2/utils/bezier.cpp
+++ b/modules/gui/skins2/utils/bezier.cpp
@@ -90,7 +90,7 @@ Bezier::Bezier( intf_thread_t *p_intf, const vector<float> &rAbscissas,
     m_nbPoints = m_leftVect.size();
 
     // If we have only one control point, we duplicate it
-    // This allows to simplify the algorithms used in the class
+    // This allows simplifying the algorithms used in the class
     if( m_nbPoints == 1 )
     {
         m_leftVect.push_back( m_leftVect[0] );
diff --git a/modules/mmx/fastmemcpy.h b/modules/mmx/fastmemcpy.h
index e7159b7..170062d 100644
--- a/modules/mmx/fastmemcpy.h
+++ b/modules/mmx/fastmemcpy.h
@@ -225,7 +225,7 @@ static void * fast_memcpy(void * to, const void * from, size_t len)
     else
     /*
        Only if SRC is aligned on 16-byte boundary.
-       It allows to use movaps instead of movups, which required data
+       It allows using movaps instead of movups, which required data
        to be aligned or a general-protection exception (#GP) is generated.
     */
     for(; i>0; i--)
diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index ab692f9..0ba3a21 100644
--- a/modules/mux/mpeg/ts.c
+++ b/modules/mux/mpeg/ts.c
@@ -111,7 +111,7 @@ static void    Close  ( vlc_object_t * );
 
 #define PID_TEXT N_("Set PID to ID of ES")
 #define PID_LONGTEXT N_("Sets PID to the ID if the incoming ES. This is for " \
-  "use with --ts-es-id-pid, and allows to have the same PIDs in the input " \
+  "use with --ts-es-id-pid, and allows having the same PIDs in the input " \
   "and output streams.")
 
 #define ALIGNMENT_TEXT N_("Data alignment")
diff --git a/modules/video_filter/atmo/README.txt b/modules/video_filter/atmo/README.txt
index a751bb2..b5fe0df 100644
--- a/modules/video_filter/atmo/README.txt
+++ b/modules/video_filter/atmo/README.txt
@@ -50,8 +50,8 @@ VideoLAN 1.1.x
 You have the following choices for "Devicetype" instead of the old settings
 "AtmoWin Software" - is only available on Windows and works like the old way useing the external AtmoWin*.exe Software package, with the AtmoCtrlLib.dll.
 "Classic AtmoLight" - is the same as the former "use build in AtmoLight driver" 
-"Quattro AtmoLight" - allows to use up to four serial connected class AtmoLight devices, as one logical device
-"DMX" - allows to control a simple serial DMX devices for AtmoLight effects
+"Quattro AtmoLight" - allows using up to four serial connected class AtmoLight devices, as one logical device
+"DMX" - allows controlling a simple serial DMX devices for AtmoLight effects
 "MoMoLight" - is a another kind of hardware supporting 2 oder 3 channels.
 (see bottom of this file - for more infos about the devices.)
 
@@ -94,7 +94,7 @@ VideoLAN 1.1.x - new options and settings
 Zone Layout for the build-in Atmo
 =================================
 This is the most important change I think - because the number of analyzed zones isn't
-longer fixed to 4 or 5 - it allows to define the physical layout of your lights arround
+longer fixed to 4 or 5 - it allows defining the physical layout of your lights arround
 the screen.
 "Number of zones on top"     -- how many light sources are place on top of the screen
                                (number of columns in which the screen should be tiled)
diff --git a/modules/video_filter/atmo/atmo.cpp b/modules/video_filter/atmo/atmo.cpp
index 381928c..3e9711c 100644
--- a/modules/video_filter/atmo/atmo.cpp
+++ b/modules/video_filter/atmo/atmo.cpp
@@ -119,7 +119,7 @@ void SaveBitmap(filter_sys_t *p_sys, uint8_t *p_pixels, char *psz_filename);
 strings for settings menus and hints
 */
 #define MODULE_DESCRIPTION N_ ( \
- "This module allows to control an so called AtmoLight device "\
+ "This module allows controlling an so called AtmoLight device "\
  "connected to your computer.\n"\
  "AtmoLight is the homegrown version of what Philips calls AmbiLight.\n"\
  "If you need further information feel free to visit us at\n\n"\
diff --git a/modules/video_filter/crop.c b/modules/video_filter/crop.c
index 9186f25..b5e9460 100644
--- a/modules/video_filter/crop.c
+++ b/modules/video_filter/crop.c
@@ -94,7 +94,7 @@ static int FilterCallback ( vlc_object_t *, char const *,
                         " that the line is black.")
 
 #define SKIP_TEXT N_("Skip percentage (%)")
-#define SKIP_LONGTEXT N_("Percentage of the line to consider while checking for black lines. This allows to skip logos in black borders and crop them anyway.")
+#define SKIP_LONGTEXT N_("Percentage of the line to consider while checking for black lines. This allows skipping logos in black borders and crop them anyway.")
 
 #define LUM_TEXT N_("Luminance threshold ")
 #define LUM_LONGTEXT N_("Maximum luminance to consider a pixel as black (0-255).")
diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c
index ca7fed4..b4797d1 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -66,7 +66,7 @@
 #define SYSMEM_TEXT N_("Use video buffers in system memory")
 #define SYSMEM_LONGTEXT N_(\
     "Create video buffers in system memory instead of video memory. This " \
-    "isn't recommended as usually using video memory allows to benefit from " \
+    "isn't recommended as usually using video memory allows benefiting from " \
     "more hardware acceleration (like rescaling or YUV->RGB conversions). " \
     "This option doesn't have any effect when using overlays.")
 
diff --git a/src/input/clock.h b/src/input/clock.h
index ef20119..66524dc 100644
--- a/src/input/clock.h
+++ b/src/input/clock.h
@@ -71,12 +71,12 @@ void    input_clock_Reset( input_clock_t * );
 mtime_t input_clock_GetWakeup( input_clock_t * );
 
 /**
- * This functions allows to change the actual reading speed.
+ * This functions allows changing the actual reading speed.
  */
 void    input_clock_ChangeRate( input_clock_t *, int i_rate );
 
 /**
- * This function allows to change the pause status.
+ * This function allows changing the pause status.
  */
 void    input_clock_ChangePause( input_clock_t *, bool b_paused, mtime_t i_date );
 
@@ -87,7 +87,7 @@ void    input_clock_ChangePause( input_clock_t *, bool b_paused, mtime_t i_date
 void    input_clock_GetSystemOrigin( input_clock_t *, mtime_t *pi_system, mtime_t *pi_delay );
 
 /**
- * This function allows to rebase the original system value date (a valid
+ * This function allows rebasing the original system value date (a valid
  * reference point must have been set).
  * When using the absolute mode, it will create a discontinuity unless
  * called imediatly after a input_clock_Update.
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 6729796..8c84ec0 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -347,7 +347,7 @@ static const char *const ppsz_force_dolby_descriptions[] = {
 #define AUDIO_TIME_STRETCH_TEXT N_( \
     "Enable time stretching audio" )
 #define AUDIO_TIME_STRETCH_LONGTEXT N_( \
-    "This allows to play audio at lower or higher speed without " \
+    "This allows playing audio at lower or higher speed without " \
     "affecting the audio pitch" )
 
 
-- 
1.7.4.1

-- 
Benjamin Drung
Debian & Ubuntu Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110723/4f9b1172/attachment.sig>


More information about the vlc-devel mailing list