Browse Source

fix: setup locale crash

pull/760/head 2.0.0-beta.11
Nicolas Giard 5 years ago
parent
commit
abce09210e
2 changed files with 1 additions and 4 deletions
  1. 3
      server/locales/CONTRIBUTE.md
  2. 2
      server/setup.js

3
server/locales/CONTRIBUTE.md

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

2
server/setup.js

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

Loading…
Cancel
Save