Merge branch 'master' into i18n
This commit is contained in:
19
README.md
19
README.md
@@ -178,6 +178,25 @@ _Requests with Pre-Request Scripts are indicated in History entries_
|
|||||||
- Copy Request Link <kbd>Ctrl</kbd> + <kbd>K</kbd>
|
- Copy Request Link <kbd>Ctrl</kbd> + <kbd>K</kbd>
|
||||||
- Reset Request <kbd>Ctrl</kbd> + <kbd>L</kbd>
|
- Reset Request <kbd>Ctrl</kbd> + <kbd>L</kbd>
|
||||||
|
|
||||||
|
🌎 **i18n**: Internationalization β.
|
||||||
|
|
||||||
|
- Add a new locale in `lang/`
|
||||||
|
- Ex: `lang/es-ES.js`
|
||||||
|
- Mention `code`, `name`, `iso` and `file` in `nuxt.config.js`
|
||||||
|
|
||||||
|
```
|
||||||
|
i18n: {
|
||||||
|
locales: [{
|
||||||
|
code: 'es',
|
||||||
|
name: 'Español',
|
||||||
|
iso: 'es-ES',
|
||||||
|
file: 'es-ES.js'
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
_**All contributions are welcome to `i18n` [branch](https://github.com/liyasthomas/postwoman/tree/i18n) only!**_
|
||||||
|
|
||||||
**To find out more, please check out [Postwoman Wiki](https://github.com/liyasthomas/postwoman/wiki).**
|
**To find out more, please check out [Postwoman Wiki](https://github.com/liyasthomas/postwoman/wiki).**
|
||||||
|
|
||||||
## Demo 🚀 [](https://postwoman.io)
|
## Demo 🚀 [](https://postwoman.io)
|
||||||
|
|||||||
@@ -1488,7 +1488,7 @@ export default {
|
|||||||
// We make our temporary headers object the source so
|
// We make our temporary headers object the source so
|
||||||
// that you can override the added headers if you
|
// that you can override the added headers if you
|
||||||
// specify them.
|
// specify them.
|
||||||
headers
|
// headers
|
||||||
);
|
);
|
||||||
|
|
||||||
Object.keys(headers).forEach(id => {
|
Object.keys(headers).forEach(id => {
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
describe('Visit home', () => {
|
|
||||||
it('Have a page title with "Postwoman"', () => {
|
|
||||||
cy.visit('/')
|
|
||||||
.get('title')
|
|
||||||
.should('contain','Postwoman')
|
|
||||||
})
|
|
||||||
})
|
|
||||||
Reference in New Issue
Block a user