This commit is contained in:
Theophile Terraz committed 2024-12-05 16:50:10 +01:00
1 parent f1d6eb8990
commit b38e252746
15 files changed
+87 -1062

No files matched your search

+4 -4
View File
@@ -102,9 +102,10 @@ class ResultsTranslate(MainTranslate):
self._sub_dict["table_headers_raw_data"] = {
"name": _translate("Results", "Profile"),
}
for i, pol in enumerate(self.pollutants):
self._sub_dict["table_headers_raw_data"][pol + " Concentration"] = pol + "\n Concentration"
self._sub_dict["table_headers_raw_data"][pol + " Mass"] = pol + "\n Mass"
tmp = self._sub_dict["table_headers_raw_data"]
for pol in self.pollutants:
tmp[pol + " Concentration"] = pol + "\n Concentration"
tmp[pol + " Mass"] = pol + "\n Mass"
else:
self._sub_dict["table_headers_raw_data"] = {
"name": _translate("Results", "Profile"),
@@ -131,4 +132,3 @@ class ResultsTranslate(MainTranslate):
"unit_M": self._dict["unit_mass"],
"unit_thickness": self._dict["unit_thickness"],
}