RunSolver: Add windows title translate.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-02-12 15:18:01 +01:00
1 parent 6ea00200b0
commit a200adb51a
2 files changed
+8 -5

No files matched your search

+5 -3
View File
@@ -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=[],