Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…sting)
  • Loading branch information...
commit 9064f9c6fcef61c2a6218d2feaab7070d1b76349 1 parent 56f67cb
@masylum masylum authored committed
Showing with 3 additions and 1 deletion.
  1. +1 −0  lib/languages/en.js
  2. +2 −1  lib/lingo.js
View
1  lib/languages/en.js
@@ -17,6 +17,7 @@ var Language = require('../language');
var en = module.exports = new Language('en');
+en.name = 'English';
/**
* Number pluraluzation rule
View
3  lib/lingo.js
@@ -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;
-};
+};
Please sign in to comment.
Something went wrong with that request. Please try again.