mirror of https://github.com/keeweb/keeweb
utils sh
parent
4854c0c100
commit
dfe2c42172
|
@ -1,10 +0,0 @@
|
|||
const fs = require('fs');
|
||||
|
||||
const langs = ['de-DE', 'fr-FR'];
|
||||
|
||||
for (const lang of langs) {
|
||||
fs.writeFileSync(
|
||||
`app/scripts/locales/${lang}.json`,
|
||||
fs.readFileSync(`../keeweb-plugins/docs/translations/${lang}/${lang}.json`)
|
||||
);
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
cp ../keeweb-plugins/docs/translations/de-DE/de-DE.json app/scripts/locales/de-DE.json
|
||||
cp ../keeweb-plugins/docs/translations/fr-FR/fr-FR.json app/scripts/locales/fr-FR.json
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
./node_modules/.bin/prettier --write \
|
||||
'app/**/*.js' \
|
||||
'app/**/*.scss' \
|
||||
|
|
Loading…
Reference in New Issue