From abce09210e37acf7b7d908ebe8479c1bfbdcef68 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sun, 20 Jan 2019 13:10:06 -0500 Subject: [PATCH] fix: setup locale crash --- server/locales/CONTRIBUTE.md | 3 --- server/setup.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 server/locales/CONTRIBUTE.md diff --git a/server/locales/CONTRIBUTE.md b/server/locales/CONTRIBUTE.md deleted file mode 100644 index 8e6c105d..00000000 --- a/server/locales/CONTRIBUTE.md +++ /dev/null @@ -1,3 +0,0 @@ -# How to contribute new translations - -https://github.com/Requarks/wiki#translations \ No newline at end of file diff --git a/server/setup.js b/server/setup.js index 525bd507..a0ae209b 100644 --- a/server/setup.js +++ b/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'