Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73913 - sandbox/SOC/2011/checks/boost/checks
From: pierre.talbot.6114_at_[hidden]
Date: 2011-08-19 06:46:19


Author: trademark
Date: 2011-08-19 06:46:18 EDT (Fri, 19 Aug 2011)
New Revision: 73913
URL: http://svn.boost.org/trac/boost/changeset/73913

Log:
Correction of typos. (traduction -> translation)
Text files modified:
   sandbox/SOC/2011/checks/boost/checks/modulus11.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: sandbox/SOC/2011/checks/boost/checks/modulus11.hpp
==============================================================================
--- sandbox/SOC/2011/checks/boost/checks/modulus11.hpp (original)
+++ sandbox/SOC/2011/checks/boost/checks/modulus11.hpp 2011-08-19 06:46:18 EDT (Fri, 19 Aug 2011)
@@ -9,7 +9,7 @@
 #define BOOST_CHECKS_MOD11_HPP
 
 #include <boost/lexical_cast.hpp>
-#include <boost/checks/traduction_exception.hpp>
+#include <boost/checks/translation_exception.hpp>
 #include <boost/checks/weight.hpp>
 #include <boost/checks/iteration_sense.hpp>
 #include <boost/checks/basic_checks.hpp>
@@ -22,7 +22,7 @@
 struct modulus11_algorithm : boost::checks::weighted_sum_algorithm<mod11_weight, iteration_sense, number_of_virtual_value_skipped>
 {
   template <typename value>
- static int traduce_to_valid_value(const value &current_value, const unsigned int valid_value_counter )
+ static int translate_to_valid_value(const value &current_value, const unsigned int valid_value_counter )
   {
     int valid_value = 0;
     try
@@ -34,7 +34,7 @@
       if( current_value == 'x' || current_value == 'X' )
         valid_value = 10 ;
       else
- throw boost::checks::traduction_exception() ;
+ throw boost::checks::translation_exception() ;
     }
     return valid_value ;
   }
@@ -59,7 +59,7 @@
       }
       catch( boost::bad_lexical_cast )
       {
- throw boost::checks::traduction_exception() ;
+ throw boost::checks::translation_exception() ;
       }
     }
   }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk