Skip to content

Commit b583121

Browse files
JagailoAlexey Yageloangularsen
authored
Minor corrections to some unit abbreviations (#1496)
**AreaMomentOfInertia:** > Use superscript (cm², m³) instead of cm^2, m^3 **MolarEntropy:** > Use · for products (N·m instead of Nm, N*m or N.m) **SpecificEntropy:** > Use · for products (N·m instead of Nm, N*m or N.m) Using parentheses for mathematically correct display; using the correct symbol for degrees Celsius **SpecificFuelConsumption:** It looks like some unusual multiplication sign was used **WarpingMomentOfInertia:** > Use superscript (cm², m³) instead of cm^2, m^3 --- For ^4 and ^6 UnitParser.NormalizeUnitString() will handle this situation --------- Co-authored-by: Alexey Yagelo <[email protected]> Co-authored-by: Andreas Gullberg Larsen <[email protected]>
1 parent d3cf2df commit b583121

19 files changed

+169
-457
lines changed

Common/UnitDefinitions/AreaMomentOfInertia.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"Localization": [
1818
{
1919
"Culture": "en-US",
20-
"Abbreviations": [ "m⁴", "m^4" ]
20+
"Abbreviations": [ "m⁴" ]
2121
}
2222
]
2323
},
@@ -32,7 +32,7 @@
3232
"Localization": [
3333
{
3434
"Culture": "en-US",
35-
"Abbreviations": [ "dm⁴", "dm^4" ]
35+
"Abbreviations": [ "dm⁴" ]
3636
}
3737
]
3838
},
@@ -47,7 +47,7 @@
4747
"Localization": [
4848
{
4949
"Culture": "en-US",
50-
"Abbreviations": [ "cm⁴", "cm^4" ]
50+
"Abbreviations": [ "cm⁴" ]
5151
}
5252
]
5353
},
@@ -62,7 +62,7 @@
6262
"Localization": [
6363
{
6464
"Culture": "en-US",
65-
"Abbreviations": [ "mm⁴", "mm^4" ]
65+
"Abbreviations": [ "mm⁴" ]
6666
}
6767
]
6868
},
@@ -77,7 +77,7 @@
7777
"Localization": [
7878
{
7979
"Culture": "en-US",
80-
"Abbreviations": [ "ft⁴", "ft^4" ]
80+
"Abbreviations": [ "ft⁴" ]
8181
}
8282
]
8383
},
@@ -92,7 +92,7 @@
9292
"Localization": [
9393
{
9494
"Culture": "en-US",
95-
"Abbreviations": [ "in⁴", "in^4" ]
95+
"Abbreviations": [ "in⁴" ]
9696
}
9797
]
9898
}

Common/UnitDefinitions/Entropy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"Localization": [
4545
{
4646
"Culture": "en-US",
47-
"Abbreviations": [ "J/C" ]
47+
"Abbreviations": [ "J/°C" ]
4848
}
4949
]
5050
}

Common/UnitDefinitions/MolarEntropy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"Localization": [
2020
{
2121
"Culture": "en-US",
22-
"Abbreviations": [ "J/(mol*K)" ]
22+
"Abbreviations": [ "J/(mol·K)" ]
2323
}
2424
]
2525
}

Common/UnitDefinitions/SpecificEntropy.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"Localization": [
1818
{
1919
"Culture": "en-US",
20-
"Abbreviations": [ "J/kg.K" ]
20+
"Abbreviations": [ "J/kg·K" ]
2121
}
2222
]
2323
},
@@ -30,7 +30,7 @@
3030
"Localization": [
3131
{
3232
"Culture": "en-US",
33-
"Abbreviations": [ "J/kg.C" ]
33+
"Abbreviations": [ "J/kg·°C" ]
3434
}
3535
]
3636
},
@@ -43,7 +43,7 @@
4343
"Localization": [
4444
{
4545
"Culture": "en-US",
46-
"Abbreviations": [ "cal/g.K" ]
46+
"Abbreviations": [ "cal/g·K" ]
4747
}
4848
]
4949
},

Common/UnitDefinitions/SpecificFuelConsumption.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"Localization": [
2525
{
2626
"Culture": "en-US",
27-
"Abbreviations": [ "kg/(kgfh)" ]
27+
"Abbreviations": [ "kg/(kgf·h)" ]
2828
}
2929
]
3030
},
@@ -37,8 +37,8 @@
3737
"Localization": [
3838
{
3939
"Culture": "en-US",
40-
"Abbreviations": [ "g/(kNs)" ],
41-
"AbbreviationsForPrefixes": { "Kilo": [ "kg/(kNs)" ] }
40+
"Abbreviations": [ "g/(kN·s)" ],
41+
"AbbreviationsForPrefixes": { "Kilo": [ "kg/(kN·s)" ] }
4242
}
4343
]
4444
}

Common/UnitDefinitions/WarpingMomentOfInertia.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"Localization": [
1818
{
1919
"Culture": "en-US",
20-
"Abbreviations": [ "m⁶", "m^6" ]
20+
"Abbreviations": [ "m⁶" ]
2121
}
2222
]
2323
},
@@ -32,7 +32,7 @@
3232
"Localization": [
3333
{
3434
"Culture": "en-US",
35-
"Abbreviations": [ "dm⁶", "dm^6" ]
35+
"Abbreviations": [ "dm⁶" ]
3636
}
3737
]
3838
},
@@ -47,7 +47,7 @@
4747
"Localization": [
4848
{
4949
"Culture": "en-US",
50-
"Abbreviations": [ "cm⁶", "cm^6" ]
50+
"Abbreviations": [ "cm⁶" ]
5151
}
5252
]
5353
},
@@ -62,7 +62,7 @@
6262
"Localization": [
6363
{
6464
"Culture": "en-US",
65-
"Abbreviations": [ "mm⁶", "mm^6" ]
65+
"Abbreviations": [ "mm⁶" ]
6666
}
6767
]
6868
},
@@ -77,7 +77,7 @@
7777
"Localization": [
7878
{
7979
"Culture": "en-US",
80-
"Abbreviations": [ "ft⁶", "ft^6" ]
80+
"Abbreviations": [ "ft⁶"]
8181
}
8282
]
8383
},
@@ -92,7 +92,7 @@
9292
"Localization": [
9393
{
9494
"Culture": "en-US",
95-
"Abbreviations": [ "in⁶", "in^6" ]
95+
"Abbreviations": [ "in⁶" ]
9696
}
9797
]
9898
}

0 commit comments

Comments
 (0)