Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
abce0921
Commit
abce0921
authored
Jan 20, 2019
by
Nicolas Giard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: setup locale crash
parent
3c8dcdcc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
CONTRIBUTE.md
server/locales/CONTRIBUTE.md
+0
-4
setup.js
server/setup.js
+1
-1
No files found.
server/locales/CONTRIBUTE.md
deleted
100644 → 0
View file @
3c8dcdcc
# How to contribute new translations
https://github.com/Requarks/wiki#translations
\ No newline at end of file
server/setup.js
View file @
abce0921
...
@@ -202,7 +202,7 @@ module.exports = () => {
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment