translation system

This commit is contained in:
SpikeHD
2022-05-11 23:39:26 -07:00
parent 2cc5bc2d1e
commit b70b8b9195
6 changed files with 138 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
import React from 'react'
import { listen } from '@tauri-apps/api/event'
import './App.css'
import './custom.css'
@@ -47,6 +48,10 @@ class App extends React.Component<IProps, IState> {
optionsOpen: false,
miniDownloadsOpen: false,
}
listen('lang_error', (payload) => {
console.log(payload)
})
}
render() {