added translations

#80 #19
This commit is contained in:
boerniee
2023-01-12 21:02:40 +01:00
parent 84cba2c7f2
commit 0b450dc462
27 changed files with 753 additions and 297 deletions

View File

@@ -59,24 +59,24 @@ type EnumDetail struct {
var FuelUnitDetails map[FuelUnit]EnumDetail = map[FuelUnit]EnumDetail{
LITRE: {
Short: "Lt",
Long: "Litre",
Long: "litre",
},
GALLON: {
Short: "Gal",
Long: "Gallon",
Long: "gallon",
}, KILOGRAM: {
Short: "Kg",
Long: "Kilogram",
Long: "kilogram",
}, KILOWATT_HOUR: {
Short: "KwH",
Long: "Kilowatt Hour",
Long: "kilowatthour",
}, US_GALLON: {
Short: "US Gal",
Long: "US Gallon",
Long: "usgallon",
},
MINUTE: {
Short: "Mins",
Long: "Minutes",
Long: "minutes",
},
}