Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zemzheng committed Dec 14, 2016
1 parent ce9aed0 commit a86d263
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-ziey-i18n",
"version": "1.0.0",
"version": "1.0.1",
"description": "gulp i18n tool by zem",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -35,7 +35,7 @@
"bugs": {
"url": "https://github.com/zemzheng/gulp-ziey-i18n/issues"
},
"readme": "# gulp-ziey-i18n\n\n[![Build Status](https://travis-ci.org/zemzheng/gulp-ziey-i18n.svg?branch=master)](https://travis-ci.org/zemzheng/gulp-ziey-i18n)\n\n[![NPM version][https://img.shields.io/npm/v/gulp-ziey-i18n.svg]][https://nodei.co/npm/gulp-ziey-i18n]\n\n[![NPM](https://nodei.co/npm/gulp-ziey-i18n.png)](https://nodei.co/npm/gulp-ziey-i18n/)\n\n## usage\n\n // options\n // .template \n // .options : template 设置\n // .openTag : '{{', 默认值\n // .closeTag : '}}', 默认值\n // .po : po 文件内容\n // .lang : po 文件的语言标识\n // .path : po 文件路径,设置了路径会覆盖 po 的设置\n // * 1.先尝试读取 path 的文件内容\n // * 2.不存在 path 则使用 po 的文本内容\n // * 3 po 为空使用空字符串\n var gulp = require('gulp');\n var i18n = require('../gulp-ziey-i18n/index.js');\n\n gulp.task('default', function(cb){\n gulp.src( 'src/*' )\n .pipe( \n i18n({\n lang : 'en_US',\n path : 'en_US.po'\n })\n )\n .pipe(\n gulp.dest( 'dest' ) \n );\n });\n\n## dependencies\n\n* [ziey-gettext](https://github.com/zemzheng/ziey-gettext)\n* [ziey-utils](https://github.com/zemzheng/ziey-gettext)\n",
"readme": "# gulp-ziey-i18n\n\n[![Build Status](https://travis-ci.org/zemzheng/gulp-ziey-i18n.svg?branch=master)](https://travis-ci.org/zemzheng/gulp-ziey-i18n)\n\n[![NPM version](https://img.shields.io/npm/v/gulp-ziey-i18n.svg)](https://nodei.co/npm/gulp-ziey-i18n)\n\n[![NPM](https://nodei.co/npm/gulp-ziey-i18n.png)](https://nodei.co/npm/gulp-ziey-i18n/)\n\n## usage\n\n // options\n // .template \n // .options : template 设置\n // .openTag : '{{', 默认值\n // .closeTag : '}}', 默认值\n // .po : po 文件内容\n // .lang : po 文件的语言标识\n // .path : po 文件路径,设置了路径会覆盖 po 的设置\n // * 1.先尝试读取 path 的文件内容\n // * 2.不存在 path 则使用 po 的文本内容\n // * 3 po 为空使用空字符串\n var gulp = require('gulp');\n var i18n = require('../gulp-ziey-i18n/index.js');\n\n gulp.task('default', function(cb){\n gulp.src( 'src/*' )\n .pipe( \n i18n({\n lang : 'en_US',\n path : 'en_US.po'\n })\n )\n .pipe(\n gulp.dest( 'dest' ) \n );\n });\n\n## dependencies\n\n* [ziey-gettext](https://github.com/zemzheng/ziey-gettext)\n* [ziey-utils](https://github.com/zemzheng/ziey-gettext)\n",
"readmeFilename": "README",
"_id": "gulp-ziey-i18n@0.0.7",
"_from": "gulp-ziey-i18n@"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://travis-ci.org/zemzheng/gulp-ziey-i18n.svg?branch=master)](https://travis-ci.org/zemzheng/gulp-ziey-i18n)

[![NPM version][https://img.shields.io/npm/v/gulp-ziey-i18n.svg]][https://nodei.co/npm/gulp-ziey-i18n]
[![NPM version](https://img.shields.io/npm/v/gulp-ziey-i18n.svg)](https://nodei.co/npm/gulp-ziey-i18n)

[![NPM](https://nodei.co/npm/gulp-ziey-i18n.png)](https://nodei.co/npm/gulp-ziey-i18n/)

Expand Down

0 comments on commit a86d263

Please sign in to comment.