mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
RunSolver: Add windows title translate.
This commit is contained in:
1 parent
6ea00200b0
commit
a200adb51a
2 files changed
+8
-5
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# Window.py -- Pamhyr
|
||||
# Copyright (C) 2023 INRAE
|
||||
# Copyright (C) 2023-2024 INRAE
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -55,8 +55,9 @@ class SolverLogFileWindow(PamhyrWindow):
|
||||
self._solver = solver
|
||||
self._file_name = file_name
|
||||
|
||||
name = _translate("Solver", "Solver logs")
|
||||
super(SolverLogFileWindow, self).__init__(
|
||||
title=self._pamhyr_name,
|
||||
title=name,
|
||||
study=study,
|
||||
config=config,
|
||||
options=[],
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Window.py -- Pamhyr
|
||||
# Copyright (C) 2023 INRAE
|
||||
# Copyright (C) 2023-2024 INRAE
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -64,8 +64,9 @@ class SelectSolverWindow(PamhyrDialog):
|
||||
parent=None):
|
||||
self._solver = None
|
||||
|
||||
name = _translate("Solver", "Select solver")
|
||||
super(SelectSolverWindow, self).__init__(
|
||||
title=self._pamhyr_name,
|
||||
title=name,
|
||||
study=study,
|
||||
config=config,
|
||||
options=[],
|
||||
@@ -141,8 +142,9 @@ class SolverLogWindow(PamhyrWindow):
|
||||
self._solver = solver
|
||||
self._results = None
|
||||
|
||||
name = _translate("Solver", "Select log")
|
||||
super(SolverLogWindow, self).__init__(
|
||||
title=self._pamhyr_name,
|
||||
title=name,
|
||||
study=study,
|
||||
config=config,
|
||||
options=[],
|
||||
|
||||
Reference in new issue
Block a user