mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Updated lang files.
This commit is contained in:
parent
6cb2429ee1
commit
8666965930
3 changed files with 12 additions and 3 deletions
|
|
@ -8,6 +8,11 @@ const dest = path.resolve(__dirname, '../lang');
|
|||
const files = fs.readdirSync(dest);
|
||||
const keys = Object.keys(messages).sort();
|
||||
|
||||
/*
|
||||
This script takes extracted messages and merges them
|
||||
with the existing files under `lang`. Any newly added
|
||||
keys will be printed to the console.
|
||||
*/
|
||||
files.forEach(file => {
|
||||
const lang = require(`../lang/${file}`);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue