mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Friction, Stricklers: Update friction table.
This commit is contained in:
1 parent
c4da75fe6a
commit
d417fe96c4
2 files changed
+3
-6
No files matched your search
@@ -113,10 +113,7 @@ class Stricklers(SQLSubModel):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
if self._name != "":
|
return f"{self.name} ({self._minor}, {self._medium})"
|
||||||
return f"{self._name} ({self._minor}, {self._medium})"
|
|
||||||
|
|
||||||
return f"({self._minor}, {self._medium})"
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
|||||||
@@ -44,6 +44,6 @@ class FrictionsTranslate(MainTranslate):
|
|||||||
# "edge": self._dict["reach"],
|
# "edge": self._dict["reach"],
|
||||||
"begin_rk": _translate("Frictions", "Start (m)"),
|
"begin_rk": _translate("Frictions", "Start (m)"),
|
||||||
"end_rk": _translate("Frictions", "End (m)"),
|
"end_rk": _translate("Frictions", "End (m)"),
|
||||||
"begin_strickler": _translate("Frictions", "Start coefficient"),
|
"begin_strickler": _translate("Frictions", "Coefficient"),
|
||||||
"end_strickler": _translate("Frictions", "End coefficient"),
|
# "end_strickler": _translate("Frictions", "End coefficient"),
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user