Remove extra parenthesis

This commit is contained in:
Christian Kaisermann 2019-03-20 10:05:40 -03:00
parent 051c53458f
commit cec700af53

View File

@ -69,7 +69,7 @@ store.i18n.setLocale('en-US')
```html ```html
<div> <div>
{$_('message')}: {$_('messages.success'))} {$_('message')}: {$_('messages.success')}
<!-- Message: SUCCESS--> <!-- Message: SUCCESS-->
</div> </div>
``` ```
@ -83,11 +83,11 @@ The current locale is available via `this.store.get().locale`.
```html ```html
<div> <div>
<!-- Named interpolation --> <!-- Named interpolation -->
{$_('greeting', { name: 'John' }))} {$_('greeting', { name: 'John' })}
<!-- Hello John, how are you?--> <!-- Hello John, how are you?-->
<!-- List interpolation --> <!-- List interpolation -->
{$_('greetingIndex', ['John']))} {$_('greetingIndex', ['John'])}
<!-- Hello John, how are you?--> <!-- Hello John, how are you?-->
</div> </div>
``` ```
@ -96,22 +96,22 @@ The current locale is available via `this.store.get().locale`.
```html ```html
<div> <div>
0 {$_.plural('meter', 0))} 0 {$_.plural('meter', 0)}
<!-- 0 meters --> <!-- 0 meters -->
1 {$_.plural('meter', 1))} 1 {$_.plural('meter', 1)}
<!-- 1 meter --> <!-- 1 meter -->
100 {$_.plural('meter', 100))} 100 {$_.plural('meter', 100)}
<!-- 100 meters --> <!-- 100 meters -->
0 {$_.plural('book', 0))} 0 {$_.plural('book', 0)}
<!-- 0 books --> <!-- 0 books -->
1 {$_.plural('book', 1))} 1 {$_.plural('book', 1)}
<!-- 1 book --> <!-- 1 book -->
10 {$_.plural('book', 10))} 10 {$_.plural('book', 10)}
<!-- 10 books --> <!-- 10 books -->
</div> </div>
``` ```
@ -120,16 +120,16 @@ The current locale is available via `this.store.get().locale`.
```html ```html
<div> <div>
{$_.upper('message'))} {$_.upper('message')}
<!-- MESSAGE --> <!-- MESSAGE -->
{$_.lower('message'))} {$_.lower('message')}
<!-- message --> <!-- message -->
{$_.capital('message'))} {$_.capital('message')}
<!-- Message --> <!-- Message -->
{$_.title('greeting', { name: 'John' }))} {$_.title('greeting', { name: 'John' })}
<!-- Hello John, How Are You?--> <!-- Hello John, How Are You?-->
</div> </div>
``` ```