Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Commit 66e849c

Browse files
committed
README
1 parent 0565f93 commit 66e849c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Vue.use(VueInternationalization, {
3737

3838
## Template names
3939

40-
This generate adjusts the strings in order to work with vue-i18n's template names,
40+
The generator adjusts the strings in order to work with vue-i18n's template names,
4141
making it simple to share also named templates from your Laravel translations.
4242

4343
resource/lang/message.php:
@@ -47,6 +47,13 @@ return [
4747
];
4848
```
4949

50+
in vue-i18n-locales.generated.js:
51+
```js
52+
...
53+
"hello": "Hello {name}",
54+
...
55+
```
56+
5057
Blade template:
5158
```php
5259
<div class="message">

0 commit comments

Comments
 (0)