Results: Compare: Simplify compare method and add message box on error.

This commit is contained in:
parouby committed 2025-10-24 11:23:43 +02:00
1 parent 819ae41c00
commit ee01beb844
2 files changed
+72 -61

No files matched your search

+12
View File
@@ -228,6 +228,18 @@ class MainTranslate(UnitTranslate):
"Do you still want to open those results?"
)
self._dict["mb_diff_results_title"] = _translate(
"MainWindow", "Results compare"
)
self._dict["mb_diff_results_param_msg"] = _translate(
"MainWindow", "Results comparison parameters is invalid"
)
self._dict["mb_diff_results_compatibility_msg"] = _translate(
"MainWindow",
"Results comparison with two "
"incompatible study version"
)
self._dict["x"] = _translate("MainWindow", "X (m)")
self._dict["y"] = _translate("MainWindow", "Y (m)")
self._dict["Yes"] = _translate("MainWindow", "Yes")