Commit 4757c7d0 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Translate: Update.

Showing with 159 additions and 113 deletions
+159 -113
...@@ -44,6 +44,6 @@ class GeometryTranslate(PamhyrTranslate): ...@@ -44,6 +44,6 @@ class GeometryTranslate(PamhyrTranslate):
self._sub_dict["table_headers"] = { self._sub_dict["table_headers"] = {
"name": _translate("Geometry", "Name"), "name": _translate("Geometry", "Name"),
"kp": _translate("Geometry", "KP"), "kp": _translate("Geometry", "KP (m)"),
"poins": _translate("Geometry", "Points"), "poins": _translate("Geometry", "Points"),
} }
...@@ -41,22 +41,22 @@ hydraulic structure values?" ...@@ -41,22 +41,22 @@ hydraulic structure values?"
# BHSValues translation # BHSValues translation
self._dict['width'] = _translate( self._dict['width'] = _translate(
"BasicHydraulicStructures", "Width" "BasicHydraulicStructures", "Width (m)"
) )
self._dict['height'] = _translate( self._dict['height'] = _translate(
"BasicHydraulicStructures", "Height" "BasicHydraulicStructures", "Thickness (m)"
) )
self._dict['elevation'] = _translate( self._dict['elevation'] = _translate(
"BasicHydraulicStructures", "Elevation" "BasicHydraulicStructures", "Elevation (m)"
) )
self._dict['diameter'] = _translate( self._dict['diameter'] = _translate(
"BasicHydraulicStructures", "Diameter" "BasicHydraulicStructures", "Diameter (m)"
) )
self._dict['discharge_coefficient'] = _translate( self._dict['discharge_coefficient'] = _translate(
"BasicHydraulicStructures", "Discharge coefficient" "BasicHydraulicStructures", "Discharge coefficient"
) )
self._dict['loading_elevation'] = _translate( self._dict['loading_elevation'] = _translate(
"BasicHydraulicStructures", "Loading elevation" "BasicHydraulicStructures", "Upper elevation (m)"
) )
self._dict['half-angle_tangent'] = _translate( self._dict['half-angle_tangent'] = _translate(
"BasicHydraulicStructures", "Half-angle tangent" "BasicHydraulicStructures", "Half-angle tangent"
...@@ -65,13 +65,13 @@ hydraulic structure values?" ...@@ -65,13 +65,13 @@ hydraulic structure values?"
"BasicHydraulicStructures", "Maximal loading elevation" "BasicHydraulicStructures", "Maximal loading elevation"
) )
self._dict['siltation_height'] = _translate( self._dict['siltation_height'] = _translate(
"BasicHydraulicStructures", "Siltation height" "BasicHydraulicStructures", "Siltation height (m)"
) )
self._dict['top_of_the_vault'] = _translate( self._dict['top_of_the_vault'] = _translate(
"BasicHydraulicStructures", "Top of the vault" "BasicHydraulicStructures", "Top of the vault (m)"
) )
self._dict['bottom_of_the_vault'] = _translate( self._dict['bottom_of_the_vault'] = _translate(
"BasicHydraulicStructures", "Bottom of the vault" "BasicHydraulicStructures", "Bottom of the vault (m)"
) )
self._dict['opening'] = _translate( self._dict['opening'] = _translate(
"BasicHydraulicStructures", "Opening" "BasicHydraulicStructures", "Opening"
......
...@@ -30,5 +30,5 @@ class HydraulicStructuresTranslate(PamhyrTranslate): ...@@ -30,5 +30,5 @@ class HydraulicStructuresTranslate(PamhyrTranslate):
self._sub_dict["table_headers"] = { self._sub_dict["table_headers"] = {
"name": _translate("HydraulicStructures", "Name"), "name": _translate("HydraulicStructures", "Name"),
"reach": _translate("HydraulicStructures", "Reach"), "reach": _translate("HydraulicStructures", "Reach"),
"kp": _translate("HydraulicStructures", "Kp"), "kp": _translate("HydraulicStructures", "Kp (m)"),
} }
...@@ -36,7 +36,7 @@ class CustomPlotTranslate(ResultsTranslate): ...@@ -36,7 +36,7 @@ class CustomPlotTranslate(ResultsTranslate):
"CustomPlot", "Kp (m)" "CustomPlot", "Kp (m)"
) )
self._dict['elevation'] = _translate( self._dict['elevation'] = _translate(
"CustomPlot", "Elevation (m)" "CustomPlot", "Bed load elevation (m)"
) )
self._dict['water_elevation'] = _translate( self._dict['water_elevation'] = _translate(
"CustomPlot", "Water elevation (m)" "CustomPlot", "Water elevation (m)"
...@@ -48,7 +48,7 @@ class CustomPlotTranslate(ResultsTranslate): ...@@ -48,7 +48,7 @@ class CustomPlotTranslate(ResultsTranslate):
# Unit corresponding long name (plot axes display) # Unit corresponding long name (plot axes display)
self._dict['0-meter'] = _translate( self._dict['0-meter'] = _translate(
"CustomPlot", "Elevation (m)" "CustomPlot", "Bed load elevation (m)"
) )
self._dict['1-m3s'] = _translate( self._dict['1-m3s'] = _translate(
"CustomPlot", "Discharge (m³/s)" "CustomPlot", "Discharge (m³/s)"
......
...@@ -11,12 +11,12 @@ class SedimentEditTranslate(SedimentTranslate): ...@@ -11,12 +11,12 @@ class SedimentEditTranslate(SedimentTranslate):
def __init__(self): def __init__(self):
super(SedimentEditTranslate, self).__init__() super(SedimentEditTranslate, self).__init__()
self._dict["height"] = _translate("SedimentLayers", "Height (m)"), self._dict["height"] = _translate("SedimentLayers", "Thickness (m)"),
self._sub_dict["table_headers"] = { self._sub_dict["table_headers"] = {
"name": _translate("SedimentLayers", "Name"), "name": _translate("SedimentLayers", "Name"),
# "type": _translate("SedimentLayers", "Type"), # "type": _translate("SedimentLayers", "Type"),
"height": _translate("SedimentLayers", "Height"), "height": _translate("SedimentLayers", "Thickness (m)"),
"d50": _translate("SedimentLayers", "D50"), "d50": _translate("SedimentLayers", "D50"),
"sigma": _translate("SedimentLayers", "Sigma"), "sigma": _translate("SedimentLayers", "Sigma"),
"critical_constraint": _translate("SedimentLayers", "critical_constraint": _translate("SedimentLayers",
......
...@@ -29,7 +29,7 @@ class StricklersTranslate(PamhyrTranslate): ...@@ -29,7 +29,7 @@ class StricklersTranslate(PamhyrTranslate):
self._sub_dict["table_headers"] = { self._sub_dict["table_headers"] = {
"name": _translate("LateralContribution", "Name"), "name": _translate("LateralContribution", "Name"),
"minor": _translate("LateralContribution", "Minor bed"), "minor": _translate("LateralContribution", "Main channel"),
"medium": _translate("LateralContribution", "Medium bed"), "medium": _translate("LateralContribution", "Floodway"),
"comment": _translate("LateralContribution", "Comment"), "comment": _translate("LateralContribution", "Comment"),
} }
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment