Permalink
Browse files

Added Name on the languages. Added a Spanish inflector (needs more te…

…sting)
  • Loading branch information...
1 parent 56f67cb commit 9064f9c6fcef61c2a6218d2feaab7070d1b76349 @masylum masylum committed with Nov 1, 2010
Showing with 3 additions and 1 deletion.
  1. +1 −0 lib/languages/en.js
  2. +2 −1 lib/lingo.js
View
@@ -17,6 +17,7 @@ var Language = require('../language');
var en = module.exports = new Language('en');
+en.name = 'English';
/**
* Number pluraluzation rule
View
@@ -38,6 +38,7 @@ require('./inflection');
*/
require('./languages/en');
+require('./languages/es');
/**
* Capitalize the first word of `str` or optionally `allWords`.
@@ -116,4 +117,4 @@ exports.join = function(arr, last){
str = arr.join(', ') + ' ' + last + ' ' + str;
}
return str;
-};
+};

0 comments on commit 9064f9c

Please sign in to comment.