Skip to content

Commit

Permalink
Merge pull request #592 from VFiee/master
Browse files Browse the repository at this point in the history
fix EN => CN translation(126)
  • Loading branch information
jakeherp committed Sep 22, 2021
2 parents eab4a15 + 337f865 commit 421199d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zh-CN/README-zh_CN.md
Expand Up @@ -4032,15 +4032,15 @@ myFunc(1, 2, 3);
```javascript
function getFine(speed, amount) {
const formattedSpeed = new Intl.NumberFormat({
const formattedSpeed = new Intl.NumberFormat(
'en-US',
{ style: 'unit', unit: 'mile-per-hour' }
}).format(speed)
).format(speed)
const formattedAmount = new Intl.NumberFormat({
const formattedAmount = new Intl.NumberFormat(
'en-US',
{ style: 'currency', currency: 'USD' }
}).format(amount)
).format(amount)
return `The driver drove ${formattedSpeed} and has to pay ${formattedAmount}`
}
Expand Down

0 comments on commit 421199d

Please sign in to comment.