From a56a2e6929b463bd9e8076bf72ba6c3e371cb213 Mon Sep 17 00:00:00 2001 From: Takeshi Iwana Date: Mon, 22 Dec 2014 20:29:06 -0700 Subject: [PATCH] Update --- CHANGELOG.md | 3 +++ README.md | 18 ++++++++++++++++++ modules/parse.js | 2 +- package.json | 2 +- 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 32c9a8b..1a79091 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -484,3 +484,6 @@ module.exports.http = { * Fixed markdown bug and disabled markdown by default * Added markdown to option * Added markdown tests (more to come) +* Updated readme +* Updated site to reflect changes and also the site has been translated +* Updated error message in parse \ No newline at end of file diff --git a/README.md b/README.md index f850c6c..f57d458 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,13 @@ To fork the site visit http://www.github.com/iwatakeshi/gengojs-site If you would like to see more examples other than the ones on gengojs.com then check out the tests there are 127+ possible ways to gengo! + +*12/22/14* + +Merry Christmas! This is an early Christmas gift from me to you! Yup! It's an update! So whats new? Check out the **Recent Changes**! You'll notice there are a few changes to gengojs. Other than that the website for gengojs has been translated to Japanese. If you would +like to add your language to the docs, please please please (with dogeza) fork the site and translate the `en-us.json` file located under `'/config/locales'` to your language. On that note, take your time. I've had visitors from around the world and that really inspires me to support this project, but +it's been a one man show so I need all the support that I can get from the nodejs community. + ###Recent Changes *For previous notes on changes, see CHANGELOG.md* @@ -63,8 +70,16 @@ If you would like to see more examples other than the ones on gengojs.com then c **0.3.61** * gengo.js will now give a "safe" error message when router is enabled. The message will appear when a route is missing in your dictionary. Note that the server will not crash but the page will display properly as gengo returns the original phrase instead. +* Updated readme + +**0.3.62** +* Fixed markdown bug and disabled markdown by default +* Added markdown to option +* Added markdown tests (more to come) * Updated readme +* Updated site to reflect changes and also the site has been translated +* Updated error message in parse ###Tests @@ -96,6 +111,9 @@ npm run routes #run api npm run api +#run markdown +npm run markdown + ``` ##Acknowledgements diff --git a/modules/parse.js b/modules/parse.js index 74e5c94..0bc02e6 100644 --- a/modules/parse.js +++ b/modules/parse.js @@ -39,7 +39,7 @@ if(result[router().route().dot()]){ _result = result[router().route().dot()][phrase]; }else{ - cout("Cannot read property of undefined. Check dictionary for missing route?").error(); + cout("module parse, fn: parse, Cannot read property of undefined. Check dictionary for missing route?").error(); return phrase; } diff --git a/package.json b/package.json index 8c21b82..b32db64 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gengojs", - "version": "0.3.61", + "version": "0.3.62", "description": "the best i18n middleware for Express", "main": "gengo.js", "scripts": {