mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Results: Add window title translate.
This commit is contained in:
1 parent
5cf03d7ae0
commit
6ea00200b0
2 files changed
+7
-2
No files matched your search
@@ -84,8 +84,9 @@ class ResultsWindow(PamhyrWindow):
|
||||
self._solver = solver
|
||||
self._results = results
|
||||
|
||||
trad = ResultsTranslate()
|
||||
name = (
|
||||
self._pamhyr_name + " - "
|
||||
trad[self._pamhyr_name] + " - "
|
||||
+ study.name + " - "
|
||||
+ self._solver.name
|
||||
)
|
||||
@@ -94,7 +95,7 @@ class ResultsWindow(PamhyrWindow):
|
||||
title=name,
|
||||
study=study,
|
||||
config=config,
|
||||
trad=ResultsTranslate(),
|
||||
trad=trad,
|
||||
parent=parent
|
||||
)
|
||||
|
||||
|
||||
@@ -27,6 +27,10 @@ class ResultsTranslate(PamhyrTranslate):
|
||||
def __init__(self):
|
||||
super(ResultsTranslate, self).__init__()
|
||||
|
||||
self._dict["Results"] = _translate(
|
||||
"Results", "Results"
|
||||
)
|
||||
|
||||
self._dict['day'] = _translate(
|
||||
"Results", "day"
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user