Skip to content

Commit 65f0767

Browse files
committed
v1.15.5
1 parent e85c0eb commit 65f0767

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ Locale data:
155155
```
156156
JS code:
157157
```js
158-
intl.get('PHOTO', {num:0}); // "You have no photos."
159-
intl.get('PHOTO', {num:1}); // "You have one photo."
160-
intl.get('PHOTO', {num:1000000}); // "You have 1,000,000 photos."
158+
intl.get('PHOTO', { num: 0 }); // "You have no photos."
159+
intl.get('PHOTO', { num: 1 }); // "You have one photo."
160+
intl.get('PHOTO', { num: 1000000 }); // "You have 1,000,000 photos."
161161
```
162162
Plural label supports standard [ICU Message syntax](http://userguide.icu-project.org/formatparse/messages).
163163

@@ -170,7 +170,7 @@ Locale data:
170170
```
171171
JS code:
172172
```js
173-
intl.get('SALE_PRICE', {price:123456.78}); // The price is $123,456.78
173+
intl.get('SALE_PRICE', { price: 123456.78 }); // The price is $123,456.78
174174
```
175175
As mentioned, the locale data is in [ICU Message format](http://userguide.icu-project.org/formatparse/messages).
176176

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-intl-universal",
3-
"version": "1.15.4",
3+
"version": "1.15.5",
44
"description": "Internationalize React apps. Not only for React.Component but also for Vanilla JS.",
55
"keywords": [
66
"intl",

0 commit comments

Comments
 (0)