mirror of https://gitlab.com/pamhyr/pamhyr2
Friction, Stricklers: Update friction table.
parent
c4da75fe6a
commit
d417fe96c4
|
|
@ -113,10 +113,7 @@ class Stricklers(SQLSubModel):
|
|||
return True
|
||||
|
||||
def __str__(self):
|
||||
if self._name != "":
|
||||
return f"{self._name} ({self._minor}, {self._medium})"
|
||||
|
||||
return f"({self._minor}, {self._medium})"
|
||||
return f"{self.name} ({self._minor}, {self._medium})"
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
|
|
|
|||
|
|
@ -44,6 +44,6 @@ class FrictionsTranslate(MainTranslate):
|
|||
# "edge": self._dict["reach"],
|
||||
"begin_rk": _translate("Frictions", "Start (m)"),
|
||||
"end_rk": _translate("Frictions", "End (m)"),
|
||||
"begin_strickler": _translate("Frictions", "Start coefficient"),
|
||||
"end_strickler": _translate("Frictions", "End coefficient"),
|
||||
"begin_strickler": _translate("Frictions", "Coefficient"),
|
||||
# "end_strickler": _translate("Frictions", "End coefficient"),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue