akoenig/express-lingua — Issue #5: little issue when reading i18n directory
Author: mglcel
Created: 2011-10-22 17:58:15+00:00
State: open

putting i18n/ directory in svn creates a .svn directory with is interpreted by lingua.

Modified guru.js:60 :

files.forEach(function(file) {
+ if (fs.statSync(path + file).isFile()) {
var content = fs.readFileSync(path + file);

var resource = {
locale: file.replace(that.configuration.resources.serialisation, ''),
content: JSON.parse(content)
};

that.resources.push(resource);
+ }
});