fix: setup locale crash

pull/760/head 2.0.0-beta.11
Nicolas Giard 6 years ago
parent 3c8dcdcc37
commit abce09210e

@ -1,3 +0,0 @@
# How to contribute new translations
https://github.com/Requarks/wiki#translations

@ -202,7 +202,7 @@ module.exports = () => {
WIKI.logger.info('Installing default locale...') WIKI.logger.info('Installing default locale...')
await WIKI.models.locales.query().insert({ await WIKI.models.locales.query().insert({
code: 'en', code: 'en',
strings: JSON.stringify({}), strings: {},
isRTL: false, isRTL: false,
name: 'English', name: 'English',
nativeName: 'English' nativeName: 'English'

Loading…
Cancel
Save