mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Translate: Update.
This commit is contained in:
1 parent
5619b98468
commit
4757c7d051
7 files changed
+159
-113
No files matched your search
@@ -44,6 +44,6 @@ class GeometryTranslate(PamhyrTranslate):
|
||||
|
||||
self._sub_dict["table_headers"] = {
|
||||
"name": _translate("Geometry", "Name"),
|
||||
"kp": _translate("Geometry", "KP"),
|
||||
"kp": _translate("Geometry", "KP (m)"),
|
||||
"poins": _translate("Geometry", "Points"),
|
||||
}
|
||||
@@ -41,22 +41,22 @@ hydraulic structure values?"
|
||||
# BHSValues translation
|
||||
|
||||
self._dict['width'] = _translate(
|
||||
"BasicHydraulicStructures", "Width"
|
||||
"BasicHydraulicStructures", "Width (m)"
|
||||
)
|
||||
self._dict['height'] = _translate(
|
||||
"BasicHydraulicStructures", "Height"
|
||||
"BasicHydraulicStructures", "Thickness (m)"
|
||||
)
|
||||
self._dict['elevation'] = _translate(
|
||||
"BasicHydraulicStructures", "Elevation"
|
||||
"BasicHydraulicStructures", "Elevation (m)"
|
||||
)
|
||||
self._dict['diameter'] = _translate(
|
||||
"BasicHydraulicStructures", "Diameter"
|
||||
"BasicHydraulicStructures", "Diameter (m)"
|
||||
)
|
||||
self._dict['discharge_coefficient'] = _translate(
|
||||
"BasicHydraulicStructures", "Discharge coefficient"
|
||||
)
|
||||
self._dict['loading_elevation'] = _translate(
|
||||
"BasicHydraulicStructures", "Loading elevation"
|
||||
"BasicHydraulicStructures", "Upper elevation (m)"
|
||||
)
|
||||
self._dict['half-angle_tangent'] = _translate(
|
||||
"BasicHydraulicStructures", "Half-angle tangent"
|
||||
@@ -65,13 +65,13 @@ hydraulic structure values?"
|
||||
"BasicHydraulicStructures", "Maximal loading elevation"
|
||||
)
|
||||
self._dict['siltation_height'] = _translate(
|
||||
"BasicHydraulicStructures", "Siltation height"
|
||||
"BasicHydraulicStructures", "Siltation height (m)"
|
||||
)
|
||||
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(
|
||||
"BasicHydraulicStructures", "Bottom of the vault"
|
||||
"BasicHydraulicStructures", "Bottom of the vault (m)"
|
||||
)
|
||||
self._dict['opening'] = _translate(
|
||||
"BasicHydraulicStructures", "Opening"
|
||||
|
||||
@@ -30,5 +30,5 @@ class HydraulicStructuresTranslate(PamhyrTranslate):
|
||||
self._sub_dict["table_headers"] = {
|
||||
"name": _translate("HydraulicStructures", "Name"),
|
||||
"reach": _translate("HydraulicStructures", "Reach"),
|
||||
"kp": _translate("HydraulicStructures", "Kp"),
|
||||
"kp": _translate("HydraulicStructures", "Kp (m)"),
|
||||
}
|
||||
@@ -36,7 +36,7 @@ class CustomPlotTranslate(ResultsTranslate):
|
||||
"CustomPlot", "Kp (m)"
|
||||
)
|
||||
self._dict['elevation'] = _translate(
|
||||
"CustomPlot", "Elevation (m)"
|
||||
"CustomPlot", "Bed load elevation (m)"
|
||||
)
|
||||
self._dict['water_elevation'] = _translate(
|
||||
"CustomPlot", "Water elevation (m)"
|
||||
@@ -48,7 +48,7 @@ class CustomPlotTranslate(ResultsTranslate):
|
||||
# Unit corresponding long name (plot axes display)
|
||||
|
||||
self._dict['0-meter'] = _translate(
|
||||
"CustomPlot", "Elevation (m)"
|
||||
"CustomPlot", "Bed load elevation (m)"
|
||||
)
|
||||
self._dict['1-m3s'] = _translate(
|
||||
"CustomPlot", "Discharge (m³/s)"
|
||||
|
||||
@@ -11,12 +11,12 @@ class SedimentEditTranslate(SedimentTranslate):
|
||||
def __init__(self):
|
||||
super(SedimentEditTranslate, self).__init__()
|
||||
|
||||
self._dict["height"] = _translate("SedimentLayers", "Height (m)"),
|
||||
self._dict["height"] = _translate("SedimentLayers", "Thickness (m)"),
|
||||
|
||||
self._sub_dict["table_headers"] = {
|
||||
"name": _translate("SedimentLayers", "Name"),
|
||||
# "type": _translate("SedimentLayers", "Type"),
|
||||
"height": _translate("SedimentLayers", "Height"),
|
||||
"height": _translate("SedimentLayers", "Thickness (m)"),
|
||||
"d50": _translate("SedimentLayers", "D50"),
|
||||
"sigma": _translate("SedimentLayers", "Sigma"),
|
||||
"critical_constraint": _translate("SedimentLayers",
|
||||
|
||||
@@ -29,7 +29,7 @@ class StricklersTranslate(PamhyrTranslate):
|
||||
|
||||
self._sub_dict["table_headers"] = {
|
||||
"name": _translate("LateralContribution", "Name"),
|
||||
"minor": _translate("LateralContribution", "Minor bed"),
|
||||
"medium": _translate("LateralContribution", "Medium bed"),
|
||||
"minor": _translate("LateralContribution", "Main channel"),
|
||||
"medium": _translate("LateralContribution", "Floodway"),
|
||||
"comment": _translate("LateralContribution", "Comment"),
|
||||
}
|
||||
Reference in new issue
Block a user