Permalink
Browse files

Merge branch 'master' of github.com:mde/utilities

  • Loading branch information...
2 parents a7e1ba8 + c5d40f6 commit 9b9086c5f13fa1fdef5a864c8c308fcd3fcc59e8 @larzconwell larzconwell committed Oct 8, 2012
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/i18n.js
  2. +1 −1 package.json
View
@@ -50,9 +50,10 @@ i18n = new (function () {
})();
i18n.I18n = function (locale) {
- this.t = function (key, opts) {
+ this.getText = function (key, opts) {
return i18n.getText(key, opts || {}, locale);
};
+ this.t = this.getText;
};
module.exports = i18n;
View
@@ -7,7 +7,7 @@
"jake",
"geddy"
],
- "version": "0.0.13",
+ "version": "0.0.14",
"author": "Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)",
"main": "./lib/index.js",
"scripts": {

0 comments on commit 9b9086c

Please sign in to comment.