Fix typos
authorMichael Andres <ma@suse.de>
Wed, 23 Oct 2013 15:16:36 +0000 (17:16 +0200)
committerMichael Andres <ma@suse.de>
Wed, 23 Oct 2013 15:16:36 +0000 (17:16 +0200)
13 files changed:
zypp/Callback.h
zypp/OnMediaLocation.h
zypp/ProgressData.h
zypp/Repository.h
zypp/ResPool.h
zypp/ResStatus.h
zypp/ServiceInfo.h
zypp/base/NamedValue.h
zypp/media/MediaCurl.cc
zypp/sat/LookupAttr.h
zypp/sat/Pool.h
zypp/sat/Solvable.h
zypp/target/rpm/librpmDb.h

index 2bfb4be..314276a 100644 (file)
@@ -120,7 +120,7 @@ namespace zypp
    * a Callback light).
    * \li \c disconnect Disconnect this ReceiveReport in case it is
    * connected. If not connected nothing happens.
-   * \li \c connected Test wheter this ReceiveReport is currently
+   * \li \c connected Test whether this ReceiveReport is currently
    * connected.
    * \li \c whoIsConnected Return a 'ReceiveReport*' to the currently
    * connected ReceiveReport, or \c NULL if none is connected.
index d8faf52..2a34f4f 100644 (file)
@@ -126,7 +126,7 @@ namespace zypp
     { _openchecksum = val_r; return *this; }
 
     /**
-     * Set the wether the resource is optional or not
+     * Set the whether the resource is optional or not
      * \see optional
      */
     OnMediaLocation & setOptional( bool val )
index 818258d..7897abf 100644 (file)
@@ -35,7 +35,7 @@ namespace zypp
    * needs. As a convention, a zero sizes range indicates that you are just
    * able to send <em>'still alive'</em> triggers.
    *
-   * The counter should be updated in reasonable intervals. Don't mind wheter
+   * The counter should be updated in reasonable intervals. Don't mind whether
    * the counter value actually increased or not. ProgressData will recognize
    * your triggers and knows when to actually send notification to a consumer.
    *
@@ -292,18 +292,18 @@ namespace zypp
       value_type val() const
       { return _d->_val; }
 
-      /** @return Wheter <tt>[min,max]</tt> defines a nonempty range. */
+      /** @return Whether <tt>[min,max]</tt> defines a nonempty range. */
       bool hasRange() const
       { return min() != max(); }
 
-      /** @return Wheter \ref reportValue will return a percent value.
+      /** @return Whether \ref reportValue will return a percent value.
        * Same as \ref hasRange.
        *  \see \ref reportAlive
        */
       bool reportPercent() const
       { return hasRange(); }
 
-      /** @return Wheter \ref reportValue always returns -1, because we
+      /** @return Whether \ref reportValue always returns -1, because we
        * trigger 'still alive' messages. I.e. \ref hasrange is \c false.
        * \see \ref reportPercent
       */
index c1e72c2..eec9dfb 100644 (file)
@@ -143,7 +143,7 @@ namespace zypp
         bool isUpdateRepo() const;
 
         /**
-         * wether the repository claims to update something \ref prod
+         * whether the repository claims to update something \ref prod
          * with key \ref cpeid
          *
          * \see zypp::Product::cpeId()
index 58f0bf9..162b281 100644 (file)
@@ -307,7 +307,7 @@ namespace zypp
       */
       const LocaleSet & getRequestedLocales() const;
 
-      /** Wheter this \ref Locale is in the set of requested locales. */
+      /** Whether this \ref Locale is in the set of requested locales. */
       bool isRequestedLocale( const Locale & locale_r ) const;
 
       /** Get the set of available locales.
@@ -316,7 +316,7 @@ namespace zypp
        */
       const LocaleSet & getAvailableLocales() const;
 
-      /** Wheter this \ref Locale is in the set of available locales. */
+      /** Whether this \ref Locale is in the set of available locales. */
       bool isAvailableLocale( const Locale & locale_r ) const;
       //@}
 
index 0724fe3..908e05b 100644 (file)
@@ -37,7 +37,7 @@ namespace zypp
    *        nonrelevant: it is unimportant for the user
    *       satisfied: it important nothing has to be done
    *       broken: it is incomplete. So e.g. an update is needed
-   * \li \c TransactField Wheter to transact this resolvable
+   * \li \c TransactField Whether to transact this resolvable
    *        (delete if installed install if uninstalled).
    *        In case the resolvable is locked, only USER may modify the
    *        transact bit.
