Skip to content

Commit 114b7df

Browse files
committed
Localization example typo correction
1 parent 133befb commit 114b7df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ The loader is cacheable by default, but you can disable cache if you want:
124124
Let's say we have two language versions and we want to use messages for both of them in a same place, like this:
125125

126126
```javascript
127-
showMessage(localize{en: 'Hello, world!', en: 'Привет, мир!'});
127+
showMessage(localize{en: 'Hello, world!', ru: 'Привет, мир!'});
128128
```
129129

130130
But in this case we should require *localize* function everywhere. Besides it is an redundant call and excess result code size.

0 commit comments

Comments
 (0)