Skip to content

Commit

Permalink
feat: support i18n, add russian local (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonreshetov committed Jul 20, 2022
1 parent e30a174 commit 59da3d9
Show file tree
Hide file tree
Showing 43 changed files with 814 additions and 187 deletions.
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -46,6 +46,8 @@
"fs-extra": "^10.0.1",
"highlight.js": "^11.5.1",
"html2canvas": "^1.4.1",
"i18next": "^21.8.14",
"i18next-fs-backend": "^1.1.4",
"interactjs": "^1.10.11",
"lodash": "^4.17.21",
"lowdb": "^3.0.0",
Expand All @@ -71,6 +73,7 @@
"@tsconfig/node14": "^1.0.1",
"@types/ace": "^0.0.48",
"@types/estree": "^0.0.51",
"@types/i18next-fs-backend": "^1.1.2",
"@types/lowdb": "^1.0.11",
"@types/marked": "^4.0.3",
"@types/mermaid": "^8.2.9",
Expand Down
29 changes: 24 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/main/index.ts
Expand Up @@ -77,6 +77,11 @@ ipcMain.handle('main:restart-api', () => {
apiServer.restart()
})

ipcMain.handle('main:restart', () => {
app.relaunch()
app.quit()
})

ipcMain.handle('main:open-url', (event, payload) => {
shell.openExternal(payload as string)
})
Expand Down

0 comments on commit 59da3d9

Please sign in to comment.