index c6706f5..17e609d 100644 (file)
@@ -102,7 +102,7 @@ namespace zypp
     ReposToEnable::const_iterator reposToEnableBegin() const;
     ReposToEnable::const_iterator reposToEnableEnd() const;
 
-    /** Wheter \c alias_r is mentioned in ReposToEnable. */
+    /** Whether \c alias_r is mentioned in ReposToEnable. */
     bool repoToEnableFind( const std::string & alias_r ) const;
 
     /** Add \c alias_r to the set of ReposToEnable. */
@@ -126,7 +126,7 @@ namespace zypp
     ReposToDisable::const_iterator reposToDisableBegin() const;
     ReposToDisable::const_iterator reposToDisableEnd() const;
 
-    /** Wheter \c alias_r is mentioned in ReposToDisable. */
+    /** Whether \c alias_r is mentioned in ReposToDisable. */
     bool repoToDisableFind( const std::string & alias_r ) const;
 
     /** Add \c alias_r to the set of ReposToDisable. */
index a07c8d5..db3c724 100644 (file)
@@ -44,7 +44,7 @@ namespace zypp
     typedef std::map< _Tp, std::string > ValueMap;
 
   public:
-    /** Wheter not initialized (no (name,value) pair remembered) */
+    /** Whether not initialized (no (name,value) pair remembered) */
     bool empty() const
     { return( _nameMap.empty() && _valueMap.empty() ); }
 
index dc9dfba..f057770 100644 (file)
@@ -1441,7 +1441,7 @@ void MediaCurl::doGetFileCopyFile( const Pathname & filename , const Pathname &
           << " bytes." << endl;
 
       // the timeout is determined by the progress data object
-      // which holds wheter the timeout was reached or not,
+      // which holds whether the timeout was reached or not,
       // otherwise it would be a user cancel
       try {
         evaluateCurlCode( filename, ret, progressData.reached);
index cca5270..86500a0 100644 (file)
@@ -200,19 +200,19 @@ namespace zypp
       public:
         /** \name Where to search. */
         //@{
-        /** Wheter to search in \ref Pool. */
+        /** Whether to search in \ref Pool. */
         bool pool() const;
 
         /** Set search in \ref Pool (all repositories). */
         void setPool( Location = SOLV_ATTR );
 
-        /** Wheter to search in one \ref Repository. */
+        /** Whether to search in one \ref Repository. */
         Repository repo() const;
 
         /** Set search in one \ref Repository. */
         void setRepo( Repository repo_r, Location = SOLV_ATTR );
 
-        /** Wheter to search in one \ref Solvable. */
+        /** Whether to search in one \ref Solvable. */
         Solvable solvable() const;
 
         /** Set search in one \ref Solvable. */
@@ -459,7 +459,7 @@ namespace zypp
          * \endcode
          */
         //@{
-        /** Wheter the sub-structure is empty. */
+        /** Whether the sub-structure is empty. */
         bool subEmpty() const;
 
         /** Ammount of attributes in the sub-structure.
index df86592..188cd59 100644 (file)
@@ -196,7 +196,7 @@ namespace zypp
         */
         const LocaleSet & getRequestedLocales() const;
 
-        /** Wheter this \ref Locale is in the set of requested locales. */
+        /** Whether this \ref Locale is in the set of requested locales. */
         bool isRequestedLocale( const Locale & locale_r ) const;
 
         /** Get the set of available locales.
@@ -205,7 +205,7 @@ namespace zypp
          */
         const LocaleSet & getAvailableLocales() const;
 
-        /** Wheter this \ref Locale is in the set of available locales. */
+        /** Whether this \ref Locale is in the set of available locales. */
         bool isAvailableLocale( const Locale & locale_r ) const;
         //@}
 
index 4631eae..74cca37 100644 (file)
@@ -273,7 +273,7 @@ namespace zypp
             IdString name()  const { return _name; }
 
            /** Return an idents explicit kind prefix, or \ref ResKind() if none.
-            * Mainly to detect wheter a given ident string is explicitly prefixed
+            * Mainly to detect whether a given ident string is explicitly prefixed
             * by a known kind (e.g \c pattern:foo or \c package:foo).
             */
            static ResKind explicitKind( IdString ident_r )             { return explicitKind( ident_r.c_str() );  }
index 7bfbd34..50dfc81 100644 (file)
@@ -79,7 +79,7 @@ private:
   static librpmDb::constPtr _defaultDb;
 
   /**
-   * Wheter access is blocked (no _defaultDb will be available).
+   * Whether access is blocked (no _defaultDb will be available).
    **/
   static bool _dbBlocked;