diff --git a/src/View/HydraulicStructures/BasicHydraulicStructures/Translate.py b/src/View/HydraulicStructures/BasicHydraulicStructures/Translate.py index 29a12f35..9d872d24 100644 --- a/src/View/HydraulicStructures/BasicHydraulicStructures/Translate.py +++ b/src/View/HydraulicStructures/BasicHydraulicStructures/Translate.py @@ -108,7 +108,7 @@ hydraulic structure values?" self._sub_dict["long_types"] = { "ND": self._dict["not_defined"], "S1": _translate( - "BasicHydraulicStructures", "Discharge weir" + "BasicHydraulicStructures", "Rectangular weir" ), "S2": _translate( "BasicHydraulicStructures", "Trapezoidal weir" diff --git a/src/View/InitialConditions/translate.py b/src/View/InitialConditions/translate.py index 3ed1c398..0edee4dc 100644 --- a/src/View/InitialConditions/translate.py +++ b/src/View/InitialConditions/translate.py @@ -28,11 +28,7 @@ class ICTranslate(MainTranslate): super(ICTranslate, self).__init__() self._dict["Initial condition"] = _translate( - "InitialCondition", "Initial condition") - self._dict["Discharge"] = _translate( - "InitialCondition", "Discharge") - self._dict["Height"] = _translate( - "InitialCondition", "Height") + "InitialCondition", "Initial conditions") self._dict["elevation"] = self._dict["unit_elevation"] self._dict["discharge"] = self._dict["unit_discharge"] diff --git a/src/View/Results/PlotH.py b/src/View/Results/PlotH.py index 5920d837..5dc25831 100644 --- a/src/View/Results/PlotH.py +++ b/src/View/Results/PlotH.py @@ -51,8 +51,8 @@ class PlotH(PamhyrPlot): self._current_reach_id = reach_id self._current_profile_id = profile_id - self.label_x = _translate("Results", "Time (s)") - self.label_y = _translate("Results", "Discharge (m³/s)") + self.label_x = self._trad["unit_time_s"] + self.label_y = self._trad["unit_discharge"] self.label_discharge = _translate("Results", "Cross-section discharge") self.label_discharge_max = _translate("Results", "Max discharge") diff --git a/src/View/Results/translate.py b/src/View/Results/translate.py index e434af9d..b8e40d3b 100644 --- a/src/View/Results/translate.py +++ b/src/View/Results/translate.py @@ -37,7 +37,7 @@ class ResultsTranslate(MainTranslate): self._dict['x'] = _translate("Results", "X (m)") - self._dict['label_bottom'] = _translate("Results", "River bottom") + self._dict['label_bottom'] = _translate("Results", "Bottom") self._dict['label_water'] = _translate("Results", "Water elevation") self._dict['label_water_max'] = _translate( "Results", diff --git a/src/View/Translate.py b/src/View/Translate.py index 30a8a564..90d7b423 100644 --- a/src/View/Translate.py +++ b/src/View/Translate.py @@ -60,9 +60,8 @@ class UnitTranslate(CommonWordTranslate): self._dict["unit_diameter"] = _translate("Unit", "Diameter (m)") self._dict["unit_thickness"] = _translate("Unit", "Thickness (m)") self._dict["unit_elevation"] = _translate("Unit", "Elevation (m)") - self._dict["unit_water_elevation"] = _translate( - "Unit", "Water elevation (m)" - ) + self._dict["unit_water_elevation"] = _translate("Unit", "Water elevation (m)") + self._dict["unit_speed"] = _translate("Unit", "Velocity (m/s)") self._dict["unit_discharge"] = _translate("Unit", "Discharge (m³/s)") self._dict["unit_area"] = _translate("Unit", "Area (hectare)") diff --git a/src/View/ui/InitialConditions.ui b/src/View/ui/InitialConditions.ui index e0268872..81faeb6a 100644 --- a/src/View/ui/InitialConditions.ui +++ b/src/View/ui/InitialConditions.ui @@ -27,21 +27,21 @@ - Generate depth + Generate uniform depth - Generate discharge + Generate uniform discharge - Generate elevation + Generate uniform elevation diff --git a/src/View/ui/Results.ui b/src/View/ui/Results.ui index e92bdab4..90ca6fb4 100644 --- a/src/View/ui/Results.ui +++ b/src/View/ui/Results.ui @@ -139,7 +139,7 @@ - Raw data + Data diff --git a/src/lang/fr.ts b/src/lang/fr.ts index eac47140..51778d75 100644 --- a/src/lang/fr.ts +++ b/src/lang/fr.ts @@ -1,6 +1,5 @@ - - + About @@ -181,8 +180,8 @@ - Discharge weir - + Rectangular weir + Déversoir rectangulaire @@ -240,7 +239,7 @@ Boundary Condition Options - + Options des conditions limites @@ -276,21 +275,11 @@ Mage geometry guideline checker Vérificateur des lignes directrices pour Mage - - - Check if geometry guidelines are correctly defined for each reach - Vérifie si les lignes directrices sont définies pour tous les biefs - Study reach network checker Vérificateur des biefs de l'étude - - - Check if at least one reach exists - Vérifie s'il existe au moins un bief dans l'étude - Study geometry checker @@ -539,11 +528,6 @@ . . - - - Height - Hauteur - Solvers @@ -574,11 +558,6 @@ HH:mm:ss HH:mm:ss - - - Strickler coefficients - Coefficients de Strickler - Editor @@ -657,7 +636,7 @@ Discharge - Débit + Débit @@ -674,16 +653,6 @@ First guideline Première ligne directrice - - - Last guideline - Dernière ligne directrice - - - - Space step - Pas d'espace - Guideline used for distance computation @@ -724,11 +693,6 @@ Line Ligne - - - Comment lines start with '*' char (let see Mage documentation for more details) - Les lignes de commentaire commencent par un caractère '*' (voir la documentation de Mage pour plus de détails) - Limits @@ -737,7 +701,7 @@ Options - Options + Options @@ -749,11 +713,6 @@ Type of interpolation: Type d'interpolation : - - - Height (m) - Hauteur (m) - Stricklers @@ -784,11 +743,6 @@ Origin value Valeur de l'origine - - - Discharge (m³/s) - Débit (m³/s) - Parameters @@ -812,62 +766,62 @@ Y coordinate - + Coordonnées Y X coordinate - + Coordonnées X Z coordinate - + Coordonnées Z Upstream to downstream - + De l'amont à l'aval Downstream to upstream - + De l'aval à l'amont Orientation - + Orientation Keep current - + Actuelle Upstream height (m) - + Cote à l'amont (m) Downstream height (m) - + Cote à l'aval (m) Generate constant discharge - + Générer un débit constant Slope - + Pente Estimate - + Estimer @@ -889,6 +843,16 @@ Maximum number of points to keep Nombre de points maxi à conserver + + + Discharge (m³/s) + Débit (m³/s) + + + + Discharge (m³/s) + + Documentation @@ -1064,16 +1028,6 @@ Study Étude - - - Description: - Description : - - - - Name: - Nom : - @study_name @@ -1179,11 +1133,6 @@ @nb_hs @nb_hs - - - Restart - Relancer - Checkers list @@ -1197,16 +1146,6 @@ Frictions - - - Strickler coefficients - Coefficients de Strickler - - - - Edit friction coefficients - Modifier les frottements - Start (m) @@ -1320,21 +1259,6 @@ Points Points - - - First guideline - Première ligne directrice - - - - Second guideline - Seconde ligne directrice - - - - Mean over the two guidelines - Moyenne sur les deux lignes directrices - Meshing @@ -1428,18 +1352,8 @@ InitialCondition - Initial condition - Condition initiale - - - - Discharge - Débit - - - - Height - Hauteur + Initial conditions + Conditions initiales @@ -1488,17 +1402,17 @@ MainWindow - + Open debug window Ouvrir la fenêtre de débogage - + Open SQLite debuging tool ('sqlitebrowser') Ouvrir l'outil de débogage SQLite ('sqlitebrowser') - + Enable this window Activer cette fenêtre @@ -1507,11 +1421,6 @@ MainWindow Fenêtre principale - - - Toolbar - Barre d'outils - Add @@ -1847,21 +1756,11 @@ Friction Frottements - - - Edit friction coefficients - Modifier les frottements - Edit study Modifier l'étude - - - Edit the study metadata - Modifier les informations de l'étude - Define initial conditions @@ -2055,7 +1954,7 @@ Raw data - Données brutes + Données brutes @@ -2082,11 +1981,6 @@ Export Exporter - - - Export raw data - Exporter les données brutes - delete @@ -2267,16 +2161,6 @@ Edit sediment layers of the profile Modifier les couches sédimentaires du profil - - - Generate height - Générer une hauteur - - - - Generate discharge - Générer un débit - Add new initial condition @@ -2297,16 +2181,6 @@ Sort inital conditions Trier les conditions initiales - - - Add a new point in boundary condition or point source - Ajouter un nouveau point - - - - Sort boundary condition points - Trier les points des conditions aux limites - Add a new point in boundary condition or lateral source @@ -2383,12 +2257,12 @@ Maillage - + Summary Résumé - + Checks Vérifications @@ -2485,12 +2359,12 @@ toolBar - + toolBar toolBar_2 - + toolBar_2 @@ -2545,47 +2419,37 @@ Export data as CSV - - - - - Generate depth - - - - - Generate elevation - + Exporter les données au format CSV Generate uniform - + Générer un regime uniforme Generate rating curve from Manning law - + Générer une courbe de tarage (loi de Maning) Generate critical - + Générer régime critique Generate rating curve as Q(z) = Sqrt(g*S(z)^3/L(z)) - + Générer une courbe de tarage (Q(z) = Sqrt(g*S(z)^3/L(z))) Make increasing - + Augmenter Remove points to make the curve increasing - + Supprimer des points pour rendre la courbe croissante @@ -2597,6 +2461,26 @@ Shift selected sections coordinates Décaler les coordonnées des sections sélectionnées + + + Generate uniform depth + Générer une profondeur uniforme + + + + Generate uniform discharge + Générer un débit uniforme + + + + Generate uniform elevation + Générer une cote uniforme + + + + Data + Données + MainWindow_reach @@ -2760,11 +2644,6 @@ Y (m) Y (m) - - - Time (s) - Temps (s) - Cross-section discharge @@ -2793,7 +2672,7 @@ River bottom - Fond de la rivière + Fond de la rivière @@ -2816,9 +2695,9 @@ Profil - - Discharge (m³/s) - Débit (m³/s) + + Bottom + Fond @@ -3012,7 +2891,7 @@ Minimum water height (meter) - Hauteur d'eau minimale (mètres) + Profondeur minimale (mètres) @@ -3147,11 +3026,6 @@ Strickler coefficients Coefficient de Strickler - - - Stricklers - Stricklers - Study @@ -3211,11 +3085,6 @@ Unit - - - Position (m) - PK (m) - Width (m) @@ -3224,7 +3093,7 @@ Depth (m) - Hauteur (m) + Profondeur (m) @@ -3247,40 +3116,30 @@ Cote de l'eau (m) - + Area (hectare) Aire (hectare) - + Time (sec) Temps (s) - + Time (JJJ:HH:MM:SS) Temps (JJJ:HH:MM:SS) - + Date (sec) Date (s) - + Date (ISO format) Date (format ISO) - - - Discharge (m³/s) - Débit (m³/s) - - - - Speed (m/s) - Vitesse (m/s) - River Kilometer (m) @@ -3297,29 +3156,44 @@ Profondeur moyenne (m) - + Velocity (m/s) Vitesse (m/s) - + Wet Perimeter (m) Périmètre mouiller (m) - + Hydraulic Radius (m) Rayon hydraulique (m) - + Froude number Nombre de Froude - - Wet Area (m²) + + Discharge (m³/s) + Débit (m³/s) + + + + Wet Area (m²) Aire mouiller (m²) + + + Discharge (m³/s) + + + + + Wet Area (m²) + +