Skip to content

Commit 8dcb584

Browse files
authored
feat(science): add more units in en locale (#1386)
1 parent 9361578 commit 8dcb584

2 files changed

Lines changed: 34 additions & 6 deletions

File tree

src/locales/en/science/unit.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,32 @@ export default Object.freeze([
8787
name: 'sievert',
8888
symbol: 'Sv',
8989
},
90+
{
91+
name: 'steradian',
92+
symbol: 'sr',
93+
},
94+
{
95+
name: 'farad',
96+
symbol: 'F',
97+
},
98+
{
99+
name: 'siemens',
100+
symbol: 'S',
101+
},
102+
{
103+
name: 'weber',
104+
symbol: 'Wb',
105+
},
106+
{
107+
name: 'henry',
108+
symbol: 'H',
109+
},
110+
{
111+
name: 'lux',
112+
symbol: 'lx',
113+
},
114+
{
115+
name: 'katal',
116+
symbol: 'kat',
117+
},
90118
]);

test/__snapshots__/science.spec.ts.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ exports[`science > 42 > chemicalElement 1`] = `
1010

1111
exports[`science > 42 > unit 1`] = `
1212
{
13-
"name": "hertz",
14-
"symbol": "Hz",
13+
"name": "pascal",
14+
"symbol": "Pa",
1515
}
1616
`;
1717

@@ -25,8 +25,8 @@ exports[`science > 1211 > chemicalElement 1`] = `
2525

2626
exports[`science > 1211 > unit 1`] = `
2727
{
28-
"name": "gray",
29-
"symbol": "Gy",
28+
"name": "henry",
29+
"symbol": "H",
3030
}
3131
`;
3232

@@ -40,7 +40,7 @@ exports[`science > 1337 > chemicalElement 1`] = `
4040

4141
exports[`science > 1337 > unit 1`] = `
4242
{
43-
"name": "candela",
44-
"symbol": "cd",
43+
"name": "radian",
44+
"symbol": "rad",
4545
}
4646
`;

0 commit comments

Comments
 (0)