]> git.sesse.net Git - vlc/commitdiff
Fix spelling: an URL -> a URL
authorPierre Ynard <linkfanel@yahoo.fr>
Sun, 3 Apr 2011 19:53:49 +0000 (21:53 +0200)
committerPierre Ynard <linkfanel@yahoo.fr>
Sun, 3 Apr 2011 19:53:49 +0000 (21:53 +0200)
U counts as a consonant when pronounced that way

include/vlc_httpd.h
include/vlc_stream.h
modules/control/http/util.c
modules/demux/playlist/m3u.c
modules/gui/qt4/dialogs/openurl.cpp
modules/stream_out/rtp.c
modules/stream_out/standard.c
src/misc/update.c
src/network/httpd.c
src/playlist/fetcher.c
src/text/strings.c

index 5103da5cf89db9f7606484fec56648cd4ccf2233..6e287351c4880587fd5432835605ffe29d843e97 100644 (file)
@@ -110,7 +110,7 @@ VLC_EXPORT( httpd_url_t *,  httpd_UrlNew, ( httpd_host_t *, const char *psz_url,
 VLC_EXPORT( httpd_url_t *,  httpd_UrlNewUnique, ( httpd_host_t *, const char *psz_url, const char *psz_user, const char *psz_password, const vlc_acl_t *p_acl ) LIBVLC_USED );
 /* register callback on a url */
 VLC_EXPORT( int,            httpd_UrlCatch, ( httpd_url_t *, int i_msg, httpd_callback_t, httpd_callback_sys_t * ) );
-/* delete an url */
+/* delete a url */
 VLC_EXPORT( void,           httpd_UrlDelete, ( httpd_url_t * ) );
 
 /* Default client mode is FILE, use these to change it */
index 6ec7d7098c8b82680b7c572e9accb9e5ad7b7f05..a45022e9e3fe2eb4af0357a41a2aec9b33201125 100644 (file)
@@ -181,7 +181,7 @@ VLC_EXPORT( stream_t *, stream_MemoryNew, (vlc_object_t *p_obj, uint8_t *p_buffe
 #define stream_MemoryNew( a, b, c, d ) stream_MemoryNew( VLC_OBJECT(a), b, c, d )
 
 /**
- * Create a stream_t reading from an URL.
+ * Create a stream_t reading from a URL.
  * You must delete it using stream_Delete.
  */
 VLC_EXPORT( stream_t *, stream_UrlNew, (vlc_object_t *p_this, const char *psz_url ) );
index 565c100b1120c3d630a89c8a889dc4e65477b3b7..80b92defeec670fab679b311a4c37e5e74c30104 100644 (file)
@@ -39,7 +39,7 @@
  * File and directory functions
  ****************************************************************************/
 
-/* ToUrl: create a good name for an url from filename */
+/* ToUrl: create a good name for a url from filename */
 static char *FileToUrl( const char *name, bool *pb_index )
 {
     *pb_index = false;
index d0e86422403ec65e33993f961aaa5eae195b6129..704e055e8284e113d0e577b17096365a2ccef469 100644 (file)
@@ -97,7 +97,7 @@ static bool ContainsURL( demux_t *p_demux )
 
     while( p_peek + sizeof( "https://" ) < p_peek_end )
     {
-        /* One line starting with an URL is enough */
+        /* One line starting with a URL is enough */
         if( !strncasecmp( (const char *)p_peek, "http://", 7 ) ||
             !strncasecmp( (const char *)p_peek, "mms://", 6 ) ||
             !strncasecmp( (const char *)p_peek, "rtsp://", 7 ) ||
index 30600264773fffa523c66ff06a61de0375927f32..56ab915b86efa9ea7f608663da5a75c5b876ba7b 100644 (file)
@@ -103,7 +103,7 @@ bool OpenUrlDialog::shouldEnqueue() const
 }
 
 /** Show Event:
- * When the dialog is shown, try to extract an URL from the clipboard
+ * When the dialog is shown, try to extract a URL from the clipboard
  * and paste it in the Edit box.
  * showEvent can happen not only on exec() but I think it's cool to
  * actualize the URL on showEvent (eg. change virtual desktop...)
index f6111e88b17398ca15e076fc0c2fd3f53d93b532..d33a0bdebe6e85c89bc154cc7ee0f9ea0cbc9642 100644 (file)
@@ -77,7 +77,7 @@
 #define SDP_TEXT N_("SDP")
 #define SDP_LONGTEXT N_( \
     "This allows you to specify how the SDP (Session Descriptor) for this RTP "\
-    "session will be made available. You must use an url: http://location to " \
+    "session will be made available. You must use a url: http://location to " \
     "access the SDP via HTTP, rtsp://location for RTSP access, and sap:// " \
     "for the SDP to be announced via SAP." )
 #define SAP_TEXT N_("SAP announcing")
@@ -97,7 +97,7 @@
     "that will be announced in the SDP (Session Descriptor)." )
 #define URL_TEXT N_("Session URL")
 #define URL_LONGTEXT N_( \
-    "This allows you to give an URL with more details about the stream " \
+    "This allows you to give a URL with more details about the stream " \
     "(often the website of the streaming organization), that will " \
     "be announced in the SDP (Session Descriptor)." )
 #define EMAIL_TEXT N_("Session email")
index 07866390d9dd0835a50b44205fd92accea301daf..45580024ae984fccd5b91f15ee16885d2d17a7c4 100644 (file)
@@ -75,7 +75,7 @@
     "that will be announced in the SDP (Session Descriptor)." )
 #define URL_TEXT N_("Session URL")
 #define URL_LONGTEXT N_( \
-    "This allows you to give an URL with more details about the stream " \
+    "This allows you to give a URL with more details about the stream " \
     "(often the website of the streaming organization), that will " \
     "be announced in the SDP (Session Descriptor)." )
 #define EMAIL_TEXT N_("Session email")
index 3deaab8b3d95954faddcedea787df718ea7a4c55..0c939a0b37fcd2792920a3fb62efad7f7a8ef5f0 100644 (file)
@@ -70,7 +70,7 @@
  *      * Z is the revision number
  *      * e is an OPTIONAL extra letter
  *      * AKA "0.8.6d" or "0.9.0"
- * Second line is an url of the binary for this last version
+ * Second line is a url of the binary for this last version
  * Remaining text is a required description of the update
  */
 
index 10216a809e23bea30cd2979e2f1554151e739a48..e0f7f1ce8641e0f1cb4ff2a26c716ccdd1baa7f6 100644 (file)
@@ -1283,7 +1283,7 @@ int httpd_UrlCatch( httpd_url_t *url, int i_msg, httpd_callback_t cb,
     return VLC_SUCCESS;
 }
 
-/* delete an url */
+/* delete a url */
 void httpd_UrlDelete( httpd_url_t *url )
 {
     httpd_host_t *host = url->host;
index 2113d42e83a880a212dfbb972cbfe61ce14e195f..1a643b05d85341736c120e7ba001262ebac75951 100644 (file)
@@ -182,7 +182,7 @@ static int FindArt( playlist_fetcher_t *p_fetcher, input_item_t *p_item )
     char *psz_arturl = input_item_GetArtURL( p_item );
     if( psz_arturl )
     {
-        /* We already have an URL */
+        /* We already have a URL */
         if( !strncmp( psz_arturl, "file://", strlen( "file://" ) ) )
         {
             free( psz_arturl );
index edd00fed845d1229882cebbd70593b694da17962..7a8fc87ee02d776d9fa415149405db3536798a89 100644 (file)
@@ -147,10 +147,10 @@ static char *encode_URI_bytes (const char *psz_uri, size_t len)
 }
 
 /**
- * Encodes an URI component (RFC3986 §2).
+ * Encodes a URI component (RFC3986 §2).
  *
  * @param psz_uri nul-terminated UTF-8 representation of the component.
- * Obviously, you can't pass an URI containing a nul character, but you don't
+ * Obviously, you can't pass a URI containing a nul character, but you don't
  * want to do that, do you?
  *
  * @return encoded string (must be free()'d), or NULL for ENOMEM.
@@ -1031,8 +1031,8 @@ void path_sanitize( char *str )
 #endif
 
 /**
- * Convert a file path to an URI.
- * If already an URI, return a copy of the string.
+ * Convert a file path to a URI.
+ * If already a URI, return a copy of the string.
  * @param path path to convert (or URI to copy)
  * @param scheme URI scheme to use (default is auto: "file", "fd" or "smb")
  * @return a nul-terminated URI string (use free() to release it),
@@ -1045,7 +1045,7 @@ char *make_URI (const char *path, const char *scheme)
     if (scheme == NULL && !strcmp (path, "-"))
         return strdup ("fd://0"); // standard input
     if (strstr (path, "://") != NULL)
-        return strdup (path); /* Already an URI */
+        return strdup (path); /* Already a URI */
     /* Note: VLC cannot handle URI schemes without double slash after the
      * scheme name (such as mailto: or news:). */
 
@@ -1145,7 +1145,7 @@ char *make_URI (const char *path, const char *scheme)
 }
 
 /**
- * Tries to convert an URI to a local (UTF-8-encoded) file path.
+ * Tries to convert a URI to a local (UTF-8-encoded) file path.
  * @param url URI to convert
  * @return NULL on error, a nul-terminated string otherwise
  * (use free() to release it)