mirror of https://github.com/keeweb/keeweb.git
moved locales out of scripts
This commit is contained in:
parent
9efce05f11
commit
0c143d0491
|
@ -156,7 +156,7 @@ const SettingsManager = {
|
|||
if (this.customLocales[loc]) {
|
||||
localeValues = this.customLocales[loc];
|
||||
} else {
|
||||
localeValues = require('../../locales/' + loc + '.json');
|
||||
localeValues = require('locales/' + loc + '.json');
|
||||
}
|
||||
}
|
||||
if (!this.neutralLocale) {
|
||||
|
|
|
@ -60,6 +60,7 @@ function config(options) {
|
|||
hbs: 'handlebars/runtime.js',
|
||||
'argon2-wasm': 'argon2-browser/dist/argon2.wasm',
|
||||
templates: path.join(rootDir, 'app/templates'),
|
||||
locales: path.join(rootDir, 'app/locales'),
|
||||
'public-key.pem': path.join(rootDir, 'app/resources/public-key.pem'),
|
||||
'public-key-new.pem': path.join(rootDir, 'app/resources/public-key-new.pem'),
|
||||
'demo.kdbx': path.join(rootDir, 'app/resources/Demo.kdbx'),
|
||||
|
|
|
@ -1,4 +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
|
||||
cp ../keeweb-plugins/docs/translations/de-DE/de-DE.json app/locales/de-DE.json
|
||||
cp ../keeweb-plugins/docs/translations/fr-FR/fr-FR.json app/locales/fr-FR.json
|
||||
|
|
Loading…
Reference in New Issue