Salome HOME
Correction of english mistakes
authorGerald NICOLAS <gerald.nicolas@edf.fr>
Mon, 5 Mar 2018 13:33:47 +0000 (14:33 +0100)
committerGerald NICOLAS <gerald.nicolas@edf.fr>
Mon, 5 Mar 2018 13:33:47 +0000 (14:33 +0100)
doc/en/glossaire.rst
doc/en/gui_create_iteration.rst
doc/en/tui_create_hypothese.rst
doc/en/tui_create_iteration.rst
src/HOMARDGUI/CreateHypothesis.ui
src/HOMARDGUI/HOMARD_msg_en.ts
src/HOMARDGUI/HOMARD_msg_fr.ts
src/HOMARDGUI/HOMARD_msg_ja.ts
src/HOMARD_I/HOMARD_Gen_i.cxx
src/tests/Test/test_6.py

index 4587aafc890267c054d2920a9282ba45ebbf1cff..bf03061033e5d26ccaeaca703e2c4b6770131e36 100644 (file)
@@ -28,7 +28,7 @@ Glossary
       An iteration is the process that transform a mesh to another one into a case. An iteration implies refinement and/or unrefinement, following the associated hypothesis.
 
    hypothesis
-      An hypothesis describes the conditions that governs the modification from a mesh to another one: refinement and/or unrefinement, etc. An hypothesis is referenced by 1 or more iterations.
+      A hypothesis describes the conditions that governs the modification from a mesh to another one: refinement and/or unrefinement, etc. A hypothesis is referenced by 1 or more iterations.
 
    field
       A field is expressed over a mesh, onto node or element, with 1 or more components.
index 3dc070841dfa9a7a9c94f860b6ede5e85e5f4d48..979d20fdddae77729e4a26a503782942da14bb8a 100644 (file)
@@ -33,7 +33,7 @@ The current iteration will produce a mesh. This mesh will be known under a name.
 
 The field
 *********
-To create or use an hypothesis of adaptation based on a field expressed on the mesh, one must provide the file where the field is. It is also the case if one wants to interpolate fields from mesh #N to the mesh #(N+1). This file is with format MED. Classically, it will have been produced by the computation software with which one works. The name of the file can be provided, either by typing the name in the zone of text, or by activating the function of research.
+To create or use a hypothesis of adaptation based on a field expressed on the mesh, one must provide the file where the field is. It is also the case if one wants to interpolate fields from mesh #N to the mesh #(N+1). This file is with format MED. Classically, it will have been produced by the computation software with which one works. The name of the file can be provided, either by typing the name in the zone of text, or by activating the function of research.
 
 .. image:: images/create_iteration_2.png
    :align: center
@@ -47,14 +47,14 @@ If steps of time were defined, a simple solution consists in treating the fields
 
 The hypothesis
 **************
-The iteration in progress will control the adaptation by HOMARD according to a scenario defined on an hypothesis. This one is selected in the list of the existing hypotheses.
+The iteration in progress will control the adaptation by HOMARD according to a scenario defined on a hypothesis. This one is selected in the list of the existing hypotheses.
 
 With starting, it is necessary to create a first hypothesis by activation of the button "*New*" (see: :doc:`gui_create_hypothese`) :
 
 .. image:: images/create_iteration_4.png
    :align: center
 
-Then, if an hypothesis previously defined is appropriate, it is enough to select it in the proposed list. If not, it is necessary to create a new hypothesis by activation of the button "*New*", then to select it in the proposed list:
+Then, if a hypothesis previously defined is appropriate, it is enough to select it in the proposed list. If not, it is necessary to create a new hypothesis by activation of the button "*New*", then to select it in the proposed list:
 
 .. image:: images/create_iteration_5.png
    :align: center
index 58edf27305b1fe5dd72c05f7d0f6e7fc7928452e..f5a8192bdebe988644d53c743b24f310129f605f 100644 (file)
@@ -452,4 +452,4 @@ Similar graphical input
 Look at :doc:`gui_create_hypothese`
 
 .. warning::
-  With the graphical input mode, if an hypothesis is edited and if one of the characteristic is modified, the value of the threshold for the refinement for example, all the iterations that were computed with this hypothesis are unvalidated. In python mode, that is not true: the iterations stay as they are.
+  With the graphical input mode, if a hypothesis is edited and if one of the characteristic is modified, the value of the threshold for the refinement for example, all the iterations that were computed with this hypothesis are unvalidated. In python mode, that is not true: the iterations stay as they are.
index 8309374ae50174783dfbb2c496ace73c5a4fd443..566a0f875e2b17e34f58a72dbafab6e4b8b492d9 100644 (file)
@@ -117,7 +117,7 @@ General methods
 | .. module:: AssociateHypo                                     |
 |                                                               |
 | **AssociateHypo(hypo_name)**                                  |
