mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
(B)HS: Add windows title translate.
This commit is contained in:
1 parent
0fc5bd3c10
commit
e4eee1c29e
4 files changed
+14
-4
No files matched your search
@@ -62,13 +62,14 @@ class HydraulicStructuresWindow(PamhyrWindow):
|
||||
_pamhyr_name = "Hydraulic Structures"
|
||||
|
||||
def __init__(self, study=None, config=None, parent=None):
|
||||
name = self._pamhyr_name + " - " + study.name
|
||||
trad = HydraulicStructuresTranslate()
|
||||
name = trad[self._pamhyr_name] + " - " + study.name
|
||||
|
||||
super(HydraulicStructuresWindow, self).__init__(
|
||||
title=name,
|
||||
study=study,
|
||||
config=config,
|
||||
trad=HydraulicStructuresTranslate(),
|
||||
trad=trad,
|
||||
parent=parent
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user