mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
update lang scripts
This commit is contained in:
parent
c7275ef85b
commit
be886db0f2
2 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ const path = require('path');
|
|||
const prettier = require('prettier');
|
||||
const messages = require('../build/messages.json');
|
||||
|
||||
const dest = path.resolve(__dirname, '../lang');
|
||||
const dest = path.resolve(__dirname, '../src/lang');
|
||||
const files = fs.readdirSync(dest);
|
||||
const keys = Object.keys(messages).sort();
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ with the existing files under `lang`. Any newly added
|
|||
keys will be printed to the console.
|
||||
*/
|
||||
files.forEach(file => {
|
||||
const lang = require(`../lang/${file}`);
|
||||
const lang = require(`../src/lang/${file}`);
|
||||
|
||||
console.log(`Merging ${file}`);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue