Skip to content

Commit

Permalink
Bump version number to 0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kit Goncharov committed Apr 27, 2011
1 parent 0194e89 commit 1f211a0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
4 changes: 4 additions & 0 deletions lib/i18n.js
Expand Up @@ -3,6 +3,9 @@ var path = require('path'), I18n = module.exports = function I18n(path, language
return new I18n.prototype.initialize(path, language, locale);
};

// The current version of `node-i18n`. Keep in sync with `package.json`.
I18n.VERSION = '0.2';

// Default template settings; used in `I18n#t`.
I18n.templateSettings = {
'evaluate': /<%([\s\S]+?)%>/g,
Expand Down Expand Up @@ -48,5 +51,6 @@ I18n.prototype.interpolate = function interpolate(item, context) {
"');}return __p.join('');"
)(context);
}

return result;
};
21 changes: 18 additions & 3 deletions package.json
@@ -1,8 +1,23 @@
{
"name": "node-i18n",
"version": "0.2",
"description": "Minimalistic i18n module with templating",
"version": "0.1",
"author": "Dan Hansen <mokker1234@gmail.com>",
"homepage": "http://github.com/OhaiBBQ/node-i18n",
"main": "index",
"keywords": ["i18n", "internationalization", "internationalisation", "translation"],
"main": "index"
"author": {
"name": "Dan Hansen",
"email": "mokker1234@gmail.com"
},
"maintainers": [{
"name": "Kit Goncharov",
"web": "http://kitgoncharov.github.com"
}],
"bugs": {
"url": "http://github.com/OhaiBBQ/node-i18n/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/OhaiBBQ/node-i18n.git"
}
}

0 comments on commit 1f211a0

Please sign in to comment.