Pamhyr: Factorize some translate.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-02-21 15:52:16 +01:00
1 parent b3a7e7f465
commit 2e158f4c1b
38 files changed
+274 -239

No files matched your search

+2 -2
View File
@@ -43,8 +43,8 @@ class PlotKPC(PamhyrPlot):
self._current_reach = reach
self._current_profile = profile
self.label_x = _translate("MainWindow_reach", "KP (m)")
self.label_y = _translate("MainWindow_reach", "Elevation (m)")
self.label_x = self._trad["unit_kp"]
self.label_y = self._trad["unit_elevation"]
self._isometric_axis = False