diff --git a/README.md b/README.md index 592b6f3..c032ca3 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ store.i18n.setLocale('en-US') ```html
- {$_('message')}: {$_('messages.success'))} + {$_('message')}: {$_('messages.success')}
``` @@ -83,11 +83,11 @@ The current locale is available via `this.store.get().locale`. ```html
- {$_('greeting', { name: 'John' }))} + {$_('greeting', { name: 'John' })} - {$_('greetingIndex', ['John']))} + {$_('greetingIndex', ['John'])}
``` @@ -96,22 +96,22 @@ The current locale is available via `this.store.get().locale`. ```html
- 0 {$_.plural('meter', 0))} + 0 {$_.plural('meter', 0)} - 1 {$_.plural('meter', 1))} + 1 {$_.plural('meter', 1)} - 100 {$_.plural('meter', 100))} + 100 {$_.plural('meter', 100)} - 0 {$_.plural('book', 0))} + 0 {$_.plural('book', 0)} - 1 {$_.plural('book', 1))} + 1 {$_.plural('book', 1)} - 10 {$_.plural('book', 10))} + 10 {$_.plural('book', 10)}
``` @@ -120,16 +120,16 @@ The current locale is available via `this.store.get().locale`. ```html
- {$_.upper('message'))} + {$_.upper('message')} - {$_.lower('message'))} + {$_.lower('message')} - {$_.capital('message'))} + {$_.capital('message')} - {$_.title('greeting', { name: 'John' }))} + {$_.title('greeting', { name: 'John' })}
```