Skip to content

Commit

Permalink
Fix more unit names (#1351)
Browse files Browse the repository at this point in the history
Came across some more unit names that seem wrong. Breaking changes once
more.

Related #1200
  • Loading branch information
Muximize authored Jan 6, 2024
1 parent cff63a6 commit ab2618e
Show file tree
Hide file tree
Showing 33 changed files with 845 additions and 845 deletions.
2 changes: 1 addition & 1 deletion Common/UnitDefinitions/Density.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
},
{
"SingularName": "GramPerDeciliter",
"PluralName": "GramsPerDeciLiter",
"PluralName": "GramsPerDeciliter",
"FromUnitToBaseFunc": "{x} / 1e-1",
"FromBaseToUnitFunc": "{x} * 1e-1",
"Prefixes": [ "Pico", "Nano", "Micro", "Milli", "Centi", "Deci" ],
Expand Down
8 changes: 4 additions & 4 deletions Common/UnitDefinitions/ElectricPotentialChangeRate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Units": [
{
"SingularName": "VoltPerSecond",
"PluralName": "VoltsPerSeconds",
"PluralName": "VoltsPerSecond",
"BaseUnits": {
"L": "Meter",
"M": "Kilogram",
Expand All @@ -30,7 +30,7 @@
},
{
"SingularName": "VoltPerMicrosecond",
"PluralName": "VoltsPerMicroseconds",
"PluralName": "VoltsPerMicrosecond",
"BaseUnits": {
"L": "Meter",
"M": "Kilogram",
Expand All @@ -49,7 +49,7 @@
},
{
"SingularName": "VoltPerMinute",
"PluralName": "VoltsPerMinutes",
"PluralName": "VoltsPerMinute",
"BaseUnits": {
"L": "Meter",
"M": "Kilogram",
Expand All @@ -68,7 +68,7 @@
},
{
"SingularName": "VoltPerHour",
"PluralName": "VoltsPerHours",
"PluralName": "VoltsPerHour",
"BaseUnits": {
"L": "Meter",
"M": "Kilogram",
Expand Down
2 changes: 1 addition & 1 deletion Common/UnitDefinitions/FuelEfficiency.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
{
"SingularName": "KilometerPerLiter",
"PluralName": "KilometersPerLiters",
"PluralName": "KilometersPerLiter",
"FromUnitToBaseFunc": "100 / {x}",
"FromBaseToUnitFunc": "100 / {x}",
"Localization": [{
Expand Down
2 changes: 1 addition & 1 deletion Common/UnitDefinitions/Speed.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
{
"SingularName": "MeterPerMinute",
"PluralName": "MetersPerMinutes",
"PluralName": "MetersPerMinute",
"BaseUnits": {
"L": "Meter",
"T": "Minute"
Expand Down
28 changes: 14 additions & 14 deletions UnitsNet.NanoFramework/GeneratedCode/Quantities/Density.g.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ab2618e

Please sign in to comment.