Friction: Add strickler unit.

setup.py
Pierre-Antoine Rouby 2024-05-17 14:31:34 +02:00
parent cb41520a20
commit a5648851f2
2 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class PlotStricklers(PamhyrPlot):
)
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]

View File

@ -28,6 +28,9 @@ class FrictionsTranslate(MainTranslate):
super(FrictionsTranslate, self).__init__()
self._dict["kp"] = self._dict["unit_kp"]
self._dict["strickler_plot"] = _translate(
"Frictions", "Strickler ($m^{1/3}/s$)"
)
self._dict["stricklers"] = _translate(
"Frictions", "Stricklers"
)