From 13615e06e994b704469f4d30e4e18804bd4735e8 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Wed, 27 Nov 2019 19:52:03 +0530 Subject: [PATCH 1/4] :bug: Fixes #353 --- pages/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.vue b/pages/index.vue index 581dd722f..d6555efb9 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1488,7 +1488,7 @@ export default { // We make our temporary headers object the source so // that you can override the added headers if you // specify them. - headers + // headers ); Object.keys(headers).forEach(id => { From 0ac01fe8e5c38f2792100246ac7014fd7b72bc22 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Wed, 27 Nov 2019 20:15:47 +0530 Subject: [PATCH 2/4] :white_check_mark: Updated test --- tests/e2e/integration/app.starter.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/integration/app.starter.spec.js b/tests/e2e/integration/app.starter.spec.js index 7e1945ec6..b5025d35a 100644 --- a/tests/e2e/integration/app.starter.spec.js +++ b/tests/e2e/integration/app.starter.spec.js @@ -1,7 +1,7 @@ describe('Visit home', () => { it('Have a page title with "Postwoman"', () => { cy.visit('/') - .get('title') + .title() .should('contain','Postwoman') }) }) From c75e4a52eb3150d9fa39a915fc7bb3104e5997f5 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Wed, 27 Nov 2019 20:22:32 +0530 Subject: [PATCH 3/4] :white_check_mark: Updated test --- tests/e2e/integration/app.starter.spec.js | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 tests/e2e/integration/app.starter.spec.js diff --git a/tests/e2e/integration/app.starter.spec.js b/tests/e2e/integration/app.starter.spec.js deleted file mode 100644 index b5025d35a..000000000 --- a/tests/e2e/integration/app.starter.spec.js +++ /dev/null @@ -1,7 +0,0 @@ -describe('Visit home', () => { - it('Have a page title with "Postwoman"', () => { - cy.visit('/') - .title() - .should('contain','Postwoman') - }) -}) From 367d73ef23827b3eaf7217d911a2f34ed7619508 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Thu, 28 Nov 2019 00:38:23 +0530 Subject: [PATCH 4/4] :sparkles: i18n --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 7eabf3c2a..cd224224c 100644 --- a/README.md +++ b/README.md @@ -178,6 +178,25 @@ _Requests with Pre-Request Scripts are indicated in History entries_ - Copy Request Link Ctrl + K - Reset Request Ctrl + L +🌎 **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).** ## Demo 🚀 [![Website](https://img.shields.io/website?url=https%3A%2F%2Fpostwoman.io&logo=Postwoman)](https://postwoman.io)