-|     Associate an hypothesis with the iteration                |
+|     Associate a hypothesis with the iteration                 |
 |                                                               |
 |     - ``hypo_name``: the name of the hypothesis               |
 +---------------------------------------------------------------+
index 00c65dc81a764aa88c1090c21e531e76d5c89053..53698b5486795b662e1997a920cb69f03ef16498 100644 (file)
@@ -35,7 +35,7 @@
    </size>
   </property>
   <property name="windowTitle">
-   <string>Create an hypothesis</string>
+   <string>Create a hypothesis</string>
   </property>
   <property name="widgetResizable">
    <bool>true</bool>
index 26c84aa1d154e7291ddf72ff714d48f0dd85c156..9238ac685fe5caea156fea6edc6f61ee1e59621d 100644 (file)
     </message>
     <message>
         <source>HOM_ITER_HYPO</source>
-        <translation>An hypothesis must be selected.</translation>
+        <translation>A hypothesis must be selected.</translation>
     </message>
     <message>
         <source>HOM_ITER_FIELD_FILE</source>
     </message>
     <message>
         <source>HOM_HYPO_EDIT_WINDOW_TITLE</source>
-        <translation>Edition of an hypothesis</translation>
+        <translation>Edition of a hypothesis</translation>
     </message>
     <message>
         <source>HOM_ZONE_NAME</source>
index 56140368b33a94dc2bbf5806ef9a1efffd4d24c4..b97e3c16a7ec3cc105721f04f4896bf8ebf2b93d 100644 (file)
         <translation>Hypothèse</translation>
     </message>
     <message>
-        <source>Create an hypothesis</source>
+        <source>Create a hypothesis</source>
         <translation>Création d'une hypothèse</translation>
     </message>
     <message>
         <translation>Cette itération ne peut pas être détruite.</translation>
     </message>
     <message>
-        <source>This zone is used in an hypothesis and cannot be deleted.</source>
+        <source>This zone is used in a hypothesis and cannot be deleted.</source>
         <translation>Cette zone est utilisée dans une hypothèse ; elle ne peut pas être détruite.</translation>
     </message>
     <message>
index 963a64dc6b4ca133512673a4e9ad34018b630c27..68ef230686ca319092a6c35b3fd4ee2e5e80301f 100644 (file)
       <translation>Hypothesis</translation>
     </message>
     <message>
-      <source>Create an hypothesis</source>
+      <source>Create a hypothesis</source>
       <translation>hypothesis の作成</translation>
     </message>
     <message>
       <translation>このイテレーションは削除できません。</translation>
     </message>
     <message>
-      <source>This zone is used in an hypothesis and cannot be deleted.</source>
+      <source>This zone is used in a hypothesis and cannot be deleted.</source>
       <translation>このゾーンはhypothesisで使用されており、削除できません。</translation>
     </message>
     <message>
index eca83e6997d985d9198f555bc9a1b940f04dee5f..766af3da72abf391de72ebeda78975837e6113e4 100644 (file)
@@ -520,7 +520,7 @@ CORBA::Long HOMARD_Gen_i::DeleteZone(const char* nomZone)
   {
     SALOME::ExceptionStruct es;
     es.type = SALOME::BAD_PARAM;
-    es.text = "This zone is used in an hypothesis and cannot be deleted.";
+    es.text = "This zone is used in a hypothesis and cannot be deleted.";
     throw SALOME::SALOME_Exception(es);
     return 2 ;
   };
index a64379b94391b723e6d1e8c404691c86c6b18508..d21baf482d7288e31048fec26e7a6e0999234b21 100755 (executable)
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
 # -*- coding: utf-8 -*-
 # Copyright (C) 2011-2016  CEA/DEN, EDF R&D
 #
@@ -21,7 +22,7 @@
 Python script for HOMARD
 Test test_6
 """
-__revision__ = "V1.04"
+__revision__ = "V1.05"
 
 #========================================================================
 TEST_NAME = "test_6"
@@ -192,8 +193,8 @@ Création du maillage
 # 5. Export MED
 #
     ficmed = os.path.join(rep_mail,'maill.00.med')
-    texte = "Ecriture du fichier '%s'" % ficmed
     if verbose :
+      texte = "Ecriture du fichier '%s'" % ficmed
       print (texte)
     maill_00.ExportMED( ficmed, 0, SMESH.MED_V2_2, 1 )
 #
@@ -239,8 +240,8 @@ Python script for HOMARD
     le_cas.SetDirName(DIRCASE)
     le_cas.AddBoundary(cao_name)
     #
-    # Creation of the iterations
-    # ==========================
+    # Creation des iterations
+    # =======================
     if verbose :
       option = 2
     else :