mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Mise à jour des messages et défaut
This commit is contained in:
parent
5b9e6708a5
commit
5e46af5968
@ -176,7 +176,7 @@ void MgAdapt::buildModel()
|
||||
|
||||
_defaultOptionValues["adaptation" ] = "both";
|
||||
_defaultOptionValues["components" ] = "outside components";
|
||||
_defaultOptionValues["compute_ridges" ] = "yes";
|
||||
_defaultOptionValues["compute_ridges" ] = "yes";
|
||||
_defaultOptionValues["max_memory" ] = ToComment(defaultMaximumMemory());
|
||||
}
|
||||
|
||||
|
@ -597,6 +597,7 @@ SMESHGUI_MgAdaptArguments::SMESHGUI_MgAdaptArguments( QWidget* parent )
|
||||
// Initial state
|
||||
setMode( Mesh, Local);
|
||||
medFileCheckBox->setChecked(true);
|
||||
visibleTimeStepRankLabel (false);
|
||||
|
||||
// Connections
|
||||
connect( meshInGroup, SIGNAL( buttonClicked( int ) ), this, SLOT( modeChanged( int ) ) );
|
||||
@ -622,46 +623,39 @@ void SMESHGUI_MgAdaptArguments::onNoTimeStep(bool disableOther)
|
||||
{
|
||||
noTimeStep->setChecked(true);
|
||||
|
||||
rankLabel->setVisible(0);
|
||||
rankSpinBox->setVisible(0);
|
||||
visibleTimeStepRankLabel (false);
|
||||
rankSpinBox->setValue(-2);
|
||||
|
||||
timeStepLabel->setVisible(0);
|
||||
timeStep->setVisible(0);
|
||||
timeStep->setValue(-2);
|
||||
|
||||
lastTimeStep->setDisabled(disableOther);
|
||||
chosenTimeStep->setDisabled(disableOther);
|
||||
|
||||
|
||||
}
|
||||
void SMESHGUI_MgAdaptArguments::onLastTimeStep(bool disableOther)
|
||||
{
|
||||
lastTimeStep->setChecked(true);
|
||||
|
||||
rankLabel->setVisible(0);
|
||||
rankSpinBox->setVisible(0);
|
||||
visibleTimeStepRankLabel (false);
|
||||
rankSpinBox->setValue(-1);
|
||||
|
||||
timeStepLabel->setVisible(0);
|
||||
timeStep->setVisible(0);
|
||||
timeStep->setValue(-1);
|
||||
noTimeStep->setDisabled(disableOther);
|
||||
}
|
||||
|
||||
void SMESHGUI_MgAdaptArguments::onChosenTimeStep(bool disableOther, int max)
|
||||
{
|
||||
chosenTimeStep->setChecked(true);
|
||||
|
||||
rankLabel->setVisible(1);
|
||||
rankSpinBox->setVisible(1);
|
||||
visibleTimeStepRankLabel (true);
|
||||
rankSpinBox->setValue(0);
|
||||
|
||||
timeStepLabel->setVisible(1);
|
||||
timeStep->setVisible(1);
|
||||
timeStep->setValue(0);
|
||||
if (max) timeStep->setMaximum(max);
|
||||
}
|
||||
|
||||
void SMESHGUI_MgAdaptArguments::visibleTimeStepRankLabel(bool visible)
|
||||
{
|
||||
rankLabel->setVisible(visible);
|
||||
rankSpinBox->setVisible(visible);
|
||||
|
||||
timeStepLabel->setVisible(visible);
|
||||
timeStep->setVisible(visible);
|
||||
}
|
||||
|
||||
void SMESHGUI_MgAdaptArguments::onSelectOutMedFilebutton()
|
||||
|
@ -238,6 +238,7 @@ private slots:
|
||||
void onNoTimeStep(bool disableOther = false);
|
||||
void onLastTimeStep(bool disableOther = false);
|
||||
void onChosenTimeStep(bool disableOther = false, int max = 0);
|
||||
void visibleTimeStepRankLabel(bool visible);
|
||||
|
||||
private:
|
||||
|
||||
|
@ -396,7 +396,7 @@
|
||||
<source>Publish_MG_ADAPT</source>
|
||||
<translation>Publish</translation>
|
||||
</message>
|
||||
<message>
|
||||
<message>
|
||||
<source>SIZE_MAP_FIELD</source>
|
||||
<translation>Size map field</translation>
|
||||
</message>
|
||||
@ -3137,37 +3137,13 @@ Check algorithm documentation for supported geometry</translation>
|
||||
<source>ADAPT_PREF_MG_ADAPT_SIZE_MAP_BACKGROUND</source>
|
||||
<translation>Background</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_MED_SIZE_MAP_BACKGROUND</source>
|
||||
<translation>MED file background size map</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_TIME_STEP</source>
|
||||
<translation>Time step</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_NO_TIME_STEP</source>
|
||||
<translation>No time step</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_TIME_STEP_LAST</source>
|
||||
<translation>Last</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_AR</source>
|
||||
<translation>Arguments</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_ADVOP</source>
|
||||
<translation>Advanced Options</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_TIME_LAST_STEP</source>
|
||||
<translation>Last time step</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_TIME_C_STEP</source>
|
||||
<translation>Chosen time step</translation>
|
||||
<source>ADAPT_PREF_MG_ADAPT_TIME_STEP</source>
|
||||
<translation>Choosen time step</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_TIME_STEP_C</source>
|
||||
@ -3177,6 +3153,10 @@ Check algorithm documentation for supported geometry</translation>
|
||||
<source>MG_ADAPT_SELECT_FILE_0</source>
|
||||
<translation>MG-ADAPT select file</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_ADVOP</source>
|
||||
<translation>Advanced Options</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SMESH_VISU_PROBLEM</source>
|
||||
<translation>Mesh visualization failed</translation>
|
||||
|
@ -340,6 +340,150 @@
|
||||
<source>MEN_CONSTRUCT_GROUP</source>
|
||||
<translation>Construire un groupe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_REF_ALL</source>
|
||||
<translation>Raffinement uniforme</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_REF_HOMARD</source>
|
||||
<translation>Raffinement avec HOMARD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_HOMARD_CREATE_CASE</source>
|
||||
<translation>Création d'un cas d'adaptation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_HOMARD_FOLLOW_ITERATION</source>
|
||||
<translation>Poursuite d'une itération d'adaptation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_HOMARD_NEW_ITERATION</source>
|
||||
<translation>Création d'une itération d'adaptation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_HOMARD_COMPUTE</source>
|
||||
<translation>Calculer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_HOMARD_COMPUTE_PUBLISH</source>
|
||||
<translation>Calculer et publier</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_MG_ADAPT</source>
|
||||
<translation>Remaillage avec MG_Adapt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Args</source>
|
||||
<translation>Arguments</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MeshOut</source>
|
||||
<translation>Maillage en sortie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MeshIn</source>
|
||||
<translation>Maillage en entrée</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEDFile</source>
|
||||
<translation>Fichier MED</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browser</source>
|
||||
<translation>Arbre d'études</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Publish_MG_ADAPT</source>
|
||||
<translation>Publication</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SIZE_MAP_FIELD</source>
|
||||
<translation>Champ de la carte de taille</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_FIELD_NAME</source>
|
||||
<translation>Nom du champ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_1</source>
|
||||
<translation>Ce fichier MED est illisible.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_2</source>
|
||||
<translation>Ce fichier MED ne contient aucun maillage.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_3</source>
|
||||
<translation>Ce fichier MED contient plus d'un maillage.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_4</source>
|
||||
<translation>Impossible de lire le maillage de ce fichier MED.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_5</source>
|
||||
<translation>Ce fichier MED ne contient aucun champ.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_6</source>
|
||||
<translation>Impossible de lire le(s) champ(s) de ce fichier MED.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_ERROR</source>
|
||||
<translation>Erreur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_CH_ST</source>
|
||||
<translation>Pas de temps choisi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_RANK</source>
|
||||
<translation>Numéro d'ordre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_TSTP</source>
|
||||
<translation>Pas de temps </translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_NO_T_ST</source>
|
||||
<translation>Sans pas de temps</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_L_ST</source>
|
||||
<translation>Dernier pas de temps</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MeshName</source>
|
||||
<translation>Nom du maillage</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>LOCAL_MG_ADAPT</source>
|
||||
<translation>Locale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>BACKGRND_MG_ADAPT</source>
|
||||
<translation>Arrière-plan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>CNST_MG_ADAPT</source>
|
||||
<translation>Constante</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MED_FILE_BCKG</source>
|
||||
<translation>Fichier MED de la carte en arrière-plan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>VALUE_MG_ADAPT</source>
|
||||
<translation>Valeur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SIZE_MAP_DEF</source>
|
||||
<translation>Définition de la carte de taille</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADVOP</source>
|
||||
<translation>Options avancées</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_CONV_TO_QUAD</source>
|
||||
<translation>Convertir vers/depuis quadratique</translation>
|
||||
@ -792,114 +936,6 @@
|
||||
<source>MEN_ADAPT</source>
|
||||
<translation>Adaptation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Args</source>
|
||||
<translation>Arguments</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MeshOut</source>
|
||||
<translation>Maillage en sortie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEDFile</source>
|
||||
<translation>Fichier MED</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Browser</source>
|
||||
<translation>Arbre d'études</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>BACKGRND_MG_ADAPT</source>
|
||||
<translation>Arrière-plan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>CNST_MG_ADAPT</source>
|
||||
<translation>Constante</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SIZE_MAP_FIELD</source>
|
||||
<translation>Champ de la carte de taille</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_FIELD_NAME</source>
|
||||
<translation>Nom du champ</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_1</source>
|
||||
<translation>Ce fichier MED est illisible.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_2</source>
|
||||
<translation>Ce fichier MED ne contient aucun maillage.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_3</source>
|
||||
<translation>Ce fichier MED contient plus d'un maillage.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_4</source>
|
||||
<translation>Impossible de lire le maillage de ce fichier MED.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_5</source>
|
||||
<translation>Ce fichier MED ne contient aucun champ.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_MED_FILE_6</source>
|
||||
<translation>Impossible de lire le(s) champ(s) de ce fichier MED.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_NO_T_ST</source>
|
||||
<translation>Sans pas de temps</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_CH_ST</source>
|
||||
<translation>Pas de temps choisi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_RANK</source>
|
||||
<translation>Numéro d'ordre</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_TSTP</source>
|
||||
<translation>Pas de temps </translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MG_ADAPT_L_ST</source>
|
||||
<translation>Dernier pas de temps</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MED_FILE_BCKG</source>
|
||||
<translation>fichier MED de la carte en arrière-plan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>VALUE_MG_ADAPT</source>
|
||||
<translation>Valeur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Publish_MG_ADAPT</source>
|
||||
<translation>Publication</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>LOCAL_MG_ADAPT</source>
|
||||
<translation>locale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MeshName</source>
|
||||
<translation>Nom du maillage</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MeshIn</source>
|
||||
<translation>Maillage en entrée</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SIZE_MAP_DEF</source>
|
||||
<translation>Définition de la carte de taille</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADVOP</source>
|
||||
<translation>Advanced Options</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_MEASURE</source>
|
||||
<translation>Outils de mesure</translation>
|
||||
@ -1240,38 +1276,6 @@
|
||||
<source>MEN_TRANSF</source>
|
||||
<translation>Transformation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_REF_ALL</source>
|
||||
<translation>Raffinement uniforme</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_REF_HOMARD</source>
|
||||
<translation>Raffinement avec HOMARD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_HOMARD_CREATE_CASE</source>
|
||||
<translation>Création d'un cas d'adaptation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_HOMARD_FOLLOW_ITERATION</source>
|
||||
<translation>Poursuite d'une itération d'adaptation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_HOMARD_NEW_ITERATION</source>
|
||||
<translation>Création d'une itération d'adaptation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_HOMARD_COMPUTE</source>
|
||||
<translation>Calculer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_HOMARD_COMPUTE_PUBLISH</source>
|
||||
<translation>Calculer et publier</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_MG_ADAPT</source>
|
||||
<translation>Remaillage avec MG_Adapt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MEN_TRANSP</source>
|
||||
<translation>Transparence</translation>
|
||||
@ -3105,15 +3109,15 @@ Référez-vous à la documentation sur l'algorithme et la géométrie supportée
|
||||
</message>
|
||||
<message>
|
||||
<source>max_memory</source>
|
||||
<translation>Maximum memoire (Mb)</translation>
|
||||
<translation>Maximum mémoire (Mb)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Adaption</source>
|
||||
<translation>Adaptation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>components</source>
|
||||
<translation>Composants</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Adapation</source>
|
||||
<translation>adaptation</translation>
|
||||
<translation>Composantes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_SIZE_MAP</source>
|
||||
@ -3127,14 +3131,14 @@ Référez-vous à la documentation sur l'algorithme et la géométrie supportée
|
||||
<source>ADAPT_PREF_MG_ADAPT_SIZE_MAP_BACKGROUND</source>
|
||||
<translation>Arrière-plan</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_TIME_STEP</source>
|
||||
<translation>Choix du pas de temps</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_TIME_STEP_LAST</source>
|
||||
<translation>Dernier</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_TIME_STEP</source>
|
||||
<translation>Choix du pas de temps</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_TIME_STEP_C</source>
|
||||
<translation>Valeur</translation>
|
||||
@ -3143,6 +3147,10 @@ Référez-vous à la documentation sur l'algorithme et la géométrie supportée
|
||||
<source>MG_ADAPT_SELECT_FILE_0</source>
|
||||
<translation>MG-ADAPT selection fichier MED</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>ADAPT_PREF_MG_ADAPT_ADVOP</source>
|
||||
<translation>Options avancées</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SMESH_VISU_PROBLEM</source>
|
||||
<translation>Impossible de visualiser le maillage, probablement à cause d'un manque de mémoire</translation>
|
||||
|
Loading…
Reference in New Issue
Block a user