Friction: Add strickler unit.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-05-17 14:31:34 +02:00
1 parent cb41520a20
commit a5648851f2
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ class PlotStricklers(PamhyrPlot):
) )
self.label_x = self._trad["kp"] self.label_x = self._trad["kp"]
self.label_y = self._trad["stricklers"] self.label_y = self._trad["strickler_plot"]
self.line_kp_elevation = [None, None] self.line_kp_elevation = [None, None]
+3
View File
@@ -28,6 +28,9 @@ class FrictionsTranslate(MainTranslate):
super(FrictionsTranslate, self).__init__() super(FrictionsTranslate, self).__init__()
self._dict["kp"] = self._dict["unit_kp"] self._dict["kp"] = self._dict["unit_kp"]
self._dict["strickler_plot"] = _translate(
"Frictions", "Strickler ($m^{1/3}/s$)"
)
self._dict["stricklers"] = _translate( self._dict["stricklers"] = _translate(
"Frictions", "Stricklers" "Frictions", "Stricklers"
) )