|
|
@ -5,7 +5,7 @@
|
|
|
|
const fs = require('fs');
|
|
|
|
const fs = require('fs');
|
|
|
|
const path = require('path');
|
|
|
|
const path = require('path');
|
|
|
|
const rimraf = require('rimraf');
|
|
|
|
const rimraf = require('rimraf');
|
|
|
|
const mkdirp = require('mkdirp');
|
|
|
|
const { mkdirp } = require('mkdirp');
|
|
|
|
|
|
|
|
|
|
|
|
const localesJsonPath = path.join(__dirname, '../../app/javascript/mastodon/locales');
|
|
|
|
const localesJsonPath = path.join(__dirname, '../../app/javascript/mastodon/locales');
|
|
|
|
const locales = fs.readdirSync(localesJsonPath).filter(filename => {
|
|
|
|
const locales = fs.readdirSync(localesJsonPath).filter(filename => {
|
|
|
@ -48,5 +48,3 @@ setLocale({messages, localeData});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = outPaths;
|
|
|
|
module.exports = outPaths;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|