Former-commit-id: 5fa430e30ff91675df3d4b98c0f2de2429f42a3b
This commit is contained in:
troyeguo
2020-10-18 22:17:00 +08:00
parent 65b5aa400f
commit d0856482e8
7 changed files with 12 additions and 9 deletions

View File

@@ -56,7 +56,7 @@
🌎 Platform support: **Windows** , **macOS**, **Linux** and **Web**
💡 Backup and Restore,Sync with your favorite cloud drive
💡 Backup and Restore, Sync with your favorite cloud drive
📝 Single-column, two-column, or continuous scrolling layouts

View File

@@ -20,16 +20,12 @@
"font-list": "^1.2.11",
"i18next": "^19.4.4",
"i18next-browser-languagedetector": "^4.2.0",
"iconv-lite": "^0.6.2",
"is-electron": "^2.2.0",
"md5": "^2.3.0",
"onedrive-api": "^0.5.0",
"qs": "^6.9.4",
"react-device-detect": "^1.12.1",
"react-dropzone": "^11.0.1",
"react-i18next": "^9.0.10",
"react-router-dom": "^5.2.0",
"underscore": "^1.11.0"
"react-i18next": "^9.0.10"
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
@@ -139,6 +135,8 @@
"@types/spark-md5": "^3.0.2",
"@types/react-router-dom": "^5.1.6",
"@types/underscore": "^1.10.24",
"react-router-dom": "^5.2.0",
"underscore": "^1.11.0",
"classnames": "^2.2.6",
"concurrently": "^5.0.1",
"cross-env": "^6.0.3",
@@ -148,6 +146,7 @@
"file-saver": "^2.0.2",
"html-react-parser": "^0.13.0",
"localforage": "^1.7.3",
"iconv-lite": "^0.6.2",
"node-sass": "^4.13.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
@@ -160,6 +159,7 @@
"source-map-explorer": "^2.5.0",
"spark-md5": "^3.0.1",
"typescript": "^3.8.3",
"onedrive-api": "^0.5.0",
"wait-on": "^3.3.0"
}
}

View File

Binary file not shown.

View File

@@ -8,6 +8,7 @@
"My Digests": "我的书摘",
"My Shelves": "我的书架",
"Please continue in desktop version": "仅客户端版本支持",
"Only Desktop support this format": "仅客户端版本支持Mobi和TXT格式",
"Book not exsit": "书籍不存在",
"Delete this shelf": "删除此书架",
"This action will clear and remove this shelf": "此操作会清空并删除此书架",

View File

@@ -123,6 +123,7 @@
"Last Step": "Last Step",
"Next Step": "Next Step",
"Go To": "Go To",
"Only Desktop support this format": "Only Desktop support this format",
"Delete from Shelf": "Delete from Shelf",
"Delete Successfully": "Delete Successfully",
"This action will delete all the notes, bookmarks and digests of this book": "This action will delete all the notes, bookmarks and digests of this book",

View File

@@ -191,5 +191,6 @@
"Current Chapter Pages": "本章页数",
"Chapter Redirect": "章节跳转",
"Continuous Scroll": "连续滚动",
"Chapter Scroll": "分章滚动"
"Chapter Scroll": "分章滚动",
"Only Desktop support this format": "仅客户端版本支持Mobi和TXT格式"
}

View File

@@ -169,7 +169,7 @@ class ImportLocal extends React.Component<ImportLocalProps, ImportLocalState> {
});
} else if (extension === "mobi") {
if (!isElectron()) {
this.props.handleMessage("Please continue in desktop version");
this.props.handleMessage("Only Desktop support this format");
this.props.handleMessageBox(true);
console.log("Error occurs");
reject();
@@ -197,7 +197,7 @@ class ImportLocal extends React.Component<ImportLocalProps, ImportLocalState> {
reader.readAsArrayBuffer(file);
} else if (extension === "txt") {
if (!isElectron()) {
this.props.handleMessage("Please continue in desktop version");
this.props.handleMessage("Only Desktop support this format");
this.props.handleMessageBox(true);
console.log("Error occurs");
reject();