Changeset 421 for XIOS/trunk


Ignore:
Timestamp:
02/18/13 15:25:37 (11 years ago)
Author:
ymipsl
Message:

suppress warning due to french accents -> english traduction of error messages

YM

Location:
XIOS/trunk/src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/config/properties.conf

    r286 r421  
    11/// Author /// 
    2 DECLARE_PROPERTY  (StdString, AUTHOR, "OZDOBA Hervé, MEURDESOIF Yann") 
     2DECLARE_PROPERTY  (StdString, AUTHOR, "OZDOBA Herve, MEURDESOIF Yann") 
    33 
    44/// Version number /// 
  • XIOS/trunk/src/node/axis.cpp

    r369 r421  
    7676      if (size != true_size) 
    7777         ERROR("CAxis::checkAttributes(void)", 
    78                << "Le tableau \'value\' a une taille différente de celle indiquée dans l'attribut \'size\'") 
     78               << "The array \'value\' has a different size that the one defined by the \'size\' attribut") 
    7979 
    8080      this->isChecked = true; 
  • XIOS/trunk/src/node/context.cpp

    r369 r421  
    7676         ERROR(" CContext::solveCalendar(void)", 
    7777               << "[ context id = " << this->getId() << " ] " 
    78                << "Impossible de définir un calendrier (un attribut est manquant)."); 
     78               << "Impossible to define a calendar (an attribute is missing)."); 
    7979 
    8080#define DECLARE_CALENDAR(MType  , mtype)                              \ 
     
    9595      ERROR("CContext::solveCalendar(void)", 
    9696            << "[ calendar_type = " << calendar_type.getValue() << " ] " 
    97             << "Le calendrier n'est pas définie dans le code !"); 
     97            << "The calendar is not defined !"); 
    9898   } 
    9999    
     
    117117 
    118118      if (node.getElementName().compare(CContext::GetName())) 
    119          DEBUG("Le noeud est mal nommé mais sera traité comme un contexte !"); 
     119         DEBUG("Le noeud is wrong defined but will be considered as a context !"); 
    120120 
    121121      if (!(node.goToChildElement())) 
     
    132132 
    133133            if (attributes.end() != attributes.find("id")) 
    134             { DEBUG(<< "Le noeud de définition possÚde un identifiant," 
    135                     << " ce dernier ne sera pas pris en compte lors du traitement !"); } 
     134            { DEBUG(<< "Definition node has an id," 
     135                    << "it will not be taking account !"); } 
    136136 
    137137#define DECLARE_NODE(Name_, name_)    \ 
     
    141141#include "node_type.conf" 
    142142 
    143             DEBUG(<< "L'élément nommé \'"     << name 
    144                   << "\' dans le contexte \'" << CContext::getCurrent()->getId() 
    145                   << "\' ne représente pas une définition !"); 
     143            DEBUG(<< "The element \'"     << name 
     144                  << "\' in the context \'" << CContext::getCurrent()->getId() 
     145                  << "\' is not a definition !"); 
    146146 
    147147         } while (node.goToNextElement()); 
  • XIOS/trunk/src/node/domain.cpp

    r407 r421  
    155155         ERROR("CDomain::checkAttributes(void)", 
    156156               << "[ Id = " << this->getId() << " ] " 
    157                << "Le domaine global est mal défini," 
    158                << " vérifiez les valeurs de \'ni_glo\' et \'nj_glo\' !")  
     157               << "The global domain is badly defined," 
     158               << " check the \'ni_glo\' et \'nj_glo\' values !")  
    159159      } 
    160160   } 
     
    177177      { 
    178178         ERROR("CDomain::checkAttributes(void)", 
    179                << "Le domaine est mal défini," 
    180                << " iend est différent de (ibegin + ni - 1) !") ; 
     179               << "The domain si wrong defined," 
     180               << " iend is different of (ibegin + ni - 1) !") ; 
    181181      } 
    182182      else 
    183183      { 
    184184         ERROR("CDomain::checkAttributes(void)", 
    185                << "Le domaine est mal défini," 
    186                << " deux valeurs au moins parmis iend, ibegin, ni doivent être définies !") ; 
     185               << "The domain is wrong defined," 
     186               << " 2 value from \'iend\', \'ibegin\', \'ni\'  must be defined !") ; 
    187187      } 
    188188 
     
    192192         ERROR("CDomain::checkAttributes(void)", 
    193193               << "[ Id = " << this->getId() << " ] " 
    194                << "Domaine local mal défini," 
    195                << " vérifiez les valeurs ni, ni_glo, ibegin, iend") ; 
     194               << "Local domain is wrong defined," 
     195               << " Check the value : ni, ni_glo, ibegin, iend") ; 
    196196 
    197197   } 
     
    214214      { 
    215215         ERROR("CDomain::checkAttributes(void)", 
    216                << "Le domaine est mal défini," 
    217                << " iend est différent de (jbegin + nj - 1) !") ; 
     216               << "The domain is wrong defined," 
     217               << " iend is different of (jbegin + nj - 1) !") ; 
    218218      } 
    219219      else 
    220220      { 
    221221         ERROR("CDomain::checkAttributes(void)", 
    222                << "Le domaine est mal défini," 
    223                << " deux valeurs au moins parmis jend, jbegin, nj doivent être définies !") ; 
     222               << "The domain is wrong defined," 
     223               << " 2 values from  jend, jbegin, nj  must be defined !") ; 
    224224      } 
    225225 
     
    227227          jbegin.getValue() < 1 || jend.getValue() > nj_glo.getValue()) 
    228228         ERROR("CDomain::checkAttributes(void)", 
    229                << "Domaine local mal défini," 
    230                << " vérifiez les valeurs nj, nj_glo, jbegin, jend") ; 
     229               << "Domain is wrong defined," 
     230               << " Check the values : nj, nj_glo, jbegin, jend") ; 
    231231   } 
    232232 
     
    265265             (mask.extent(1) != nju)) 
    266266            ERROR("CDomain::checkAttributes(void)", 
    267                   <<"Le masque n'a pas la même taille que le domaine local") ; 
     267                  <<"the mask has not the same size than the local domain") ; 
    268268                   
    269269         for (int i = 0; i < ni.getValue(); i++) 
     
    303303      { 
    304304         ERROR("CDomain::checkAttributes(void)", 
    305                << "Dimension des données non comptatible (doit être 1 ou 2) !") ; 
     305               << "Data dimension incompatible (must be 1 or 2) !") ; 
    306306      } 
    307307      else if (data_dim.isEmpty()) 
    308308      { 
    309309         ERROR("CDomain::checkAttributes(void)", 
    310                << "Dimension des données non définie !") ; 
     310               << "Data dimension undefined !") ; 
    311311      } 
    312312 
     
    319319      { 
    320320         ERROR("CDomain::checkAttributes(void)", 
    321                << "Dimension des données négative (data_ni).") ; 
     321               << "Data dimension is negative (data_ni).") ; 
    322322      } 
    323323      else if (data_ni.isEmpty()) 
     
    333333         { 
    334334            ERROR("CDomain::checkAttributes(void)", 
    335                   << "Dimension des données négative (data_nj).") ; 
     335                  << "Data dimension is negative (data_nj).") ; 
    336336         } 
    337337         else if (data_nj.isEmpty()) 
     
    352352         { 
    353353            ERROR("CDomain::checkAttributes(void)", 
    354                   <<"Dimension data_i_index incompatible avec data_n_index.") ; 
     354                  <<"Dimension data_i_index incompatible with data_n_index.") ; 
    355355         } 
    356356         else if (data_n_index.isEmpty()) 
     
    363363            { 
    364364               ERROR("CDomain::checkAttributes(void)", 
    365                      <<"Dimension data_j_index incompatible avec data_i_index.") ; 
     365                     <<"Dimension data_j_index incompatible with data_i_index.") ; 
    366366            } 
    367367            else if (data_j_index.isEmpty()) 
    368368            { 
    369369               ERROR("CDomain::checkAttributes(void)", 
    370                      <<"La donnée data_j_index doit être renseignée !") ; 
     370                     <<"data_j_index must be defined !") ; 
    371371            } 
    372372         } 
     
    376376         if (!data_n_index.isEmpty() || 
    377377            ((data_dim.getValue() == 2) && (!data_j_index.isEmpty()))) 
    378             ERROR("CDomain::checkAttributes(void)", << "data_i_index non défini") ; 
     378            ERROR("CDomain::checkAttributes(void)", << "data_i_index undefined") ; 
    379379      } 
    380380 
     
    552552                zoom_iend > ni_glo.getValue() || zoom_jend > nj_glo.getValue()) 
    553553               ERROR("CDomain::checkZoom(void)", 
    554                      << "Zoom mal défini," 
    555                      << " vérifiez les valeurs zoom_ni, zoom_nj, zoom_ibegin, zoom_ibegin") ; 
     554                     << "Zoom is wrong defined," 
     555                     << " Check the values : zoom_ni, zoom_nj, zoom_ibegin, zoom_ibegin") ; 
    556556         } 
    557557      } 
  • XIOS/trunk/src/node/field.cpp

    r418 r421  
    367367         ERROR("CField::solveOperation(void)", 
    368368               << "[ id = " << id << "]" 
    369                << "Impossible de définir une opération pour le champ !"); 
     369               << "Impossible to define an operation for this field !"); 
    370370      } 
    371371       
     
    425425         ERROR("CField::solveOperation(void)", 
    426426               << "[ operation = " << operation.getValue() << "]" 
    427                << "L'opération n'est pas définie dans le code !"); 
     427               << "The operation is not defined !"); 
    428428      } 
    429429   } 
     
    456456         else 
    457457            ERROR("CField::solveGridReference(void)", 
    458                   << "Référence au domaine nommé \'" 
    459                   << domain_ref.getValue() << "\' incorrecte") ; 
     458                  << "Reference to the domain \'" 
     459                  << domain_ref.getValue() << "\' is wrong") ; 
    460460      } 
    461461 
     
    466466         else 
    467467            ERROR("CField::solveGridReference(void)", 
    468                   << "Référence à l'axe nommé \'" 
    469                   << axis_ref.getValue() <<"\' incorrecte") ; 
     468                  << "Reference to the axis \'" 
     469                  << axis_ref.getValue() <<"\' is wrong") ; 
    470470      } 
    471471 
     
    476476         else 
    477477            ERROR("CField::solveGridReference(void)", 
    478                   << "Référence à la grille nommée \'" 
    479                   << grid_ref.getValue() << "\' incorrecte"); 
     478                  << "Reference to the grid \'" 
     479                  << grid_ref.getValue() << "\' is wrong"); 
    480480      } 
    481481       
     
    483483      { 
    484484            ERROR("CField::solveGridReference(void)", 
    485                   << "Le domaine horizontal pour le champ X n'est pas défini"); 
     485                  << "The horizontal domain for this field is not defined"); 
    486486 
    487487     } 
     
    500500     if (goodDomain.isEmpty())  
    501501     { 
    502        ERROR("CField::solveGridReference(void)", << "Le domaine horizontal pour le champ X n'est pas défini"); 
     502       ERROR("CField::solveGridReference(void)", << "The horizontal domain for this field is not defined"); 
    503503     } 
    504504     else  
    505505     { 
    506506       if (CDomain::has(goodDomain)) domain = CDomain::get(goodDomain) ; 
    507        else ERROR("CField::solveGridReference(void)",<< "Référence au domaine nommé \'"<<goodDomain.get() << "\' incorrecte") ; 
     507       else ERROR("CField::solveGridReference(void)",<< "Reference to the domain \'"<<goodDomain.get() << "\' is wrong") ; 
    508508     } 
    509509  
     
    511511     { 
    512512       if (CAxis::has(goodAxis))  axis = CAxis::get(goodAxis) ; 
    513        else  ERROR("CField::solveGridReference(void)", << "Référence à l'axe nommé \'" 
    514                   << goodAxis.get() <<"\' incorrecte") ; 
     513       else  ERROR("CField::solveGridReference(void)", << "Reference to the axis \'" 
     514                  << goodAxis.get() <<"\' is wrong") ; 
    515515     }  
    516516     
  • XIOS/trunk/src/node/grid.cpp

    r415 r421  
    206206             (mask.extent(2) != nlu)) 
    207207             ERROR("CGrid::checkAttributes(void)", 
    208                   <<"Le masque n'a pas la même taille que la grille locale") ; 
     208                  <<"The mask has not the same size than the local grid") ; 
    209209      } 
    210210      else  
     
    234234         } 
    235235         else ERROR("CGrid::solveDomainRef(void)", 
    236                      << "Référence au domaine incorrecte") ; 
     236                     << "Wrong domain reference") ; 
    237237      } 
    238238      else ERROR("CGrid::solveDomainRef(void)", 
    239                   << "Domaine non défini") ; 
     239                  << "Domain reference is not defined") ; 
    240240   } 
    241241 
     
    253253         } 
    254254         else ERROR("CGrid::solveAxisRef(void)", 
    255                     << "Référence a l'axe incorrecte") ; 
     255                    << "Wrong axis reference") ; 
    256256      } 
    257257      else withAxis = false ; 
     
    530530      if ((this->storeIndex.size()-1 ) != storedClient.size()) 
    531531         ERROR("void CGrid::inputFieldServer(const std::deque< CArray<double, 1>* > storedClient, CArray<double, 1>&  storedServer) const", 
    532                 << "[ Nombre de tableau attendu = " << (this->storeIndex.size()-1) << ", " 
    533                 << "[ Nombre de tableau reçu = "    << storedClient.size() << "] " 
    534                 << "Les données d'un client sont manquantes !") ; 
     532                << "[ Expected received field = " << (this->storeIndex.size()-1) << ", " 
     533                << "[ received fiedl = "    << storedClient.size() << "] " 
     534                << "Data from clients are missing!") ; 
    535535      storedServer.resize(storeIndex[0]->numElements()); 
    536536          
  • XIOS/trunk/src/node/grid.hpp

    r415 r421  
    162162      if (this->getDataSize() != field.numElements()) 
    163163         ERROR("void CGrid::inputField(const  CArray<double,n>& field, CArray<double,1>& stored) const", 
    164                 << "[ Taille des données attendue = " << this->getDataSize()       << ", " 
    165                 << "Taille des données reçue = "      << field.numElements() << " ] " 
    166                 << "Le tableau de données n'a pas la bonne taille !") ; 
     164                << "[ Awaiting size of the data = " << this->getDataSize()       << ", " 
     165                << "Received data size = "      << field.numElements() << " ] " 
     166                << "The array of data has not the good size !") 
    167167      this->storeField_arr(field.dataFirst(), stored) ; 
    168168   } 
Note: See TracChangeset for help on using the changeset viewer.