sg-koa-i18n
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "sg-koa-i18n", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Fork of https://github.com/shared-goals/sg-koa-i18n.git", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,4 +0,4 @@ | ||
# koa-i18n-s | ||
# sg-koa-i18n | ||
> i18n middleware for koa@2.x, use with [i18n-s](https://github.com/ccqgithub/i18n-s), you need to use together with [koa-locale](https://github.com/koa-modules/locale). | ||
> i18n middleware for koa@2.x, use with [sg-i18n](https://github.com/shared-goals/sg-i18n), you need to use together with [koa-locale](https://github.com/koa-modules/locale). | ||
@@ -8,3 +8,3 @@ ## Installation | ||
``` | ||
npm i koa-i18n-s -S | ||
npm i sg-koa-i18n -S | ||
``` | ||
@@ -17,3 +17,3 @@ | ||
var locale = require('koa-locale'); | ||
var i18n = require('koa-i18n-s'); | ||
var i18n = require('sg-koa-i18n'); | ||
@@ -114,2 +114,2 @@ // the locale key name defaults to `locale` | ||
- look at [i18n-s](https://github.com/ccqgithub/i18n-s) | ||
- look at [sg-i18n](https://github.com/shared-goals/sg-i18n) |
7229