Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatakeshi committed Dec 23, 2014
1 parent 2055013 commit a56a2e6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -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
18 changes: 18 additions & 0 deletions README.md
Expand Up @@ -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*
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -96,6 +111,9 @@ npm run routes
#run api
npm run api

#run markdown
npm run markdown

```

##Acknowledgements
Expand Down
2 changes: 1 addition & 1 deletion modules/parse.js
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion 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": {
Expand Down

0 comments on commit a56a2e6

Please sign in to comment.