mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-05-20 16:28:15 +05:00
fix: translation for volume unit
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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: "%",
|
||||||
|
|||||||
Reference in New Issue
Block a user