mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
BC: Translate window title.
This commit is contained in:
1 parent
0391775fed
commit
62aaa276a7
4 files changed
+16
-5
No files matched your search
@@ -105,12 +105,11 @@ class EditBoundaryConditionWindow(PamhyrWindow):
|
||||
trad = BCETranslate()
|
||||
self._long_types = trad.get_dict("long_types")
|
||||
|
||||
name = self._pamhyr_name
|
||||
name = trad[self._pamhyr_name]
|
||||
if self._data is not None:
|
||||
node_name = (self._data.node.name if self._data.node is not None
|
||||
else _translate("BoundaryCondition", "Not associate"))
|
||||
name = (
|
||||
_translate("Edit boundary condition", self._pamhyr_name) +
|
||||
name += (
|
||||
f" - {study.name} " +
|
||||
f" - {self._data.name} ({self._data.id}) " +
|
||||
f"({self._long_types[self._data.bctype]} - {node_name})"
|
||||
|
||||
Reference in new issue
Block a user