mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-11-16 09:59:58 +01:00
refactor: 💡 readme
This commit is contained in:
parent
396a360324
commit
490fdd9492
34
README.md
34
README.md
@ -8,8 +8,8 @@
|
||||
|
||||
**Requirements**
|
||||
|
||||
- Node: `>= 11.15.0`
|
||||
- Browsers: `Chrome 38+`, `Edge 16+`, `Firefox 13+`, `Opera 25+`, `Safari 8+`.
|
||||
- Node: `>= 11.15.0`
|
||||
- Browsers: `Chrome 38+`, `Edge 16+`, `Firefox 13+`, `Opera 25+`, `Safari 8+`.
|
||||
|
||||
```svelte
|
||||
<script>
|
||||
@ -28,21 +28,21 @@
|
||||
```jsonc
|
||||
// en.json
|
||||
{
|
||||
"page": {
|
||||
"home": {
|
||||
"title": "Homepage",
|
||||
"nav": "Home"
|
||||
},
|
||||
"about": {
|
||||
"title": "About",
|
||||
"nav": "About"
|
||||
},
|
||||
"contact": {
|
||||
"title": "Contact",
|
||||
"nav": "Contact Us"
|
||||
}
|
||||
}
|
||||
"page": {
|
||||
"home": {
|
||||
"title": "Homepage",
|
||||
"nav": "Home"
|
||||
},
|
||||
"about": {
|
||||
"title": "About",
|
||||
"nav": "About"
|
||||
},
|
||||
"contact": {
|
||||
"title": "Contact",
|
||||
"nav": "Contact Us"
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### [Go to documentation](https://github.com/kaisermann/svelte-i18n/wiki)
|
||||
### [Go see the documentation](https://github.com/kaisermann/svelte-i18n/wiki)
|
||||
|
Loading…
Reference in New Issue
Block a user