Skip to content

Commit 631c024

Browse files
committed
scripts: Reformat all .json files
* Visual Studio formatting via: ctrl+k, ctrl+d * 2-space indentation
1 parent 9513df2 commit 631c024

30 files changed

+2400
-2406
lines changed
Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
{
2-
"Name": "AmplitudeRatio",
3-
"BaseUnit": "DecibelVolt",
4-
"Logarithmic" : "True",
5-
"LogarithmicScalingFactor" : "2",
6-
"XmlDoc": "The strength of a signal expressed in decibels (dB) relative to one volt RMS.",
7-
"Units": [
2+
"Name": "AmplitudeRatio",
3+
"BaseUnit": "DecibelVolt",
4+
"Logarithmic": "True",
5+
"LogarithmicScalingFactor": "2",
6+
"XmlDoc": "The strength of a signal expressed in decibels (dB) relative to one volt RMS.",
7+
"Units": [
8+
{
9+
"SingularName": "DecibelVolt",
10+
"PluralName": "DecibelVolts",
11+
"FromUnitToBaseFunc": "x",
12+
"FromBaseToUnitFunc": "x",
13+
"Localization": [
814
{
9-
"SingularName": "DecibelVolt",
10-
"PluralName": "DecibelVolts",
11-
"FromUnitToBaseFunc": "x",
12-
"FromBaseToUnitFunc": "x",
13-
"Localization": [
14-
{
15-
"Culture": "en-US",
16-
"Abbreviations": ["dBV"]
17-
}
18-
]
19-
},
15+
"Culture": "en-US",
16+
"Abbreviations": [ "dBV" ]
17+
}
18+
]
19+
},
20+
{
21+
"SingularName": "DecibelMicrovolt",
22+
"PluralName": "DecibelMicrovolts",
23+
"FromUnitToBaseFunc": "x - 120",
24+
"FromBaseToUnitFunc": "x + 120",
25+
"Localization": [
2026
{
21-
"SingularName": "DecibelMicrovolt",
22-
"PluralName": "DecibelMicrovolts",
23-
"FromUnitToBaseFunc": "x - 120",
24-
"FromBaseToUnitFunc": "x + 120",
25-
"Localization": [
26-
{
27-
"Culture": "en-US",
28-
"Abbreviations": ["dBµV"]
29-
}
30-
]
31-
},
27+
"Culture": "en-US",
28+
"Abbreviations": [ "dBµV" ]
29+
}
30+
]
31+
},
32+
{
33+
"SingularName": "DecibelMillivolt",
34+
"PluralName": "DecibelMillivolts",
35+
"FromUnitToBaseFunc": "x - 60",
36+
"FromBaseToUnitFunc": "x + 60",
37+
"Localization": [
3238
{
33-
"SingularName": "DecibelMillivolt",
34-
"PluralName": "DecibelMillivolts",
35-
"FromUnitToBaseFunc": "x - 60",
36-
"FromBaseToUnitFunc": "x + 60",
37-
"Localization": [
38-
{
39-
"Culture": "en-US",
40-
"Abbreviations": ["dBmV"]
41-
}
42-
]
39+
"Culture": "en-US",
40+
"Abbreviations": [ "dBmV" ]
4341
}
44-
]
42+
]
43+
}
44+
]
4545
}
Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,80 @@
11
{
2-
"Name": "Angle",
3-
"BaseUnit": "Degree",
4-
"XmlDoc": "In geometry, an angle is the figure formed by two rays, called the sides of the angle, sharing a common endpoint, called the vertex of the angle.",
5-
"Units": [
6-
{
7-
"SingularName": "Radian",
8-
"PluralName": "Radians",
9-
"FromUnitToBaseFunc": "x*180/Math.PI",
10-
"FromBaseToUnitFunc": "x/180*Math.PI",
11-
"Prefixes": [ "Nano", "Micro", "Milli", "Centi", "Deci" ],
12-
"Localization": [
13-
{
14-
"Culture": "en-US",
15-
"Abbreviations": [ "rad" ]
16-
},
17-
{
18-
"Culture": "ru-RU",
19-
"Abbreviations": [ "рад" ]
20-
}
21-
]
22-
},
2+
"Name": "Angle",
3+
"BaseUnit": "Degree",
4+
"XmlDoc": "In geometry, an angle is the figure formed by two rays, called the sides of the angle, sharing a common endpoint, called the vertex of the angle.",
5+
"Units": [
6+
{
7+
"SingularName": "Radian",
8+
"PluralName": "Radians",
9+
"FromUnitToBaseFunc": "x*180/Math.PI",
10+
"FromBaseToUnitFunc": "x/180*Math.PI",
11+
"Prefixes": [ "Nano", "Micro", "Milli", "Centi", "Deci" ],
12+
"Localization": [
2313
{
24-
"SingularName": "Degree",
25-
"PluralName": "Degrees",
26-
"FromUnitToBaseFunc": "x",
27-
"FromBaseToUnitFunc": "x",
28-
"Localization": [
29-
{
30-
"Culture": "en-US",
31-
"Abbreviations": ["°", "deg"]
32-
},
33-
{
34-
"Culture": "ru-RU",
35-
"Abbreviations": ["°"]
36-
}
37-
]
14+
"Culture": "en-US",
15+
"Abbreviations": [ "rad" ]
3816
},
39-
{
40-
"SingularName": "Arcminute",
41-
"PluralName": "Arcminutes",
42-
"FromUnitToBaseFunc": "x/60",
43-
"FromBaseToUnitFunc": "x*60",
44-
"Localization": [
45-
{
46-
"Culture": "en-US",
47-
"Abbreviations": ["'", "arcmin", "amin", "min"]
48-
}
49-
]
17+
{
18+
"Culture": "ru-RU",
19+
"Abbreviations": [ "рад" ]
20+
}
21+
]
22+
},
23+
{
24+
"SingularName": "Degree",
25+
"PluralName": "Degrees",
26+
"FromUnitToBaseFunc": "x",
27+
"FromBaseToUnitFunc": "x",
28+
"Localization": [
29+
{
30+
"Culture": "en-US",
31+
"Abbreviations": [ "°", "deg" ]
5032
},
51-
{
52-
"SingularName": "Arcsecond",
53-
"PluralName": "Arcseconds",
54-
"FromUnitToBaseFunc": "x/3600",
55-
"FromBaseToUnitFunc": "x*3600",
56-
"Localization": [
57-
{
58-
"Culture": "en-US",
59-
"Abbreviations": ["", "arcsec", "asec", "sec"]
60-
}
61-
]
33+
{
34+
"Culture": "ru-RU",
35+
"Abbreviations": [ "°" ]
36+
}
37+
]
38+
},
39+
{
40+
"SingularName": "Arcminute",
41+
"PluralName": "Arcminutes",
42+
"FromUnitToBaseFunc": "x/60",
43+
"FromBaseToUnitFunc": "x*60",
44+
"Localization": [
45+
{
46+
"Culture": "en-US",
47+
"Abbreviations": [ "'", "arcmin", "amin", "min" ]
48+
}
49+
]
50+
},
51+
{
52+
"SingularName": "Arcsecond",
53+
"PluralName": "Arcseconds",
54+
"FromUnitToBaseFunc": "x/3600",
55+
"FromBaseToUnitFunc": "x*3600",
56+
"Localization": [
57+
{
58+
"Culture": "en-US",
59+
"Abbreviations": [ "", "arcsec", "asec", "sec" ]
60+
}
61+
]
62+
},
63+
{
64+
"SingularName": "Gradian",
65+
"PluralName": "Gradians",
66+
"FromUnitToBaseFunc": "x*0.9",
67+
"FromBaseToUnitFunc": "x/0.9",
68+
"Localization": [
69+
{
70+
"Culture": "en-US",
71+
"Abbreviations": [ "g" ]
6272
},
63-
{
64-
"SingularName": "Gradian",
65-
"PluralName": "Gradians",
66-
"FromUnitToBaseFunc": "x*0.9",
67-
"FromBaseToUnitFunc": "x/0.9",
68-
"Localization": [
69-
{
70-
"Culture": "en-US",
71-
"Abbreviations": ["g"]
72-
},
73-
{
74-
"Culture": "ru-RU",
75-
"Abbreviations": ["g"]
76-
}
77-
]
78-
}
79-
]
73+
{
74+
"Culture": "ru-RU",
75+
"Abbreviations": [ "g" ]
76+
}
77+
]
78+
}
79+
]
8080
}

UnitsNet/Scripts/UnitDefinitions/Area.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"Name": "Area",
3-
"BaseUnit": "SquareMeter",
4-
"XmlDoc": "Area is a quantity that expresses the extent of a two-dimensional surface or shape, or planar lamina, in the plane. Area can be understood as the amount of material with a given thickness that would be necessary to fashion a model of the shape, or the amount of paint necessary to cover the surface with a single coat.[1] It is the two-dimensional analog of the length of a curve (a one-dimensional concept) or the volume of a solid (a three-dimensional concept).",
2+
"Name": "Area",
3+
"BaseUnit": "SquareMeter",
4+
"XmlDoc": "Area is a quantity that expresses the extent of a two-dimensional surface or shape, or planar lamina, in the plane. Area can be understood as the amount of material with a given thickness that would be necessary to fashion a model of the shape, or the amount of paint necessary to cover the surface with a single coat.[1] It is the two-dimensional analog of the length of a curve (a one-dimensional concept) or the volume of a solid (a three-dimensional concept).",
55
"Units": [
66
{
77
"SingularName": "SquareKilometer",

0 commit comments

Comments
 (0)