fix: translation for volume unit

This commit is contained in:
Yurii
2026-05-19 19:42:29 +03:00
parent bdfa793c49
commit ffcacb3d48
2 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -19,7 +19,9 @@
"rpm": "RPM", "rpm": "RPM",
"ppm": "ppm", "ppm": "ppm",
"byte": "byte", "byte": "byte",
"mbyte": "MB" "mbyte": "MB",
"liter": "L",
"gallon": "gal"
}, },
"button": { "button": {
"upgrade": "Upgrade", "upgrade": "Upgrade",
+3 -3
View File
@@ -765,8 +765,8 @@ const pressureUnit = (unitSystem) => {
const volumeUnit = (unitSystem) => { const volumeUnit = (unitSystem) => {
return unit2str(unitSystem, { return unit2str(unitSystem, {
0: "L", 0: i18n('units.liter'),
1: "gal" 1: i18n('units.gallon')
}); });
} }
@@ -780,7 +780,7 @@ const purposeUnit = (purpose, unitSystem) => {
3: tUnit, 3: tUnit,
4: tUnit, 4: tUnit,
5: tUnit, 5: tUnit,
6: `${volumeUnit(unitSystem)}/${i18n('time.min')}`, 6: `${volumeUnit(unitSystem)}/${i18n('units.min')}`,
7: tUnit, 7: tUnit,
8: "%", 8: "%",
248: "%", 248: "%",