Commit a200adb5 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

RunSolver: Add windows title translate.

parent 6ea00200
No related merge requests found
Showing with 8 additions and 5 deletions
+8 -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): ...@@ -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=[],
......
# 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): ...@@ -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): ...@@ -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=[],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment