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
|
# Window.py -- Pamhyr
|
||||||
# Copyright (C) 2023 INRAE
|
# Copyright (C) 2023-2024 INRAE
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -55,8 +55,9 @@ class SolverLogFileWindow(PamhyrWindow):
|
|||||||
self._solver = solver
|
self._solver = solver
|
||||||
self._file_name = file_name
|
self._file_name = file_name
|
||||||
|
|
||||||
|
name = _translate("Solver", "Solver logs")
|
||||||
super(SolverLogFileWindow, self).__init__(
|
super(SolverLogFileWindow, self).__init__(
|
||||||
title=self._pamhyr_name,
|
title=name,
|
||||||
study=study,
|
study=study,
|
||||||
config=config,
|
config=config,
|
||||||
options=[],
|
options=[],
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Window.py -- Pamhyr
|
# Window.py -- Pamhyr
|
||||||
# Copyright (C) 2023 INRAE
|
# Copyright (C) 2023-2024 INRAE
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -64,8 +64,9 @@ class SelectSolverWindow(PamhyrDialog):
|
|||||||
parent=None):
|
parent=None):
|
||||||
self._solver = None
|
self._solver = None
|
||||||
|
|
||||||
|
name = _translate("Solver", "Select solver")
|
||||||
super(SelectSolverWindow, self).__init__(
|
super(SelectSolverWindow, self).__init__(
|
||||||
title=self._pamhyr_name,
|
title=name,
|
||||||
study=study,
|
study=study,
|
||||||
config=config,
|
config=config,
|
||||||
options=[],
|
options=[],
|
||||||
@@ -141,8 +142,9 @@ class SolverLogWindow(PamhyrWindow):
|
|||||||
self._solver = solver
|
self._solver = solver
|
||||||
self._results = None
|
self._results = None
|
||||||
|
|
||||||
|
name = _translate("Solver", "Select log")
|
||||||
super(SolverLogWindow, self).__init__(
|
super(SolverLogWindow, self).__init__(
|
||||||
title=self._pamhyr_name,
|
title=name,
|
||||||
study=study,
|
study=study,
|
||||||
config=config,
|
config=config,
|
||||||
options=[],
|
options=[],
|
||||||
|
|||||||
Reference in new issue
Block a user