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

RunSolver: Add windows title translate.

Showing with 8 additions and 5 deletions
+8 -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=[],
......
# 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=[],
......
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